RPI 3 and GPIO Module
Evert Jan Henken (2788) 12 posts |
I did start with a Raspberry Pi B+ and the GPIO module from Tank, that worked very nice. Of course I had to buy a Raspberry Pi 2 and tried the GPIO module again, worked ok too. Does the GPIO module not work on the RPI 3? |
Evert Jan Henken (2788) 12 posts |
DavidS |
Chris Mahoney (1684) 2165 posts |
There is source available and is tagged as version 0.63. |
Gerald Holdsworth (2084) 81 posts |
Have we got any further with this? The same project is also requiring to send/receive over the serial port…but that’s a subject for another thread. |
Chris Hall (132) 3559 posts |
The GPIO module is being updated to work on all models of Pi, including A+, Pi3, Zero and Compute Module. The Pico update is imminent (as of the London show) and RC15 is a few weeks away (as of the London show). The Serial module is now in ROM, so should ‘just work’. Example code for each: Push button switch connected between GPIO 24 (pin 18 on header) and GND (pin 20 on header) with a 220R resistor connected between GPIO 24 and 3.3V (pin 17 on header). LED connected with a 68R resistor in series between GND and GPIO 10 (pin 19 on header)
|
Chris Hall (132) 3559 posts |
There is source available and is tagged as version 0.63. Just downloaded version 0.60 (25-Feb-2015) from http://www.tankstage.co.uk/Software/ to test on a model A+ (which returns board revision &15) this CVS log indicates it should work but it does not work, saying board not recognised and pin state ‘invalid’ i.e. -1 from SYS “GPIO_ReadMode”. Any suggestions please? |
Chris Hall (132) 3559 posts |
Seem to have answered my own question again! Since 12 Feb 2017, version 1.00 of the GPIO module is in the source tarballs. After including GPIO version 1.00 in the rom build, I found it worked fine on the model A+. |