Programming

Raspberry PI LDR example

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…

Read more

Raspberry Pi 2 and an 8×8 LED matrix

As part of my arduino/general microcontroller development I purchase a variety of interesting boards and modules, oneof these is a 8×8 LED array which is controlled by a MAX7219. these modules are low cost and are nice for beginners level projects, you can display text,…

Read more

Look at the Pibrella

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…

Read more

Basic C# GTK program

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…

Read more

C Sharp REPL example

Previously we showed you a C# example for your Raspberry Pi. We installed a text editor and then the mono development environment. We then created our c sharp example in our text editor , compiled and ran it. This typically is the way you write…

Read more

Get started with C Sharp

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…

Read more

Connect a capacitive touch sensor

In this example we will connect a capacitive sensor to a GPIO pin on our Raspberry PI, when we touch the sensor we will display a message to the user. A practical use may be a touch activated lamp. This is the sensor we used…

Read more

Flash an Led using Python

In the following example we will connect an LED and resistor to pin 7 of P1 on our Raspberry PI and we will flash an LED on, here is a picture of this OK we will use python, this tutorial assumes you already have Raspbian…

Read more

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Read More