Does the LilyPad convince in its field of application: the wearable?
by Ingo Lohs
Here's an introduction to control a Nema 17 stepper motor with the help of the Adafruit TB6612 OR A4988 Stepstick OR PHPoC PES-2405 R2
Today I report from one or even two 5V DC Relays, which in turn can switch up to 5A, 250V AC / 30V DC, from the company MikroElektronika.
Just before creating my next tutorial, which will be using a PIR sensor, I thought I might create a separate tutorial for PIR Sensor.
This is a beginner project in which we'll be lighting fireworks using
a Bluetooth enabled phone.
Project tutorial by danionescu
This project creates a relay and a water pump for monitoring moisture.
Project showcase by Ingo Lohs
An example with the A4988 and Photon is attached to the appendix. Here only the PINs were adjusted. Which Motor Driver Breakout Board and which motor model do you use?
You can open a thread within the particle community and post your problem with code.
I answer in detail ...
... to 1.) the video demonstrates how to generate energy for the LED by means of an LED and the manual rotation of the motor. In my example, the LED is lit when using PIN 3 + 4 and not when using PIN 2 + 3.
... to 2.) it is shown that the used breakout board Adafruit TB6612 works both with Arduino (video above) and with the Photon (video below). For the Wiring I recommend you actually follow the guide from the link of Adafruit.
... to 3) to understand the winking smiley is some photon know-how necessary: although there is no command for a flashing LED in the listing, is sufficient to connect a stepper motor to D7 - strangely not true?
... to 4.) The video with "it works!" proves that the photon not only works together with the TB6612, but that the stepper motor can also be controlled with an A4988. You will find the wiring in the static image and in the text above.
the photos are sharp - you can not read my handwriting?
Or connect with your social account:
New here? Create an account