Close

Using Serial with 3v Trinket Pro

A project log for TrinketWidget

Simple Field Automation Widget

paulo-borgesPaulo Borges 12/07/2014 at 01:552 Comments

While trying to use the FTDI header on the 3v Trinket Pro I noticed that all Serial.print() statements where returning garbage, random bytes even with the correct baud rates. I suspected this had something to do with the 3v's 12 mhz clock speed rather then the standard 16. Sure enough I was correct. I should have read the manual!

The easiest way to get around this is to use the Adafruit Arduino IDE from here

https://learn.adafruit.com/introducing-pro-trinket/setting-up-arduino-ide

which contains a flavor of the IDE that has a board entry for the 3v Trinket Pro, and the correct timings for the serial port.

Discussions

PointyOintment wrote 12/09/2014 at 10:32 point
Thanks for pointing this out. I would have been stuck on this too if you hadn't.

P.S. I think they should swap the titles of the "fast way" and the "slow way". I picked the "slow way" (downloading a board definition file and putting in the right location) and found it much less of a hassle than I think the "fast way" (downloading and installing a whole new Arduino IDE) would have been. Took less than 30 seconds: click download button, click zip file in Chrome's downloads bar to unzip, drag folder into Documents/Arduino. Done.

  Are you sure? yes | no

Paulo Borges wrote 12/09/2014 at 15:29 point
I might have to do the "slow way" then as a more permanent... but I run Linux as a desktop OS, so I just downloaded the IDE, unzipped it, and ran it from my downloads folder :P

  Are you sure? yes | no