About Us Knowledge Base Community Forum Electronics Toolbox FAQ Shipping & Delivery

Community Forum

Share your projects and post your questions

Search
Register or Sign In
Forum

SDA and SCL pins

2282 Views - Created 15/02/2016

15/02/2016

Posted by:
aliva

Users Avatar

Hello!

I have the board running on the pi now i need to setup  a hardware clock to  the pi and it use the SDA- SCL pins to work which ones on the IO PLUS are the SDA and SCL? thanks!

15/02/2016

Posted by:
andrew

Users Avatar

Location:
United Kingdom

Users Twitter  Users Website  

Is Solution

Hello

The IO Pi Plus does not have seperate I2C pins on the board so you will need to use the SDA and SCL pins on the Post imageGPIO port.  The photo below shows which two pins to use.  The IO Pi Plus includes pull-up resistors so you will not need to add those on your hardware clock, but if it already has pull-up resistors built in then it should still work ok. Post image

AB Electronics UK Tech Support

15/02/2016

Posted by:
aliva

Users Avatar

OK!

15/02/2016

Posted by:
aliva

Users Avatar

 thanks! i wil try it.

 

16/02/2016

Posted by:
aliva

Users Avatar

OK! is working like charm thanks!

Also i'm trying to run the C examples but it doesn't compile i got a bunch og

undefined reference to 'IOPI_init'

i'm on a RPI2 any ideas ?

thanks

16/02/2016

Posted by:
aliva

Users Avatar

i figurate out!

Thank anyways.

Note: documents in Portable Document Format (PDF) require Adobe Acrobat Reader 5.0 or higher to view, download Adobe Acrobat Reader or other PDF reading software for your computer or mobile device.