Synopsis : Arduino will be mounted on a garage door motor in my garage. It will send a beam of some sort to a reflector bout 15ft away mounted on the garage door. When the door goes up the beam will no longer hit the reflector causing a switch of some-sort to be triggered.....also in the reverse way...when the switch has been triggered it can be turned off once the door is down and the beam is hitting the reflector.
I have done very small projects in my "kit" but have no idea what I need for this type of setup. It has to be 15ft away give or take.
Besides, mounting the PE on or near the motor will introduce vibration into the sensor, Arduino, etc.. Exactly what you don't want if precision is needed.
The micro switches are doable but not really what I'm after. I want to slap some velcro to the arduino and go. No routing wires or trying to find a place to put them, etc. Its just messy.
So that beam is not going to do the 15 ft you ask for. You're going to need a much more powerful beam. And do you really want a visible beam?
You say it has to be precise - this will only tell you when the door is fully closed, not whether it's open. Those microswitches act normally also as limit switches, telling the controller when to switch off the motors moving the door (I assume you're not moving it by hand).
charbaugh:
I want to slap some velcro to the arduino and go. No routing wires or trying to find a place to put them, etc. Its just messy.
I hope you see the contradiction in this?
Arduino with some Velcro slapped to it is going to be messy any time.
Wires inside a nice duct are not. It's a garage, so you're somewhat exposed - you'll need some kind of protective container for your Arduino. You didn't specify which one - I assume not an Uno or so, as those plugged-in wires will come loose at times (especially if you just Velcro the board to a wall and leave it fully exposed), you'll need a micro or nano for that and solder it properly.
wvmarle:
So that beam is not going to do the 15 ft you ask for. You're going to need a much more powerful beam. And do you really want a visible beam?
You say it has to be precise - this will only tell you when the door is fully closed, not whether it's open. Those microswitches act normally also as limit switches, telling the controller when to switch off the motors moving the door (I assume you're not moving it by hand).
I hope you see the contradiction in this?
Arduino with some Velcro slapped to it is going to be messy any time.
Wires inside a nice duct are not. It's a garage, so you're somewhat exposed - you'll need some kind of protective container for your Arduino. You didn't specify which one - I assume not an Uno or so, as those plugged-in wires will come loose at times (especially if you just Velcro the board to a wall and leave it fully exposed), you'll need a micro or nano for that and solder it properly.
The arduino will be in a case...of course. Not gonna just velcro the bare board and wires up.
So the micro switch is good idea....but running wires all over...nah Also, there is much more to my project than just this sensor...I don't need one for if its open.
charbaugh:
So the micro switch is good idea....but running wires all over...nah Also, there is much more to my project than just this sensor...I don't need one for if its open.
So there's your problem: not giving the information needed to get useful advice.
That said, a microswitch needs two wires. So you have to string two wires. Along an existing door frame. Doesn't fall in the normal definition of "wires all over" by a long stretch. But well, in the end it's your project and your money. Microswitches are the inexpensive, highly reliable method. Laser beams and dirty reflectors not so much.
wvmarle:
So there's your problem: not giving the information needed to get useful advice.
That said, a microswitch needs two wires. So you have to string two wires. Along an existing door frame. Doesn't fall in the normal definition of "wires all over" by a long stretch. But well, in the end it's your project and your money. Microswitches are the inexpensive, highly reliable method. Laser beams and dirty reflectors not so much.
i didnt need to give anymore detail. Read my original post. I was not asking about anything other than a beam sensor setup.
Lukily I'm an adult and not a young kid looking for help because responses like yours would stray me away from wanting to get into arduino and such. Keep it light and not so serious...like ease up, be cool and helpful and stop staying whats wrong and picking each and every context to bitch about.
charbaugh:
i didnt need to give anymore detail. Read my original post. I was not asking about anything other than a beam sensor setup.
You THINK you don't need to give more detail, which may very well be true, but without knowing the big picture we don't know whether that's the case. The more details you give, the more detailed answers you may receive, including potentially better alternatives to the setup you had in mind. The latter is especially relevant as you're new to this, as you stated yourself.
It is very common to be questioned "why do you want that specific type of sensor? Why not other sensors?". There are different beam sensors with different properties, that work well in different situations (such as indoor, outdoor, long/short distance, sensing distance or just break), so suggesting which one depends on the answer to those questions.
A beam sensor is one way to see whether a door is open, it will also detect if there's something in between (usually a good thing - but it may mess up your system if it makes your system think the door is open when it's not), but it can't detect whether the door is almost closed or fully closed.