XY Plotter automatisation

edited December 2014 in Arduino

Hi everyone!

I'm working an art installation that draw maps all day. I'm using the Makeblock XY Plotter V2.0 (Arduino Leonardo) with a raspberry pi B with raspbian. Arduino sketch is working well (gCode interpreter included).

I'm using on RBi the processing (framework) app (GRemote) to load and execute a graphic gCode file (.nc), all is going well =)

My problem:

-> I need to schedule drawing sequence (every 5 minutes). I was thinking about executing scripts from crontab, but processing (java) seems to need a GUI to run. I don't know how to schedule task in the x.session running. Maybe i've to use python or something else to order my plotter without GUI. But, i'm a novice...

If you have any suggestion, i'll be very happy!


  • in processing you'd use millis()

  • Thanks you Chrisir, it's could be a way to schedule task without cron. But i still need to execute a script (maybe without processing) to parse my gCode commands to the arduino board without GUI. Any advice?

Sign In or Register to comment.