Calendar

September 2017
M T W T F S S
« Jun    
 123
45678910
11121314151617
18192021222324
252627282930  

Categories

Active supporter of WikiPedia
Support Wikipedia

Geocaching

Profile for uwezi

240×320 TFT with touch on an ATmega328

Breadboard construction.

It’s been a while since I purchased some TFT modules on eBay. These modules come in different sizes and two varieties – with and without integrated touch controller XPT2046. The controller in the TFT display itself is an ILI9341 wired up to be controlled by SPI.

240×320 pixel TFT display with integrated resistive […]

Continue reading 240×320 TFT with touch on an ATmega328

Replacing three remotes

The (almost) final remote control.

You know the problem – with every new gadget comes a new remote control, and while there are programmable and universal remote controls out there, they will never just do what you want.

The three main remotes in my living room.

For controlling my tv, my digital box and one of the wall […]

Continue reading Replacing three remotes

Hacking an AVR programmer II

USBasp v3.02 from eBay, top side. (photo Sven H)

This is a follow-up of my most popular post, Hacking an AVR programmer.

MX USBasp v3.02

Recently there have been quite a few comments about a new version 3.02 layout of the USBasp programmer available from many Chinese ebay sellers, which appears to be incompatible with my previous hack. The problem is still that […]

Continue reading Hacking an AVR programmer II

Assembling an USBasp

2016_usbasp_uz

…at eight times timelapse it only takes 4 ½ minutes…

http://www.sciencetronics.com/greenphotons/wp-content/uploads/2016/11/20161102_usbasp_480.webm

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 […]

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.

The finished circuit board from China.

It is a USBasp, which can be placed on a breadboard and at the same time supplies the power rails on […]

Continue reading An USBasp in a new design

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.

The briefcase with the STK500 still mounted.

Since I now have abandoned the STK500 in […]

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 […]

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 […]

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 […]

Continue reading ATmega328P – measuring its own supply voltage