Left for archival purposes.

User avatar
By andi
#18847 Hey,

I think it can work. The max 485 can handle to to 5v, and also 3.3v would not really be a problem. I do not know if the esp8266 is compatible with 3.7v or sometimes even more for li ion batteries.

Apart from that, my library is not included in nodemcu (the lua firmware). It is only a plain c library.
User avatar
By Aledav
#18858 Thanks andi,
perhaps to have more reliability should put a voltage regulator as :

http://www.ti.com/lit/ds/symlink/tps63031.pdf

The problem is that I thought the librery you wrote was in LUA.
Do you know if there are libraries in Lua (nodemcu) to handle the request Modbus rtu?
In your opinion is possibilile make porting from C to Lua (nodemcu)?

I attach some documentation of the energy meter.
Attachments
(4.72 MiB) Downloaded 588 times
(773.69 KiB) Downloaded 525 times
User avatar
By helianto
#29709 Finally you could did it??? I am interested in this project :roll: :roll:


Aledav wrote:Thanks andi,
perhaps to have more reliability should put a voltage regulator as :

http://www.ti.com/lit/ds/symlink/tps63031.pdf

The problem is that I thought the librery you wrote was in LUA.
Do you know if there are libraries in Lua (nodemcu) to handle the request Modbus rtu?
In your opinion is possibilile make porting from C to Lua (nodemcu)?

I attach some documentation of the energy meter.