Skip to content

idiot-io/TinyTony

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TinyTony V1.0

words http://idiot.io
code https://github.com/idiot-io/TinyTony

TOC

Usage

to run Tony you need follow the connection diagram, and an ir remote for calibration. no coding is nessecery

Setup
  • LDRx2 - voltage divider
  • LINEAR - fixed side

Calibration

the system has an initial guess for calibration,
but you will need to fine tune it to compensate
for diffrent material and lighting

when discussed in this document, [CH+] means press that key on ir remote

Fine tune

cover LDR #1 press the [CH+] to set maxval
cover LDR #2 press the [CH-] to set minval
uncover both LDRs press the [CH] to set midval

Trim

press [-] and [+] to subtract/add to trimval value

after fine-tune you will have to trim the motor middle point
press until the motor doesn't turn or twitch in uncovered state.
usually no more then -/+10 is needed.

Store

to put your settings in deep memory press the [200+] key

the setting you provide will be stored in TinyTony
so they are remembered and will reboot.

Info

if DEBUG is on you can use the [EQ] button to watch your settings you will need a serial RX line connected to pin6 (TX)

Sensitivity

[PREV] AND [NEXT] keys set the minimal motion threshold

Firmware

Re-flashing

to upload new firmware you will need

  • arduino software runing on your machine and able to communicate with usb
  • a programmer (it can be an arduino uno borad, or aspusb programmer)
  • an SPI cable to connect tony to the programmer.
Libs

most of the libraries are included and referanced from the firmware folder.

ATTinyCore
EEPROM -used supplied one.
sofServo
SendOnlySoftwareSerial
tiny_ir , and ir_methods

Hardware

check the PDF folder in this git to get datasheetsfor parts

pinout of ATtiny85

RST    -1+----+8-   VCC  
3/LDR  -2|    |7-   2/PWM  
4/IR   -3|    |6-   1/SERIAL  
GND    -4+----+5-   0/SERVO  

attiny85 pinout complete

Packages

No packages published

Languages

  • C++ 59.6%
  • Python 40.4%