Sometimes when a project is coming together, you need to cobble a tool together to get it completed. Whether it’s something very involved, like building a 3D printer to fabricate custom parts, or something relatively simple, like wiring a lightbulb and a battery together to create a simple continuity checker, we’ve all had to come up with something on the fly. Despite having access to an oscilloscope, [Brian] aka [schoolie] has come up with his own method for measuring PWM period and duty cycle without a scope, just in case there’s ever a PWM emergency!
The system he has come up with is so simple it’s borderline genius. The PWM signal in question is fed through a piezo speaker in parallel with a resistor. The output from the speaker is then sent to an FFT (fast fourier transform) app for Android devices, which produces a picture of a waveform. [schoolie] then opens the picture in MS Paint and uses the coordinates of the cursor and a little arithmetic to compute the period and the duty cycle.
For not using a scope, this method is pretty accurate, and only uses two discrete circuit components (the resistor and the speaker). If you’re ever in a pinch with PWM, this is sure to help, and be a whole lot cheaper than finding an oscilloscope!
[Chris] has been spending a lot of time in the wife’s sewing room lately, and things got pretty serious late last night as he hacked his shiny new Rigol DS1054Z to unlock the 1104Z capabilities lurking within.
The rumors are true, and ungoverning the software is as simple as looking up your serial number and knowing the right URL for generating a valid license. [Chris] ran into a dud site, but that’s the price of doing business in the shadowy parking garage basements of the interwebs. Once he knocked on the right door and uttered the secret word, however, he became the proud owner of 50MHz additional bandwidth, decoders for SPI, I²C, and RS-232, twice the storage depth, and all teh triggers that ship with the 1104Z.
Stick around for [Chris]’s video walk-through. Can’t rationalize the purchase even at the ridiculously low price point? Here’s one way to make it happen. You’ll laugh, you’ll cry, you’ll learn some French.
Continue reading “How To Get 50 More Zed From Your Rigol DS1054Z”
Want a new scope for your hacking pleasures? How about one that rings in at $3650? That price tag makes us cringe, which is why we’re working on our 1k word essay to win one. The Tektronix MSO2024B pictured above is the top scope in its family and there’s more than enough features to start the drool flowing. Need more motivation? Check out the demo/advertising video below which walks through an overview of what the scope has to offer.
The contest — sponsored by EETimes and Tektronix — seeks to reward the best story about fixing a product that was disappointing on delivery but awesome when you got done hacking on it. Your thousand words or less are due by October 26th along with a fifty word bio about yourself, with the winner announced on Halloween. Be warned, you must register an account to qualify But we hit their daily article viewing limit while writing this post so you may need to log in just to read about the contest. Or clear their cookies… we are a hacking website after all.
They’re only giving away one scope. So don’t put this one off. Start polishing your totally
bogus legit story about how you fixed something using mad engineering skills.
Continue reading “Write an essay, win a Tektronix scope”
[Snypercat] makes no bones about the fact that she despises rats, and does everything in her power to keep them off her farm. We can’t blame her though – they spread disease, eat other animals’ food, and can get your farm shut down if there are too many running about. While most of us might hire an exterminator or set out a ton of traps, she chooses to take a far more hands-on approach, hunting down each and every one of those little buggers with an air rifle.
If you’ve ever gone rat hunting in the dark (and who hasn’t?), you know that it can be difficult to aim in the dead of night. Night vision scopes can be expensive, but [Snypercat] shows how you can make your own scope that gives you the added benefit of recording your kills along the way. She happened to have a Sony camcorder with built-in night vision capabilities, and with a bit of tweaking she was able to mount it on her rifle’s scope. An IR flashlight was mounted on the rifle as well, giving her enhanced visibility without spooking her prey.
Be sure to check out the pair of videos below to see how [Snypercat] attached the camcorder to the scope, along with how well it works in the field.
Continue reading “Hunting down farmyard pests with technology”
[Todd Harrison] recently wrote in to tip us off on his submission to the Tektronix oscilloscope contest – using a scope to tune a piano. In his video he demonstrates how a Fast Fourier Transform can be used to determine the fundamental frequency of the note being played. This is a quick and easy way to determine if that key is in tune, and if not, how far off it is from the desired frequency and in which direction.
He goes on to explain that a scope can only be used as a starting reference point since “mathematically correct” tuning on a piano doesn’t sound right to the human ear. It turns out that when struck, the stretched wires in the piano behave less than ideally. In the case of a piano, the overtones (the other peaks shown on the scope higher in frequency than the fundamental) are actually slightly sharper (higher in frequency) than the expected harmonic whole-number multiple of the fundamental frequency. As a result, the frequency ranges of each octave must be “stretched” in order to accommodate this and sound correct when multiple notes are played together across octaves.
Typically, only the A4 key is actually tuned to its correct frequency of 440Hz and all of the other keys are manually tuned off of this baseline. The amount of necessary stretch applied to each octave increases as you get further away from this initial reference point in either direction and is unique to each and every individual instrument – thus there is no universal device capable of perfect tuning. Although [Todd] admits that he won’t attempt to tune the entire piano himself using this technique, he finds it a convenient way to keep the most heavily played center sections of the piano closer to true between professional tunings.
If you have any interesting or unique uses for your Techtronix scope, you can enter the contest here. Just don’t forget to tip us off too! Thanks [Todd]!
[Oneironaut] is back at it again, churning out yet another great hack in this long-distance night vision build. This isn’t the first time we’ve seen him build a night vision device, you may remember the monocle he put together using the view finder from an old camcorder. This time around he’ll give you look at distant object by using a laser instead of LEDs. He pulled an IR laser diode out of an old CD burner, then used a lens to spread out the dot in order to illuminate a larger area. A standard rifle scope is used as the optics, along with a security camera which can detect the infrared light. As always, he’s done a fantastic job with the images and the write-up. You’ll find his overview video embedded after the break.
Continue reading “Long-range laser night-vision”
[Patman2700] has a nice scope for his paintball gun that uses a red dot instead of cross-hairs. The problem is that he kept forgetting to turn it off which ended up running the batteries down frequently. His solution to the problem was to get rid of the toggle switch used to turn it on and replace it will a home-made momentary push button switch. Now he presses the switch to aim and doesn’t waste juice when he’s running around, trying not to get pelted with paint.
Since this is used outside he wanted it to be water-tight. The switch is built using materials we’ve seen in previous diy switches; adhesive-backed copper sheets for conductors, foam to keep them separated until pressed, and plastic as a support. Copper is applied to the plastic base, with a ring of foam separating the base from the second layer of copper. When squeezed, the two layers of copper come in contact to complete the circuit. To make it work a bit better [Patman2700] added a dab of solder in the center of the bottom copper layer so there is less distance between conductors, and used extra foam to build up a bump in the center of the assembly for a better ‘button’ feel. The whole thing is encased in shrink-wrap with the seams sealed with super glue to keep moisture at bay.