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

Tiny logic analyzer on Attiny2313

avr logic analyzer

Sometimes in digital electronics you need to figure out how things communicate. Maybe you need to hack LCD, or capture data packets from unknown device. This is some sort of reverse engineering. To do this you definitely need a logic analyzer. As a hobbyists you might skip the buying option especially when you need it rarely. Joonas have been debugging his PS/2 keyboard project and decided to build a simple logic analyzer to ease the work. As base he’s chosen Attiny2313 microcontroller clocked at 20MHz. FT232RL USB to serial converter takes care of sending data to PC. Using fast serial mode it is possible to achieve 1Mbps baud. Attiny2313 has 8 port B pins that are used for 8 channels. For sake of speed microcontroller software simply sends port B values to USART using interrupt routine. On PC using terminal software like Putty the data can be captured and logged that are then plotted for analysis. Analyzer is capable to capture rates up to 100kHz. This is not very high but for slower signals might do the business. Continue reading

Pocket size logic analyzer

Logic analyzer is a handy tool for digital electronics. But I wouldn’t say a “must have” device. So buying and wasting money for one isn’t a best way. If you need aren’t extreme then building out of available parts might be a solution. So Serasidis Vassilis made a tiny logic analyzer just for that. Logic analyzer is based on AVR Atmega8 microcontroller and have four input channels each able to capture 400kHz signals. Signal waveforms are displayed on old good 84×84 Nokia5110 graphical LCD. Device is powered directly by four 1.2V rechargeable batteries giving total 4.8V. Simple but not the safest solution. So this is simple and helpful devices to have around. Continue reading

Pocket size AVR logic analyzer with Nokia 5110 LCD

Vasilis Serasidis has been treating us with a bunch of cool projects. So here is another one worth attention. This time He’s built a four channel logic analyzer based on AVR Atmega8 microcontroller. He wanted it to be small and simple so everyone could replicate with no significant effort. As output device he has chosen Nokia 5110 graphical LCD where all four channels are nicely seen with some timing grid. Logical analyzer is capable of capturing signals up to 400kHz with amplitudes up to 5V. Initial MCU storage allows buffering from 3.7ms (high speed signals) to 36s (low speed signals) signal that can be viewed, zoomed with one of three push buttons. Board size is 55×65 mm. This is really handy device to have in your backpack Continue reading

Atmega128 multipurpose meter

Atmega128 is quite powerful microcontroller giving enough I/Os, memory and interfaces. Don Carveth some time ago constructed a megameter – a multipurpose device based on this microcontroller. Together with PC interface megameter has a nice bunch of features including: Two 0 – 10 VDC voltmeters; One 0 – 30 VDC Hi-Z autoranging voltmeter with x10 jumper to give 0 -300 VDC range; 0 – 3 Amps high side ammeter; 4 channel logic analyzer; Frequency generator – 50% duty cycle square wave, 0 – 5 VDC, uC clock with divider, 1 Hz to about 8 MHz; Waveform generator – sine, triangle, square wave, 1Hz to 20+ MHz; Frequency counter; +5 VDC supply – 200 mA available; -5 VDC supply – 300 mA available Board communicates via RS232 interface. If you will decide to replicate it – it should be easy to upgrade to USB with simple USB-TTL converter. [via] Continue reading

Get Involve with AVR Logic Analyzer

How often do you involve yourself with AVR logic analyzer? Or, would you interested to develop a simple and powerful AVR logic analyzer for your own use? Well, then you must take a seat first, as you’re about to going into the journey of AVR logic analyzer. This project is uses ATmega168 microcontrollers, where the microcontroller will use its pin change interrupt, so it can detect a change in logic level on any of the six pins. So, if the pins detect a change, the value is to be stored in a 1000 byte buffer. If the serial port is not that busy, then it will send the data to the computer is a FIFO (first in first out) fashion. Furthermore, the computer can be changed the interrupt mask register to enable or disable changes triggering a particular pin. Since the firmware is well written in AVR-GCC with AVR Studio, hence, it can be modified and applied on any microcontroller with hardware UART and pin change interrupts. Since this is a very simple and easy to develop project, thus you… Continue reading