Hello everyone,
I purchased an arduino uno around six months ago but haven't had much time to experiment with it until now. I have done a few of the simple things like blinking leds and controlling a small servo motor with a potentiometer that was included with my starter kit. Although I was able to get things working i still don't have a strong grasp on where to begin when writing the code. I have read a few online articles and a book about it but I think I need more of an in depth explanation on how things should be put together and where to start.
The project im trying to accomplish seems simple in thought but like I said I have no clue where to begin. I am trying to control the amount of time a mosfet or relay is on when a button is pressed once the time has completed I would like the mosfet or relay to shut off and everything reset so the same process can be repeated. The amount of time the mosfet is triggered needs to be adjustable without changing the code every time so I'm guessing I would do so using a potentiometer. I understand it is probably a waste to use an arduino for such a simple task being that it is capable of so much more but this is where I would like to begin for now.
Also if anyone knows of any books or articles that give a step by step approach that has helped you please let me know.
Thank you for any advice in advance! This is my first post so sorry if I'm in the wrong place.