The Tinusaur Project

By on June 16, 2014

Web site:

http://tinusaur.org

Project Summary:

The Tinusaur is a small board with a ATtiny85 micro-controller on it. The board has the minimum required components for the micro-controller to work properly. It also has few headers to connect external components and connector for ISP programmer. The board could work with any of those DIP-8 chips such as ATtiny25/ATtiny45/ATtiny85, ATtiny13 as well as their variations.

The goal of the Tinusaur project is to have a simple, cheap and quick-start platform for everyone interested in learning and creating things.

Full Project:

Tinusaur, what is this?

It’s a a small board. Briefly, the Tinusaur is a minimal micro-controller hardware configuration based on Atmel AVR ATtiny family of micro-controllers and more specifically those with DIP-8 case such as ATtiny25/ATtiny45/ATtiny85, ATtiny13 as well as their variations.

The Tinusaur Project Board

The goal of the Tinusaur project is to have a simple, cheap and quick-start platform for everyone interested in learning and creating things.

Is there anything special about this board?

No. Absolutely nothing.

Although, it has some advantages as well as disadvantages and they are discussed here.

Pros

The Tinusaur project is simple and easy to understand for everyone platform for a quick start learning and creating things.

What are the advantages of the Tinusaur project?

  • The board consists of the minimum required components for the micro-controller to work properly. There are no missing ones that could save on space and cost but may impact stability and also there are no extra components that you may not always need.
  • All the components are easy to find.
  • The PCB is easy to make. It could be made at home or ordered online very cheap.
  • The board is very easy to assemble – no very special skills or tools are required.
  • The micro-controller is put on a socket and could be easily replaced in case it was damaged which may happen often during prototyping or learning.
  • Although it comes with Attiny85 micro-controller it could work with ATtiny25, ATtiny45 and even ATtiny13.
  • The 2-row headers H1 and H2 could be used like a breadboard – very convenient during prototyping. That could serve as the only board for some simple projects.
  • The 2-row headers H1 and H2 could be used to put another board on top for the Tinusaur – that’s known as a shied board. The headers are quite solid and will therefore not require using other mount to keep the shield steady.
  • The board could be used not only for prototyping but also as part of real products. Some extra components could be put directly on the board’s headers H1 and H2. If needed an additional shield board could be put on top of the Tinusaur board. It also has 4 convenient mount holes in the corners.
  • The board includes an optional mount for button cell battery on the bottom and a jumper to turn it on and off.
  • Writing programs for the Tinusaur board could be done with variety of tools that exist for all the major desktop operating systems – Windows, Mac OS, Linux. That includes free and open source ones.
  • The board could also be programmed with the Arduino environment.
  • There are 6 holes next to the external programmer header PC1 that make it a bit easier to chop the connector off if it is no longer needed.

The Tinusaur Project PCB Description

What are the benefits of using the Tinusaur over some other similar projects?

  • It does not include the capability to be connected and programmed directly to USB.
    • That saves some space on the board for the additional components that may be required by the USB circuit.
    • Saves some space in the program memory as well as in the RAM for the code that will be needed to connect through USB.
    • And also saves some of the 6 I/O pins that are too few anyways and that may be otherwise used for the USB connection.
  • It does not include voltage regulator. That saves some space on the board but also does not limit you to power it on either 5V or 3.3V.

Cons

There are of course things that are not perfect with the Tinusaur and we must mention them here.

What are the disadvantage of using the Tinusaur board?

  • Although the board is relatively small it could be much smaller if we used SMD components and smaller headers.
  • Not having a built-in voltage regulator may be critical for some projects that do not operate with stabilized power source in which case it will not be possible to connect them directly to the Tinusaur board.
  • At the moment the optional battery should not be turned on while the board is connected to the programmer or to an external power source – there is no circuit to prevent the current going back to the battery.
  • It requires using a separate programmer, cable and the additional PC1 header on the board. That header will not be used after the project is finalized and the micro-controller programmed. This may be considered as inconvenience and waste of space.
  • Although the board could be programmed using the Arduino environment it is not fully compatible with everything that the platform offers.

More information could be found at the Tinusaur Blog.

 

Circuit diagram:

The Tinusaur Project Schematics

The Tinusaur Project Schematics

This is also available at: http://123d.circuits.io/circuits/116696-tinusaur-board-v0-2-rc1

 

Bill of Materials:

Name Description
PCB Tinusaur PCB
MCU, Attiny85 Atmel AVR ATtiny85 microcontroller
Socket, DIP-8 DIP-8 socket for MCU
H1, Header Header 2×4, Female
H2, Header Header 2×5, Female
ISP, Header Header 2×5, Male, for ISP
RESET, Button Tactile push button, for RESET
Power, Header Header 1×2, Male, for external power
Battery, Header Header 1×2, Male, for battery power on/off
Battery, Jumper Jumper, 2-pin, for battery power on/off
C1, Capacitor Capacitor 100uF, Low profile 5×5 mm
C2, Capacitor Capacitor 100nF, Small
R1, Resistor Resistor 10K, Small, 1/8W
Battery holder Battery holder for CR2032
Battery 3V Battery 3V, CR2032

Firmware:

There is no any firmware or run-time required for this board to work. You write your programs in C/C++ and upload it to the controller with your favorite development environment and programmer.

 

Software & Code Snippets:

This is very simple project, like a Tutorial 001 – first thing you do. You can call it The “Hello World” of Micro-controllers. It make a LED to blink.
Tinusaur Tutorial 001

/**
 * The Tinusaur Project
 *
 * Tutorial 001: Blinking LED
 *
 * file: main.c
 * created: 2014-01-04
 *
 **/
 
#include <avr/io.h>
#include <util/delay.h>
 
// ====================================
// ATtiny
// 25/45/85
// +--------+
// --+ o Vcc +------------
// LED - PB3 --+ +--
// --+ +--
// ------------+ GND +--
// +--------+
// ====================================
 
// Define the I/O port to be used for the LED.
// This a number between 0 and 7 that tells which bit to use.
#define LED_PORT PB3
 
int main(void) {
 
 // Set the LED port number as output.
 // The DDRB is the data direction for port B.
 // This ...
 // - shifts the "1" on left to the desired position and ...
 // - does bitwise "OR" with the value in the port register.
 DDRB |= (1 << LED_PORT);
 
 // Start infinite loop.
 // (this is how most programs work)
 while (1) {
 
 // Set the LED bit to "1" - LED will be "on".
 PORTB |= (1 << LED_PORT);
 
 // Wait a little.
 // The delay function simply does N-number of "empty" loops.
 _delay_ms(200);
 
 // Set the LED bit to "0" - LED will be "off".
 PORTB &= ~(1 << LED_PORT);
 
 // Wait a little.
 _delay_ms(400);
 
 // Do it again ...
 }
 
 // Return the mandatory for the "main" function value.
 return (0);
}

This source code is also available at bitbucket.org/tinusaur/tutorials/src/default/tut001/src/main.c

PCB:

The Tinusaur PCB

The Tinusaur PCB

The board designs are available the following locations:

 

About

5 Comments

Leave a Reply

Your email address will not be published. Required fields are marked *