Holonomic Robotic Platform

Engineering Project Data

 
See Image file for Source

A holonomic system is when the number of controllable degrees of freedom equals the total degrees of freedom. Video of Holonomic Car

Mechanical

Omni Wheels and Positioning

 
Typical Omni-Wheel
  • Omni-wheels are often used to allow for movement on the horizontal axis on a drivetrain, as well as forward and backward movement.

History

US patent 1305535, J. Grabowiecki, "Vehicle wheel", issued 1919-06-03  A variant of the wheel was patented by Josef F. Blumrich in 1972. US patent 3789947, Josef F. Blumrich, "Omnidirectional wheel", issued 1974-02-05 

Drive Motors with Gearboxes

 
Raspberry PI 4
  • 3-6 VDC, Bidirectional
  • Gearbox Motor with a gear ratio of 1:48
  • 2 x 200mm wires with breadboard-friendly 2.54mm(0.1”) male connectors
  • Maximum torque: 800k.cm
  • Available on Amazon

Absorbers and Springs

 
Miniture Shock Absorbers

Drive Shafts with Universal Joints

 
Miniature Drive Shafts

Hardware Case for Raspberry PI 4

Electronic/Electrical

Raspberry PI4 4 Gig Ram

 
Raspberry PI 4

Pi Setup

  1. Raspbian System Image was downloaded from RaspberryPi.org to development laptop.
  2. Belana Etcher Disk Flasher was downloaded and installed on laptop.
  3. 64 Gigabyte Micro SD Card was placed in San Disk adapter and mounted on laptop.
  4. Micro SD card was flashed with Raspbian OS, then removed from Laptop and inserted in to PI 4.
  5. HDMI Video 4K Monitor connected to PI via Mini-HDMI adapter, as well as USB Keyboard and Mouse connected to PI 4.
  6. PI 4 was powered on, and OS Install and Finalization was initiated.
  7. PI Wi-Fi connection to Router was verified, with static IP address assigned to PI 4.
  8. PI 4 initiated software updates via internet connect.
  9. VNC Server was setup on PI 4 to connect to Laptop via Port:5900.
  10. VSFTPD was installed on PI 4 to handle file transfers between Laptop and PI 4 using FTP client on Port:21.
  11. PI was Powered Down, and USB and video cable removed from PI,
  12. PI was powered up as a stand alone device.
  13. VNC Wi-Fi connection was initiated between Laptop and PI successfully.
  14. Development now takes place across Network VNC connection, with PI as a Standalone Computing Device.

Raspberry PI Full Function Servo Motor HAT Controller

 
Geekworm HAT
  • Full function Robot Expansion Board (Support Stepper / Motor / Servo) for Raspberry Pi.
  • Stepper motors are great for (semi-)precise control, perfect for many robot and CNC projects.
  • HAT supports up to 2 stepper motors. The python library works identically for bi-polar and uni-polar motors
  • For a complete in-depth explanation of using this HAT see the Raspberry PI Wiki: Robot Expansion Board.

HDMI Video Adapter Cable

Micro SD 64 Gig Memory Card for PI Operating System, and Hard Drive

Software

Raspbian Operating System

Balena Flash Prom Programmer

 
Interface Window

Windows Python for Laptop Host Development

 
Winpython Logo

Spyder Development Environment

 
Spyder IDE

Spyder is a powerful scientific environment written in Python, for Python, and designed by and for scientists, engineers and data analysts, featuring the following options:

  • Editor
  • IPython Console
  • Variable Explorer
  • Profiler
  • Debugger
  • Help

Code and Mathematics

Code to Facilitate Development

To help easy development of specific modules in the Holonomic Robot, a communications interface is implemented between the Robot(Raspberry PI 4 Server) and a Laptop Development workstation(HP Client). The protocol is built on TCP Tx-Rx Exchange between the two devices. The code modules are Python running at both ends. The Robot starts out as a purely slaved device taking commands from the laptop. Motor control modules manipulating the GPIO interface run on the Robot but are commanded by the laptop. As the motor control is refined and routinized along with the growth of intrinsic autonomy, the code is transitioned from the Laptop to the Robot. Code is primarily developed in Python 3.7.

Laptop Code for Robot/Laptop Base Communication

import socket
message_from_server = ''
client = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
client.connect(('192.168.1.43', 13000))
while True:
    message = ''
    message = input('enter any string to transmit:')
    client.send(message.encode())
    message_from_server = (client.recv(4096)).decode()
    print (message_from_server)
    if message == "Stop the Server" : break 
client.close()
print ("You ended the session")

Robot Code for Robot/Laptop Base Communication

import socket
serv = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
serv.bind(('192.168.1.43',13000))
serv.listen(5)
while True:
    conn, addr = serv.accept()
    message_from_client = ''
    while True:
        data = conn.recv(4096)
        if not data: break
        message_from_client = data.decode()
        print ("Tx:" + message_from_client)      
        message = "RxAck:" + message_from_client
        conn.send(message.encode())
    conn.close()
    if message_from_client == "Stop the Server" : break
print ('Communication protocols termintated at Server by Client')