DigiSpark information ATTiny85 Module
 DuinoKit Tiny (Under Development)   Started by Daniel Alich   2017-12-31 18:29:36 -05:00   Comments: 1    Viewed: 228

  1. Daniel Alich
    Daniel Alich Member Staff Member

    The Arduino programming reference is here: http://arduino.cc/en/Reference/HomePage

    Here is a list of some of the differences worth considering when designing or troubleshooting (pin differences are outlined in the sections below this list):

    1. The Digispark is powered by an Atmel Attiny85 MCU - this has many differences from an Arduino's ATmega328 and some libraries may not work correctly on it.

    2. The Digispark only has about 6 KB of flash memory for storing your code.

    3. Pin 3 and Pin 4 (P3 and P4) are used for USB communication and programming, while you can use them in your circuit if you are not using USB communication, you may have to unplug your circuit during programming if the circuit would impede the pin states or dramatically affect the voltage levels on these pins.

    4. Pin 3 (P3) has a 1.5 kΩ pull-up resistor attached to it which is required for when P3 and P4 are used for USB communication (including programming). Your design may need to take into account that you'd have to overpower this to pull this pin low.

    5. The Digispark does not have a hardware serial port nor a hardware serial to USB converter. An example library (DigiUSB) is provided, as well as some example code and a serial monitor like program, but communication with the computer will not always be plug and play, especially when other libraries are involved.



    https://digistump.com/wiki/digispark/tutorials/basics
    Daniel Alich, 2017-12-31 18:29:36 -05:00
    Ron Johnson likes this.
  2. (You must log in or sign up to post here)

Report Post

Write your reason

Log in | Sign up
Terms & Conditions!
Help!