|
THS
|
Robots /
Lab3CommentsMatt F and I would just like to report that robot 0x0E is having difficulty with its sensors. The range for white on the front right sensor was between 750 and 1100 and the range for black is 730-900. Needless to say programming is becoming difficult... ~Annelise Yes, those values would make it quite difficult. Did you try a different type of material for the blank line or the white surface, or were you testing these sensors using the track that we layed out in the hallway at school? If you can find some other material (or even a different color) to decrease the sensor readings for the line or increase the sensor readings for the background surface, you should be able to create a working program, and then modify the values for the line on the track at school. Try your best to work around this unfortunate flaw in the robot, and document how you attempted to solve this problem. Greg
I'm still having trouble setting WinAVR up on my laptop. WinAVR downloaded properly (and re-installed just in case) ; I think that misplaced file is also already done; and I tried changing the Com9 to Com13 ( I checked this on My Computer->Properties...), but it says: each time, even when I try different Com Port settings... Unfortunate... It seems like you have done everything correctly so far:
From this point, I would start thinking that something was going on with the Command Module itself. First, make sure that the USB LED next to the USB Port on the Command Module is lit up. Then, press the reset button to make sure it is ready to download your program. Also, make sure that the serial cable that plugs into the create itself is completely disconnected. If it and the Command Module are both plugged in, screwy things happen. If the USB LED won't turn on, make sure the Command Module is fully connected to the Create and is switched on. You may also want to unplug any other USB device to make sure there are no accidental conflicts between them (there really shouldn't be, but you never know). I hope something I've said helps you solve this problem. Good luck. -Greg Ehh...I took your advice, and it's still not working. It just runs the last program that was in it (written by whoever last used this Create). Should I bring in my laptop tomorrow to class? ~Linda I have correctly installed drivers, Winavr, and the template files, made sure that the install bug file was in the right place, created a program that worked on two different computers, and changed the port settings for the makefile to match up with the one from my computer. I ran make-all and i received no errors. Then i ran the make-program and i came up with this error: Creating load file for EEPROM: main.eep avr-objcopy -j .eeprom --set-section-flags=.eeprom="alloc,load" --change-section-lma .eeprom=0 -O ihex main.elf main.eep c:\WinAVR-20070525\bin\avr-objcopy.exe: there are no sections to be copied! c:\WinAVR-20070525\bin\avr-objcopy.exe: --change-section-lma .eeprom=0x00000000 never used make.exe: [main.eep] Error 1 (ignored) avrdude -p atmega168 -P com12 -c stk500 -U flash:w:main.hex avrdude: ser_open(): can't open device "com12": The system cannot find the file specified. make.exe: *** [program] Error 1 > Process Exit Code: 2 > Time Taken: 00:01 I dont understand what it means. -Jon hohrath |