We put duct tape on the back two wheels to reduce the friction so that it turns easier. The two extra wheels at the front are elevated so that if the robot runs into a curb or step, it will be able to climb on top of it. Next, add the wheels onto the servos, we added reinforcements outside the wheels to secure the other side of the shaft and keep them from coming off. However, there must be enough space on top of the base to fit the Arduino, PCB, and battery. Depending on how strong your servos are, you can use two wheel drive if you want. Next, we need to add the servos underneath the base so that there is enough space on the outside to attach wheels. Therefore, in our second model, we made it much smaller and more compact. Also, for our purposes, the size was pretty much unnecessary. It was pretty big, but that also made it slower and harder to turn. We made three different prototypes of this robot. We have attached pictures here, but you can make it pretty much however you want. Not used: C:\Users\chenmin\Documents\arduino-1.8.5\libraries\ServoĮrror compiling for board STM8S103F3 Breakout Board.First, we need to build a solid base. Used: C:\Users\chenmin\AppData\Local\Arduino15\packages\sduino\hardware\stm8\0.3.3\libraries\Servo Multiple libraries were found for "Servo.h" Mark re12:C:\Users\chenmin\AppData\Local\Arduino15\packages\sduino\tools\sdcc\build.10088/bin/sdcc -c -Ddouble=float -D_PROG_TYPES_COMPAT_ -E -MC -mstm8 -DSTM8S103 -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_STM8S_BLUE -DARDUINO_ARCH_STM8 -IC:\Users\chenmin\AppData\Local\Arduino15\packages\sduino\hardware\stm8\0.3.3\cores\sduino -IC:\Users\chenmin\AppData\Local\Arduino15\packages\sduino\hardware\stm8\0.3.3\variants\standard -IC:\Users\chenmin\AppData\Local\Arduino15\packages\sduino\hardware\stm8\0.3.3\libraries\Servo\src -IC:\Users\chenmin\AppData\Local\Arduino15\packages\sduino\hardware\stm8\0.3.3/STM8S_StdPeriph_Driver/inc -IC:\Users\chenmin\AppData\Local\Arduino15\packages\sduino\tools\sdcc\build.10088/include C:\Users\chenmin\AppData\Local\Arduino15\packages\sduino\hardware\stm8\0.3.3\libraries\Servo\src\stm8\Servo.c -o preproc\ctags_target_for_gcc_minus_e.cppĬ:\Users\chenmin\AppData\Local\Arduino15\packages\sduino\hardware\stm8\0.3.3\libraries\Servo\src\stm8\Servo.c:24:22: fatal error: irqtable.h: No such file or directory When I compile the Servo code, it report the other problem:īash.exe: warning: could not find /tmp, please create!Ĭ:\Users\chenmin\AppData\Local\Arduino15\packages\sduino\tools\sdcc\build.10088/bin/sdcc C:\Users\chenmin\AppData\Local\Arduino15\packages\sduino\hardware\stm8\0.3.3\libraries\Servo\src\stm8\Servo.c preproc\ctags_target_for_gcc_minus_e.cpp re12 -c -Ddouble=float -D_PROG_TYPES_COMPAT_ -E -MC -mstm8 -DSTM8S103 -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_STM8S_BLUE -DARDUINO_ARCH_STM8 -IC:\Users\chenmin\AppData\Local\Arduino15\packages\sduino\hardware\stm8\0.3.3\cores\sduino -IC:\Users\chenmin\AppData\Local\Arduino15\packages\sduino\hardware\stm8\0.3.3\variants\standard -IC:\Users\chenmin\AppData\Local\Arduino15\packages\sduino\hardware\stm8\0.3.3\libraries\Servo\src -IC:\Users\chenmin\AppData\Local\Arduino15\packages\sduino\hardware\stm8\0.3.3/STM8S_StdPeriph_Driver/inc -IC:\Users\chenmin\AppData\Local\Arduino15\packages\sduino\tools\sdcc\build.10088/include Hi install the IDE 1.8.5, and reinstall the Sduino.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |