ruggedBOARD
Tutorial Using Python
Tutorial Using Python
  • Overview
  • Quick Start with RB
    • Pre-Requisite
      • Required Hardware and Software Components
      • Host Setup
      • Linux Commands
    • Power Up your RB
    • Fiddle with RB Command-line
  • Lib-Mraa & UPM Sensor Libraries (Python)
    • First Python Program
    • Know Your Libraries
      • LibMRAA
        • Python Programming using MRAA (SPI)
        • Python Programming using MRAA (PWM)
        • Python Programming using MRAA (gpio_blink)
        • Python Programming using MRAA (Aio)
      • LibUPM
    • Example Programs for Sensors
      • Procedure to interface phyNODE with RB
      • Accelerometer
      • Temperature Sensor
      • Pressure Sensor
      • Humidity Sensor
      • Magnetometer
      • PIR Sensor
      • Ultrasonic Sensor
      • Gas Sensor (MQ5)
    • mikroBUS UPM Sensor
    • Example programs for Communication Protocols
      • GPIO
      • I2C
      • UART
  • Hello World in C language
    • Setting up Environment
    • Transferring Files from Host to Board
    • Write your first C program
  • IoT Implementation
    • What is IoT?
    • IoT Protocols
    • MQTT Setup
  • Peripherals Functionality Testing using C Language
    • Interfaces
      • GPIO(General purpose Input/Output):
      • UART(Universal Asynchronous Receiver-Transmitter)
      • RS232
      • RS485
      • CAN
      • MikroBUS
      • mPCIe
  • Advance RB
    • Preparing SD card in case of OS failure
Powered by GitBook
On this page
  • Here's a list of a few commands we suggest you to try :
  • Below Images show how to excute example programs.

Was this helpful?

  1. Quick Start with RB

Fiddle with RB Command-line

Congratulations!! You have got the Board console ready using "minicom" in Ubuntu Linux or "Putty" in Windows environment.

You are now ready to play with the RuggedBoard-A5D2x.

As the RuggedBoard runs a Yocto based custom Linux OS, you might want to learn a few basic Linux commands that we think might be handy for you to peek though the RB.

Here's a list of a few commands we suggest you to try :

  1. ls - Lists the Files and Folders

  2. pwd - Print Working Directory, Prints the current directory the user is working on.

  3. cd - Change Directory, Used to switch directories from the current directory.

  4. touch - It is used to create a file without any content. The file created using touch command is empty. Ex: touch test.txt, creates a file named test.txt in the current directory.

  5. mkdir- Make Directory, this command creates a new directory. Ex: mkdir test, creates a directory named test.

  6. rm- Remove, this command is used to remove files or folders. Ex: rm test.txt, removes the test.txt file. Ex: rm -rf test, removes the test folder created. Note: It doesn't prompt the user before deleting the file.

  7. cp- Copy, used to files.

  8. mv- Move, used to move the files.

  9. ps- Displays current active processes.

  10. chmod- Change File Permissions, Ex:chmod 777 filename .

Below Images show how to excute example programs.

Boxes highlighted in Blue: Folders White: Files Green: C binaries Red: Outputs

To Execute a C binaries present in the Examples Folder.

To execute Python examples present in Examples folder.

PreviousPower Up your RBNextFirst Python Program

Last updated 5 years ago

Was this helpful?

To execute a C binary
To execute a pyhton program