GithubHelp home page GithubHelp logo

ma-ha / attiny-prototype-board Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 1.26 MB

Simplifies circuit prototypying with the ATtiny1614

License: MIT License

arduino attiny1614 breadboard electronic pcb prototype solder tool

attiny-prototype-board's Introduction

ATtiny Prototype Board v2

Simplifies circuit prototypying with the ATtiny xx14.

1stBuild

Features:

  • Beadboard (400 pins)
  • I/O
    • 4x LED
    • 3x Potentiometer
    • 2x momentary push button
    • 4x Switch
    • 2x 3.5 mm TRS socket
    • 4x banana socket
    • 2/3x I2C
    • 2x Serial
  • ATtiny XX14
  • FTDI adapter (CH340E Micro USB Serial adapter)
    • UPDI programming
    • USB power
    • Serial debugging

Videos:

Links

Release Notes

v2.1 changes

Improvements:

  • Switch (optional) for I2C
  • I2C labels and lines
  • Push buttons with opener and closer funtionality
  • Moved USART

Fixes:

  • banana sockets were too close to border
  • more space between switches and TRS

v2.0 changes

  • use THT LEDs, resistors, diode
  • use slide switch: more reliable and visible
  • use only socket header

Blink All

Use this "blink" code to check proper soldering for all ATtiny pins:

// BLINK ALL ATtiny xx14

void setup() {
  pinMode( PIN_PA4, OUTPUT );
  pinMode( PIN_PA5, OUTPUT );
  pinMode( PIN_PA6, OUTPUT );
  pinMode( PIN_PA7, OUTPUT );
  pinMode( PIN_PB3, OUTPUT );
  pinMode( PIN_PB2, OUTPUT );
  
  pinMode( PIN_PB1, OUTPUT );
  pinMode( PIN_PB0, OUTPUT );
  pinMode( PIN_PA0, OUTPUT );
  pinMode( PIN_PA1, OUTPUT );
  pinMode( PIN_PA2, OUTPUT );
  pinMode( PIN_PA3, OUTPUT );
  Serial.begin( 9600 );
}

void loop() {
  digitalWrite( PIN_PA4, HIGH );   
  digitalWrite( PIN_PA5, HIGH );   
  digitalWrite( PIN_PA6, HIGH );   
  digitalWrite( PIN_PA7, HIGH );   
  digitalWrite( PIN_PB3, HIGH );   
  digitalWrite( PIN_PB2, HIGH );
    
  digitalWrite( PIN_PB1, HIGH );   
  digitalWrite( PIN_PB0, HIGH );   
  digitalWrite( PIN_PA0, HIGH );   
  digitalWrite( PIN_PA1, HIGH );   
  digitalWrite( PIN_PA2, HIGH );   
  digitalWrite( PIN_PA3, HIGH );   
  Serial.println( "on" );
  delay( 500 );                       
  
  digitalWrite( PIN_PA4, LOW );   
  digitalWrite( PIN_PA5, LOW );   
  digitalWrite( PIN_PA6, LOW );   
  digitalWrite( PIN_PA7, LOW );   
  digitalWrite( PIN_PB3, LOW );   
  digitalWrite( PIN_PB2, LOW );
    
  digitalWrite( PIN_PB1, LOW );   
  digitalWrite( PIN_PB0, LOW );   
  digitalWrite( PIN_PA0, LOW );   
  digitalWrite( PIN_PA1, LOW );   
  digitalWrite( PIN_PA2, LOW );   
  digitalWrite( PIN_PA3, LOW );   
  Serial.println( "off" );
  delay( 500 );                     
}

attiny-prototype-board's People

Contributors

ma-ha avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.