TinyDuino85

From blwiki
Jump to: navigation, search

Tindie-larges-v2.png

TinyDuino85

ATTiny85 X2 2012-12-27-221321.jpg

Features

The current version of this board is Rev X2. This board is an ATTiny85 Arduino-Compatible GVS design. My first version of this card, TinyDuino85 Rev X1 was pretty good, but it had a few minor issues which this version corrects.

TinyDuino85 is an Atmel ATTiny85 based design. Distinctive features are:

  • Four mounting holes - standard 4-40 hardware
  • GVS Connectors for D0-D5 (5-lines)
  • X2 version adds Reset pin to power connector for ease of downloading
  • Installable resistors for pullups on lines (1-Wire or LDR sensors can be done easily)
  • Small form factor card easily fits into small Altoids tin 
  • On-board +5V voltage regulator
    • SMT regulator uses the top layer of the board as heat spreader
  • Rounded corners on the PCB for easy mounting 

Connectors

The mapping of connector pins to the Arduino signals are:

TinyDuino85-X2-pins.png

GVS Connectors

D0-D4 GVS connectors for each of the lines.

Pin Description
1 Ground
2 Vcc
3 Signal

P1 Connector

The P1 connector brings power into the card (for use with the Voltage Regulator) and allows access of the reset line (needed for external programming).

Pin Description
1 GND
2 VIN
3 RESET

Mapping Arduino Pins to TinyDuino85 pins

ATTiny85 Pin  PWB Marking  Arduino function 
P1-3 Reset 
D3 Digital Pin 3/Analog A3 
D4 Digital Pin 4/Analog A2 
D0 Digital Pin 0 
D1 Digital Pin 1 
7 D2 Digital Pin 2

ATTiny85 Pinout.PNG

ATtiny45-85.png

X2 Improvements/Checkout

  • Reset line added to power pin and wiring for power in pin is set to be the same as GVS connectors
  • Bottom left corner mounting hole close spacing
  • Reduced footprint of big cap
  • Smaller board footprint

Application

My initial application is to use this in my Room Fan Controller design since that design only requires 2 inputs (from LDR Sensor and Temperature sensor) and one output (AC relay). The code fits into 8K of memory.

Programming

TD85-IMG 3336.JPG

  • Use ArduinoISP sketch in the "host".

ArduinoISPSketch.png

  • Set the Programmer to "Arduino as ISP"

ArduinoAsISP.png

  • Hold down shift key when using upload button.
    • Text will change to "Upload using Programmer".

ArduinoIDEUpload.png

X1 Board

File:TinyDuino85FrontX1.png File:TinyDuino85BackX1.png

File:TinyDuino85-X1-proto.JPG

X1 Checkout

  • Programming per the above produces an error which the pages all say to ignore:
avrdude: please define PAGEL and BS2 signals in the configuration file for part ATtiny85
  • Had to add a wire to the programmer card to get to the reset line. Should bring this to a header pin
  • Bottom left corner cut too close
  • Cap footprint on PCB is way too big