Things used in this project

Hardware components:
Photon new
Particle Photon
×1
Nema%2017 2
OpenBuilds NEMA 17 Stepper Motor
×1
cereal dispenser
×1
OSB
×1
09670 01
SparkFun Dual H-Bridge motor drivers L298
×1
Software apps and online services:
Q8wtlimqnp04fzhtr9v5
IFTTT Maker service
node.js

Code

Particle Photon CodeC/C++
#include <Stepper.h>

const int stepsPerRevolution = 200;  

Stepper myStepper(stepsPerRevolution, 7, 6, 5, 4);
   
void setup() {
  
  Particle.function("feed",feed);
  myStepper.setSpeed(5);
  
}

void loop() {

}

int feed(String command){
   
     myStepper.step(33);
     delay(1000);
     return 1;
    
}
.C/C++
.
No preview (download only).

Credits

Replications

Did you replicate this project? Share it!

I made one

Love this project? Think it could be improved? Tell us what you think!

Give feedback

Comments

Similar projects you might like

Blynk GPS Tracker
Intermediate
  • 41
  • 2

Full instructions

Simple GPS tracker using a Particle Photon (or Electron) and an EM406 GPS module with location visible on Blynk app map.

Pool Buddy
Intermediate
  • 1,619
  • 11

Work in progress

Monitor and log water quality (pH & ORP) and temperature from everywhere.

IoT Thermometer Using Python
Intermediate
  • 986
  • 8

Full instructions

How to develop a simple but powerful IoT thermometer using a Zerynth-powered single-board MCU and the Zerynth App.

Particle Photon Flip Dot Clock
Intermediate
  • 2,162
  • 31

Full instructions

The flip dot display uses an electromechanical dot matrix that spin from black to yellow to display text, numbers and more!

Patriot iOS App
Intermediate
  • 547
  • 9

Use an old iPhone device to control and display the status of your Patriot IoT devices.

Patriot iOS App

Team Patriot

What To Wear LCD
Intermediate
  • 48
  • 1

Ever wondered what to wear due to unpredictable weather??? Wonder no longer!

Add projectSign up / Login