Hey I am looking to use a Hall Proximity sensor wired with an Arduino UNO in order to turn off a motor when the sensor detects a magnet - do you know whether I need to use a PNP sensor or NPN?
How good would this sensor be for gear teeth counting ? Does there need to be a magnet for every tooth or can the gear be manufactured with a magnetic material instead ?
It depends on the gap between teeth. The smaller the gap the lower the accuracy. Also if you are looking for certain speed this might not work, test it to see if it work for your application
Hi! Cool video My 3D printer is old and uses an enclosed electronic board (Gen7Br) So, I would like to use the LJ12A3-4-Z / BX proximity sensor only with Arduino. Making an analog reading to measure distance through the Monitor Serial, can you help me with the code?
I wonder if you use a higher voltage towards its upper range max, if the sensor would detect from a further distance? As opposed to to being almost right up against it.
@@robojax Thank you for your reply. I was afraid it might be so. Do you know of any other sensor to achieve this besides the small one everyone is making a idea of? Say a more industrial type. Thanks
nope. doesnt work. either code is broken or you have used a faulty hall switch. i tried this and the hall switch wont power up with 5v and when i connect the brown power wire to 12v common to the arduino 12v it immediately pulls the out pin high and closes the relay as well as grounds the black wire on the switch. exactly same hall switch, exactly same relay and used two different arduino unos. didnt work.
Is it possible to start a relay via ir then use a hall sensor to count a rotating table and then turn the relay off at its original start position using an arduino. TIA
@@robojax Thanks for the reply Ive decoded my remote and have the relays all working but cant figure out where to add the sensor or the code to control the solenoids which are attached to the relays after the initial start from ir .Thanks again for the reply
Relay is a switch which turns ON or OFF. Servo needs PWM signal . So you can turn ON or OFF the servo but can't control is the speed of it if you connect it using relay.
to indicate what? if sensed something I have explained in the code how to do something. If you want to turn ON/OFF DC or AC load using relay so you can connect relay to this, see this video th-cam.com/video/58XWVDnB7Ss/w-d-xo.html
Hi, when you sue two sensor, they should be configured either as AND or OR configuration. in AND configuration if both sensor detected the output is ON . in OR configuration we need only ONE sensor to detect and the output will be on. I will see if got two sensors, I will make video. this is interesting. thanks.
It's helpful reviews. Thanks
You are welcome.
Hey I am looking to use a Hall Proximity sensor wired with an Arduino UNO in order to turn off a motor when the sensor detects a magnet - do you know whether I need to use a PNP sensor or NPN?
How good would this sensor be for gear teeth counting ? Does there need to be a magnet for every tooth or can the gear be manufactured with a magnetic material instead ?
It depends on the gap between teeth. The smaller the gap the lower the accuracy. Also if you are looking for certain speed this might not work, test it to see if it work for your application
Hi!
Cool video
My 3D printer is old and uses an enclosed electronic board (Gen7Br)
So, I would like to use the LJ12A3-4-Z / BX proximity sensor only with Arduino. Making an analog reading to measure distance through the Monitor Serial, can you help me with the code?
Hi, I am sorry I have got a full time job, research project and TH-cam. Got no time work on anything else.
Good review
I wonder if you use a higher voltage towards its upper range max, if the sensor would detect from a further distance? As opposed to to being almost right up against it.
no. higher voltage will kill it.
@@robojax That's why I specified "towards its upper range, max". Shouldn't kill it if you're still within its spec'd voltage range.
Hello. Can you use the same sensor but have it count the RPM or a rotating object? Great video and well explained. Thank you!
Hello, I believe this is very slow reacting device. I did not find any information to show it is fast. So you can't use it for RPM counter.
@@robojax Thank you for your reply. I was afraid it might be so. Do you know of any other sensor to achieve this besides the small one everyone is making a idea of? Say a more industrial type. Thanks
nope. doesnt work. either code is broken or you have used a faulty hall switch. i tried this and the hall switch wont power up with 5v and when i connect the brown power wire to 12v common to the arduino 12v it immediately pulls the out pin high and closes the relay as well as grounds the black wire on the switch. exactly same hall switch, exactly same relay and used two different arduino unos. didnt work.
well putting 12V on your Arduino will kill it so not surprised it didn't work.
Is it possible to start a relay via ir then use a hall sensor to count a rotating table and then turn the relay off at its original start position using an arduino. TIA
Yes possible. I've tones of tutorial videos th-cam.com/users/robojaxTVsearch?query=remote
@@robojax Thanks for the reply Ive decoded my remote and have the relays all working but cant figure out where to add the sensor or the code to control the solenoids which are attached to the relays after the initial start from ir .Thanks again for the reply
What will be the modifications in code if I want to make relayPin high after my sensor detects the magnetic 10 times.....
You may start to the course here th-cam.com/play/PLHvJ4bw0xno6THv-TQLf8lwVvY_23z75d.html
@@robojax thanks
does it work north or south ? is it omnipole or unipole ?
I tested it without looking into polarity as in majority cases people so use. So don’t known.
Is it possible to measure the distance between sensor and magnet with this sensor?
No
work on 5v supply? in datasheet minimum 6v
I did the test long ago. Whatever I said it the video and test is true.
Sir can use SERVO MOTOR in relay?
Relay is a switch which turns ON or OFF. Servo needs PWM signal . So you can turn ON or OFF the servo but can't control is the speed of it if you connect it using relay.
Sir program for two PNP sensor and motor, 1 sensor for ON motor and anthor for OFF motor
sorry I did not understand the PNP sensor?
Sir can you send your what's no.I will send a video.
Can we connect two sensor on this ?
Yes you . I have explained it fully. Define another pin for 2nd sensor or third
How do I connect the indicator lamp?
to indicate what? if sensed something I have explained in the code how to do something. If you want to turn ON/OFF DC or AC load using relay so you can connect relay to this, see this video th-cam.com/video/58XWVDnB7Ss/w-d-xo.html
can i use the servo here?
sorry I didn't understand. This is proximity sensor. What are you going to do with servo with this?
instead of lamp I will use servo motor as output
hi helow sir can you make a 2 Proximity sensor with 1 relay
Hi, when you sue two sensor, they should be configured either as AND or OR configuration. in AND configuration if both sensor detected the output is ON . in OR configuration we need only ONE sensor to detect and the output will be on. I will see if got two sensors, I will make video. this is interesting. thanks.
I can't Download Arduino code , code not text !
Thank you for letting me know. Just fixed it. You can get the code now.
it's ok
thx @@robojax
can i have the coding here in the comment section?
have you watched the video? in the first 3 second I mention where the code is.
12cm or 44inches! 😂 Maybe more like 12 inches or ~45cm
LOL.