Page 1 of 1
S2,S5, and GPIO?
Posted: Sat Apr 06, 2013 5:44 am
by samson241
With no budget, and a new, inexperienced operator, what do i do with these?
Re: S2,S5, and GPIO?
Posted: Sat Apr 06, 2013 8:04 am
by joan
Nothing with S2 and S5 until the Foundation releases some compatible devices.
Gpio, your imagination is the limit. switches, LEDs, drive motors, read (digital, I2C, 1-wire, etc.) sensors
Re: S2,S5, and GPIO?
Posted: Sat Apr 06, 2013 3:40 pm
by samson241
how would i use for examble, pyhton code to activate some of the pins? And how do i tell which pins are which? And how to use it as input sensor and collect data
Re: S2,S5, and GPIO?
Posted: Sat Apr 06, 2013 4:25 pm
by mahjongg
I would start by reading the magpie magazines they have lots of starters for using the GPIO's, and its free!
Re: S2,S5, and GPIO?
Posted: Sat Apr 06, 2013 4:39 pm
by mahjongg
S5 is for the newly to be released camera board, and S2 is for a planned interface board that will turn a raw LCD panel into a second independent screen for the PI.
Re: S2,S5, and GPIO?
Posted: Sat Apr 06, 2013 4:49 pm
by samson241
yes, but how would i use python to gather info from sensor, or power an led or motor
Re: S2,S5, and GPIO?
Posted: Sat Apr 06, 2013 5:06 pm
by DirkS
samson241 wrote:yes, but how would i use python to gather info from sensor, or power an led or motor
As mahjongg suggests: start with reading the GPIO / python articles in the MagPi mag (
http://www.themagpi.com/)
Gr.
Dirk.