Skip to content

Latest commit

 

History

History
45 lines (32 loc) · 1.31 KB

README.md

File metadata and controls

45 lines (32 loc) · 1.31 KB

Turbine

Node.js express application to control the turbine blade speed of a 3D printed wind turbine, controlled by a rasperry pi zero contained in the base. The turbine itself can be printed and constructed from the following instructions.

The turbine itself is controlled by the endpoint

localhost:<port>/setTurbine?speed=** <speed> **

where speed is a numeric value in the range 1 (fast) and 100 (slow/off), or a value off off or on

Setup Instructions

Git clone this repo into your local file system

Raspberry Pi

Raspberry PI

  1. Create a raspbian disk image for use by the raspberry pi zero
  1. enable ssh support (raspi-config)
  2. cd into Turbine directory
  3. run ./start.sh
  4. start the turbine express application by running npm start
NodeMCU (Arduino)

nodeMCU (Arduino)

  1. Download Arduino IDE
  2. Open Arduino IDE and open project * ./Turbine/Arduino/turbine.ino.
  3. Configure board and port
  4. Install prereq packages
  5. Upload to board

Turbine