Microcotroller based LED UV meter build

UV meters has been used to indicate sound level on various audio devices. You can probably find a special IC that takes care of accepting sound signal and control several outputs with comparator function. Popular chips has been LM3914/3915. But you might find that they are harder to find as more complex electronics is taking place. Danny suggests using microcontroller based UV meter instead of searching for specialized chips. He points out what requirements for microcotrollers are need in order to assemble working example. Main of those are: ADC, I/O ports, timer and interrupts. All these functions are available in any modern microcotroller. So he put together MCU based VU meter around PIC16F690. His working example incorporates 12 LEDs, but it can be easily extended with up to 24 ad … Continue reading

Quick LED heart project for Valentines day

If you are engineer in love than you should take an advantage and build something beautiful for Valentines day. So why not go with flashing heart. Mike suggests building simple PIC12F629 based heart powered by single CR2032 battery. He designed through hole PCB so anyone could easily build and assemble. The shape has 12 – 3mm red LEDs placed around. With single button it can be turned on and different flashing modes selected. He shares all building plans and asm code in case you would lake to tweak something. So don’t hesitate and build one as small things can mean a lot to someone. Continue reading

Digital thermometer based on DS18B20

This is easy to build a simple digital thermometer with only two parts – microcontroller, temperature sensor and display. Here is one small project that can be put together in less than hour. It is based on PIC16F628A which reads temperature from DS18B20 1-wire digital sensor. Temperature is displayed on four seven segment display which can output temperature values from -55 to 125 degrees. Probably most work that needs to be done here is interfacing the display which cathodes are switched though BC337 transistor keys. The keying is needed to dynamically switch between separate digits. This way less microcontroller pins are required. Source code is ready for download so all you need is to plug pickit3 or other programmer and have temperature output immediately. Continue reading

100MHz frequency counter using PIC16F628A

The schematic is fairly simple and straightforward and uses a PIC16F628A microcontroller for measuring frequency and a high speed comparator for signal amplification and conditioning. Timer0 is used to count the input signal at pinRA4. In order to achieve the maximum possible resolution, the input signal is probed for 0.125 seconds and the prescaler value is computed accordingly. The input of the schematic is feed through a high speed comparator. The two inputs of the comparator are set at about 1/2 of power supply voltage with 15-25mV difference between them so any AC signal with higher voltage will start switching the comparator. The input is protected with 1k resistor and two diodes limiting the voltage to ±0.7 V. The input impedance for low frequenciesis equal to R1 – 47k. For VHF range maybe it is good idea to replace it with 50Ohm value. The schematic have fairly low power consumption – with no input signal the supply current is 7-8mA and goes up to 20mA with 200+MHz input signal. Continue reading

PIC18F development board with ESP8266

Probably most of you know that ESP8266 can be used as WiFi connectivity module or as stand alone programmable device with same internet features. Anyway for serious applications probably it is best to use it as module along with another microcontroller. Electro-labs have shared pretty neat development board based on PIC18F microcontroller which comes with buttons, LEDs, LCD, FT232RL based USB connectivity and integrated ESP8266 module. WiFi module can be controlled by microcontroller or directly from computer via FT232RL chip. Normally ESP8266 module is controlled with AT commands sent from microcontroller or from computer terminal. Continue reading