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

Drop of Life
Intermediate
  • 658
  • 17

Full instructions

A display to remind me when I can donate blood and save lives, powered by the Red Cross API and Particle.

IoT Drone - Part 2 - Sensors
Intermediate
  • 399
  • 4

Work in progress

Part 2 incorperates a GPS receiver, 10 DOF IMU, and Ultrasonic distance sensor to be used for flight controls.

How to run Particle on Raspberry Pi (Headless on Pi Zero W)
Intermediate
  • 1,666
  • 19

Protip

Use the most popular single-board computer with the most popular IoT tools.

Your Wife is Hot!
Intermediate
  • 605
  • 6

Full instructions

Not hot like she looked at your browser history, hot as in temperature hot! This can be avoided with an A/C Condensate Monitoring System.

Your Wife is Hot!

Team Is it Summer Yet?

Wireless Tank and Pump Monitoring System with Mobile App
Intermediate
  • 504
  • 3

Particle and Blynk to wirelessly monitor a 4,000 gallon water distribution system.

IoT Controlled Planter Lights
Intermediate
  • 556
  • 6

This is a shelf for starting plant seeds, controlled over the internet with automatic lights.

Add projectSign up / Login
Respect project