Big fix: The Tinusaur Package for the Arduino IDE

Tinusaur Arduino IDE Package Bug Fix

UPDATE: There is an updated version of the Arduino Setup Guide at our new website https://tinusaur.com/guides/arduino-ide-tinusaur-setup/

We’ve recently discovered a bug in our Arduino IDE package that will cause an error when you try to compile your code.

We have a fix for it and the only thing you need to do is to update the package.

Here is how:

  1. Start your Arduino IDE
  2. Go to the menu Tools / Board … and then “Board Manager …” at the top.
  3. Wait for a while until the list is updated from the Internet.
  4. Scroll all the way down to the bottom until you see the “Tinusaur Boards“.
  5. Click on the item and see the “Update” button.
  6. Press the “Update” button.

Enjoy! 🙂

If you don’t have the package installed yet follow the instructions for setting up the Arduino IDE with the Tinusaur boards.

If you don’t have a Tinusaur board yet 🙂 go to our Indiegogo Campaign InDemand option and get one.

 

Another two-day workshop about microcontrollers, soldering and Tinusaur

Another two-day workshop about microcontrollers, soldering and Tinusaur

There was another “Microcontrollers, soldering and Tinusaurworkshop in our town of Veliko Tarnovo, a few days ago.

On the first day, we assembled some boards, the second day we wrote some programs.

For the younger kids, there were much simpler things to do – soldering blinking LED with 2 transistors, a few other components, and a battery.

Day 1

Just assembling various boards.

Tinusaur Board

This is the Tinusaur Board from the Tinusaur Starter 2 kit.

Tinusaur Board Parts

It wasn’t difficult for anyone to do that. There are markings on the PCB that tell you where to put each component and in what direction.

The only important thing to know is that you solder the RESET button last, before that you solder the battery socket on the bottom side of the PCB.

Tinusaur Shield LEDx2

This is the Shield LEDx2 from the Tinusaur Starter 2 kit.

Tinusaur Shield LEDx2 Parts

This shield is an upgrade from the previous Tinusaur Starter where we had to solder the LED and the resistor to a tiny 2-pin male header. With the shield is so much easier and fun.

LED Matrix 8×8 with MAX7219 Controller

This is a LED matrix 8×8 with a MAX7219 controller.

LED Matrix 8x8 MAX7219 Controller

That was something new. They sell on eBay at a very affordable prices: http://www.ebay.com/itm/191736585164

Even while we’re soldering it people were coming with ideas about what we could do with it.

Day 2

The second day was dedicated to programming what we’ve assembled the previous day.

Software and Arduino IDE Setup

That’s how we started day 2.

A short guide about how to setup the Arduino IDE to work with the Tinusaur boards is available at the Arduino IDE Setup page.

Blinking LED

The “Hello, World!” in the microcontrollers’ world.

Source code available at https://bitbucket.org/tinusaur/tutorials/src/default/tut004a_blinking_leds/.

A separate blog post and tutorial page will be available soon.

LED Matrix 8×8

The biggest challenge here was to make the MAX7219LED8x8 library work in the Arduino IDE environment.

We’ll do another post about that in the next few days.

UPDATE 2022: The MAX7219LED8x8 library, now renamed to MAX7219tiny has now a new home at tinusaur.com/libraries/max7219tiny. Check also this MAX7219 & ATtiny85 tutorial to learn how the library works.

How to Setup the Arduino IDE to Work with the Tinusaur Boards

Arduino IDE for Tinusaur Boards

UPDATE: There is an updated version of the Arduino Setup Guide at our new website https://tinusaur.com/guides/arduino-ide-tinusaur-setup/

This is a short guide how to setup the Arduino IDE to work with the Tinusaur boards.

What it does basically is to make it work with the Atmel ATtiny85/45/25 microcontrollers. The only difference is that it will appear on the list of boards as Tinusaur – this is done for convenience, so relatively inexperienced people won’t get confused by the long list of unknown boards and microcontrollers.

Installing the Arduino IDE

First of all, we need the Arduino IDE itself. It could be downloaded from https://www.arduino.cc/en/Main/Software – the official Arduino website. The current version at the time of writing this guide was 1.6.8 but should work with all the most recent versions.

Start the Arduino IDE first.

 

Adding Support for the Tinusaur Boards

Go to the menu File / Preferences.

Find the “Additional Boards manager URLs” and the button on the right that will open an edit box.

Put the following URL in the edit box:

https://bitbucket.org/tinusaur/arduino-ide-boards/raw/default/package_tinusaur_attiny_index.json

NOTE: It is possible to have multiple URLs as long as they are put on separate lines.

Close the edit dialog by pressing “OK”. Close the “Preferences” dialog by pressing “OK”.

Go to the menu Tools / Board:… / Boards Manager.

This will open an additional dialog window with boards information.

You may need to wait until all data is loaded.

From the drop-down menu “Type” choose the “Contributed” item.

Locate the “Tinusaur Boards” item and click on it.

Press the “Install” button. That will install the necessary files into the Arduino IDE.

Close the dialog by pressing the “Close” button.

Setup to use the Tinusaur Board

Go to menu Tools / Board:…

The Tinusaur should be available somewhere at the bottom of the list. Choose the Tinusaur.

It is important to setup the other parameters for the board.

Go to menu Tools / Processor:… and choose the appropriate CPU type. If unsure choose ATtiny85.

Go to menu Tools / Clock:… and choose the appropriate CPU frequency. If unsure choose 1 MHz.

Go to menu Tools / Programmer:… and choose the appropriate programmer. If unsure choose USBasp.

That’s it.

Another version of this guide but with screenshots is available at the Arduino IDE Setup page.

Arduino IDE – Setup Guide

UPDATE: There is an updated version of the Arduino Setup Guide at our new website https://tinusaur.com/guides/arduino-ide-tinusaur-setup/

Arduino IDEWe have put together a short guide how to setup and use Arduino IDE for programming the Attiny85 microcontroller and the Tinusaur Board in particular.

Note: This guide was tested under Microsoft Windows 8.1 operating system.

Note: The example source code was tested on ATtiny85 microcontroller installed on a Tinusaur Board and programmed using USBasp ISP programmer.

Note: This is not a guide how to use the Arduino IDE but rather how to setup one for use with AТtiny microcontrollers and specifically the Tinusaur.

The guide goes through the:

  • Installation of the Arduino IDE.
  • Setup the IDE for ATtiny and Tinusaur, adding boards definitions.
  • Setup USBasp Programmer, just brief overview.
  • Test the Arduino IDE with the Tinusaur, writing blinking LED program.

The entire Arduino IDE Setup Guide is available under the Guides menu.