Close

ATtiny10 supporting I2C LCD and A/D leads to super simple V-meter

A project log for Minimalist A-go-go

A project inside Attiny. I will not step out for larger one till I complete it.

kodera2tkodera2t 06/18/2016 at 03:520 Comments

As I presented in the previous log, I2C supporting in ATtiny10 seems to be successful. This time I activate A/D converter of ATtiny10. Indeed, ATtiny10 supporting I2C LCD and A/D leads to super simple Voltage meter!!

All you will need is ATtiny10 and I2C LCD. Nothing more. I made a assembly code, which contains lots of redundancy and non-nessesity part such as welcome message "Hello ATtiny10", and also voltage display part is NOT optimised yet but
Segment   Begin    End      Code   Data   Used    Size   Use%
--------------------------------------------------------
[.cseg] 0x000000 0x00038c    908      0    908    1024  
[.dseg] 0x000040 0x000060      0      0      0      32  
[.eseg] 0x000000 0x000000      0      0      0       0  
it can be still inside internal flash of ATtiny10.My dirty assembly code is released on github and actual operation can be found in the following movie. Indeed response is well acceptable for voltage measurement application (main concern is accuracy, though...) Anyway, have fun!

Discussions