Archive for the ‘AVR’ Category

Adding ADC to Microcontrollers without ADC

Thursday, September 15th, 2016

Scott Harden writes: I recently had the need to carefully measure a voltage with a microcontroller which lacks an analog-to-digital converter (ADC), and I hacked together a quick and dirty method to do just this using a comparator, two transistors, and a few passives. The purpose of this project is...

Tags: ,
Posted in AVR | No Comments »

An AVR Atmega library for multiple HD44780 based LCD connected through i2c

Thursday, August 4th, 2016

Davide Gironi has posted an I2C multiple HD44780 AVR Atmega library: This library implements a driver for HD44780 lcd connected through PCF8574 port expander. Data is transmitted using only 2 wire over i2c with the PCF8574. This library can drive up to 8 LCD concurrently. Lcd driver is based upon...

Tags: ,
Posted in AVR, library | No Comments »

Atmel Retrokit SAM D Edition

Saturday, July 16th, 2016

Dan Watson has published a new build, the Retrokit SAM D Edition board: I created a 2016 re-design of the Retrokit that uses the Atmel SAM D09 microcontroller. This is an excellent 32-bit device that comes in a SOIC package, making it easy to solder. I mimicked the board size...

Tags: ,
Posted in AVR | No Comments »

ATtiny based bidirectional motor control using L293D

Friday, July 1st, 2016

Rahul over at Xanthium has posted a tutorial on interfacing ATtiny with L293D: In this tutorial we will learn to interface L293D with ATMEL ATtiny microcontroller and control them bidirectionally.The microcontroller used here is ATtiny2313A which is interfaced to two L293D motor control chips for controlling upto 4 DC brushed...

Tags: , ,
Posted in AVR, how-to | No Comments »

Touchpad as wireless (MIDI) expression controller

Friday, May 27th, 2016

Acidbourbon has published a new build, a wireless touchpad that can be used like an expression pedal: This sort of touchpad speaks some special Apple mouse protocol. Luckily I found a code snippet on which helped a great deal to get the thing going. Then I used a standard...

Tags: ,
Posted in AVR | No Comments »

ATtiny10 Mini Breakout Board

Monday, February 29th, 2016

Dan Watson has designed this very tiny breakout board for the Atmel ATtiny10. He wrote a post on his blog detailing its assembly: This breakout board is for the ATtiny10 microcontroller. The PCB is 0.25x0.325" and uses 0.050" header pins. The board could actually be made smaller, but I ran...

Tags: , ,
Posted in AVR | No Comments »

Instruments for the GSXR

Wednesday, February 24th, 2016

Josh from imsolidstate made a new dash panel for his streetfighter based on an ATmega128, a Planar EL 160x80 display, and an Epson S1D13700 controller: Since the GSXR is now a street fighter the factory gauges won’t do, and I wanted something I could log air/fuel ratios with so I...

Tags: , ,
Posted in AVR, DIY | 2 Comments »

AC energy metering board using an Atmel 90E24 energy metering chip

Monday, September 21st, 2015

Steve Rodgers writes, "Here's my latest project.  Its an AC energy metering board using an Atmel 90E24 energy metering chip. The board can either take an ESP8266-12 and run a native C application, or the ESP8266-12 can be omitted, and an external microcontroller can be used to talk to the...

Tags: ,
Posted in AVR | No Comments »

AMQUMO: A Xively AMbient QUality MOnitor built on ATmega328

Thursday, August 6th, 2015

Davide Gironi published a new build, AMQUMO -an ATmega328 AMbient QUality MOnitor: AMQUMO logs 4 environmental parameters: -Humidity -Temperature -Ambient Noise -Brightness The data it is logged to the platform, and displayed to the user through 4 bi-color leds. It can be used to monitor you Office Ambient Quality over...

Tags: ,
Posted in AVR | No Comments »

A GUI and CLI utility for EFM32’s UART bootloader

Friday, July 17th, 2015

Mario writes: I've been doing mostly sensor-based systems and I think these microcontrollers are the perfect fit. ARM Cortex (they go from M0 to M4, and their series seem to keep growing), an architecture that was specially designed for low-power sensor-based embedded systems, allowing to measure "stuff" while the CPU...

Tags: , ,
Posted in ARM, AVR | 1 Comment »

XMega analog comparator

Friday, July 10th, 2015

Shawon Shahryiar over at Embedded Lab has written an article on XMega analog comparator: Generally a comparator is a device that compares two quantities. Analog comparators compare voltage – an analog quantity. An analog comparator is essentially an op-amp with infinite gain. It has one output and two inputs. The...

Tags: , , ,
Posted in AVR | No Comments »

Make an ATTiny85 programmer and development board

Wednesday, April 22nd, 2015

  Larry blogged about his DIY AVR ATTiny85  programmer and development board: Starting from upper left is the 6-pin AVR programming header. I chose it because it has +5 and GND as well as the programming signals and can power the board. Next a red LED to show power to the board....

Tags: ,
Posted in AVR, DIY | 1 Comment »

ChipHeadBang – design for an USB to Serial converter with ICSP header for (slow) bitbang programming

Monday, April 20th, 2015

microtherion has published new project the ChipHeadBang, that is available on Github: Design for an USB to Serial converter with ICSP header for (slow) bitbang programming, based on the CH340G chip. While this seems to work pretty well, and the CH340G can be obtained extremely cheaply from sources such as AliExpress, driver...

Tags: , , ,
Posted in AVR, USB | 2 Comments »

Drive an old laptop display from an AVR

Monday, April 13th, 2015

Jean refers us to this article by Eric Wazhung  about interfacing LVDS displays using an 8-bit AVR: Different displays have different (undocumented) functionality. With the several I've tested, I've attempted to create a step-by-step procedure to get a new display going (or find out early-on if it's not possible. So far I...

Tags: ,
Posted in AVR | No Comments »

AVR-HV: High voltage programmer for AVR microcontrollers

Wednesday, April 8th, 2015

Dilshan Jayakody writes:  AVR-HV is high voltage parallel programmer for Atmel AVR series microcontrollers. AVR-HV allows programming, reading, verifying and configuring AVR microcontrollers with its high voltage programming interface and it connected to PC using USB interface. In High voltage programming mode, 12V programming voltage is applied to RESET pin of...

Posted in AVR | 4 Comments »

AVR timer-based one shot explained

Monday, March 23rd, 2015

Josh writes: Last time, we made one-shot pulses using the AVR’s built in hardware timer module. Today we are going to dive deep into the datasheets to see how this technique is able to coax the normally free-running timer into generating a single pulse. Along the way, we will learn...

Tags: , ,
Posted in AVR | No Comments »

LED logger v3

Monday, March 16th, 2015

Bogdan of Electro Bob built a LED logger v3, that is available on github: In short:  16 LED channels are measured, one is kept for control of the sensor. For each LED the power supply and current are measured. The temperature of the aluminium plate is measured as well. In total there...

Tags: , ,
Posted in AVR, LEDs | No Comments »

Drive a stepper motor with acceleration and deceleration using an Allegro driver on ATmega8

Tuesday, March 3rd, 2015

Davide Gironi writes: This library drive a stepper motor using the Allegro A3967 (EasyDriver) on ATmega8. It will also work on the Allegro a4988, and other type of motor driver controlled by the number of pulse received. It features: direction changing speed changing acceleration and deceleration multiple motor driving stop...

Tags: ,
Posted in AVR, hacks, library | No Comments »

DirtyPCBs: C64FC 16K edition ready

Friday, February 20th, 2015

Stian Søreng writes: A stack of release candidate 3 boards of the C64FC are on my desk, and a few changes have been made since RC2. We're talking 16K support, software switches to select 8K/16K cartridge, cart disable support, bugs fixed and patched. I also want to give a good...

Tags: , ,
Posted in AVR, | No Comments »

Driving a DC motor using PWM with AVR ATmega

Monday, February 2nd, 2015

Davide Gironi writes: The PWM frequency have to be selected in the way that the switch frequency is much higher than the dynamics of the motor. To avoid noise from the motor, the choosen PWM frequency is 20Khz. Which is a know to know frequency. So, with this one, you...

Tags: ,
Posted in AVR | No Comments »

Next Page »

Recent Comments

  • Nathan Johnson: 100 channels. Not many are legal in any given area. Be sure to comply with local laws.
  • William Brodie-Tyrrell: It's getting to the point where it's cheaper and definitely easier to use a Pi Zero or similar and a $20 3G USB dongle. Power...
  • KH: IIRC most of the actual operating system of modern HDDs is in one of the platter(s); the stuff on the 25VF010 is a bootup firmware......
  • Trev: I don't know of any inexpensive 3G modules (prices start around $US 50), but it does explain why 2G modules are relatively inexpensive by comparison....
  • Zonie: This site Rocks!