In this example we connected an LDR to our Raspberry Pi, we will connect the output to a GPIO pin and detect whether its light or dark Here is a typical module You connect the module to you Raspberry Pi as follows. Pi GPIO header…
shedboy71
-
-
In a previous example we connected a Max7219 8×8 LED matrix display to our Raspberry Pi, you can also purchase a 7 segment display which uses the same ic. Here is a typical module To make life easy there is a python module already available…
-
The pibrella is a nice little board that connects yo the GPIO connector of your Raspberry PI. It has the folllowing to play around with Red, Green and yellow LEDs A push button switch A buzzer 4 inputs and 4 outputs (protected) I2C connector (not…
-
In a previous example we created a simple console program, in this example we will create a basic GUI program. To do this we need to install GTK. Lets begin by installing GTK for mono [codesyntax lang=”bash”] sudo apt-get install gtk-sharp2 [/codesyntax] Create a folder…
-
Before I start I will say that this isn’t going to be some petty post that spends lots of time justifying and then putting down other programming languages. I’ve used C# and many other languages and I personally have no real favourites. In this example…
-
Raspberry PI A+, B+ and 2B GPIO J8 40-pin pinout. Raspberry PI Models A and B have only the first 26 pins. GPIO# 2nd func pin# pin# 2nd func GPIO# – +3V3 1 2 +5V – GPIO2 SDA1 (I2C) 3 4 +5V – GPIO3 SCL1…