Pages: [1]   Go Down
Author Topic: WPM over long distances (10 - 30 yards/meters)  (Read 831 times)
0 Members and 1 Guest are viewing this topic.
Silly-con Valley, Ca, U.S.
Offline Offline
Sr. Member
****
Karma: 17
Posts: 420
Lernin' to tinker
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Situation... If I build a small array of LEDs via the circuit below and mount that at the far corner of my back yard, then run the wires across the yard what kind of noise/interference would be produced if I wanted to use a varying PWM signal to fade in/out the array? Right now there would be 3 wires, power, ground and signal.

I was considering using CAT5 for this since it's easy to use, ready to go and easily available.

So 3 questions:
Would using a twisted pair eliminate most/all of the noise?
What would be twisted? Ground and signal?
Could I smooth out the signal with a cap and eliminate the square waves and thus the noise?

Thanks in advance.

(P.S. I know the values and probably the schematic are off a bit. This is just a concept so far and am researching. I'll crank more numbers before I test this out. I also think I'll change back to 1 resister per 3 LEDs like I had it before.)


* LED Circuit.jpg (31.05 KB, 743x673 - viewed 12 times.)
Logged

10 PRINT CHR$(7)
20 GOTO 10

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 443
Posts: 23835
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I think the arduino output pin might struggle driving that long of a wire.
Use a line driver to the base signal out there.  Heck, use another 2N2222 as the driver.
As for noise, I doubt you'd even see any LED flickering over the distance IF the transistors happened to oh so briefly turn on/off when not intended to.

Isn't 2N2222 an NPN? I would go NPN and pull the cathodes low to turn on the LEDs, less voltage drop across the transistors that way.
Since they are all getting  the same signal, one transistor woud suffice, only have maybe 180mA thru all 9 diodes?
With 6V you can probably 2 in series also,  so 4 pairs +1 for 100mA current flow when on.  Drive all 9 with just 1 transistor.

You are burying the wire? Exposed wire is at risk of animal chewage.
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 443
Posts: 23835
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Silly-con Valley, Ca, U.S.
Offline Offline
Sr. Member
****
Karma: 17
Posts: 420
Lernin' to tinker
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Yes, buried wire.

Good advice on taking it low to power on, thanks. And ya, as I was typing that up I realized that one transistor could probably handle the current draw on it's own. Guess I was being overly cautious using so many. I expected that correction.

I guess I was more worried about noise to other devices. Cell phones, radios, etc... If it's running under a patio and you set a radio over the wire or even run a wire out temporally for listening to music outside is it going to give out an audible interference?

I'm thinking back to my car stereo days and you had to watch where you ran speaker wire or you'd get some nasty buzzing in the speakers.
« Last Edit: March 17, 2011, 01:53:32 pm by biocow » Logged

10 PRINT CHR$(7)
20 GOTO 10

nr Bundaberg, Australia
Offline Offline
Tesla Member
***
Karma: 121
Posts: 8458
Scattered showers my arse -- Noah, 2348BC.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
Since they are all getting  the same signal, one transistor woud suffice
Likewise one current-limiting resistor, albeit a big one.

What about using RS-485 to drive the signal, less EMI and ground shift issues.

______
Rob
Logged

Rob Gray aka the GRAYnomad www.robgray.com

0
Offline Offline
Full Member
***
Karma: 2
Posts: 128
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I don't think you can go to just 1 resistor.  Variations in the LEDs will cause some to take more current than others.  I do agree with rs485 being a potential solution if UTP alone does not work.
Logged

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 443
Posts: 23835
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

PWM is only 500 Hz tho, pretty sure most stuff will filter that out, especially if the signal is buried.
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

0
Offline Offline
Full Member
***
Karma: 2
Posts: 128
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I have picked up 400hz from airplane electrical systems.  However I would not worry about interference unless it became a problem.  Especially since the wire will not have to change, just the driver/receiver.
Logged

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 443
Posts: 23835
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

400 Hz is the frequency of the AC power lines in airplanes, not the tens of milliamps that will be switching in this application.
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Silly-con Valley, Ca, U.S.
Offline Offline
Sr. Member
****
Karma: 17
Posts: 420
Lernin' to tinker
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

PWM is only 500 Hz tho, pretty sure most stuff will filter that out, especially if the signal is buried.

Thanks. I'll have to try it out and see how it works.
Logged

10 PRINT CHR$(7)
20 GOTO 10

Red Sea, Saudi Arabia
Offline Offline
God Member
*****
Karma: 11
Posts: 579
..On The Red Sea
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset



Hey @crossroads, how'd you do that neat quick schematic????
Logged

Regards, Terry King  ..On the Red Sea at KAUST.edu.sa
terry@yourduino.com  LEARN! DO! (Arduino Boards, Sensors, Parts @ http://yourduino.com

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 443
Posts: 23835
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Using the software from expresspcb.com.
Being an electrical engineer helps smiley
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Pages: [1]   Go Up
Jump to: