I am developing a 12v UPS that I want to connect to the RB532 Serial Port so the Mikrotik sends an email when the power: GOES OFF, BATTERY IS LOW, POWER RETURNS
The UPS is designed to run the RB532 + 2 mPCI cards for about 35hours at average WLAN throughput
The microcontroller is a PIC16F877A including a status LCD
I understand that routeros supports the APC smart protocol, which I found some info on the web, but didn't really find it usefull/understandable
I have not managed to "trick" router os by sending data via the serial port from a PC (Null modem --> Hyperterm); Under UPS in Winbox the UPS status status remains OFFLINE
Does anyone know anything about the protocol or what values have to be sent via serial to the mikrotik. What I am after are just 3 states; On mains ; On battery ; battery low
I might also consider writing an ADC program to read the voltage from the battery and send that to the Mikrotik aswell
Once this project is complete I am willing to publish it including PCB's and PIC source code on the mikrotik WIKI page
Thanks
Stanley Grixti 9H1LO