Trinket Time Lapse Camera Programming Issues

USB AVR Programmer and SPI interface. Adafruit's USBtinyISP.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
jpcarnes
 
Posts: 3
Joined: Mon Nov 06, 2017 10:48 pm

Trinket Time Lapse Camera Programming Issues

Post by jpcarnes »

I am building the time lapse camera using the trinket that was posted on the adafruit website (link below):
https://learn.adafruit.com/portable-min ... a/overview

I have bought everything and assembled the circuit. The switch works and everything turns on. I am using a windows desktop to program the trinket. I plug the trinket in and get the red flashing light to upload code and upload the code provided on the website for the time lapse camera, but then when I do that i get the error "avrdude: error: usbtiny_receive: (expected 4, got -5)". I checked all pin connections and solder joints and to my knowledge they seem to be ok. When programming the trinket I am selecting the board as Adafruit Trinket 16 MHz and the programmer as USBtinyISP. Not sure where to even start trouble shooting to fix this issue, any help is greatly appreciated, thanks!

User avatar
adafruit_support_carter
 
Posts: 29056
Joined: Tue Nov 29, 2016 2:45 pm

Re: Trinket Time Lapse Camera Programming Issues

Post by adafruit_support_carter »

Post a photo of your setup showing all connections. Also post the full output from the Arduino IDE when you try and do the build / upload of the sketch.

User avatar
jpcarnes
 
Posts: 3
Joined: Mon Nov 06, 2017 10:48 pm

Re: Trinket Time Lapse Camera Programming Issues

Post by jpcarnes »

Attached are in depth photos of the circuit and also pictures of the run time error and board info. I have basic soldering skills so I am not sure if I have cold joints or not. Sorry for the late response, and thanks in advance for the help, finishing this will help me out big time on a project I am working on for school! The code from the adafruit was used to test and wasn't changed.
Attachments
IMG_4332.jpg
IMG_4332.jpg (71.59 KiB) Viewed 1075 times
IMG_4331.jpg
IMG_4331.jpg (63.39 KiB) Viewed 1075 times
IMG_4330.jpg
IMG_4330.jpg (74.62 KiB) Viewed 1075 times

User avatar
jpcarnes
 
Posts: 3
Joined: Mon Nov 06, 2017 10:48 pm

Re: Trinket Time Lapse Camera Programming Issues

Post by jpcarnes »

Here are the rest of the pictures:
Attachments
IMG_4335.jpg
IMG_4335.jpg (81.16 KiB) Viewed 1075 times
IMG_4333.jpg
IMG_4333.jpg (70.61 KiB) Viewed 1075 times

User avatar
adafruit_support_carter
 
Posts: 29056
Joined: Tue Nov 29, 2016 2:45 pm

Re: Trinket Time Lapse Camera Programming Issues

Post by adafruit_support_carter »

Try disconnecting the battery from the LiPoly board and see if you can get the basic blink sketch to work on the Trinket:
https://learn.adafruit.com/introducing- ... -ide#blink

Locked
Please be positive and constructive with your questions and comments.

Return to “USBtinyISP”