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

Particle Photon Doorbell
Intermediate
  • 621
  • 9

Full instructions

Get notified when the doorbell is pressed for about 1/6 the price of the RING doorbell!

DIYSprinkler Controller
Intermediate
  • 422
  • 3

Full instructions

Make your own sprinkler controller and I have the software to control it. Must have an existing sprinkler system or you could make your own

DIYSprinkler Controller

Team dougefresh89

Magic Eyeball
Intermediate
  • 781
  • 7

Full instructions

It's like a magic eight ball. But with Alexa, and two eyeballs.

Spoil your Valentine with Particle + Spoil + AWS
Intermediate
  • 478
  • 3

Full instructions

Instead of giving a box of chocolates this Valentines Day, keep the chocolates. Lets give a smart self-gifting box instead!

Pebble + Photon = IoT Watch Switch
Intermediate
  • 50
  • 1

Full instructions

When I arrive in my house I switch on the light with my Pebble Watch! The procedure to make this is very simple.

Christmas Gift Box
Intermediate
  • 3,440
  • 595

Full instructions

Christmas Gift Box plays music and sends an email when it is opened.

Add projectSign up / Login
Respect project