support of INA219 and ADS1115

Moderators: Voyager, BertB, grovkillen, Stuntteam, LisaM

Post Reply
Message
Author
LisaM
Normal user
Posts: 513
Joined: 11 Apr 2017, 18:29

Re: support of INA219 and ADS1115

#11 Post by LisaM » 20 Apr 2018, 18:48

karl222 wrote: 20 Apr 2018, 11:49 But is the ltc2499 supported by espeasy either...?

Ltc2499 is really cool but it also lacking in nodered support...

Reards
Karl
It is a single PCB containing an 8/16 channel 24-bit ADC (LTC2499) coupled with a 16 channel digital I/O (MCP23017).
;)

karl222
Normal user
Posts: 90
Joined: 23 Aug 2017, 17:18
Location: Vienna

Re: support of INA219 and ADS1115

#12 Post by karl222 » 20 Apr 2018, 20:20

But is the LTC2499 supported by espeasy? Haven’t seen that in the wiki...

LisaM
Normal user
Posts: 513
Joined: 11 Apr 2017, 18:29

Re: support of INA219 and ADS1115

#13 Post by LisaM » 23 Apr 2018, 19:33

karl222 wrote: 20 Apr 2018, 11:49 But is the ltc2499 supported by espeasy either...?

Ltc2499 is really cool but it also lacking in nodered support...

Reards
Karl
The LTC2499 is connected to the MCP23017 and the latter is supported by ESPEasy!
The link above also has the gerber files, so you could simply have the pcb made by an online pcb maker.
I also downloaded and attached the zip file here which also contains the BOM.
Or you can order it here: https://oshpark.com/shared_projects/zHmwP8eC ;)

Cheers,

Lisa
Attachments
TempController.zip
(48.71 KiB) Downloaded 619 times

karl222
Normal user
Posts: 90
Joined: 23 Aug 2017, 17:18
Location: Vienna

Re: support of INA219 and ADS1115

#14 Post by karl222 » 23 Apr 2018, 22:38

Oh 😮

Thx for that!

karl222
Normal user
Posts: 90
Joined: 23 Aug 2017, 17:18
Location: Vienna

Re: support of INA219 and ADS1115

#15 Post by karl222 » 24 Apr 2018, 11:28

Maybe I‘m too dumb for that. I checked the espeasy wiki on the mcp23017 https://www.letscontrolit.com/wiki/index.php/MCP23017

How the hell can I read analog values via the mcp23017 when a ltc2499 is connected to it.

I would use udp as a protocoll for sending data. In that case, following schematics of the pcb attached by you, are then analog values pushed to udp... this seems too easy going to me :D

Best
Karl

LisaM
Normal user
Posts: 513
Joined: 11 Apr 2017, 18:29

Re: support of INA219 and ADS1115

#16 Post by LisaM » 24 Apr 2018, 20:29

karl222 wrote: 24 Apr 2018, 11:28 Maybe I‘m too dumb for that. I checked the espeasy wiki on the mcp23017 https://www.letscontrolit.com/wiki/index.php/MCP23017

How the hell can I read analog values via the mcp23017 when a ltc2499 is connected to it.

I would use udp as a protocoll for sending data. In that case, following schematics of the pcb attached by you, are then analog values pushed to udp... this seems too easy going to me :D

Best
Karl
At closer look, i can see why it's confusing. The board provides both analog inputs through the ltc2499 AND digital inputs through the mcp23017... :oops:
The ltc2499 can communicate directly using i2c so the mcp23017 is not needed then. That would require you to write a ltc2499 uPyEasy (micropython) plugin using I2C...

karl222
Normal user
Posts: 90
Joined: 23 Aug 2017, 17:18
Location: Vienna

Re: support of INA219 and ADS1115

#17 Post by karl222 » 25 Apr 2018, 13:10

Hahahahahahahaha, you are funny. I‘d rather climb the mounteverest as I do the programming of a plugin :D

LisaM
Normal user
Posts: 513
Joined: 11 Apr 2017, 18:29

Re: support of INA219 and ADS1115

#18 Post by LisaM » 28 Apr 2018, 13:56

karl222 wrote: 25 Apr 2018, 13:10 Hahahahahahahaha, you are funny. I‘d rather climb the mounteverest as I do the programming of a plugin :D
Well, in that case you'll need one ESP per 16 channels (4x ADS1115 I2C per ESP). Since it requires switching I2C addresses, essentially building a new communication channel to the ADS115 for retrieving sampled analog data, sampling rate might not be optimal.

karl222
Normal user
Posts: 90
Joined: 23 Aug 2017, 17:18
Location: Vienna

Re: support of INA219 and ADS1115

#19 Post by karl222 » 28 Apr 2018, 14:21

I assume sample rate is set by default?

I don’t mind, I’m happy with a value every second... as i send it from esp to nodered via mqtt, it doesn’t matter.

Regards
Karl

But support of INA219 would make me happy on esp32 still :)

Post Reply

Who is online

Users browsing this forum: No registered users and 26 guests