Just blew my motherboard by updating the bios via one of dell's software updates and corrupted my bios. The board doesn't have a dual bios configuration so its corrupted so I can't pull the battery or reset the CMOS.
All of my research showed that most people just pony up and replace the mobo for $200. Unwilling to give up I kept researching and found that you can turn your Raspberry Pi into a flashrom to restore your bios. http://flashrom.org/RaspberryPi
Waiting on female to female GPIO connectors to come in mail before I can hook my raspi up to the SPI sockets on my mobo and reflash the bios. Got my fingers crossed, if this works it will be a great win!
It should work. If you have serious trouble with that then there are also devices like the Bus Pirate[1] that can do the same thing (Though I have yet to do it myself).
It's really neat how easy this kind of thing has become recently with all of the hobby electronics guys driving the market and opening up doors that 10-15 years ago looked bleak at the time (though that could just be my memory coloring it).
I have used similar stuff to fix up routers (though haven't had to interface with the flashrom directly) and install openwrt.
With BIOSes being serial flash these days, it's really easy to read/write them since all you need is something that can do programmed GPIO on a few lines at the right voltage. An Arduino, a parallel port on another PC, etc.
A lot of PC repair shops in China will reflash BIOSes really cheaply too; they usually use a clothespin-like clip to attach to the chip so they can do it quickly without having to solder anything.
You also need a very, very good antenna for that sort of stunt.
QRP is tough. I'm a licensed HAM radio operator and my Tx has a 5 W final stage, so I fit right into the QRP limits. It's tough. You're at the mercy of the ionosphere all the time.
I use a WSPR transmitter that outputs around 200mW on 20m and am easily heard all over North Americdn and Europe. I've also had two South Pacific reports.
You also need a very, very good antenna for that sort of stunt.
For 10mW, sure, but I've done Michigan to France on 5W with a plain old 40m loop 15-20 feet off the ground. In hindsight, I should have tried it on 3W if only to get 1000mi/W on a cloud warmer.
As an amateur radio operator, I think this is fascinating, because they claim it can transmit on the 2m VHF band (144-148MHz) that's popular among hams.
But I have some concerns about its signal characteristics, since you're essentially abusing digital hardware (GPIO) to produce a modulated output it wasn't designed to produce. Someone with a spectrum analyzer should check to see if it produces any nasty harmonics, or similar noise, that could interfere with other stations.
If you need a datapoint on how noisy those signals are: some people have combined a 144.6Mhz Raspberry Pi output with a narrow passive bandpass filter to generate a relatively clean and powerful 433MHz signal (the third harmonic, which is quite strong in a square wave): http://www.skagmo.com/page.php?p=projects/22_pihat
Recently I did a similar project in which a malicious hardware device leaks a victim's data (Password, credit card #, etc.) through a similar technique.
We used an FPGA though, so with a 100 Mhz fundamental frequency we had harmonics well into the 1.5 Ghz. We called it CPU-SDR. Video here:
Bonus: Using mutiple PCB traces, you have a basic Yagi-like directional antenna. Feeding different traces you can modify the RF radiation pattern it in real-time.
Yes, assuming there's strong harmonics (I'd be real surprised if there weren't), you should definitely put a bandpass filter between the Raspberry Pi and the antenna like these guys did.
Thanks for the link! That's a clever way of using harmonics to your advantage.
I don't think a rectangular wave can propagate through the ether :)
Output from the digital pin is very rectangular. But you have many sinusoidal harmonics ready to be fired into the air if you plug a small antenna on it.
Totally of topic, but I think it might be interesting and new for some of the HN crowd: both Lagrange and Laplace, not the least of mathematicians, didn't believe that idea when Fourier presented it to the Paris institute. http://www-groups.dcs.st-and.ac.uk/~history/Biographies/Four...:
"[...] a committee consisting of Lagrange, Laplace, Monge and Lacroix was set up to report on the work. Now this memoir is very highly regarded but at the time it caused controversy.
There were two reasons for the committee to feel unhappy with the work. The first objection, made by Lagrange and Laplace in 1808, was to Fourier's expansions of functions as trigonometrical series, what we now call Fourier series. Further clarification by Fourier still failed to convince them. As is pointed out in [4]:-
All these are written with such exemplary clarity - from a logical as opposed to calligraphic point of view - that their inability to persuade Laplace and Lagrange ... provides a good index of the originality of Fourier's views."
> I don't think a rectangular wave can propagate through the ether ...
Of course it can. A square wave is just a series of discrete sine components, each of which will happily propagate through the air. If this were not true, WiFi wouldn't work -- it also relies on multiple, coordinated frequencies and complex modulation.
Right, in ideal hardware. The problem is that in order to transmit an ideal square wave, you need infinite bandwidth.
The problem being that any real circuit has a finite band it operates on. It will filter the components of the wave that are outside of its bandwidth, leading to 'ringing' artifacts (Gibbs phenomenon).
In other words, there's enough energy to cause problems at 2, 6, 10 ... times f, but at rapidly declining levels.
> It will filter the components of the wave that are outside of its bandwidth, leading to 'ringing' artifacts ...
Ringing artifacts are present in a system whose bandwidth rolls off abruptly. It's less significant in a system with a gradual drop-off in response, like a piece of wire acting as a broadband antenna.
I used an RTLSDR to look at the spectrum. If you're plugged into the wall, you get ripple. Also the harmonics are pretty loud too. The WSPR example above shows the filtering they put in. In theory at low power like someone else said it isn't ideal, but wouldn't upset too many people so long as you didn't amplify before filtering.
Doubt it's got much range. I'd be surprised if it goes 50ft. Most of the power is going to be lost unless you have a decent antenna on the end and something to decouple it from the host circuit. Bandpass wouldn't go amiss though.
I was able to pick up an indoor transmission from my car up to about 1000 feet away. However after losing the signal the car radio had to be within 400 feet before it locked on again.
If you're interested in getting into RF, I'd suggest getting a software-defined radio like bladeRF[1]. It allows you to make a lot of cool devices without being a hardware whiz.
The guys who run it are extremely knowledgeable about RF and there's some really cool stuff being done with it [2][3].
It will transmit radio noise on many other frequencies.
I played with this stuff when i was a kid to jam neighbor's TV's (they only used antennaes).
Worked like a charm.
It's very hard and expensive to transmit signal on a single frequency. And very easy to pollute everything.
If they meet FCC regulations then yes you can assume that. If they don't meet FCC regulations then they're illegal. I don't know how much policing goes on for that though.
Note that the news here is only the Make project on it, as this has been known and working for well over a year. The current PiFM software uses DMA from the userspace to play without clicks and without taking the whole CPU. The later versions also appear to support stereo, so I can't make much sense of this sentence in Make's tutorial (step 5):
> Each file is then re-encoded into a mono format the PiFM radio can handle.
If their pre-configured image is really doing this, it is doing it wrong, I think. Worth noting that the PiFM script is capable of reading from stdout, and not just play WAV files, so the possibilities go well beyond playing music off a SD card.
you could use this to broadcast RDS, and then tell the other cars on the road that there is a blockade ahead, it would be like that Bruce Almighty scene, well maybe not...
Nice! Way back I did something similar in the AM band with one of the 8 pin PIC chips [1], didn't play music though, just sent morse code. The RPi version is much nicer, you could have it talk to you :-).
They're not that fast. A single thread build of my python/c project (pillow) takes ~ 15 seconds on a vm, ~ 30 on an ancient core duo laptop, and ... still waiting on the raspberry. edit: 5:15. So 25 times slower.
I did an analysis of Mathematica benchmarks on the Raspberry Pi and found it to be 15x slower at best and much slower when there are CPU specific optimizations:
All of my research showed that most people just pony up and replace the mobo for $200. Unwilling to give up I kept researching and found that you can turn your Raspberry Pi into a flashrom to restore your bios. http://flashrom.org/RaspberryPi
Waiting on female to female GPIO connectors to come in mail before I can hook my raspi up to the SPI sockets on my mobo and reflash the bios. Got my fingers crossed, if this works it will be a great win!