Skip to main content

Posts

Showing posts from May, 2017

Programming Raspberry Pi by Examples

Example 1: Programmatically controlling the LED


Join the Raspberry Pi Course (link) Implement LED connection in the course week 2 lecture (link) .







Example 2: Using the DHT11 - Humidity and Temperature Sensor with Raspberry Pi:
The example in Uugear (link) did not work because my DHT11 had the pins in different order the pins were marked + and - rather than S, V and G.

So I connected :


+ symbol in DHT11 ------> 3.3V- symbol in DHT11 ------> GNDout symbol in DHT11 ------>  pin GP4
Also I used this github library (easy to understand) : https://github.com/szazo/DHT11_Python


Example 3: IR Controlling your TV and AC with Raspberry Pi
These 2 tutorial were followed to do this example:

1. http://www.raspberry-pi-geek.com/Archive/2015/10/Raspberry-Pi-IR-remote (main)
2. http://alexba.in/blog/2013/01/06/setting-up-lirc-on-the-raspberrypi/ (helped to resolve issues)
3. https://blog.bschwind.com/2016/05/29/sending-infrared-commands-from-a-raspberry-pi-without-lirc/ (to learn about IR reciever)


Ext…