Hi, I tried to search for an existing topic but could not find anything.
If a stepper motor has to start on a specific angle when starting up Arduino but has been powered off at random angle, is there a way to ensure the start angle is always the same? Like start position? Servos for example are always controled by degrees, but not steppers. I was thinking about using EEPROM or is there another way? I hope you guys understand what I mean.
Part of cabling soldered on the Nano. D13 Laser TTL, D12 Servo signal, 5V and ground
More stuff in the box. The small yellow board contains an 7805 voltage regulator to have 12V and 5V
Still waiting for the stepper and the dc motor to continue the work. Additionally I am thinking about driving the DC motor through a PWN and transistor to regurlate the speed. To calibrate the stepper mirror at startup I am thinking about an attached phototransistor on the side.
Wenn man jedoch gleich ein fix verbautes Projekt anfängt, sind Nanos, Minis und Lilypads sicher gut geeignet. Ich persönlich habe mir 2 Nanos gekauft. Eines mit Pins fürs Breadboard zum testen und eines wird dann direkt verdrahtet.
My plan is to build a lasershow box too,but using a true x-y control with servos...
Ciao. I wish you a good start doing your laser box! But pay attention, galvos are the right stuff to produce what you want. Do not use servos. Check out Youtube for several videos how people build x-y axis controlled laser shapes, images or even scrolling text. Good luck
I'd like to share my first Arduino project with you. The aim is to create a small laser staging box with a green 20mw laser producing several shapes with mirrors. The main mirror glued on a servo is redirecting the laser beam to the target mirrors producing the shapes. The delay between the switch from one shape to the other is controllable by a poti.
Here's the part list I am using: - Arduino Nano - 20mW laser module from ebay - Plastic Box 240 x 147 x 67 mm - Power Jack for 12V input - Fix voltage regulator 7805 - 500Ohm Poti - 9g Servo from ebay - Stepper motor with driver from ebay - Geared DC motor with 400rpm from ebay - Some square and round mirrors from handcraft shop - Small electronic equipment like: Cables, solder, diodes, LEDs, resistors, capacitors, photoresistor, screws and glue - Shutterfree hands and patience
Here are some first impressions about how it should look like and some test videos with the laser module.
First prototype tries with servo and TTL of laser pulsing. Servo attached to pin D12 and TTL of laser on D13 (same as onboard LED)
Another try pointing the laser beam to a rotating mirror on a DC motor and pulse laser with 3ms TTL. This is not the final 400rpm DC motor I will use.
Begin of mounting the parts into the box
And here's an actual Fritzing schema. I am still missing the stepper (on delivery)
I will keep this thread updated when I progress in construction and will post the final Arduino code when the box is finished.
I have a better idea: rather than just dynamically create function names, dynamically create a compiler that compiles your dynamically created code that is dynamically flashed into a dynamically powered arduino so that it dynamically responds to inputs that are dynamically applied to dynamically assigned pins with dynamically changing frequencies and dyanmically altered amplitude.