Just got to 'working' tonight with a new GPIO widget for Chilipeppr.

Just got to ‘working’ tonight with a new GPIO widget for Chilipeppr.

Couple of screenshots attached below.

Basically this is a simple Go based GPIO server. You install it the same as you do for the Serial Port JSON Server, and then connect to it using the GPIO widget I’ve thrown together (link below).

Once connected you can configure your GPIO pins and the widget then provides you with controls to modify them. I use this for turning on and off my TinyG and my ShopVac which are connected to two pins on my Raspberry Pi.

I’ll be putting up binaries for Raspberry Pi and BBB later.

Source : https://github.com/benjamind/gpio-json-server
Widget : http://jsfiddle.net/benjamind/L3c7csaw/

I’ve spoken to @jlauer and he’ll be including a GPIO button like the other addons in the UI when its ready so this will be easy to pull into your workspace.

Future plans include PWM support (so I can dim my LEDs) using Pi-Blaster for low CPU usage. I’ll also be adding w1-therm reading so you can graph temperatures inside enclosures and things like that.

Enjoy!

f01e5dc795fbfef49929246c53dd0a48.png

fe112a2e91f058edf1e07d47b3b91904.png

fed27a56a691331b924906db1b706f96.png

This is just seriously awesome Ben.

Thanks John! More to come I hope…although this is just fuelling my coding habit and keeping me away from CNC’ing!

For a good cause though so its worth it :wink:

Ok, so I have a fan I need to toggle. I have LED lights I need to toggle. I have a halogen light as well for my remote webcamming that I’m going to throw onto a relay. I also want to turn all of these off automatically 10 minutes after no activity. That feels like an easy block of code to add now that you tackled the hard part.

I love that you can add as many GPIO as you want to that list in the modal popup dialog.