Posts

Showing posts from March, 2015

Setting up Arduino IDE 1.0 and 1.6 for ATtiny and Manchester library

Background I am currently working on a project where I want to deploy small battery powered ATtiny based modules to track a few things and to communicate back to an Arduino or Raspberry PI. While I was first trying to use the Virtual Wire library , I found out it couldn't handle the ATtiny85 that I was operating at 1 MHz. The reason for this is that it has a different timing from chips that run at regular speeds, like the Arduino itself. Luckily there is an alternative in form of the Manchester Encoding library for Arduino . It works not just with the typical Arduino chips but also with various ATtiny variants. The only problem was that my Arduino IDE setup I had in place did not work with this library. In the following I will outline what the issue was and how I got around fixing it. My original ATtiny85 setup When I started out coding for the ATtiny85 I used sparkfun's excellent tutorial on how to set-up the Arduino environment to compile and upload ATtiny progra