THE ANNIN ROBOTICS FORUM HAS MOVED TO A NEW COMMUNITY. šŸ‘‰
External Handheldpa...
 
Notifications
Clear all

External Handheldpanel & Linux (Raspberry Pi)

11 Posts
8 Users
0 Reactions
33 Views
Avatar of Wampo
(@wampo)
Active Member
Joined: 2 months ago
Posts: 3
Topic starter  

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


   
Quote
Chris Annin
(@chris-annin)
Member Admin
Joined: 2 months ago
Posts: 530
 

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

this was provided courtesy of Zach Allen.


   
ReplyQuote
Avatar of Wampo
(@wampo)
Active Member
Joined: 2 months ago
Posts: 3
Topic starter  

@chris-annin

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


   
ReplyQuote
Avatar of Marius-Cristian Pop
(@marius-cristian-pop)
New Member
Joined: 2 months ago
Posts: 1
 

@chris-annin @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'.


   
ReplyQuote
Avatar of Matt Carrier
(@matt-carrier)
Eminent Member
Joined: 2 months ago
Posts: 13
 

@chris-annin @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.


   
ReplyQuote
Welding Flash Restorations
(@welding-flash-restorations)
Eminent Member
Joined: 2 months ago
Posts: 21
 

@chris-annin Hi there i have just ordered the combo kit and steppers etc and im currently printing the 3d files, do you know if the pi project still works with the AR4?


   
ReplyQuote
Avatar of Matt Carrier
(@matt-carrier)
Eminent Member
Joined: 2 months ago
Posts: 13
 

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.)


   
ReplyQuote
Avatar of Kstan Simit
(@kstan-simit)
Estimable Member
Joined: 2 months ago
Posts: 105
 

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


   
ReplyQuote
Avatar of raghuraman.b
(@raghuraman-b)
Active Member
Joined: 2 months ago
Posts: 6
 

When running the AR3 software in raspberrypi i get AR3.ico error. Icon error. Unable to resolve it. Any ideas guys?

Ā 
Ā 
Ā 
Ā 

   
ReplyQuote
Avatar of Robert Rolleston
(@robert-rolleston)
New Member
Joined: 2 months ago
Posts: 1
 

@raghuraman-b yeah delete line 79 in AR4.py: root.iconbitmap(r'AR.ico')


   
ReplyQuote
Welding Flash Restorations
(@welding-flash-restorations)
Eminent Member
Joined: 2 months ago
Posts: 21
 

can this still be done with the AR4 and the teensy 4.1?


   
ReplyQuote
Share:
Upload your Photo