Code Monkey home page Code Monkey logo

dumdum's Introduction

Project Overview

Welcome to the project DumDum. This is my second take on 3d printed hexapod robot, this time more robust implementation with hopefully better code (not hard to beat last one), stronger motors and more flexible 3d model.

Original hexapod can be found here. Let's just say the code was not perfect.

This project is still in early stages but if you want to take a look at development then go ahead.

Granting User Permission to Access the Serial Port (Linux)

Temporary solution for giving permission to access port

You can grant temporary access to the serial port using the following command. Replace /dev/ttyACM0 with the actual path to your serial port:

`sudo chmod a+rw /dev/ttyACM0`

Caution: While this command provides quick access, it grants broad read and write permissions to all users, which can have security implications. It's recommended to use the persistent solution for a more secure setup.

Persistent solution

To ensure persistent permissions for your serial port, follow these steps:

  1. Create a new udev rule file for your device using a text editor. You may need superuser privileges to do this:
sudo nano /etc/udev/rules.d/99-usb-serial.rules
  1. Add the following rule to the file, replacing your_vendor_id and your_product_id with the Vendor ID and Product ID of your USB device. You can find these values by running lsusb and looking for your device's entry:
SUBSYSTEM=="tty", ATTRS{idVendor}=="your_vendor_id", ATTRS{idProduct}=="your_product_id", MODE="0666"
  1. Save the file and exit the text editor.
  2. Reload the udev rules to apply the changes:
sudo udevadm control --reload-rules

With these steps completed, your device should have the necessary permissions to access the serial port without requiring manual adjustments every time it's connected.

dumdum's People

Contributors

neidz avatar

Watchers

 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.