Giter VIP home page Giter VIP logo

nathancy / pi-robotics Goto Github PK

View Code? Open in Web Editor NEW
4.0 2.0 1.0 16.95 MB

Secure blockchain encryption demonstrated through embedded system autonomous cars using Xbee, ultrasonic sensors, and LIDAR sensors (Raspberry Pi side, OOP Python) Arduino side: https://github.com/nathancy/Arduino-Robotics

Python 100.00%
embedded-systems raspberry-pi ultrasonic-sensors lidar xbee arduino raspberrypi python blockchain

pi-robotics's Introduction

Pi-Robotics

Robotic Video

Python code used to run an autonomous robot built using Arduino, Raspberry Pi, servos, motors, ultrasonic sensors, LIDAR sensors, XBee, and blockchain technology. For the autonomous demo, the robot initially turns the LIDAR to the left, right, and center to determine the longest direction through multiple readings, removes outliers, and returns a median value. It then moves the motors towards the direction of the farthest distance. The robot takes readings while in motion for collision checking using the ultrasonic sensors. If it encounters an obstacle, it stops and calibrates again to determine the next longest direction and then moves towards that direction.

For MVP test demos between the cars, look in the demos/MVP directory.

This repository contains several modules:

  • LIDAR_test - LIDAR sensor test module
  • motor_test - Motor test module
  • servo_test - Servo test module
  • ultrasonic_test - Ultrasonic sensor test module
  • xbee_test - XBee test module
  • demos/ - Test demos for autonomous cars (MVP demo)

For the autonomous demo, run with program with:

python main.py
  • main.py - Main driver.
  • LIDARcontrol.py - Module to read LIDAR sensor data on Raspberry Pi from Arduino through the serial port.
  • motorControl.py - Module for motor control.
  • servoControl.py - Module for servo control.
  • ultrasonicControl.py - Module for reading ultrasonic sensor data on the Raspberry Pi.
  • xbeeControl.py - Module for wireless communication on the Raspberry Pi.
  • auxiliary.py - Auxiliary functions such as releasing GPIO pins and data logging.

Parts

Sensor Libraries/Datasheets

Software Block Diagram

Robot Wiring Diagram

pi-robotics's People

Contributors

nathancy avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

jooo000hn

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.