Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Arduino Wearable Projects

You're reading from   Arduino Wearable Projects Design, code, and build exciting wearable projects using Arduino tools

Arrow left icon
Product type Paperback
Published in Aug 2015
Publisher
ISBN-13 9781785283307
Length 218 pages
Edition 1st Edition
Tools
Arrow right icon
Author (1):
Arrow left icon
Tony Effe A Olsson Tony Effe A Olsson
Author Profile Icon Tony Effe A Olsson
Tony Effe A Olsson
Arrow right icon
View More author details
Toc

Programming the glasses

In order to make the Trinket board so small, the serial to USB conversion is left out from the design. On a regular Arduino board, this conversion is handled by another Atmega chip, and on older versions this was done by an FTDI (Future Technology Devices International) chip. The FTDI chips are still around and you can buy these as standalone breakout boards as shown in Figure 3.8 to the left of the Trinket board:

Programming the glasses

Figure 3.8: The FTDI serial to USB converter and the Trinket board

Normally, you solder male pins to the end of the Trinket board that connects to the FTDI converter, but in this case we want to keep the Trinket board as flat as possible and we don't want sharp pins on the inside of the glasses that might hurt your eyes. So the trick is to just attach the male pin headers to the FTDI converter and hold it in place while programming the Trinket board. Once in a while there will be glitches in the connection and the upload will fail. This is probably due...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at AU $24.99/month. Cancel anytime