An USBasp in a new design II

View of the first soldered board.

Most of the time I design and debug my AVR projects on solderless breadboards nowadays. And for that I have been using some different types of programmers by now: starting with the good old STK500, to different versions of USBasp clones from Chinese sellers on eBay. In order to connect the programmers to the breadboard… Continue reading An USBasp in a new design II

An USBasp in a new design

Die fertige Platine aus China.

Just a small teaser: today I received my circuit boards from PCBgogo – a layout which I just had sent to the Chinese manufacturer last Sunday. It is a USBasp, which can be placed on a breadboard and at the same time supplies the power rails on the sides. More to come…

A portable electronics bench

The briefcase now with increased breadboard area.

A couple of years ago I mounted an Atmel STK500, a couple of breadboards and a power supply in a briefcase. This allowed me to bring test circuits to my lectures and demonstrate them in the class room. Since I now have abandoned the STK500 in favor of just a USB programmer for AVR microcontrollers,… Continue reading A portable electronics bench

ATmega328P – measuring its own supply voltage III

Timing of the internal analog-to-digital converter of an ATmega328P with a 5 V supply voltage.

After the first two parts of this series ATmega328P – measuring its own supply voltage ATmega328P – measuring its own supply voltage II where I investigated the possibility of the Atmel ATmega series microcontrollers to select the internal bandgap voltage VBG as input for the analog-to-digital converter. Using the analog supply voltage AVcc as reference… Continue reading ATmega328P – measuring its own supply voltage III

ATmega328P – measuring its own supply voltage II

A simple yet versatile testcircuit for the analod-to-digital converter.

Here is a brief follow up from yesterday’s post on the internal reference voltage VBG of the ATmega328P. I wrote a small test program where I wait for a variable delay time after switching the input multiplexer of the analog-to-digital converter to the internal bandgap reference voltage VBG. Using the AVcc of as the conversion… Continue reading ATmega328P – measuring its own supply voltage II

ATmega328P – measuring its own supply voltage

A sketch of the test circuit on a breadboard.

The trick is not new, it is utilized in the AVR transistor tester which you can buy for quite cheap money from China, and it has been discussed in internet forums for almost 10 years (see below for some links). The Atmel AVR microcontrollers feature an analog to digital converter (ADC) equipped with a multichannel… Continue reading ATmega328P – measuring its own supply voltage

AVR ISP breadboard adapter

My very own AVR ISP adapter on a breadboard.

Breadboards are great! I mean the solderless breadboard type which you can get everywhere now for almost no money. I use them all the time to prototype electronics circuits and have been forcing my students to do the same. Most of my current projects also involve AVR microcontrollers which support an in-system programming. For this… Continue reading AVR ISP breadboard adapter

Hacking an AVR programmer

MK-USBISP-V3.00 programmer in aluminum shell on eBay.

(see also my recent appendix to this topic: Hacking an AVR programmer II – especially if you have an ATmega88-based programmer!) On eBay I recently purchased a set of cute small USB AVR programmers which I intend to use in the course 1TE663 Microcontroller Programming at Uppsala University. After waiting for one month for the… Continue reading Hacking an AVR programmer