Wednesday, December 16, 2015

process work

So last night, we ran into a big problem with our project. It worked how we wanted it to Sunday night, but while doing some little last minuet touch ups to the installation and a final run through test, the code would not up load to the boards. It's really bizarre. We even tried uploading the basic Blink code and it would not work. It kept giving us this same error code:

I googled this error code and everything I found suggested reseting the bootloader and reseting the driver. I tried following tutorials on how to do this, but it is pretty far out of our knowledge and skill base.

We changed every variable we could thing of. We changed usb cables, uploaded from different computers, used a PC instead of our macs, used fresh new arduino boards, and used different codes with the new boards. But I think we have determined it is our code. We figured this out by taking Ivette's arduino board and uploading the simple Blink code to it, and then trying to upload our code and we got this same error code. We have no idea how our code could have gotten corrupted with in the past 24 hours since this is the same code we have been using for weeks. We have looked over our code and retyped it into a fresh sketch window and tried uploading it and it still produces this error. Right now we are trying to update the arduino program, type up the code in a new sketch window, and upload it to a fresh board. We shall see if this works.

UPDATE:  It worked. We had to update the Arduino program on our laptops to the latest version which was just added on the 15th. (What a coincidence.) So we updated it on both of our laptops, and had to retype the code into a new window and resave it and THEN we could upload it to the arduino board. And we also had to use brand new fresh boards. I think the boards that had our old code without the update were corrupted by the code somehow.

Here is a video explaining our project a little more with both sensors and all motors working.





No comments:

Post a Comment