The use of the ESP8266 in the world of IoT

User avatar
By ohgary
#45033
bengrech wrote:Is there some ready-made board say with a DB9 or direct pin connections?

martinayotte wrote:BTW, it is even worst : real RS232 signal is swinging between around -7V and +7V, inverted compared to TTL side, -7V is HIGH and +7V is LOW.

You need to use some interface chip such as MAX232, which built the +-7V out from 5V using internal charge pumps.

YES. Check ebay for rs232 to TTL converters/adapters.
User avatar
By bengrech
#45049 Thanks, will try to source required part.

ohgary wrote:
bengrech wrote:Is there some ready-made board say with a DB9 or direct pin connections?

martinayotte wrote:BTW, it is even worst : real RS232 signal is swinging between around -7V and +7V, inverted compared to TTL side, -7V is HIGH and +7V is LOW.

You need to use some interface chip such as MAX232, which built the +-7V out from 5V using internal charge pumps.

YES. Check ebay for rs232 to TTL converters/adapters.
User avatar
By NigelTwo
#45078 The serial interface module you have found looks ideal for interfacing to your solar inverter.
Now, the NodeMCUv1.0 board has a serial to USB chip on it. I would recommend that you continue to use that for its intended use i.e. uploading code and as a debugging port.
Use Softserial to create another separate serial port (with dedicated tx and rx pins) to communicate with the solar inverter. This way you will have the debugging capability needed for parsing the incoming data and tracking what is happening with ThingSpeak communications etc.
User avatar
By ohgary
#45079
NigelTwo wrote:The serial interface module you have found looks ideal for interfacing to your solar inverter.
Now, the NodeMCUv1.0 board has a serial to USB chip on it. I would recommend that you continue to use that for its intended use i.e. uploading code and as a debugging port.
Use Softserial to create another separate serial port (with dedicated tx and rx pins) to communicate with the solar inverter. This way you will have the debugging capability needed for parsing the incoming data and tracking what is happening with ThingSpeak communications etc.


Here is a ebay rs232 to ttl converter..
http://www.ebay.com/itm/2pcs-MAX3232-RS ... SwLVZVg6IW
You will need to step the 5v down to 3v but that can be done with couple of resistors and voltage divider