The other day I didn’t end up getting to the trimming, so I did a session last night. (And please don’t feel any urgency to reply. I know you have a life to live, haha).
Ok…
Yea, some combination of unplugging, closing/reopening, and checking out device manager ports seemed to get it working well enough. I had to “unhide” hidden to see ports (com & lpt) too. I found threads regarding similar issues too. I think it also might have been the second data cable I was trying to use too, but hard to know.
Haha. Ok, it’s all good. Thanks.
Thanks for the encouragement and understanding. I/we do have it pretty good with the internet, tuts, forums, etc., these days.
Ok, this is good to know. Because while testing out your code, I would break the beam and trigger the solenoid, then as designed it wouldn’t trigger again, and I’d use the ‘reset’ button on the arduino. Everytime I press the ‘reset’ button it will very quickly turn the solenoid on/off three times. I was wondering if it was something to do with inrush current, or maybe the diode I was using.
Ok, cool.
All good, sir. Thanks.
Ok. And thanks.
I found it in the preferences, can’t belive I asked before looking there.
Hmm, ok. This is interesting.
This comment about the pullup was there from the original adafruit code demo. Quote from the demo code: “Most microcontrollers have the ability to turn on a built in pull up resistor. If you do not, connect a 10K resistor between the white wire of the receiver and the red wire.”.
I don’t quite get it completely.
Some boards don’t have one? Is it only on a particular pin (like the led that’s on pin 13 on an UNO board)? What is this resistor’s purpose and wouldn’t its value make it only useful in certain circumstances/configurations? Maybe it’s of a value that’s meant to protect the board circuitry…?
Haha, nice. I’m going to add this into your/the code now and see if it stops that issue.
I really like the way you word this, as you said “I like to pretend I’m the “computer,” and literally interpret every line for each condition and see which way the code tells me to go.” That, and the numbered lines helps me follow the logic better. Thank you so much.
Ok. I’m gonna change your last .ino to look like this one, with the power up delay, and test it.
I was out yesterday and picked up some wooden snap traps as they’re easier to modify. Tomorrow I’ll temporarily fasten the solenoid down, tie it to the trigger pan, and see how that work.
Tonight I hope to finish my trimming and get that out of the way.
Have a good night.