AR logo.png

ANNIN ROBOTICS

0
  • HOME

  • TUTORIALS

  • DOWNLOADS

  • THIRD-PARTY SOFTWARE

  • ROBOT KITS

  • FORUM

  • BLOG

  • CONTACT

  • More

    Use tab to navigate through the menu items.
    To see this working, head to your live site.
    • Categories
    • All Posts
    • My Posts
    Wampo
    May 04, 2019

    External Handheldpanel & Linux (Raspberry Pi)

    in Questions

    Hey Guys and nice Greetings from Germany,

    is it possible to run the Software on a Raspberry PI system?

    I would create a Handheldpanel with Touchfunctionality and a little 3D Mouse, would be easyer to handle and Teach the Robot. Like a KRC from KUKA.

    Any Ideas?!

    Greetings Daniel

    6 comments
    0
    Chris Annin
    May 04, 2019

    Yes, see here on the project repository: https://github.com/Chris-Annin/AR2/tree/master/RaspberryPi

    this was provided courtesy of Zach Allen.

    0
    Wampo
    May 04, 2019  ·  Edited: May 04, 2019

    THX, Chris. GOT IT!


    In this RaspberryVersion on Git you only must change the Line in AR2.py where the BAUDRATE is defined. Actual it is at 9600baud but Arduino Communicates with 115200baud.

    If i changed it, my Arduino talks to the Raspberry else you got no Communication.




    def setCom():
      global ser
      port = "/dev/ttyACM0" #+ comPortEntryField.get()
      baud = 115200
      ser = serial.Serial(port, baud)



    Okay, lets build some Touchscreen Handheld Device :-D.

    My plan is it to downsize your Main Softwarevisualisation for a Touchscreen with buttons like Orientation changes from Base to Tool to SingleAxis.


    Greetings Daniel

    Marius-Cristian Pop
    Jan 21, 2020

    @Wampo I confirm your def setCom() settings work even in case of running the python AR2 script on Ubuntu 16.04. Another thing to do when running on Ubuntu is to run the script with "sudo". For example sudo python3 AR2.py. Else this error will appear: serial.serialutil.SerialException: [Errno 13] could not open port /dev/ttyACM0: [Errno 13] Permission denied: '/dev/ttyACM0'.

    0
    Matt Carrier
    May 24, 2020

    @Wampo Thanks for the tip on setting the baud. Were you able to use auto calibrate without it crashing? When I click the button the robot drives to all the limit switches and then stops but the button does not unstick. Program seems to freeze.

    0
    Matt Carrier
    May 25, 2020

    I've ported the latest 2.0 version of the software to linux so it is now working for me. I need to update the UI because some of the buttons are cut off but once I'm done doing this I'll send @Chris Annin a copy of it so he can update the main repo. This is so exciting to have my robot finally working after 2+ years of working on it off and on. Thanks again @Chris Annin for creating this project and sharing all the info. (Should note that it works on a raspberry pi but I had to disable xbox controller support. I think that will need a bit of work possibly to work on the Pi.)

    0
    Kstan Simit
    Jan 21, 2021

    Hi, I’m tried run AR3 on raspberry pi.however it notice that once both usb cable from arduino and teensy connected the raspberry pi look like freeze or reboot. I think because of insufficient power supply from microUSB into raspberry pi. How you guy overcome this obstacle?


    cause we need connect raspberry pi to hdmi, keyboard, mouse, teensy and arduino. Seems it drain too much power



    0
    6 comments