I am working on a project that is like a soccer net that when you hit a ball in it triggers a knock sensor and lights up a led and then a motor activates and hits the ball out of the net. I'm having troubles getting the arduino to upload to the board. Im novice at coding so any help would be much appreciated. Not sure if it’s something in my code or my pins. i will upload a picture
And those are . . ?
Post the code. Read the forum guidelines to see how to properly post code and some hints on how to get the most from this forum.
Use the IDE autoformat tool (ctrl-t or Tools, Auto format) before posting code in code tags.
If there are errors, please include the entire error message. It is easy to do. There is a button (lower right of the IDE window) called "copy error message". Copy the error and paste into a post in code tags. Paraphrasing the error message leaves out important information.
A schematic would be welcome, too.
A knock sensor , if it’s an automotive one requires a sharp knock - like being hit with a hammer .
When I used one I found I needed an amplifier for it .
Your card goal posts nay dampen any signal .
I can't see your code or a schematic that would tell me what pins you're using. Nor do I know what components you're using e.g. your "motor" looks like it might be a servo.
So how can I tell if the problem is code or pins or something else?
Steve
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
