M30 Capacitive Proximity Sensor

Digital Fiber, Photoelectric, Laser Range, Optical, Temperature, Rotary Encoder, Ultrasonic, Gas, Gyro, Accelerometer, FlexiBend, Flexiforce, Compass......

Re: M30 Capacitive Proximity Sensor

Postby sich » Fri Oct 07, 2011 12:16 am

Hi, have you tried to test the black wire output manually using multimeter? Also no signal change (HIGH <-> LOW)?
~> How to ask QUESTIONS the SMART way in FORUM? <~
User avatar
sich
Moderator
 
Posts: 603
Joined: Tue Apr 21, 2009 2:15 pm

Re: M30 Capacitive Proximity Sensor

Postby kenshih » Fri Oct 07, 2011 7:47 am

hyng WROTE:Please try to detach 660 ohm from your circuit, connect 12V source directly to the sensor. Hope this will help.


the reason why i add the 660 ohm resistor is because the datasheet for the capacitive sensor state that the operating voltage is 12~24V and the current consumption is less than 22mA. if i connect 12V from the power supply directly to the sensor, wouldn't it produce infinite current and fry the sensor? <= learned the lesson after frying a LED...
by connecting it with the 660 ohm, it will only sends in around 19mA of current which is within the accepted range of the capacitor...

no offence, just clearing my doubts
kenshih
Novice
 
Posts: 17
Joined: Mon Oct 03, 2011 9:57 pm

Re: M30 Capacitive Proximity Sensor

Postby kenshih » Fri Oct 07, 2011 7:51 am

robosang WROTE:Woh.... capacitive sensor? Great, what is the application?


the application for the sensor is stated in the datasheet... u can refer to it in from the link i posted in my first post... =)
kenshih
Novice
 
Posts: 17
Joined: Mon Oct 03, 2011 9:57 pm

Re: M30 Capacitive Proximity Sensor

Postby kenshih » Fri Oct 07, 2011 7:54 am

ober WROTE:Good to see you know how to modify the sample circuit from rotary encoder, at least it is useful :lol: .

The code seem to be correct. Maybe the resistor highlighted by hyng should help.


jus giving credit to the original circuit as i don own it... =)
save me alot of work as i did that circuit within minute with paint... lol
kenshih
Novice
 
Posts: 17
Joined: Mon Oct 03, 2011 9:57 pm

Re: M30 Capacitive Proximity Sensor

Postby kenshih » Fri Oct 07, 2011 8:00 am

sich WROTE:Hi, have you tried to test the black wire output manually using multimeter? Also no signal change (HIGH <-> LOW)?


not actually. aren't it gonna fry the fuse in the multimeter if i measure resistance with a life circuit??
kenshih
Novice
 
Posts: 17
Joined: Mon Oct 03, 2011 9:57 pm

Re: M30 Capacitive Proximity Sensor

Postby ober » Sat Oct 08, 2011 12:46 pm

kenshih WROTE:the reason why i add the 660 ohm resistor is because the datasheet for the capacitive sensor state that the operating voltage is 12~24V and the current consumption is less than 22mA. if i connect 12V from the power supply directly to the sensor, wouldn't it produce infinite current and fry the sensor? <= learned the lesson after frying a LED...
by connecting it with the 660 ohm, it will only sends in around 19mA of current which is within the accepted range of the capacitor...

Basically, current depends on load, not source. Not to go into complex part.

LED can burn because it has forward voltage, ranging from 1.5V to 4V depends on what LED. In other words, voltage across LED should be 1.5V to 4V to make it forward bias. But once it is forward bias, resistance in LED drop rapidly thus drawing more current over it, further burn it. Therefore we need current limiting resistor for LED if the source cannot limit current.

So don worry about the sensor because it is not LED.
Ober Choo
Cytron Technologies Sdn Bhd
www.cytron.com.my
User avatar
ober
Moderator
 
Posts: 1486
Joined: Wed Apr 15, 2009 1:03 pm

Re: M30 Capacitive Proximity Sensor

Postby kenshih » Tue Oct 11, 2011 7:13 pm

i've detach the 660 ohm resistor from the sensor and it starts working.(turn out that the LED on the back of the sensor is the indication of "object detected")
there is just one last problem, there is still no response from the LED in my circuit. i've tested the LED and its working, and i've tried connecting ground instead of the black wire(output) from the sensor to the same point, and it works(the LED turned on)... need help here... >.<
nevertheless, thx for guiding me through this... =)
kenshih
Novice
 
Posts: 17
Joined: Mon Oct 03, 2011 9:57 pm

Re: M30 Capacitive Proximity Sensor

Postby ober » Fri Oct 14, 2011 11:17 pm

Photo of real hardware should be helpful
Ober Choo
Cytron Technologies Sdn Bhd
www.cytron.com.my
User avatar
ober
Moderator
 
Posts: 1486
Joined: Wed Apr 15, 2009 1:03 pm

Re: M30 Capacitive Proximity Sensor

Postby kenshih » Tue Oct 18, 2011 1:13 am

this is the photo of the circuit i constructed, currently having nothing on it as it is meant for testing the sensor as well as obtaining the sensing range of the sensor. it is similar to the pic i post earlier.
Attachments
IMG_0813.JPG
kenshih
Novice
 
Posts: 17
Joined: Mon Oct 03, 2011 9:57 pm

Re: M30 Capacitive Proximity Sensor

Postby robosang » Fri Oct 21, 2011 7:38 am

Em.... :roll:

I think I will suggest to connect the pull up for sensor and power the sensor only, test the sensor alone.
robosang
Expert
 
Posts: 1239
Joined: Wed Jun 10, 2009 5:37 pm

PreviousNext

Return to Sensor

Who is online

Users browsing this forum: No registered users and 6 guests

cron