Modifications

Sauter à la navigation Sauter à la recherche
Page créée avec « {{Trinket-Pro-NAV}} == Compatibilité Arduino == 320px The Pro Trinket uses the Atmega328P chip, which is the same core chip in the Arduino ... »
{{Trinket-Pro-NAV}}

== Compatibilité Arduino ==

[[Fichier:Trinket-Pro-02.jpg|320px]]

The Pro Trinket uses the Atmega328P chip, which is the same core chip in the Arduino UNO/Duemilanove/Mini/etc. It's the 'classic' Arduino chip! 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 runs at 16MHz, just like the Uno. The Pro Trinket 3V runs at 12MHz, which we suggest for 'power users' who want a 3V Arduino-compatible and don't mind its a bit slower at 12MHz.

The only changes you may have to consider when adapting Arduino sketches are:

* Pins #2 and #7 are not available
* The onboard 5V regulator can provide 150mA output, not 800mA out
* You cannot plug shields directly into the Pro Trinket
* There is no Serial-to-USB chip onboard. 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
* The 3V Pro Trinket runs at 12MHz not 16MHz so its a bit slower.
* The bootloader on the Pro Trinket use 4KB of FLASH so the maximum sketch size is 28,672 bytes. The bootloader does not affect RAM usage.

{{Trinket-Pro-TRAILER}}
29 917

modifications

Menu de navigation