© 2017 Ian Watts

Icon Projects(48x49px).png

AVR I2C Scanner

...Scanning a network, locating I2C devices by address and displaying the results

I'm pretty much always using I2C as effective interface bus (another project I'm working on is very similar but for the CANbus system / protocol). Anyways, knowing or finding out the address of an I2C device is not always as simple as it sounds.

This is basically an ATMega8 coupled to my go-to display of choice - the SSD1306 OLED - a battery, charger board, BMS, On/Off switch and an 8-way I2C header.


Simple! The device scans all I2C addresses (ignoring it's own OLED address) and outputs any device address(es) that respond(s) !

The PCB was designed using Number One's EasyPC (great piece of software and INCREDIBLE tech. support ! ). The gerber designs were then output to the CCD isolation router (not quite so great to use, in all honesty).

After tinning, the board was populated and sits, neatly, in between the enclosure base (and its battery pack) and the enclosure lid (and its display).Three screws hold the enclosure together and I2C connections are made via the 8-way socket adjacent to the display.

I really don't get on that well with the CCD mostly due to the supplied software - ISOCam and RoutePRO. I find them overly complicated to use but...

Anyways, because of that and the fact I'd prefer (size and reflow) to switch to full smd PCBs and because the CCD doesn't really handle routing for components at 0.127 pitch and less, I started to look into other options. The Voltera One (Canadian startup - 2016) seems rather promising as a desktop, in-house prototyping machine but with further investigation I've decided to wait until the next version is introduced before I commit the best part of 5,000Euro !!

I'll update this page (or the blog) with more images of the Scanner at work when I remember to take some photos of it doing so - I get rather carried away with the job at hand and forget photos and documentation ! It'll happen...