Just trying the GPIO widget to connect to the rPi3 / TinyG from my laptop and ran into a no permissions error setting pins and busy if I tried the pin again. I have never done any GPIO on Rpi, only Arduino, so forgive my ignorance.
Is there anybody using this yet? I could really use it. The other wifi stuff via SPJS seems to work well so far running jobs. I can easily flip the coolant and spindle with relays I wired up to the TinyG but I also have a 12vdc break I need to flip flop with the z axis motor power to prevent the spindle crashing through some very expensive glass. I have not hooked up the PWM for the spindle yet and we have some other things we want to control later. If it all works our R&D conversion will show how this is not just a hobby tool and give Chilipeppr/TinyG some real world industrial machine legitimacy for education.
Hello @Steve_Anken , if i right understand you want control the GPIO from RPI, correct? Do you run the SPJS on ur RPI as root user, cuz GPIO need root privilegues and a special SPJS version.
Thanks Frank. I ran it in terminal
cd Desktop
sudo ./gpio-json-server
Seems to work but I have nothing wired up yet. Gots lots to learn, thanks for answering dumb questions, I read that but forgot and should have figured it out.
New to Pi but did some unix long ago. I need to make both JSON servers run on startup so any suggestions would be welcome.
I have to learn this anyway but I need to get this ready to set up on another machine on Monday.
BTW I want to set up the cam jogging too but don’t need it Monday so any pointers in that direction would also be a great help.
This is very cool, the widget itself could be a great web interface for any Rpi user not just CNC. I like how it makes buttons and sliders so easily but I can also see how the functionality can be expanded and used for all kinds of automation.