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
Git clone this repo into your local file system
Raspberry Pi
- Create a raspbian disk image for use by the raspberry pi zero
- download from https://www.raspberrypi.org/downloads/
- create sd using
- enable ssh support (raspi-config)
- cd into Turbine directory
- run ./start.sh
- start the turbine express application by running npm start
NodeMCU (Arduino)
- Download Arduino IDE
- Open Arduino IDE and open project * ./Turbine/Arduino/turbine.ino.
- Configure board and port
- Install prereq packages
- Upload to board