Notice: Click on the Disclaimer button prior to taking any action shown on this website.
SPECIAL NOTICE TO EUROPEAN UNION (EU) AND CALIFORNIA (CCPA) VIEWERS

RV-Project.Com does not use cookies. However, third party ad banners found on this site and other functions may use cookies to provide advertisement. If you do not agree with this, please turn off the cookies function in your browser or opt out by not using this website. If you continue to use this website, you agree to the use of cookies.

 

Charger/Battery Monitor Construction.

 

The "brains" of the automation board is an Atmel ATTiny85 Microcontroller - yes, an embedded computer. Some characteristics of the microcontroller are:

  • 1-20Mhz Operation
  • 521b RAM
  • 512b EEPROM
  • 8kb Flash Memory

 

That's "b" as in bytes. While not nearly as powerful as the controller even in your cell phone, it is powerful enough to do the job. Perhaps though the best attribute of the microcontroller is it's low power the typical 80AH Deep Cycle battery, the run-time is an incredible 80,000hrs before it will fully discharge the battery.

Programming note. The Atmel ATTiny85 must be programmed by the end user (you) for the board to function properly. Programming is not as difficult as you may think, and in fact, I have made the written program available so all you have to do is download it. You can use it as-is, or you can try your luck at programming and make changes as you see fit. The link below contain all of the instructions you will need.

 

 

Parts

First and foremost, you need a printed circuit board. I used OSH Park to custom make my boards, and you can purchase your boards there by clicking on the button to the right. I say boards as they have a 3 board minimum. However, the total cost of the three boards was around $16 including shipping, which results in each board being around $5.33 each.

You can either give the other two boards to someone else, make gifts, or use the other two for similar projects. Or if you have multiple (isolated) batteries and chargers (typically found in boat multi-battery systems), use one board for each battery and charger bank.

Anyway you look at it - you probably won't find a cheaper source. However, if you like, I have included a link to the Eagle file I used to create the boards. You can download this file and make any changes you desire.

Order from OSH Park

or make your own:

Once you have the board, you will need a source of parts. I have located most of the parts from a great supplier: Tayda Electronics. They are located in Colorado, USA and ship domestically. The total cost for these items should be less $5. Tayda does have a $5 minimum, so look around, you might find something else to buy - or perhaps you may want to buy a couple of spare parts.

For the few parts not available from Tayda Electronics, I recommend Digi-Key as they have inexpensive shipping for small parts. The critical part of the Digi-Key source are the LEDs - they have 1" long leads, which is necessary for the off-board mounting configuration. Other parts resources certainly have suitable LEDs, but be sure they have 1" leads.

Secondly, if you are building the same version I did, Digi-Key has the switches, which are somewhat critical as they will fit into the small area available... and more importantly - the front panel and board are designed for those specific switches.

Finally, a couple of specialty items need to be ordered. And the best source I have found for these is Amazon and eBay. Sometimes, those are the best source.

I had considered making a limited run "kit" consisting of the printed circuit board, the components, and a pre-programmed ATTiny85, however, my license for use of the printed circuit board software is restricted to non-commercial use only.

 

Bill of Materials

SymbolSourceItemQty
U1Tayda Electronics Atmel ATTiny85 Microcontroller1
U2Tayda Electronics 78L05 5.0V Voltage Regulator1
C1, C2Tayda Electronics 10uf 25V Elecrolytic Capacitor2
C3, C4Tayda Electronics 0.1uF Ceramic Capacitor2
D1Tayda Electronics 1N4741 Zener Diode1
R1Tayda Electronics 330 1/4W 1% Metal Film Resistor (Pack of 10) 1
R2Tayda Electronics 220 1/4W 1% Metal Film Resistor (Pack of 10) 1
R3Tayda Electronics 3.3k 1/4W 1% Metal Film Resistor (Pack of 10) 1
R4Tayda Electronics 1K 1/4W 1% Metal Film Resistor (Pack of 10) 1
R5Tayda Electronics 10K 1/4W 1% Metal Film Resistor (Pack of 10) 1
R6Tayda Electronics 5K Precision 25 turn Trimmer Potentiometer1
R7Tayda Electronics 22K 1/4W 1% Metal Film Resistor (Pack of 10) 1
N/ATayda Electronics 8 pin DIP Socket1
N/ADigi-Key Keystone 621 Mounting #4-40 Bracket2
S1Digi-Key e-Switch SPDT Toggle Switch 0.4VA 20V 200MSP1T2B2M6RE1
S2Digi-Key e-Switch SPST Push Switch (Momentary) 0.4VA 20V 800SP9B6M6RE 1
LED1Digi-Key Wurth 3mm Crystal Clear Lens Red LED 151033RS030001
LED2Digi-Key Wurth 3mm Crystal Clear Lens Yellow LED 151033YS030001
LED3Digi-Key Wurth 3mm Crystal Clear Lens Green LED 151033GS030001
LED4Digi-Key Wurth 3mm Crystal Clear Lens Blue LED 151033BS03000 1
N/AAmazon Kf 7.62mm (0.3pitch) 2 position screw terminal block1
N/AeBay #4-40 x 1/8" Flat Head Machine Screw (pack of 25)2
N/AeBay #4-40 x 5/8" Flat Head Machine Screw (pack of 10)2

Notes:

  • The resistors come in a pack of 10.
  • The 4-40 screws come in a pack of 25. You only need one pack.
  • The Kf7.62 Terminal Block referenced above is a screw block that I prefer. However, the circuit board will also accomodate Euro-style terminal blocks, just be sure it is a 5.08mm/0.2" pitch (distance between pins), or it will not fit on the board.

 


Advertisement


Kf7.62 terminal block (7.62mm/0.3" pitch).

Euro terminal block (5.08mm/0.2" pitch).

Euro terminal block with plug (5.08mm/0.2" pitch).

 

 

 

Note:
Feedback from subscribers that have built this monitor have reported the LED brightness is a bit high.

Unfortunately, this can vary significantly depending on the LEDs you choose. My suggestion is to test the LEDs with various values of current limiting resistors (say between 150 ohms and 10k ohms, and pick the values for the brightness you like best.

Note also that the different colors will likely have different value resistors when you balance the colors as some LED colors are more efficient than others.

 

 

An easy way to test the LEDs is with an inexpensive breadboard as shown here. For just a few dollars, you can buy a breadboard with leads, battery tray, along with LED and resistor assortments (and you can re-use those parts in your project). Dependng on whether you use Alkaline or Ni-MH (EneLoop, etc) batteries and their state of charge, you will supply 4.8~6V or so on the LEDs, which is a close approximation to the 5V the LEDs are driven with in the monitor.

Simply swap out resistor values until you find the desired brightness.

You can use a resistor-substitution box, but you can run the risk of damaging the LEDs should you use too low of a resistor.

 

Advertisement
           

 

 

 

 

 


Last reviewed and/or updated Apr 18, 2026