Skip to content

sergey12313/electron-johnny-five-examples

 
 

Repository files navigation

#Electron + Johnny-Five

This repo contains examples of electron apps that control hardware using johnny-five and visualize the results using lightning.

If you are new to johnny-five, you might want to first check out this great nodeschool workshop on nodebots. If you are new to electron you might want to first check out this great tutorial on making an electron app.

Each example is npm installable and comes with its own README.md. To get started, check out 1-led!


Examples

  • 1-led This app allows you to control an LED

  • 2-switch This app controls and LED based on a switch

  • 3-servo This app allows you to control a servo motor

  • 4-potentiometer This app controls a servo based on a potentiometer

  • 5-sensor This app reads the values of a potentiometer and plots them

  • 6-sensor-servo This app controls a servo based on a potentiometer and plots the servo position

  • 7-sensor-led This app plots the values a potentiometer and turns on an LED if a voltage threshold is crossed

  • 8-sensor-strobe This app allows you to output a strobe at different frequencies and plots the values of analog sensor

  • 9-sensor-log This app allows you to output a strobe at different frequencies, plots the values of analog sensor, and logs timestamped information as JSON

  • 10-vr This app reads the values of a potentiometer and uses it to control left right position in a 3D environment made using regl


Setup

About

Example electron apps using johnny-five to control hardware

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 78.6%
  • HTML 21.4%