SoftwareSerial 7-E-1 problem

pylon:
Try to replace that line

ir.print("/?!\r\n");

by

ir.write(0xAF); // "/"

ir.write(0x3F); // "?"
ir.write(0x21); // "!"
ir.write(0x8D); // "\r"
ir.write(0x0A); // "\n"




That's your string but even parity precalculated. The standard version of SoftwareSerial doesn't calculate parity bits.

Ich bleibe mal beim Englischen :wink:
Great. Your suggestion works, if I pass true as third paramter during SoftwareSerial declaration :slight_smile:
I get 5 responses. Have to figure out how to show what the Smartmeter tries to tell.

RenΓ©

Update:
It doesn't work. If I remove the ir device, I still get 5 times a 0 as response.