ESP8266 need six analog input
-
Has anyone experience with more than one analog input on the ESP8266?
I have seen this example but I don't know if it will work well (the op-amp he is using is not specified).
I have also googled that people uses MCP3004, MCP3008, MCP3021, MCP3421 for this, but I can't find anyone (beside the top example) that have a build tutorial for this expanded analog inputs.
So have anyone else used six (or more) analog inputs on teh ESP8266 and can share the solution?
-
@Martin-Tellblom I have been looking at https://www.aliexpress.com/item/J34-Free-Shipping-16-Bit-I2C-ADS1115-Module-ADC-4-channel-with-Pro-Gain-Amplifier-for/32564528015.html
but have not yet bought it. The address is configurable so you should be able to use up to 4 modules, giving you a total of 16 analog inputs. Also, it is able to measure voltages up to Vcc which is much easier than having to cope with the 1V limit of the esp analog input.
-
@mfalkvidd said:
onfigurable so you should be able to use up to 4, giving you a total of 16 inputs. Also, it is able to measure voltages up to Vcc which is mych easier than having to cope with the 1V limit of the esp analog input.
Looks promising, a few problems just
The delivery time (found a few similar on ebay but they all seem to be shipped from the other side of the world with at least 30 days of deliverytime.It's a lot easier to be able to read 3.3V input I agree and this seems like the best idea yet but I don't now how to physicly connect the 6 wires to the 4 inputs and then I need a code that I can adapt.
Or shall I use 2 of them (regarding to this Adafruit you can use 4 on the same I2C connection)
Is this the same?
http://www.ebay.co.uk/itm/16-Bit-I2C-4-CH-ADS1115-ADS1015-Module-ADC-Development-Board-for-Arduino-TE570-/282148404206?hash=item41b15afbee:g:zQkAAOSwZVlXveLA
and
http://www.ebay.co.uk/itm/16-Bit-I2C-Analogue-to-Digital-Convertor-Pro-Gain-Amp-ADS1115-4-Ch-Flux-Workshop-/122018838555?hash=item1c68e3b81b:g:hvkAAOSwepJXZE~N
-
@Martin-Tellblom both are called ads1115 so they should be the same.
Yes, for 6 inputs you would use two modules.
-
Tnaks,
I saw that Adafruit had a library and code or this that should be ESP8266 certified ...I'll try. Thanks for quick support
Suggested Topics
-
Over the air updates
General Discussion • 23 Mar 2014, 21:38 • ToSa 1 Mar 2015, 11:21 -
Arduino Nano Every problem
Hardware • 1 Feb 2020, 09:18 • hakha4 5 Dec 2023, 02:21 -
Newbie questions
Hardware • 14 Feb 2025, 20:03 • magwas 14 Feb 2025, 20:03 -
"Remote Irrigation with LoRaWAN: LM27313 Challenges and PCB Design"
Hardware • 24 Jan 2024, 23:06 • wrendral 3 Feb 2024, 07:13 -
Sleep mode for bmp280
Hardware • 20 Feb 2018, 13:24 • fishermans 5 Feb 2024, 18:30 -
hlk-pm01 are to noisy for rfm69?
Hardware • 5 Aug 2023, 21:16 • Tmaster 9 Aug 2023, 16:28