Failed to communicate?

SpokePOV kit for bikes

Moderators: adafruit_support_bill, adafruit

Failed to communicate?

Postby hunkydory » Sat Aug 27, 2011 1:27 am

Hi everyone, this is my first electronics project, so I'm a bit of a n00b, so please bear with me! :)

When I finished putting them together, all the LEDs on my spoke lit up in some combination. Then, on the USBTiny, the green light illuminated when testing avrdude.

However, when I try connecting to the SpokePOV program, the connection fails. I've set the port type to USB, then changed the Comm Delay from 1000 to 10000 in small increments, however nothing seems to connect to the computer. I did the test as per the instructions on the Test Port, and what I find is that pin 1, instead of the greater than 3V, I find I'm getting about .154 V. I checked the other pins, and they were between 0.15-0.2V.

Could you provide insight to what I'm doing wrong? Could it be a bad component? Or several? What is the best way to troubleshoot this? Also, should I need to desolder, do you have any recommendations for desoldering tools, especially jobs like this? My current desoldering pump is here: http://www.elexp.com/sdr_0802.htm

Also, I'm working on a Mac OS. I included some pictures. Thanks!
Image


Back:
Image

Image

Image
Last edited by hunkydory on Sat Aug 27, 2011 8:08 am, edited 2 times in total.
hunkydory
 
Posts: 5
Joined: Sat Aug 27, 2011 1:01 am

Re: Failed to communicate?

Postby adafruit_support_bill » Sat Aug 27, 2011 4:25 am

Can you pot larger photos? It's hard to see the detail in those.
User avatar
adafruit_support_bill
 
Posts: 16607
Joined: Sat Feb 07, 2009 9:11 am

Re: Failed to communicate?

Postby hunkydory » Sat Aug 27, 2011 8:10 am

Thanks for the response, I've edited the original post to show larger photos. Also, I changed this in the original post, but should note that the rest of the pins were between 0.15-0.2V instead of the original post saying 0.15-2V.
hunkydory
 
Posts: 5
Joined: Sat Aug 27, 2011 1:01 am

Re: Failed to communicate?

Postby adafruit » Sun Aug 28, 2011 4:25 pm

do the test with the jumper in?
User avatar
adafruit
 
Posts: 10545
Joined: Thu Apr 06, 2006 3:21 pm
Location: nyc

Re: Failed to communicate?

Postby hunkydory » Fri Sep 02, 2011 6:49 pm

Still practically nothing when I measured it with the jumpers.

When I connect the USBtiny to my computer and run the avrdude LED test, the green indicator light up.

When I connect my computer to the USBtiny, Terminal doesn't seem to recognise the USB port (using ls /dev/.cu*), everything else but the USB is recognized.

Any other ideas?
hunkydory
 
Posts: 5
Joined: Sat Aug 27, 2011 1:01 am

Re: Failed to communicate?

Postby adafruit » Wed Sep 07, 2011 5:41 pm

hunkydory wrote:Still practically nothing when I measured it with the jumpers.

When I connect the USBtiny to my computer and run the avrdude LED test, the green indicator light up.


If you connect it to the spokepov and run "avrdude -P usb -c usbtiny -p attiny2313" what does it say?

hunkydory wrote:When I connect my computer to the USBtiny, Terminal doesn't seem to recognise the USB port (using ls /dev/.cu*), everything else but the USB is recognized.

Any other ideas?


there isnt a device made in /dev. People keep bringing this up even though its in the FAQ, which we think makes debugging confusing. :(
Why do you think there would be a /dev/cu* ? Is this mentioned in the documentation somewhere?
User avatar
adafruit
 
Posts: 10545
Joined: Thu Apr 06, 2006 3:21 pm
Location: nyc

Re: Failed to communicate?

Postby hunkydory » Sun Sep 18, 2011 12:05 am

New developments! Managed to connect to the spokepov program, but it looks like 2 of the 3 ATtiny2313 weren't working (when they were connected, it failed to communicate, but worked with one).
hunkydory
 
Posts: 5
Joined: Sat Aug 27, 2011 1:01 am

Re: Failed to communicate?

Postby adafruit » Mon Sep 19, 2011 5:30 am

do the chips work otherwise, like the test LED procedure, etc?
User avatar
adafruit
 
Posts: 10545
Joined: Thu Apr 06, 2006 3:21 pm
Location: nyc

Re: Failed to communicate?

Postby hunkydory » Mon Sep 19, 2011 10:25 am

I'm not sure. On one of the boards the LEDs aren't all completely lit, and doing the hard reset doesn't run through the LED test procedure. I'm going to try and recheck all solder joints to see if it's a mechanical problem (all of the LEDs were lined up when I checked and re-checked them, and I'm certain we can eliminate the LEDs being reversed, and all the chips are lined up according to the notch).

One of the boards works perfectly though. I used this board to figure that the two controllers don't work, since 2 of the 3 failed to communicate.

(Also, thanks for working through this with me, I really appreciate it!)
hunkydory
 
Posts: 5
Joined: Sat Aug 27, 2011 1:01 am

Re: Failed to communicate?

Postby adafruit » Wed Sep 21, 2011 12:29 am

sounds like a soldering/assembly issue not necessarily a microcontroller issue. look over for differences between the working one and nonworking, backwards chips, etc? get them all so they run thru the hardware reset LED test!
User avatar
adafruit
 
Posts: 10545
Joined: Thu Apr 06, 2006 3:21 pm
Location: nyc


Return to SpokePOV

Who is online

Users browsing this forum: No registered users and 1 guest

Stuff to buy from the Adafruit store and links to product documentation!


New Products [113]

Raspberry Pi[81]
 
FLORA[24]
 
Bunnie Studios[9]
 
FPGA[1]
 
mbed[12]
Arduino[60]
 
NETduino[14]
 
BeagleBone[23]
 
Android[6]
 
XBee[10]
More Dev Boards[30]


 
BoArduino[8]
 
SpokePOV[4]
 
TV-B-Gone[4]
 
MiniPOV[3]
 
SIM reader[3]
 
Microtouch[5]
 
Clocks & Watches[18]
 
Drawdio[4]
 
Brain Machine[1]
 
Game of Life[2]
 
MintyBoost[2]
More DIY Kits[16]


 
MaKey MaKey[3]
 
Tweet-a-Watt[5]
 
Young Engineers[39]
 
Discover Electronics[2]
 
Snap Circuits[4]
 
littleBits[3]
 
Project packs[9]


 
Breakout Boards[35]
LCDs & Displays[49]
Components & Parts[70]
Batteries & Power[54]
EL Wire/Tape/Panel[52]
LEDs[112]
 
Wireless[16]
Cables[66]
 
Lasers[6]
Sensors/Parts[147]
 
Enclosures/Cases[11]
 
Solar[11]
 
RFID / NFC[13]
Prototyping[70]
 
iDevices[13]
Tools[71]
 
Wearables[41]
 
CNC[37]
 
Robotics[29]
 
3D printing[1]
 
Materials[25]


 
Stickers[41]
 
Skill badges[55]
 
Books[26]
 
Circuit Playground[7]
 
Gift Certificates[4]