RB-Quick Start Guide
Last updated
Last updated
Before starting to work with RuggedBoard you have to understand the interfaces available with RuggedBoard.
USB to microUSB cable
A PC/Laptop (Windows or Ubuntu OS)
Host PC requires Ubuntu-16.x.x (LTS versions Recommended), 64-bit. To install Ubuntu, follow the below link. https://help.ubuntu.com/community/GraphicalInstall
After successful installation let us start working with Linux – Ubuntu OS
Step 1: Open an application on your computer called “Terminal” by pressing Ctrl + Alt + T
Step 2: In terminal, type the following for testing of internet and press Enter.
Make sure your PC has internet connectivity. If there is no internet please connect to internet and the try again.
Step 3: Install minicom Serial terminal on the host PC to see RB Console.
Step 4: Connect the RuggedBoard to the HOST PC using USB cable provided inside the Box.
Step 5: To find your Serial Port
You should see something like
The port number (
ttyUSB0
)
may vary based on your PC port availability.
If nothing such is shown in the terminal remove and reconnect the USB cable. Now try the command once again.
Step 5: To configureminicom
to be used as a Serial terminal by using below command
Step 6: Select "Serial port setup" and press the respective key as shown below to change the value.
step 7: Press the "Enter" on "Save setup as dfl", it will save the modified settings as default and press "Enter" on "Exit".
Step 8: Press “Enter” once the minicom terminal window shows up. It will ask you to enter login credentials if everything is successful. Type "root
"
as login username and press "Enter". There is no default password for RuggedBoard.
Goto the data directory and follow the steps as below
Step 1: edit the file using vi command as below
To follow these steps you have to understand how to work on the "vi" or "vim" text editor. "vi" is the an text editor available with almost all the Linux distribution including embedded Linux which is very powerful tool for coding and also lightweight. If you want to know how to use vim or vi editor you can follow the small tutorials from the link below:
Step 2: Copy the code below and paste it on the "vi" Editor
If you want us to see the video demonstration of the work done here please visit the YouTube link below:
Step 3: Save the code and exit from Vi editor back to terminal. Use the commands from the tutorial link given above.
Step 4: Execute the blinky.py program you have recently written.
If everything is correct you should see that the LED is blinking with the set interval of 1000ms (1 Second). Try changing the interval and run the program again.
Step 5: Press Ctrl + C
to come back to the terminal or stop execution. Do some alteration in the program for other LEDs and run the program and enjoy.