Skip to content

dennismphil/IoT_Motors

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IoT Motor Firmware

by OpenMYR

Source code for firmware designed to drive various MYR motor controllers with an ESP8266-based platform.

  • Software by Brandon Brown and Kyle Berezin (MIT License)
  • Hardware design by Chris Adams (CERN Hardware License Version 1.2)

Features

Reconfiguration of the WiFi mode and softAP login is supported via the built-in web server.

Borrows From

Driver Support

  • An array of up to 4 180-degree servo motors
  • Stepper motors

Future Support

  • DC motor
  • Encoded DC Motor
  • ... and many more

Building and Flashing

Compiling this project requires the esp-open-sdk, as well as SCons.

  • scons flash-quad flashes the WiFi Hobby Servo Controller firmware, rebuilding if necessary
  • scons flash-stepper flashes the WiFi Stepper Motor firmware, rebuilding if necessary
  • scons builds both versions of the firmware
  • scons quad builds the WiFi Hobby Servo Controller firmware
  • scons stepper builds the WiFi Stepper Motor firmware
  • scons -c cleans all builds
  • scons -c quad cleans the WiFi Hobby Servo Controller build
  • scons -c stepper cleans the WiFi Stepper Motor build

The "flash-quad" and "flash-servo" commands are intended to be used on Raspberry Pi 2, as the GPIO port can be used to communicate directly with the ESP8266 without the use of a USB device. To use the Pi with the ESP8266, disable serial port login and serial bootup info. The ESP8266 can then be used with the /dev/ttyAMA0 port for both burning and serial communications. For more information, see this guide.

About

OpenMYR IoT Motors for ESP8266

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 79.1%
  • HTML 14.1%
  • CSS 2.6%
  • JavaScript 2.3%
  • Python 1.3%
  • C++ 0.6%