How to use Serial, I2C ports?


#1

Hi I have got GoPiGo, I want to attach some sensors tht I have bought that works for Raspberry Pi, but the GoPiGo board is taking all the power etc. How can I use the I2C and Seril prots that are provided by GoPiGO? can I connect my custom sensors (not bought from Dexter). Can u please share with me some documents on how to use them. I don’t find any documentation on polarity and what these pins are for…please provide any documentation on how I cna get my sensors working. this is urgent thanks :slight_smile:


#2

Hi Vijjuk, we get a lot of urgent requests on the forums!

The latest hardware schematic is here: https://github.com/DexterInd/GoPiGo/blob/master/Hardware/GoPiGo_16_schematics.pdf

The I2C and serial lines connect directly to the Raspberry Pi, but they are level shifted to 5V.

What sensors are you connecting to the GoPiGo?


#3

Hi, I am right now using Serial port for Ultrasound on Servo…I want to use I2C and it on IO Expander Board MCP23017. and place my sensors on the I2C. Or use the Raspberry Pi Prototyping to connect some of the other sensors. I am not sure how to use the Raspberry Pi prottoyping pins, won’t there be a conflict if I use the same ports used by GoPiGo. Please provide any details you can

and do I need ot solder wires on the prototyping pins? or is there a plug and play which I can use. Right now the jumper cables are not holding up (they are too loose in those holes)


#4

Sounds like you’re going to need to make some custom connections. We have left the pins to the Pi open on the GoPiGo, you’ll need to connect through those (they’re the numbered pins on the side of the board). I2C and Serial connect through a level conversion chip to the Raspberry pi.