Go Down

Topic: help with 4n27 and sick wl160-f440 (Read 524 times) previous topic - next topic

maxmax39

Hello,
I tried to connect wl160 with arduino.  Wl160 out is 0 or 15v (depending state).  So I use a 4n27 to connect on arduino mini pro.

For this moment I connect pin 1 (4n27) to output signal of WL160 pin 2 on gnd.  And 5 to arduino input (n°2) and to a 10k that connected to Vcc (arduino)

I use the button example.  But nothing work.

Any idea or draw?

Thanks a lot

robtillaart

As I don't know the WL160, can you post a link to its datasheet?
Can you post also the a schema?
And the code you are using as I have seen dozens of different buttons examples ....

in short , I need more info ;)
Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

maxmax39

I found the solution

The problem was that I forget resistor between pin 1 and wl160 output.

I take 4n27 on another PCB where these resistors are not present.  So maybe it s chance that this other PCB works ;-)

Max

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy