![]() This is my custom board incorporating an ATMEGA 328p MCU, lipo battery charger with USB connector for charger powering, 8MHz crystal oscillator, lipo battery powered, SPI programming header and header for a 1.8" SPI TFT display. The device is for my "Bubba Keg", a creation made for a few friends. Essentially it is a control system for the 70oz Bubba Keg insulated mugs. It uses an ultrasonic sensor in the lid to determine quantity and a PTC thermistor in the cup to determine content temperature. For the old design I used a custom PCB that joined an Arduino Nano and 1.8" TFT display. It ran off a 9v battery and was housed in a generic enclosure. it was far more bulky than I wanted it to be. That is why I went for a SoC solution. The display has gauges for quantity, temperature and voltage. The display also shows you calculated L/Hr consumption rate and time to empty. Programming the ATMEGA without USB support was the challenge, but I found some tutorials on using another arduino (UNO) as an ISP (In Service Programmer). I wired the two together and used the Arduino IDE to program the chip. I was very pleased to see it working! Not having the bootloader on the chip means it starts up lightning fast and has more room for programming space. I chose 8MHz to conserve power as it was more important than performance. Next step will be to custom design and 3D print a nice compact enclosure for it and test fit it on a mug!
2 Comments
1/15/2025 05:13:32 pm
This article offers a great explanation of how to set up the ATmega 328P to run Arduino code without needing a full Arduino board. The step-by-step guide is really helpful for those who want to create more compact and cost-effective projects. It’s also nice to see how you can use the standalone chip in various applications. Are there any considerations or potential challenges when using this setup for larger or more complex projects? Visit us <a href="https://jakarta.telkomuniversity.ac.id/tips-membuat-konten-yang-seo-friendly-untuk-website/">Telkom University Jakarta</a>
Reply
Leave a Reply. |
Author
Peter Betz Archives
April 2020
Categories
All
|