Giter Site home page Giter Site logo

piarm's Introduction

PiArm

Steps for PiArm software installation:

  1. Open Terminal and download the code by writing:

    git clone https://github.com/sbozzie/PiArm.git
    
  2. Your code will be downloaded to '/home/pi' directory. Use 'ls' command to check the list of directories.

  3. Go to directory 'PiArm' and run the command to change the permissions of 'configGUI' and 'controlGUI' python files:

    sudo chmod +x configGUI.py controlGUI.py
    

    You are now able to run these two softwares for your PiArm. The control software is to control the movements of PiArm, while the config software is to config the servo motor.

  4. Click on the 'Servo Config' shortcut icon to configure your motor, or if you wish to give movements to PiArm or control it, click on the 'PiArm' shortcut icon.

  5. You can also move these 2 icons to your desktop for your convinience.

PiArm with LCD

One of the variants of PiArm has a LCD mounted on its chest. You can configure this screen using few simple steps.

Steps for LCD configuration

  1. Open terminal and go to the 'LCD-show' directory inside 'PiArm' directory with:

    cd /PiArm/LCD-show
    
  2. Run 'lcd_conf.py' file as superuser with display size as first arg and rotation angle as second:

    sudo python3 lcd_conf.py 7 0
    

    Note: Only two display configuration sizes are available 5 and 7 inch and the rotation can be 0, 90, 180, and 270 degree only.

After you enter this command, your system will ask you for reboot. Enter 'y' and reboot your Pi.

  1. While your system is rebooting, you will have to connect the HDMI and MicroUSB Cable.

Note: In case you see your screen resolutions distorted, you just have to press the on/off button the the LCD screen at its back. This will restore its resolution.

PiArm with ultrsonic

Ultrasonic sensor can be used for PiArm movement on object detection. For using ultrasonic sensor with PiArm follow below steps:

  1. Open Terminal and go to the PiArm directory:
    cd PiArm
    
  2. Run 'sensor.py':
    python3 sensor.py
    
    Note: Use 'ultrasonic' class for measuring distance, 'example_ultrasonic' class can be used for operating PiArm by changing the commands accordingly.

PiArm Tutorial links

Servo Config

PiArm servo config tutorial video

PiArm Control Software

PiArm control tutorial video

piarm's People

Watchers

Sam Boswell avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.