Greetings! This is my first Arduino project, and I am hoping for a little guidance as I make my way through the final stages. My questions concern coding for a dc motor attached to a sonic proximity sensor and a relay. The motor is a vintage "personal massager" which i made into a four legged creature (identity still unfolding) which will vibrate when someone comes within say, 6 inches.
I started a "New Project" on the Project Hub, but so far as I can tell, these are completed projects. Is there a way for me to show a willing person, maybe here on this forum, works in progress shots?
My first question is why does Arduino always default to the code for "Blink" that i used during early experimentation?
Also, each time i download the code from the site i am referencing (ahmed hamdy --https://create.arduino.cc/projecthub/shakram02/arduino-and-ac-devices-automatic-lights-71ff56 i get a message saying...the file blah.blah needs to be in a sketch library, which I know I created, as I had this operation up and running when i had an expert on hand. But when i go to Arduino, Sketch--Sketch Folder, all i see are those "Blink" files.
Thanks in advance. I am totally focused on this for the week!
You don't manage to download new code to the Arduino. Therefore Your old Blink is there. You get an error message telling that something is wrong. Don't think You can overrun an error remark. It just doesn't work.
Download the "foreign sketch" into the Arduino folder and open it.
Thank you for your reply, Railroader. attached are scnshts of what i am doing. Can you see these pngs? When i download it says, the file smart.house.light needs to be in a sketch folder named smart.house.light. It says, "create folder and move the file and continue??"
When i say, "yes" , a message "a folder named "smart.house.lights already exists. Cannot open sketch.
Where do i find this folder? I do not see it.
Again, i appreciate. I am brand new at this, and fumbling with basics.. Photo of project attached:)
I think the IDE makes an Arduino folder in the documents section in windows. You can use the windows search function on the bottom left of the screen to search for the folder.
Thank you! I successfully loaded it and compiled. Now its time for testing! Earlier, when i supplied power to circuit, the motor ran continuously. So now my testing will be to see if the compiled code will keep power off until triggered by sensor....thank you so much!!