You may not need an oscilloscope!
Aparently there are some problems with the images in this one. Since the images are not THAT important for you to get the point, I take the liberty to just direct you to the albom they are in, in case some are missing on your monitor:
Sorry & thanks for understanding ;)
Localize your computers audio in. If it has both Mic and Line in, use the Line.
Find a jack or whatever fits into the port, and in the other end find3-4 wires. If you have 4, 2 of them are ground, if you have 3, one is ground, and you need to split that in 2. The other 2 are Left & Right:
At the other end of the wires, make whatever you like; Point is that you will have to be able to hook this up to anything, if you do not want to solder every time you use this tool. I mae up some multi-thingeys that can be plugged / unplugged, and hooked up to anything:
Download a soundrecording tool that can show the 2 channels next to each other.
To use this, plug in the cable to your computer, turn down recording level / put it on Aux / Line, not Mic, no pre-amp.
You can now measure 2 Logic Level signals at once (or just one) and compare them.
As you may know, it is possible to buy extremely cheap radio recievers and transmitters. Theory is, that you can send serial signals from one Microcontroller to the other, wireless.
i reality, it has often proved very hard to get a steady signal going. Now check this:
On Picaxe, here is first this code used on the sending part:
I hooked up the cable made as shown above like this: Ground to ground on both units. Data in on reciever, Data out on sender. And this is what I got:
Oops - something is wrong!
Signal is send, but nothing is recieved!
Now without the debugging-tool, it could have taken me a long time to find out what was going on. I hate serial for the fact that it is so hard to debug.. well untill now ;)
Ok, I hook up again, fixin all loose connections, recieving is shown on top, sending is shown at the bottom:
Oh, the reciever is sending a lot of noise to the Microcontroller at first, so the Microcontroller cannot tell when the serial signal is starting!
Well then, let's modify the code:
- And see:
Well, from a distance, we can see that the sender is generating noise if left to hang high! Will fix that later, by using other combinations of T/N of the serout.
But first, let's zoom in, and see how the signal on the reciever is now first made steady, so the MCU can understand when to start listening:
- and even closer:
Now, what I'd like to see is your examples, please send them in below if you have any.
If nobody sends in anything, when time, I will try to have a look at:
A: LED shining on..
A: PWM out of an EZ ultrasound
B: Analoge out of an EZ ultrasound
.. and more to come :)