Safe Off Switch to Power Down Your Raspberry Pi

Some time it is hard to find solution for raspberry pi.This time we are solving issue : how to Power Down Your Raspberry Pi using GPIO.Step1:copy script from power_hold.pyStep2: sudo apt install python3-gpiozero#connect button GPIO 21 and GND#run below command to testpython3 power_hold.py# hold button(gpio21 and GND) for 2 second . your pi will be shutdown.If it is ok then power on your pi3 againStep3:Now execute your script ,when raspberry pi power on every time. sudo nano /etc/rc.local in rc.local file at...

Read more...

Adding GPS tracking to your Raspberry Pi-based projects

Hi geeks some time it is hard to manage gps connection to Raspberry PI.dont worry we need following item needs for connectivityRaspberry pi 3 USB to TTL adapter (Prolific PL2303) Neo 6M-0-001 Ublox GPS ModuleStep:1Connect your GPS module to USB to TTL adapter(Tx and Rx cross connection Required dont get confused)GPS Module USB to TTL adapter5v 5vVCC 5vRx TxTx TxStep:2connect USB to TTL adaptor to raspberry pi and login to raspberry pi using putty or terminal.Step:3Now run following command to detect...

Read more...

How to install CP2110 USB Driver on any operating system

If you want to start your career in Internet of Things get Node MCU Ch340 v3 or Node MCU CP2110Hi Geeks if you have purchased Node MCU CP2110 .That means you are on Right place.Download CP2110 Driver for Your Operating System hereNext step you know just extract ->next ->agree ->continue.........Now next step to Install Node MCU ESP8266 Library and board manager.I will cover on next post.

Read more...

How to create QR code in Python

What is a QR Code in nutshell? A Quick Response code is a two-dimensional pictographic code used for its fast readability and comparatively large storage capacity. The code consists of black modules arranged in a square pattern on a white background. The information encoded can be made up of any kind of data (e.g., binary, alphanumeric)its very simple on console (tested on mac, debian and ubuntu latest OS)below command will install all required module including pil (Python Imaging Library):pillow pip...

Read more...

How to Connect LCD to Raspberry PI

This code will tested on this product of iotwebplanet. sudo rm -rf LCD-show git clone https://github.com/vivekaris/LCD-show.git chmod -R 755 LCD-show cd LCD-show/ Then Run Following command as per you screen size.In case of 2.8" LCD sudo ./LCD28-showIn case of 3.2" LCD sudo ./LCD32-showIn case of 3.5" GPIO Display sudo ./LCD35-showIn case of 3.5" HDMI Display-MPI3508 sudo ./MPI3508_480_320-show or sudo ./MPI3508_600_400-show or sudo ./MPI3508_720_480-show or sudo ./MPI3508_810_540-show or sudo ./MPI3508_960_640-showIn case of 3.5" DPI Display-MPI3510 sudo ./MPI3510-showIn case of 3.97" LCD sudo ./LCD397-showIn case of 4.3" LCD sudo ./LCD43-showIn case of 5" LCD sudo ./LCD5-showIn case of 7inch(B)-800X480 RPI LCD sudo ./LCD7B-showIn...

Read more...