dvbaker304
Posts: 1
Joined: Mon Jul 15, 2019 9:40 pm

Programming an adafruit trinket from Rasperrypi

Mon Jul 15, 2019 9:46 pm

I'm very new to robotics and just recently purchased the newest version of the raspberrypi and a 5v adafruit trinket. I keep seeing on different forums not to use the rasperrypi on a 5v trinket as it can damage the pins. Is there a way to safely program the trinket using the pi?

User avatar
Douglas6
Posts: 4739
Joined: Sat Mar 16, 2013 5:34 am
Location: Chicago, IL

Re: Programming an adafruit trinket from Rasperrypi

Tue Jul 16, 2019 12:29 am

Technically, it should be possible to program a 5v Trinket with a Pi. You would need to use several voltage dividers at critical points, and it's not guaranteed. Given the cost of the Trinket, I would simply purchase a 3v3 version and not incur the additional headaches.

markkuk
Posts: 114
Joined: Thu Mar 22, 2018 1:02 pm
Location: Finland

Re: Programming an adafruit trinket from Rasperrypi

Tue Jul 16, 2019 9:10 am

Trinket is programmed through the USB interface and it's perfectly safe to do that from a Pi without any extra adapters. Connecting the 5V Trinket GPIO pins to Pi GPIO pins isn't safe, but that's not related to programming.

Return to “Automation, sensing and robotics”