Skip to content

React application with johnny-five platform and raspberry to control servomotor

License

Notifications You must be signed in to change notification settings

Bat-m/react-johnnyfive-servo

Repository files navigation

React and Johnny-Five ServoMotor

based on (https://github.com/IainIsCreative/react-johnny-five-traffic-lights) thx to the author

A simple project involving the use of Johnny-Five and React to control a set of servoMotor

List of components

  • RaspBerry Pi
  • 1 ServoMotor (or more with arduino)
  • 3 coloured jumper cables (5 black jumper cables for ground connection)

Diagram

Installing

You can use NPM or Yarn to install and use the application, though I recommend yarn, it's pretty good for dependency management.

You can do npm install or yarn install to download all the app's dependencies.

Commands

There are various commands you can use to work the app, from building, to development, to testing. Again, you can use Yarn or NPM to run the app.

List of Commands

  • start — Start the app Server (note: run build first!)
  • build — Build the app for a production environment
  • dev-start — Start the app server under the development environment
  • dev-server — Runs the Webpack development server for the client-side React app
  • styles — Build the Application styles (uses PostCSS)
  • test — Runs ESlint and Flow to check the code for issues.

About

React application with johnny-five platform and raspberry to control servomotor

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published