Pages: [1]   Go Down
Author Topic: help with 4n27 and sick wl160-f440  (Read 405 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Jr. Member
**
Karma: 0
Posts: 77
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Global Moderator
Netherlands
Offline Offline
Shannon Member
*****
Karma: 211
Posts: 13471
In theory there is no difference between theory and practice, however in practice there are many...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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 smiley-wink
Logged

Rob Tillaart

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

Offline Offline
Jr. Member
**
Karma: 0
Posts: 77
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Pages: [1]   Go Up
Jump to: