Analog input stackable shield ? Any utility ?
Hello guys !
I'm not sure if this would be usefull for anyone else than me, but i'll put the idea out there.
In the moment, I would really enjoy being able to use the OLED screen along some analog input. The thing is, the shield is taking all the GPIOs once stacked. Doing all the soldering and routing the pins to use only a few GPIO with the OLED screen to allow me to use the rest for the analogs is kinda a mess. Having the facility the use the shields is really a big plus for me .
So, what would that be to have some kind of shield, something looking pretty close to the relay shield, but instead of offering Relay this would be analog pin. Is that something possible ?
Thx for not bashing me out there, kinda new to all of this and want to avoid soldering the most I can hehe.
Have a nice day people !![alt text](image url)
@Jean-Michael-Cyr While it doesn't completely fulfill you requirements (which I fully understand - a stackable analog shield would be really useful), I have attached an ads1015 board (see https://www.adafruit.com/product/1083) in my project (see: https://community.onion.io/topic/899/omega-arduino-expansion-board with documentation and C++ code to be found at https://github.com/KitBishop/Omega-Arduino-Expansion)
In the lack of an analog expansion shield for the Omega, I think the simplest approach would to mount an ads1015 board (as above) on an Omega Prototype shield (can't find the link now - it seems to have got lost with all the re-organisation for Omega2 :-() This should be relatively easy to do - only 4 connections required: PWR, GND, I2C SDA and I2C SCL
So if I understand well, what you would do is to have a proto extension between your expansion dock and your oled shield, and on that proto extension you would solder the ads1015 board therefore enabling analog inputs.
I suppose the pins I have to solder will need to match with GPIOs not actually used by OLED, to avoid interference ?
Nothing constructive to add except to add my voice to the desire for an Analog Expansion board. Definitely a missing piece.
Regarding using alongside the OLED, the ads1015 uses I2C as well, so can they co-exist on different addresses?
We have a few resellers in North America who have some of our products in stock! Please see below:
A new batch of Proto Expansions will be made for the campaign, and they will also be available to purchase from our store once they have been manufactured. :D
@Leif-Bloomquist I would really like to know too ! (Before jumping and testing stuff for nothing aha)
@Jean-Michael-Cyr Yes, correct about proto expansion between dock and oled expansion
There is no problem regarding GPIO pins to avoid. Both the ads1015 and the oled use I2C.
I2C only requires the pins I listed (PWR, GND, I2C SDA = GPIO 21, I2C SCL = GPIO 20).
Multiple I2C devices can co-exist on the I2C bus so long as each device has a different I2C address.
If I remember correctly, the I2C address of the OLED is 0x3C,the ads1015 defaults to address 0x48 but it also has an address pin (ADDR) that can be connected to oneof PWR, GND, SDA or SCL to set one of 4 possible different I2C addresses - 0x48 or 0x49 or 0x4A or 0x4b (see documentation on chip used at https://cdn-shop.adafruit.com/datasheets/ads1015.pdf)
@Kit-Bishop Interesting, thx!