UPDATED: DS1307 Library

The functions were moved to separate files in the DS1307tiny library. The sample code in the ds1307tiny_test1 module looks cleaner now. The output should be something like this … Note that one of the challenges working with a real-time clock the the DS1307 is to set it up with the correct time at the beginning. One way is to … Read more

Working with DS1307 Real-time Clock and ATtiny85 using USITWIX Library

DS1307 Serial Real-Time Clock USITWIX Tinusaur.

Working with the DS1307 Serial Real-Time Clock using the USITWIX library for I2C / TWI on Atmel ATtiny85 / Tinusaur. Let’s see how can we work with the DS1307 serial real-time clock using the USITWIX library for I2C / TWI on Atmel ATtiny85 / Tinusaur. Bellow is the testing setup. NOTE: We need the USB-to-Serial … Read more

Working with BMP180 Pressure Sensor and ATtiny85 using USITWIX Library

USITWIX – Using USI as TWI / I2C

In our previous post “USITWIX – Using UART as TWI / I2C” we looked at the USITWIX library that implements TWI / I2C communication between а  ATtiny85 micro-controller and peripherals. Let’s see now how we can use that library to work with the BOSCH BMP180 atmospheric pressure sensor and a ATtiny85/Tinusaur boards. The BMP180tiny Library So, we wrote a simple library (called it BMP180tiny) that uses USITWIX to read and … Read more

New Library: USITWIX – Using USI as TWI / I2C

Attiny85 Tinusaur USI TWI I2C BMP180 Variometer

As we know, there’s no I²C on ATtiny85, not even the TWI (Two Wire Interface, which is basically I2C with a different name) that some other Atmel chips have, so I had to write my own that takes advantage on the built-in USI unit. This library is called USITWIX and will be presented in this blog post. Of course, I used other people’s … Read more

ATtiny85 and ESP8266 – do you really need that?

Tinusaur ATtiny85 ESP6288 Shield

Yes, why not. And here is what I did … (this will be series of posts about what I did with ATtiny85/Tinusaur and ESP8266 WiFi module) First, what could be accomplished with such limited device as ATtiny85? It has 8 pins, 2 of which are for the power (Vcc and GND), one for the RESET … Read more