Hello, so I came across this video I while ago: https://m.youtube.com/watch?v=q3vXTX6Qe54, and since then I have acquired a 3d printer. I thought it would be great to try and control a 3d printer with a ps3 controller. I know Henner Zeller posted this: https://plus.google.com/app/basic/stream/z13fw1vapweldx1hg04cjxopdweizbtyoqg0k But I can’t get it to work as I am not at all used to the raspberry pi. However I do know a bit about Arduino code. My idea was this, set up a arduino ( uno in my case) with the usb host shield then send the inputs from the controller by i2c ( probably) to a arduino mega with ramps 1.4. Then you can set up each button to do what you want on the controller.
My only problem is how would I actually tell the printer to move!
For example if I press UP the arduino uno receives this then sends it to the mega then that will read this information and carry out an action say home X. However what would the code look like for the actual movements?
Serial read -> if up -> ( home X? or g28 X0?)
Also where a bouts in Marlin would this go? Would I have to create separate files (.h and .cpp) really don’t know how to do that!
Thanks for any help would really appreciate it!
also if you think this post can go anywhere else please let me know
Thanks