Shop OBEX P1 Docs P2 Docs Learn Events
Working with INA219 and BASIC Stamp Board — Parallax Forums

Working with INA219 and BASIC Stamp Board

daylan9046daylan9046 Posts: 3
edited 2013-10-07 10:47 in Accessories
Hello everyone:

I'm working with a graduate researcher programming for BASIC Stamp boards. I've been given the project to make an INA219 DC Current Sensor to work with a board. The graduate researcher also contacted Parallax support and was given some code that was forwarded to me. I'm not sure what to do next after looking at the code and setting up the INA sensor on the board. I've attached the code to the this post.

Thanks.

I2C.bs2

Comments

  • Hal AlbachHal Albach Posts: 747
    edited 2013-10-07 10:47
    The code you posted appears to be bit-banged I2C subroutines which will let you communicate with a I2C slave. You now have to add code to actually do something with the INA219 DC Current Sensor. Probably the best place to start would be the device data sheet. IMHO you may want to consider a Stamp that supports hardware I2C, such as the BS2P.

    Hal
Sign In or Register to comment.