-->
Page 3 of 3

Re: RS485 support

PostPosted: Fri May 29, 2015 6:38 am
by andi
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.

Re: RS485 support

PostPosted: Fri May 29, 2015 7:35 am
by Aledav
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.

Re: RS485 support

PostPosted: Wed Sep 23, 2015 12:58 pm
by helianto
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.