Adafruit Trinket Software Serial Finder

Posted by7 months ago

Arduino libraries allowing Trinket to act as USB devices - adafruit/Adafruit-Trinket-USB. NEW Adafruit Trinket Mini Microcontroller Logic Dev Board Arduino. 'The Parallax Laser Range Finder (LRF) Module is a distance-measuring instrument that uses laser.

Adafruit Trinket Projects

Archived

Software Serial Numbers

This is potentially a super basic question but I'm new to Arduino so please forgive me.

I want to communicate between a Unity application on my windows PC and the aforementioned board to control some LEDs. The board doesn't have a serial to usb chip so I can't use the usb port for serial communication.

(Board: Pro Trinket 5V/16MHZ (USB), Programmer: USBtinyISP) Uploading Code (You have 8 seconds to upload the code, plugging it in or hitting the reset button brings you to that 8 second bootloader.).

So I was thinking I could cannibalise a usb cable to expose the power and Rx and Tx lines and solder those directly to the board. Then in Unity I would just use System.IO.Ports to communicate with the board.

Would this work?

Software serial numbersIde
  • Adafruit Industries, Unique & fun DIY electronics and kits: - Tools Gift Certificates Arduino Cables Sensors LEDs Books Breakout Boards Power EL Wire/Tape/Panel Components & Parts LCDs & Displays Wearables Prototyping Raspberry Pi Wireless Young Engineers 3D printing NeoPixels Kits & Projects Robotics & CNC Accessories Cosplay/Costuming.
  • How it works Since virtual serial port protocol isn't allowed for low speed devices. We have to find another way to communicate. First, understand that all communication on a USB bus is always initiated by the host (the computer).

Adafruit Trinket Programming

Programming

Adafruit Trinket Driver

Link to the board: https://www.adafruit.com/product/2000

2 comments