Page 1 of 1

ADS1015 w/ DPI LCD

Posted: Sun Jul 22, 2018 12:58 pm
by 1emerson1
Hey guys!

I need some help figuring out how to implement an ADS1015 in conjunction with a DPI driven LCD. I'm using Tinkerboy's v2.1.01 controller which has a Pro Micro board. Correct me if I am wrong, but does the ADS1015 utilize i2c? I know using a DPI screen will disable i2c via the GPIO but I'm wondering if the Pro Micro can be used instead?

Any advice or suggestions welcomed.

Thanks!

Re: ADS1015 w/ DPI LCD

Posted: Mon Jul 23, 2018 1:23 am
by VeteranGamer
1emerson1 wrote:
Sun Jul 22, 2018 12:58 pm
Hey guys!

I need some help figuring out how to implement an ADS1015 in conjunction with a DPI driven LCD. I'm using Tinkerboy's v2.1.01 controller which has a Pro Micro board. Correct me if I am wrong, but does the ADS1015 utilize i2c? I know using a DPI screen will disable i2c via the GPIO but I'm wondering if the Pro Micro can be used instead?

Any advice or suggestions welcomed.

Thanks!

these may be off some use.....

https://elinux.org/RPi_BCM2835_GPIOs
https://www.raspberrypi.org/documentati ... /README.md
https://pinout.xyz/pinout/dpi#




the DPI screen will be using the same GPIO that are required by the ADS1015 (V-SYNC, H-SYNC / SDA, SCL)...
so i think you most probably wont be able to add that to your build
(could be wrong on this)



.

Re: ADS1015 w/ DPI LCD

Posted: Tue Jul 24, 2018 1:05 am
by erik_gee
1emerson1 wrote:
Sun Jul 22, 2018 12:58 pm
Hey guys!

I need some help figuring out how to implement an ADS1015 in conjunction with a DPI driven LCD. I'm using Tinkerboy's v2.1.01 controller which has a Pro Micro board. Correct me if I am wrong, but does the ADS1015 utilize i2c? I know using a DPI screen will disable i2c via the GPIO but I'm wondering if the Pro Micro can be used instead?

Any advice or suggestions welcomed.

Thanks!
Saw you post over in the FB group as well. In case you didn't see my comment there: you don't really need the ads module. It's used because the pi doesn't have ADC capabilities. But since you are using a promicro, which does have ADC, you can use that instead. I'm not sure if tinkerboy used the same button layout as helder/hooly scripts. I'm assuming he probably did. Try flashing the micro with hoolys battery monitor script he wrote for the helder boards, and use pin...a5? I think. For the battery input. Then of course do all the script work on the pi side as well. And you should be good to go

Re: ADS1015 w/ DPI LCD

Posted: Sat Jul 28, 2018 7:36 pm
by 1emerson1
Thanks for the information! I will show my results once my build is complete.