Omega2+ serial not working as expected
@James-Penick I built my own board to plug in my Omega2, it has some other stuff on it I needed as well but it allowed me the change the USB-Serial chip. Maybe this will work for you.
That's a good idea, I might play with doing that.. Or i can look into doing one that ties into some GPIO pins.
Of course, it'd be nice if we could all just use one of the two rs232 interfaces already on the darn device.
@James-Penick Please let us know what is your "wireless water tank measurement system" device.
receivers are placed on each tank to measure the water level with ultrasonic pulses. The level data is sent back to a little receiver station that has an RS232 port on it. My goal is to take that data and ship it off to something like amazon IOT so I can check the water level from my phone without having to go look at the display on the device.
@James-Penick Thank you.
What type of USB to serial adapter are you using to connect the receiver to your laptop?
@György-Farkas I bought the Sabrent CB-FTDI, and use it to connect both the laptop to the receiver and to connect the omega2+ to the receiver in lieu of the onboard serial.
@James-Penick The receiver has a real RS232 port and you are using a USB to RS232 adapter/cable.
USB 2.0 to Serial (9-Pin) DB-9 RS-232 Adapter Cable 6ft Cable
You connected that cable to the USB Host port of your Omega2+ - so you are using the ttyUSB0 serial "port" instead of the ttyS1 port.
Please try to correct the Python code.
Sorry, I didn't read one of your previous posts.
If you want to use Omega2's ttyS1 serial port then connect it to the receiver via an RS232 to 3.3V TTL converter.
MAX3232 RS232 Serial Port to TTL Converter Module DB9 Connector with Cables
Oh, cool! I'll give that a shot and report back. Thank you!
@György-Farkas that did the trick, it works via the rs232 TTL converter. I never even considered the voltage before. Thank you!
@James-Penick So "Omega2+ serial working as expected"
Well done. Congrats!