I’ve got a little fun project where I need to create a USB HID keyboard device. I searched high and low for an STK526 mezzanine board for my STK500 development platform so I could work with the ATmega32U2 chip. Failing to find one, I purchased an Atmel AT90USBKey. It seems like a decent, inexpensive little development platform except for one thing. Continue reading
Category Archives: Electronics
TIG Torch Flow Alarm
My TIG welder has a water-cooled torch. Being water-cooled, it is lighter and easier to maneuver than an air-cooled torch because a much smaller water-jacketed welding lead can be used to carry the welding current. The downside is without cooling water flow, the smaller welding lead will overheat and melt the cooling water hose. This can be an expensive problem as I discovered while welding the radiator shroud for my backhoe.
Bike Light Electronics Package
To finish up I needed hardware and firmware.
The Electronics Package
Compared to the machining, the electronics are a piece of cake. I’m using an Atmel AVR ATTiny13 to control the brightness. +5V Power for the µController is provided by the BuckPuck, the BuckPuck brightness control pin is driven by a PWM signal generated by the µController, and the human interface is a single pushbutton.
Bike Light Housing
With the battery assembly done, I turned to …
The Light Housing
The Endor Rebel LED generates some heat as we pump 0.7A through it at 9V. Therefore, it needs a heatsink, so that pretty much means the housing we design needs to be made out of Aluminum and needs good physical contact with the LED’s aluminum base. So, again we start with a 3D CAD model. The first thing we need to do is model the actual Rebel LED since everything else grows from there.
Bike Light Battery Pack Adapter
Design and build of a 540 lumen Luxeon Star Endor Rebel bike light powered by a Makita 18V Li-ion battery (note: I made this while an expat living in China and so was very limited in the materials, parts, and tools available.)
This project is a combination electronic/mechanical design. In fact, there’s a lot more time spent on the mechanical design and machining than in the simple Atmel AVR µController. I’ll be presenting this project in three major parts: The battery pack adapter; the light housing; and the AVR control circuit. In the project sources, I provide the full Continue reading
MultiTherm Logging and Demo Board
The logging mode is entered by pressing any button other than MODE while on the startup screen. Along the left-hand side of the screen are either one or two device numbers and temperature readings in °C. These readings are the result of the previous temperature scan. The time of the last scan is displayed in the upper right, and the time until the next reading is displayed in the lower right. While in logging mode, the UP Continue reading
The software for the MultiTherm logger is based on a state machine. There are multiple operating modes or “states” of which the logger will in one at any given time.
Upon startup, the current version of the firmware will be displayed followed by the number of DS18x20 (either DS1820 [discontinued], DS18B20, or DS18S20) temperature sensors discovered on the 1-Wire bus. A few seconds later a message Continue reading
Multi ple Therm ometer – A small AVR µController based datalogger to display and record the output from multiple DS18x20 thermometers.
This began as a simple monitor for a friend to keep track of the temperature of his bicycle dynamometer. It was envisioned as a device to grab the temperature information from a couple of Dallas Semiconductor DS18x20 1-Wire® Thermometers and send the information to a serial port of a laptop computer for logging and subsequent graphing and analysis. It evolved into what is presented here.
Building the Timer
Here I finish up my project to turn the AC unit on in my office before I get to work in the morning by building the timer unit.
The Finished Product
The circuit consists of two parts; the DC-DC converter and the IR signal generator and emitter. The Maxim MAX756 DC-DC Converter Continue reading
Design a Custom AC Timer
A fun little project to turn the AC unit on in my office before I get to work in the morning.
Here in China there is no central air, so my office is heated/cooled by a room air conditioner. Because of this, it’s cold when I arrive at work in the winter, and hot in the summer, and it takes until about noon for the little room a/c unit to get the room to a remotely comfortable temperature. So an idea was born to create a small, battery powered, IR emitter Continue reading