-->
Page 3 of 3

Ardunio command to Voltronic Axpert...

PostPosted: Fri Apr 15, 2016 9:49 am
by George Hlavacs
Hi Scott,

I saw your interesting work on connecting arduino with a Voltronic Axpert inverter.
I would like to switch the inverter from UPS mode to SBU (off grid) by sending a command from my arduino.
Can you give me a tip how I can do that simply?

Best regards,

George

Re: Software Serial at execution time

PostPosted: Mon Jun 06, 2016 5:58 pm
by Ariel
Today I had a personal breakthrought which I hope will be useful to the community.
I modified the SoftwareSerial library to add the possibility of defining pins in setup() while maintaining global scope for the SeftwareSerial object.
This means it is possible to define SoftwareSerial pins with values recovered from EEPROM.
It works for sure once after startup, it should also give the possibility to change serial pins during program execution, but I haven't tried it (actually I might).
Here it is: https://github.com/Ariel-International/ ... areserial2

Re: Software Serial at execution time

PostPosted: Mon Jun 06, 2016 6:05 pm
by Ariel
Ariel wrote:It works for sure once after startup, it should also give the possibility to change serial pins during program execution, but I haven't tried it (actually I might).


I tested it and it works like a charm!
You can switch SoftwareSerial pins during program execution.
Default speed is 9600 baud, to set different speed one must run:
<serialname>.begin(<baudrate>) ;
each time after the attach statement.

Re: Software Serial

PostPosted: Wed Nov 23, 2016 6:37 am
by Dhruv Acharya
Thanks for the Software Serial is working flawlessly like in Arduino.