Saturday, February 20, 2016
Pi-ject Time
I've explored my options and decided that I would like to do a project involving a calendar for the Computer Science Department at Delaware State University. There is a TV in the lounge that is not being used so I had the idea to use it has a calendar so that the students may stay up to date. I may even have a slide show of announcements that are relevant to the culture of the students that hang in the lounge. I will need to download some software onto the Pi for this to happen. I will update my blog as I begin this process.
Monday, February 15, 2016
Trials and Tri-Pi-lations
Monday, February 8, 2016
Second Day Pi
Today we were in class and worked further more on a light show using the raspberry pi. I managed to get the lights to do some cool things. The video below is an example of my lights simply blinking on and off three times. I will later insert the code for this particular code but there are better things to come!
Saturday, February 6, 2016
Slice of Pi
Today was the first day I opened my Raspberry Pi. Upon my first time opening it I was given the task of making an LED turn on via a bread board and command lines. The positive side of the LED connected to GPIO2 and the negative side connected to a 220 ohm resistor which was connected to the GND (ground) of the bread board. The command lines needed to initiate the task are as follows:
sudo su
echo 2 > /sys/class/gpio/export
cd /sys/class/gpio/gpio2
echo out > direction
Those commands told the pi where the LED was connected on the breadboard. the code needed to turn the light on is: echo 1 > value. The code needed to turn the light off is: echo 0> value. To see where the current value is: cat value
I am next going to see whether or not it is possible to control my pi via my Macbook Pro with the El Capitan OS.
sudo su
echo 2 > /sys/class/gpio/export
cd /sys/class/gpio/gpio2
echo out > direction
Those commands told the pi where the LED was connected on the breadboard. the code needed to turn the light on is: echo 1 > value. The code needed to turn the light off is: echo 0> value. To see where the current value is: cat value
I am next going to see whether or not it is possible to control my pi via my Macbook Pro with the El Capitan OS.
Subscribe to:
Posts (Atom)