Let's Make Robots!

RF and Sharps not playing together?


***Update 3.21.09***
With my new found osilloscope skills and a little tinkering, I think I have found the noise. As far as I can tell, it is all on the ground. Here's what I did:

I wired the RX unit to a different picaxe on a test board using an isolated (seperate from walter's batteries) battery pack. Running a test transmit/receive program I brought this test board over to Walter to check for RF noise. I even went as far as phyically wrapping as many of sensor and power wires around the antenna. I got 100% clean data. Second, again with the same battery pack on the test board, I connected the ground of the test board to Walter's ground and the signal wire from the RX to an input pin on walter's brain. Boom went the dynamite. Zero, no data. Again, unplug the sharps with this "shared ground, different batteries" set-up and I get 100% data. This would lead me to believe all the crap is on the ground wire. This leads me to a question: I remember (vaguely) back from my car stereo days something called ground loops. Also, I went to the Texas Instraments website and searched for isolators where I found some sorta chips that mentioned isolating grounds --I really didn't understand the data sheets but I did like the phrase "isolated ground". The question is, is there any way to isolate a ground? Can the RX unit continue to share the same batteries as are powering the sharps but somehow isolate the ground going to the RX unit from them? It seems this sharp noise is not affecting any other systems on Walter... Yet.


I am hooking up my new RF RX unit to walter and have found a wierd thing...

RX unit: http://www.rentron.com/remote_control/RWS-434.htm

Sharps: Just the regular old Sharp IR distance sensors

Now, each sharp has a .1uf cap across + and - to deal with some noise I had earlier -they work perfectly now. With all 4 plugged in to the adc inputs of my 40x1, the receiver simply does not work. I have tested it's output with a speaker and indeed it is spitting out data. However, the picaxe does not recognize anything going into it's input pin. I am using debug and it simply sits there waiting and waiting. Now, when I unplug the sharps, all is well and I am getting 100% of data coming through. Even better -as I plug the sharps back in, one-by-one, I can watch the debug window count slower and slower until it stops entirely. I unplugged the sharps and replaced them with just a cap (to see if it was the caps causing the problem) and it seems that is not the issue. It is not a code problem as I am just using:




goto main

Any thoughts, you electronics genius-type guys got any ideas?

Oh, there is plenty of power, all is getting a clean 5v from a regulator. --Checked it with a measure-thingie and the sharps are not stealng anything.


Info for Frits and the Poor-man's ossiloscope...

Included, as you will see is the MP3, here are the screen shots:

No Sharps plugged in -Serin working great, no data lost



One Sharp Plugged in: Debug working, serin working but very slow



Four sharps: Debug stuck waiting -serin not serin'ing



 Coming out of TX:





Osiloscope_mixdown.mp32.11 MB
No_Sharps_Plugged_in__mixdown.wav3.22 MB
Two_Sharps_Plugged_in__mixdown_3.wav3.7 MB
four_Sharps_Plugged_in__mixdown_3.wav2.85 MB
Audio_Ossilo_TX_mixdown.wav3.55 MB
TX_RX_Stereo_NOTWorking_mixdown_2.wav2.22 MB
TX_RX_Stereo_Working_mixdown.wav3.41 MB
TX_RX_One_Sharp_plugged_mixdown.wav2.9 MB

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
http://letsmakerobots.com/node/5916  -> Ground to grounds & other wire to "data" on both!
What type of cap should the 100uf be? Ceramic?
A 100uF electrolytic polarized capacitor.
Isn't is just my luck... The RF unit works flawlessly, it's the old parts I am having problems with!! --Off to Radio Shack tomorrow for the caps -thanks, my friend.

I'd be curious to see if you get this setup to work. I've tried every schematic and trick that I know with mine but for the life of me, can't get it to work. I'm thinking mine is just a bad unit at this point...just haven't had any chance to replace it.

Chris, I thought we made a deal, you should have a look at it.

All that happens now is more "I think"!

Can you at least as rik suggested send me an MP3 of input as you plug in one Sharp after each other, so I can prove my point?

I thought you where a man of he's word!

For the record: I didn't put him up to all this!

And the mp3 remark was actually a joke.

Hmmm, come to think of it; make it lossless compression Chris.

I said I would, yo!



Later today, sucka!!

When RX and TX were sampled simultaneously, we could compare input to output in real time.

Take a look at these 2 images, things are not really how they should be: