Loading

More Details Address a need with a solution

Arduino Uno - Sensors; voltage, temperature, MOSFET N and radio

How can I solve this problem?

This is our RV Camper Van power cabinet as it appears today.

Van Power Cabinet

Behind the doors are two deep cycle 12 volt batteries, a 3000 watt inverter, a 75 amp battery charger and an automatic power switch.

Although I was cautioned from several sources that this power cabinet would need adequate ventilation, I thought there would be enough space for cooling. Early on I installed a 120 volt ventilation fan that operated when the battery charger was operating. The power for the fan and charger came from a shore power plugged into a 120 volt 30 amp service. Several times over the past 2 years the inverter over heated and shut off as designed. It was caused by excessive heat.

Design and build of the power cabinet

The real problem happens when I'm driving on a long trip, I don't know how hot it is in the power cabinet or what the voltage is for the two batteries. As a result the refrigerator shuts off and could be off for hours until we arrive at our destination.

So why not take the easy way, install a 12 volt cooling fan and a switch?

Where's the fun in that!

Or I could come up with a very complicated solution that requires knowledge that I didn't possess.

William of Ockham

I could be misquoting this but with my weak knowledge of science and philosophy let me give it a stab. William of Ockham is quoted in Ockham's razor; "When the solution to any problem has multiple correct answers the simplest is always the right choice."

With that in mind I present my solution.

Let me make this clear, when I started this project my total knowledge of electronics or Arduino could be written on a napkin with room for notes.

Arduino Uno boards that ultimately solved my problem. Sensor Board (left) and Display Board (right)

I gave myself two months to solve this problem or go for the easy answer.

The only hint that this might work was an NPR story I heard about these kids in Los Angeles who made an electronic device that played music using plants (or something outragious ). The reason for their success was they were able to use a new device that helps make complicated electronic things easy to learn and build.

I thought I had a 30% chance of success but I would learn a lot and that is worth something, right?

What is an Arduino Uno?

The Arduino UNO is a widely used open-source microcontroller board based on the ATmega328P microcontroller and developed by Arduino.cc. ... The board features 14 Digital pins and 6 Analog pins. It is programmable with the Arduino IDE (Integrated Development Environment) via a type B USB cable.

Did that help?

Most likely not. That's how I felt too as I opened the box.

Imagine telling your family "You can get me and Arduino Uno for Christmas" (I'm 68 years old). "So what is an Arduino?" they asked. I replied "I don't know but I might be able to make something with this thing."

Design and build of my project

What does my project do?

It measures the battery voltage, reads the temperature of the power cabinet, operates a cooling fan, as needed, and transmits this information to a second Arduino that displays the data on a screen so I can easily read it while driving.

I could go into a lot more boring detail about how this whole thing works but you really don't want to know. Suffice it to say it took two months and it works.

https://programmingelectronics.com/home/

How was the success possible? I assure you that I stand on the backs of giants. After completing the initial Arduino training videos which gave me the basics I turned to YouTube. I discovered a subculture that I had no idea existed. The videos I found ranged from very helpful to crazy bad. It took a lot of patience to wade through hundreds of videos. What I was missing was structure and a foundation on computer programming and electronics. I found exactly what I needed on the web at "Programming Electronics Academy" https://programmingelectronics.com/home/ . In full disclosure, I have written computer code using Basic programming language 35 years ago. So I have some knowledge of how computer programs work. But it's kind of like knowing English and learning French or Italian. They all have similar structure but now I needed to know the words and their syntax. I finished the programming course in 30 days. Then I dove right in and three weeks later I had working prototypes. I packaged the devices in two 3D printed boxes and enclosed the sensors and the display in small housings that were also printed.

The final product.

I wanted to prove to myself that I could learn something new with hard work and determination. I'm not a twenty year old and learning doesn't come as easy as it once did.

Last year there was a news story about the death of a 27 year old pro football player who killed his friend. The autopsy revealed "After years of severe head injuries his brain resembled that of a 67 year old man", shocking!

Wait just a minute, so what you are really saying is "At 68, I have a brain of a 27 year old man who has had thousands of severe head injuries over 15 years and may be prone to homicide".

Take a look in the mirror and tell yourself that.

You may be too old to play pro football but you are never too old to learn.

Click on a button to get more information about...

Just a Truck

Created By
Albert Tinsley
Appreciate

Credits:

Dodge Ram Pro Master Camper Van design and build. Our Van Life.

Report Abuse

If you feel that this video content violates the Adobe Terms of Use, you may report this content by filling out this quick form.

To report a Copyright Violation, please follow Section 17 in the Terms of Use.