The scannder displays all attached devices on the screen in a small matrix. The value is already shiftet to the left. The columns show the upper nibble und the rows the lowe. As it is already shiftet, there are only even numbers in the lower nibble.
The thing is built with a 0.96" oled display that plugs into a little PCB with the same size. It is driven with a ATtiny44 with two software I2C ports (one for the display and one scan-port).
As the tiny44 does not have enough ram for a screenbuffer and the little boxes are not alignet to the rows it need a simple but nifty algorithm to calculate the screen in realtime.
- Labs project
Micro I2C-Scanner with 0.96" Oled and ATtiny44
December 5, 2016
Read the full post