samson241
Posts: 81
Joined: Fri Apr 05, 2013 7:07 am
Location: Western United States

S2,S5, and GPIO?

Sat Apr 06, 2013 5:44 am

With no budget, and a new, inexperienced operator, what do i do with these?
I realize this question must seem stupid and i apologize in advance.

User avatar
joan
Posts: 14935
Joined: Thu Jul 05, 2012 5:09 pm
Location: UK

Re: S2,S5, and GPIO?

Sat Apr 06, 2013 8:04 am

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

samson241
Posts: 81
Joined: Fri Apr 05, 2013 7:07 am
Location: Western United States

Re: S2,S5, and GPIO?

Sat Apr 06, 2013 3:40 pm

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
I realize this question must seem stupid and i apologize in advance.

User avatar
mahjongg
Forum Moderator
Forum Moderator
Posts: 13096
Joined: Sun Mar 11, 2012 12:19 am
Location: South Holland, The Netherlands

Re: S2,S5, and GPIO?

Sat Apr 06, 2013 4:25 pm

I would start by reading the magpie magazines they have lots of starters for using the GPIO's, and its free!

User avatar
mahjongg
Forum Moderator
Forum Moderator
Posts: 13096
Joined: Sun Mar 11, 2012 12:19 am
Location: South Holland, The Netherlands

Re: S2,S5, and GPIO?

Sat Apr 06, 2013 4:39 pm

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.

samson241
Posts: 81
Joined: Fri Apr 05, 2013 7:07 am
Location: Western United States

Re: S2,S5, and GPIO?

Sat Apr 06, 2013 4:49 pm

yes, but how would i use python to gather info from sensor, or power an led or motor
I realize this question must seem stupid and i apologize in advance.

DirkS
Posts: 10363
Joined: Tue Jun 19, 2012 9:46 pm
Location: Essex, UK

Re: S2,S5, and GPIO?

Sat Apr 06, 2013 5:06 pm

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.

Return to “General discussion”