Pages: [1]   Go Down
Author Topic: Read battery voltage remotely?  (Read 408 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 1
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi all,

I need something that will plug into an ethernet LAN port on a router, connect to a 12v battery, and let me read the battery voltage remotely.  Can I do this with an Arduino?  If so, what do I need to buy, and how do I do it?

Both 12v and 5v are available on site, so it can run off either, although 12v would be preferred.

Nice options would be logging the voltage every 5-10 minutes with timestamps (to the web page; data storage not necessary), and sending an email alert if voltage drops to a certain level.

Thanks in advance for any input.
Logged

UK
Offline Offline
Shannon Member
****
Karma: 183
Posts: 11138
-
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

That sounds completely feasible with an Arduino and Ethernet shield.
Logged

I only provide help via the forum - please do not contact me for private consultancy.

Dubuque, Iowa, USA
Offline Offline
Edison Member
*
Karma: 29
Posts: 2239
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Any Arduino will do (Uno compatible / ATMega328 chip) and then you also need an ethernet shield, preferably one with a Wiznet W5100 chip. Combined the two should be less than $40. You can find lots of examples of how to serve a web page if you do a little searching.

To read your voltage you just need a couple resistors. If you have any interest in electronics you should buy an assortment pack of resistors, but if you just want to do this one project then a 10K potentiometer or seven 2200 ohm resistors would work (when combined to form a 8800 and 6600 ohm resistance). http://fritzing.org/projects/voltage-divider/ for an example.
Logged

Europe
Offline Offline
Full Member
***
Karma: 0
Posts: 104
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Any Arduino will do (Uno compatible / ATMega328 chip) and then you also need an ethernet shield, preferably one with a Wiznet W5100 chip. Combined the two should be less than $40. You can find lots of examples of how to serve a web page if you do a little searching.

To read your voltage you just need a couple resistors. If you have any interest in electronics you should buy an assortment pack of resistors, but if you just want to do this one project then a 10K potentiometer or seven 2200 ohm resistors would work (when combined to form a 8800 and 6600 ohm resistance). http://fritzing.org/projects/voltage-divider/ for an example.
this would be the "arduino" version...
but if 40$ is too much, there are some cheaper alternatives that require some dirty work, and also some knowledge...
personally, id cashed 40$ for elegant solution
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 7
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

rabbit mini cores offers. minimodule ethernet loaded full libraries, many many examples for $30 or $35 USD, more compact, more powerfull mcu, and cheaper, did i write that?

http://store.digi.com/index.cfm?fuseaction=product.display&Product_ID=2013
Logged

Pages: [1]   Go Up
Jump to: