Community discussions

MikroTik App
 
9h1lo
just joined
Topic Author
Posts: 6
Joined: Mon Sep 26, 2005 8:52 pm

RB532 and UPS

Wed Sep 20, 2006 7:05 pm

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
:roll:
 
User avatar
HarvSki
Member
Member
Posts: 395
Joined: Fri May 28, 2004 3:37 pm
Location: London, UK

Wed Sep 20, 2006 7:11 pm

Hi Stanley

Welcome to the forum!

Your project sounds like just the kind of thing I've been wanting to build but I'm probably better at baking cakes than I am electronics (belive me my cakes are terrible)

Maybe this project may have useful information for you?

http://www.apcupsd.org/

Kind Regards

Harvey

http://www.stourvalleywireless.org.uk - community networks
 
9h1lo
just joined
Topic Author
Posts: 6
Joined: Mon Sep 26, 2005 8:52 pm

Wed Sep 20, 2006 7:27 pm

Hi Harvey and thanks for your reply

however the page http://www.apcupsd.org/ seems down :(

Good luck with your cakes!! and great job on the community wireless project!

Stan
 
User avatar
HarvSki
Member
Member
Posts: 395
Joined: Fri May 28, 2004 3:37 pm
Location: London, UK

Thu Sep 21, 2006 12:42 am

Who is online

Users browsing this forum: Google [Bot], Sob and 85 guests