Description
Module with AVR ATmega328 microcontroller is equipped with 28 KB of Flash memory, 18 digital pins, analog inputs and 8 PWM channels. On board is a microUSB connector, thanks to which the system can be programmed via the Arduino IDE. This version works with a voltage of 5 V. In our offer is also a module operating with a voltage of 3,3 V.
The presentation of the Adafruit Trinket board's possibilities.
Check how to program the Adafruit Trinket using the Arduino IDE! |
The collaboration with Arduino
The device can be programmed via the Arduino environment, however, due to the small size of the board, there are some differences:
- Pins 2 and 7 are unavailable due to their use in USB communication.
- The board is working with a supply voltage of 5 V and a clock frequency of 16 MHz, so not all sample programs will work properly..
- Built-in voltage regulator 5 V, has a power delivery of up to 150 mA.
- The board doesn't have the FTDI chip, to connect the serial interface, you must use an external cable or converter. The USB connector is only used for uploading the program.
- The bootloader takes 4 KB of Flash memory, the user has at his/her disposal 28,672 b.
Specification
- AVR ATmega328 microcontroller:
- Flash memory: 32 KB (4 kB of which is occupied by the bootloader)
- SRAM: 2 b
- Clock Frequency: 16 MHz
- Working voltage: 5 V
- USB bootloader with possibility of programming using the Arduino IDE
- MicroUSB connector for programming, in our offer, you will find the appropriate wire
- 5 V installed regulator with the current delivery of up to 150 mA, allowing you to connect the supply voltage up to 16 V.
- Power supply from USB port or external power source with automatic switching system.
- On the board are two LEDs: green for power, and red for the user, connected to pin 13.
- The RESET button
- Digital outputs: 18
- Analog inputs: 8 (additional A6 and A7 are located in the central part of the board)
- PWM channels: 8
- I2C interface: A4 (SDA), A5 (SCL)
- Four mounting holes with diameter of 2.1 mm
- Dimensions: 38 x 18 x 4 mm
- Weight: 2.6 g
Useful links |