So my Arduino has been working fine up until today. I had plugged a IR sensor into digital 2(I'm new to electronics and I'm still trying to figure this out..)....and I'm starting to think it was a very bad idea.
My board lets me program it once, maybe twice but then when I try and reupload something I get a message on the debug that says:
avrdude: usbdev_open(): did not find any USB device "usb"
Did I mess up?
Any help appreciate
the ir sensor i was using was http://www.sparkfun.com/products/241
I had my 5v coming out the board into my bread board.
The 5v from the bread board went into a 10k resistor and from there went to the anode of the IR Sensor
I read on the arduino website that the arduino has a ADC and the sparkfun website said to use a simple ADC so I plugged it into the digital 2.
Also, not sure if its related but a friend but a voltmeter on either side of the IR sensor while plugged into A0 and the board seemed to reset.....
Any ideas