Pages: 1 [2]   Go Down
Author Topic: neither send 0 nor 1 as digital  (Read 1388 times)
0 Members and 1 Guest are viewing this topic.
Valencia, Spain
Online Online
Faraday Member
**
Karma: 144
Posts: 5340
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Set the pin as an input AND turn off the pullup resistor by setting the output to 0.
That's good!
Thank you very much.
While that is correct what ever you are doing I don't think you need to do this at all. If you are connecting the pin to the input of another chip you do not want it floating as it is called.

He never said what he's trying to do. Maybe it's something like charlieplexing where you want the Arduino completely isolated from the piece of wire connected to the pin.
Logged

No, I don't answer questions sent in private messages (but I do accept thank-you notes...)

Global Moderator
UK
Offline Offline
Brattain Member
*****
Karma: 290
Posts: 25795
I don't think you connected the grounds, Dave.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
(or let my finger decide)
The Fickle Finger of Fate?   smiley-yell
Logged

"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

Show Your Work
Offline Offline
Edison Member
*
Karma: 14
Posts: 1072
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

To me... *floating* means... I will allow the mysterious spirits of the Ether and Paranormal to decide the fate (state) of the pin in question.  (or let my finger decide)

Not if you are using wired OR. 
Logged

I have only come here seeking knowledge. Things they would not teach me of in college.

Show Your Work
Offline Offline
Edison Member
*
Karma: 14
Posts: 1072
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
(or let my finger decide)
The Fickle Finger of Fate?   smiley-yell

I was messing with an arithmetic circuit (16x16 multiplier - Logic Devices LMU18) that uses a clock and I wanted to use it as a straight combinatorial circuit.  So once everything was wired up it was all working but nothing to trigger the rising edge that causes the multiplication.  What to do?  I soldered a wire to that pin and touching it triggered the multiplication.  There is your fickle finger of clock fate.  Not a smart idea, right?  Fortunately I didn't fry it.   I wired a 555 to produce a 1Khz signal to that pin and now it produces a 16x16 multiplication 1000 times a second, running at about 1/28,000th of its worst-case rated speed.  Whoot.

« Last Edit: October 12, 2012, 11:01:15 am by JoeN » Logged

I have only come here seeking knowledge. Things they would not teach me of in college.

Pages: 1 [2]   Go Up
Jump to: