Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
The Robot | ||||||||
Line: 6 to 6 | ||||||||
The robot was bought in China for a mere 20 US$ including the Arduino Uno control unit with USB cable for connection to the PC for programming, the L298N![]() | ||||||||
Changed: | ||||||||
< < | The Arduino and the sensor shield can also be used for readout and control of the sensors in the sensor kit, which we bought for control by the Raspberry Pi. The Arduino however needs its own software development kit (SDK) installed on the PC for development of the control software. | |||||||
> > | The Arduino and the sensor shield can also be used for readout and control of the sensors in the sensor kit, which we bought for control by the Raspberry Pi. The Arduino however needs its own software development kit (SDK) installed on the PC for development of the robot software. | |||||||
Assembling the chassisAs with most of the devices I bought in China, the kit came without any documentation. Not even assembly instructions for the mechanical parts are available. I was pretty lucky to find 2 Youtube videos showing how to assemble the device: |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
The RobotThe robot consists of a 3 wheel chassis where 2 wheels are driven by DC motors. It is controlled by an Arduino Uno and contains an ultrasonic distance sensor mounted on a servo motor. The sensor can be we turned with the servo motor looking into different directions such that the robot can decide which way is free. | ||||||||
Changed: | ||||||||
< < | The robot was bought in China for a mere 20 US$ including the Arduino Uno control unit with USB cable for connection to the PC for programming, the L298N motor control unit, driving the DC motors and the servo motor for the ultra-sonic sensor as well as the Arduino sensor shield. In addition the kit includes a battery holder and a power switch such that the robot can work autonomously. | |||||||
> > | The robot was bought in China for a mere 20 US$ including the Arduino Uno control unit with USB cable for connection to the PC for programming, the L298N![]() | |||||||
The Arduino and the sensor shield can also be used for readout and control of the sensors in the sensor kit, which we bought for control by the Raspberry Pi. The Arduino however needs its own software development kit (SDK) installed on the PC for development of the control software.
Assembling the chassis |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
The Robot | ||||||||
Line: 76 to 76 | ||||||||
![]() | ||||||||
Added: | ||||||||
> > | Here are some pages on the robot software | |||||||
-- ![]() Comments | ||||||||
Changed: | ||||||||
< < | Good afternoon sir. I have been trying to install the SDK but I get an error when I run the install.sh I have searched online for solutions but I can't find any. I really need your help. Attached is a screenshot of the error.Thank you. | |||||||
> > | Good afternoon sir. I have been trying to install the SDK but I get an error when I run the install.sh I have searched online for solutions but I can't find any. I really need your help. Attached is a screenshot of the error.Thank you. | |||||||
-- ![]() | ||||||||
Changed: | ||||||||
< < | The SDK launches when I execute the 'ant run' command but I get the error when I run the install.sh file | |||||||
> > | The SDK launches when I execute the 'ant run' command but I get the error when I run the install.sh file | |||||||
-- ![]() | ||||||||
Line: 91 to 90 | ||||||||
-- ![]() | ||||||||
Deleted: | ||||||||
< < | ||||||||
Good day sir! I have the same issues when i run the install.sh. We need your help on that. But there is a new upgrade with the packages because the firmata2.5.4 has change to firmata2.5.5 in out directory and that is generated automatically after we issue the command ant dist
-- ![]() | ||||||||
Changed: | ||||||||
< < | I'm pretty sure the upgrade is the cause of the problem | |||||||
> > | I'm pretty sure the upgrade is the cause of the problem | |||||||
-- ![]() | ||||||||
Line: 101 to 98 | ||||||||
-- ![]() | ||||||||
Deleted: | ||||||||
< < | ||||||||
After compiling the Arduino SDK, can you run it at /opt/ucc/micros/arduino/arduinoSDK/build/linux/work/arduino ? I have my desktop file installed in $HOME/.local/share/applications. So this is valid for my user only. Installing it in /usr/share/applications make is usable system wide. | ||||||||
Changed: | ||||||||
< < | An easy way to generate the .desktop file is to run the program,in which case the icon should come up on the Unity task bar. Then you can fix it there right clicking the icon and selecting "lock to launcher". | |||||||
> > | An easy way to generate the .desktop file is to run the program,in which case the icon should come up on the Unity task bar. Then you can fix it there right clicking the icon and selecting "lock to launcher". | |||||||
-- ![]() |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
The Robot | ||||||||
Line: 100 to 100 | ||||||||
I'm pretty sure the upgrade is the cause of the problem
-- ![]() | ||||||||
Added: | ||||||||
> > |
After compiling the Arduino SDK, can you run it at /opt/ucc/micros/arduino/arduinoSDK/build/linux/work/arduino ?
I have my desktop file installed in $HOME/.local/share/applications. So this is valid for my user only. Installing it in /usr/share/applications make is usable system wide.
An easy way to generate the .desktop file is to run the program,in which case the icon should come up on the Unity task bar. Then you can fix it there right clicking the icon and selecting "lock to launcher".
-- ![]() | |||||||
|
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
The Robot | ||||||||
Line: 90 to 90 | ||||||||
The SDK launches when I execute the 'ant run' command but I get the error when I run the install.sh file
-- ![]() | ||||||||
Added: | ||||||||
> > |
Good day sir! I have the same issues when i run the install.sh. We need your help on that. But there is a new upgrade with the packages because the firmata2.5.4 has change to firmata2.5.5 in out directory and that is generated automatically after we issue the command ant dist
-- ![]() ![]() | |||||||
|
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
The Robot | ||||||||
Line: 80 to 80 | ||||||||
Comments | ||||||||
Added: | ||||||||
> > |
Good afternoon sir. I have been trying to install the SDK but I get an error when I run the install.sh I have searched online for solutions but I can't find any. I really need your help. Attached is a screenshot of the error.Thank you.
-- ![]() ![]() | |||||||
| ||||||||
Line: 92 to 102 | ||||||||
| ||||||||
Added: | ||||||||
> > |
|
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
The Robot | ||||||||
Line: 72 to 72 | ||||||||
The reason is that Firmata-2.5.4 is empty. I delete Firmata-2.5.4, rename Firmata to Firmata-2.5.4 and create a symbolic link Firmata → Firmata-2.5.4, which solves the problem. | ||||||||
Changed: | ||||||||
< < | Finally I execute install.sh to get the desktop file which I install in the Unity task panel. | |||||||
> > | Finally I execute install.sh to get the desktop file which I install in the Unity task panel. This is how the SDK looks like on the screen:
![]() | |||||||
-- ![]() | ||||||||
Line: 89 to 91 | ||||||||
| ||||||||
Added: | ||||||||
> > |
|
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
The Robot | ||||||||
Line: 31 to 31 | ||||||||
Finally we mount the servo motor upside down, the white turning axis into the receiving cross (see photo above left) and screw it with the flat cutting screw (from below of what is seen in the photo above left). Finally we mount the base with the servo mounted on top onto the chassis and fix the sensor with a rubber band:
| ||||||||
Added: | ||||||||
> > | There is not much real estate on the chassis itself to mount the Arduino controller and the motor driver. Therefore I added a level with a small plexiglass sheet onto which I mounted the PCB board. This is how the complete assemble looks like:
![]() | |||||||
Setting up the softwareTo make sure I have the latest and greatest software I download the sources via git to /opt/ucc/micros/arduino: | ||||||||
Line: 85 to 88 | ||||||||
| ||||||||
Added: | ||||||||
> > |
|
Line: 1 to 1 | |||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Added: | |||||||||||||||||||||||
> > |
The RobotThe robot consists of a 3 wheel chassis where 2 wheels are driven by DC motors. It is controlled by an Arduino Uno and contains an ultrasonic distance sensor mounted on a servo motor. The sensor can be we turned with the servo motor looking into different directions such that the robot can decide which way is free. The robot was bought in China for a mere 20 US$ including the Arduino Uno control unit with USB cable for connection to the PC for programming, the L298N motor control unit, driving the DC motors and the servo motor for the ultra-sonic sensor as well as the Arduino sensor shield. In addition the kit includes a battery holder and a power switch such that the robot can work autonomously. The Arduino and the sensor shield can also be used for readout and control of the sensors in the sensor kit, which we bought for control by the Raspberry Pi. The Arduino however needs its own software development kit (SDK) installed on the PC for development of the control software.Assembling the chassisAs with most of the devices I bought in China, the kit came without any documentation. Not even assembly instructions for the mechanical parts are available. I was pretty lucky to find 2 Youtube videos showing how to assemble the device: https://www.youtube.com/watch?v=p8PouSmxOQY![]() ![]() ![]() ![]() ![]()
Setting up the softwareTo make sure I have the latest and greatest software I download the sources via git to /opt/ucc/micros/arduino: git clone https://github.com/arduino/Arduino.git![]() ant run I get this error: linux64-start: [exec] Picked up JAVA_TOOL_OPTIONS: [exec] Exception in thread "main" java.lang.UnsupportedClassVersionError: processing/app/Base : Unsupported major.minor version 52.0 [exec] at java.lang.ClassLoader.defineClass1(Native Method) [exec] at java.lang.ClassLoader.defineClass(ClassLoader.java:803) [exec] at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) which I can get rid of by choosing the right java version: ![]() ![]() Comments
|