Turn-key PCB assembly services in prototype quantities or low-volume to mid-volume production runs

Simple guide on driving graphic LCD with AVR microcontroller

Sometimes you may need to use a graphical LCD in your projects, but it may seem that driving them isn’t easy task. Well yes and no. Doing this from scratch it may be hard as you need to take care of all background. But why do that if there are tons of information and even libraries to do this easy. Digisoft has prepared sample project where you can take first steps of driving GLCD and expand it to your own needs. Example is made with ATmega16 microcontroller that can be easily replaced with any AVR with proper pin count and resources. So give your projects a nice graphical interface without much pain. Continue reading

AVR graphical LCD test board

Graphical LCDs with KS0108 controllers are used for quite long time like widely used HD44780 Text LCDs. So there are many projects and information available around the internet. Scienceprog has build simple single sided board for HQM1286404 128×64 graphical LCD with same KS0108 controller. The board can be equipped with Atmega16 or Atmega32 depending on memory needs. Also it has many other available features that allow to reach various complex applications on single board like 16MHz speed for high speed ADC applications, ISP for fast programming, RS232 communication block, potentiometer adjustable analog reference voltage (AREF) from 0 to 5V, graphical LCD with contrast potentiometer, 3 ADC inputs, 10 I/O pins, reset button, 5V voltage regulator on board. PCB small(100x50mm) single sided without wire strips. There you can also find program demo which KS0108 control library, and all other project files included. Continue reading

AVR audio spectrum monitor on graphical LCD

This is an original version of previously posted AVR FFT analyser. It was developed by Chan some time ago and is stil good reference for those who are wiling to build or modify their own FFT analysers.   On SG12232C graphical LCD there are who parts displayed: waveform and spectrum. It really looks cool and real when playing music. The program runs on AVR Atmega8 microcontroller clocked at maximum 16MHz frequency. The signal is passed through 8th-order elliptic filter(anti-alias filter) implemented on MAX293. Hardest part in this project was to implement an FFT algorithm which require lots of processing. But Chan has reached 9.6kHz sampling with 75Hz resolution, what is enough for visualisation. Besides firmware author also provides fixed point FFT library optimized for Atmega microcontrollers so anyone could enjoy creating similar projects. Continue reading