I’m new to the world of Arduino and thinking of buying one to build a project of mine. I have some general questions about the implementation of the arduino. My project involves making a speed controller for approx 30 rpm on a large wheel approx 4 ft. diameter. I was thinking to glue magnets on the outer perimeter of the wheel every so many degrees and have a magnetic reader to create pulses for the arduino to read and act on a motor to keep the speed fairly constant.
So far I’ve bought an arduino uno 3 and loaded the arduino IDE and played with the led on pin 13 and seems fairly easy to program. So I will begin working on the program for my project but …
My main question is when you program in the IDE and compile the code and it sends it to the arduino does the program remain in the arduino permanently or once the power is turned off? Right now the arduino is powered by my laptop and I don’t want to dedicate my laptop to the project so I figure I can power the arduino with a power supply separately but once the laptop downloads my program and is disconnected, does the arduino start up and run my program automatically when powered up on it’s own or does it have to be re loaded each time it’s powered up?