moppipe.blogg.se

Adafruit trinket 5v easy projects
Adafruit trinket 5v easy projects






  1. #ADAFRUIT TRINKET 5V EASY PROJECTS SERIAL#
  2. #ADAFRUIT TRINKET 5V EASY PROJECTS PORTABLE#
  3. #ADAFRUIT TRINKET 5V EASY PROJECTS PRO#
  4. #ADAFRUIT TRINKET 5V EASY PROJECTS CODE#

Breadboard friendly pins - You can easily plug this into a little breadboard and have plenty of space for working and plugging stuff in.

#ADAFRUIT TRINKET 5V EASY PROJECTS PORTABLE#

  • USB Power Output - You can also snag the 5V power from the USB jack in case you need 500mA+ current from your computer or portable USB power pack.
  • If both are connected, it will use whichever has the higher voltage The circuitry inside will use either the battery or USB power, safely switching from one to the other.

    adafruit trinket 5v easy projects

    This pin can take up 16V DC input, and has reverse-polarity, over-curent and thermal protections.

  • Battery + Input - take your Trinket anywhere and power it from an external battery.
  • It pulses nicely when the Trinket is in bootloader mode, and its also handy for when you want an indicator LED. Its connected with a series resistor to the digital #1 GPIO pin.
  • Red #1 LED - this LED does double duty.
  • Green Power LED - you'll know that the board is powered up when this bright LED is lit.
  • Some Attiny85 boards use a PCB that slides into a USB port to cut costs, but that makes it hard to re-program and annoying to power with an external battery pack It's also a proper USB connector, so you can use any length cable. In our experience, Micro-B connectors can rip off the PCB easily, but we have not had that problem with mini B, its much more rugged for DIY electronics.
  • Mini-B USB connector - We went with the tried and true mini-B USB connector for power and/or USB bootloading.
  • Reset button for entering the bootloader or restarting the program.Let me take you on a tour of your Trinket! Each trinket is assembled here at Adafruit and comes chock-full of good design to make it a joy to use.
  • On-board green power LED and red pin #13 LED.
  • Power with either USB or external output (such as a battery) – it’ll automatically switch over.
  • Up to 16V input, reverse-polarity protection, thermal and current-limit protection
  • On-board 5.0V power regulator with 150mA output capability and ultra-low dropout.
  • Micro-USB jack for power and/or USB uploading, you can put it in a box or tape it up and use any USB cable for when you want to reprogram.
  • Also has headers for an FTDI port for reprogramming.
  • USB bootloader with a nice LED indicator looks just like a USBtinyISP so you can program it with AVRdude and/or the Arduino IDE (with a few simple config modifications).
  • The bootloader does not affect RAM usage.

    #ADAFRUIT TRINKET 5V EASY PROJECTS PRO#

  • The bootloader on the Pro Trinket use 4KB of FLASH so the maximum sketch size is 28,672 bytes.
  • #ADAFRUIT TRINKET 5V EASY PROJECTS CODE#

    The USB connection is for uploading new code only.

    #ADAFRUIT TRINKET 5V EASY PROJECTS SERIAL#

    This is to keep the Pro Trinket small and inexpensive, you can use any FTDI cable to connect to the FTDI port for a Serial connection.

    adafruit trinket 5v easy projects

    There is no Serial-to-USB chip onboard.You cannot plug shields directly into the Pro Trinket.The onboard 5V regulator can provide 150mA output, not 800mA out.Pins #2 and #7 are not available (they are exclusively for USB).Here’s some things you may have to consider when adapting Arduino sketches: This should only be a problem if your pushing the absolute limit of the Uno’s flash memory when you got to make the switch over to the Pro Trinket.

    adafruit trinket 5v easy projects

    Keep in mind that because of the Pro Trinket’s USB bootloader the flash storage (Arduino sketch size) is reduced to 28K instead of the Uno’s 31.5K. With all this capability packed into a form factor of only 1.5″ x 0.7″ x 0.2″ (without headers), you will be surprised how easy it is to migrate your project from an Uno down to the tiny Pro Trinket.

    adafruit trinket 5v easy projects

    The Trinket Pro has a total of 18 GPIO, 2 extra analog inputs, 28K of flash, and 2K of RAM. Say hello to Adafruit’s newest addition to the Trinket lineup, the Pro Trinket! Not only does is support the much loved ATmega328P, but also has a custom bootloader that gives you a handy USB interface.








    Adafruit trinket 5v easy projects