![]() 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. 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 or blinks nicely when the Pro 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 #13 GPIO pin. Red #13 LED - this LED does double duty.Green Power LED - you'll know that the board is powered up when this bright LED is lit.Don't forget to use a data+power USB cable if you want to bootload! Some really inexpensive USB cables are 'power only' It's also a proper USB connector, so you can use any length cable. We use a special half SMT/half thru hole connector with extra big pads so the connector is very strong. Micro-B USB connector - We went with the ultra-common micro-B USB connector for power and/or USB bootloading.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. Works with 99% of existing Arduino sketches (anything that doesn't use more than 28K, and doesn't require pins #2 and #7).Reset button for entering the bootloader or restarting the program.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).Trinket is supported on Linux, Mac OS or Windows!.The bootloader does not affect RAM usage. The bootloader on the Pro Trinket use 4KB of FLASH so the maximum sketch size is 28,672 bytes.The USB connection is for uploading new code only. 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. There is no Serial-to-USB chip onboard.SoftwareSerial will not work on the 3V Pro Trinket without changes.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: So you'll be happy to hear that not only is Pro Trinket programmable using the Arduino IDE as you already set up, but 99% of Arduino projects will work out of the box! The Pro Trinket 5V uses the Atmega328P chip, which is the same core chip in the Arduino UNO/Duemilanove/Mini/etc.
0 Comments
Leave a Reply. |