Thingiverse
Flower Power Digital
by WillemvD
14
Downloads
20
Likes
0
Makes
https://youtu.be/06Y0ZvgyfAQ
Two low cost 24BYJ stepper motors are used to draw flowers.
Using two ATtiny85 ic's on one power supply requires a 100nF condensor directly between Gnd and 5V of both ATtinies.
One stepper rotates the platform:
//ATtiny 28BYJ full step mode
int MA = 0; int MB = 1; int MC = 2; int MD = 3; int t=3;
void setup()
{
pinMode(MA, OUTPUT);
pinMode(MB, OUTPUT);
pinMode(MC, OUTPUT);
pinMode(MD, OUTPUT);
}
void loop()
{
digitalWrite(MA, HIGH);
Two low cost 24BYJ stepper motors are used to draw flowers.
Using two ATtiny85 ic's on one power supply requires a 100nF condensor directly between Gnd and 5V of both ATtinies.
One stepper rotates the platform:
//ATtiny 28BYJ full step mode
int MA = 0; int MB = 1; int MC = 2; int MD = 3; int t=3;
void setup()
{
pinMode(MA, OUTPUT);
pinMode(MB, OUTPUT);
pinMode(MC, OUTPUT);
pinMode(MD, OUTPUT);
}
void loop()
{
digitalWrite(MA, HIGH);
Sign in to leave a comment
Sign in