This is mostly a tease / place holder. Around Christmas time I decided to get deeper into Software Defined Radio (SDR). So I ordered an Airspy and a Hack RF Blue. So far, I've received the AirSpy and am enjoying it very much. The Hack RF Blue should hopefully be here soon.
Previously I've been using the $15-20 RTL-SDR dongles. These are very cheap and useful, but plagued with lots of noise, frequency inaccuracies and other problems. Still they are a great way to get started and start learning.
The AirSpy is a world of difference from the RTL-SDR dongles. One of the reasons that I bought it was a number of people who seemed to have deep RF engineering backgrounds seemed to be pretty excited about it. There are many good reviews available.
I ordered the HackRF Blue to experiment with GNU Radio and especially try some of the transmission capabilities for digital RF hacking. Initially I'll probably be doing further experiments with simple 433 Mhz devices.
I expect based on receivers that the HackRF's receiver will not be as good as the AirSpy's by a good margin, for sensitivity, selectivity, etc.. However, the HackRF is capable of operating on a much wider frequency range (10 Mhz - 6 Ghz) than the R820T (24 Mhz - 1.8 Ghz) tuner chip inside the AirSpy.
More to come.
Notes on the various things I'm interested in. Well, interested enough to write and share some notes on.
Friday, April 17, 2015
Your Radio's Reverse button / Quickiy Checking the Repeater's Input Frequency
[This was originally published on a mailing list, but seemed worth making more widely available.]
Some amateur radios have a "Reverse"(*) button that swaps the repeater input and output frequencies, allowing you to quickly monitor the repeater input and transmit on the repeater output. When I first started out, I didn't realize the value of this.
The benefits of this feature are:
And finally, the benefit that is relevant to the original topic, hitting the reverse button on many radios is a quick way of seeing what frequency your radio is programmed to transmit on for a repeater. Your radio display will need to be in a mode to show the frequency rather than the label.
Check your radio's manual to find out how to activate the reverse feature as the button might have an obscure label. A few common one:
Some amateur radios have a "Reverse"(*) button that swaps the repeater input and output frequencies, allowing you to quickly monitor the repeater input and transmit on the repeater output. When I first started out, I didn't realize the value of this.
The benefits of this feature are:
- You can quickly listen to the repeater input to determine if someone transmitting is close enough for you to use simplex and free up the repeater.
- If the repeater isn't working, you can get anyone who is monitoring the repeater's output and is within simplex range, to hear you by transmitting on the repeater's output.
- During time of malicious interference or other search operation, if we all switch over to monitoring the input and make note of whether we can hear the transmitting station, we can use the information to figure out roughly what area the transmitting station is in.
And finally, the benefit that is relevant to the original topic, hitting the reverse button on many radios is a quick way of seeing what frequency your radio is programmed to transmit on for a repeater. Your radio display will need to be in a mode to show the frequency rather than the label.
Check your radio's manual to find out how to activate the reverse feature as the button might have an obscure label. A few common one:
- Wouxun - It's the scan button. (A quick press and release).
- Baofeng UV-5 - The * button. (A quick press and release).
- Many Yaesus - Home/Reverse, HM/RV, Rev, etc.
RTL-SDR Buying Tips
[This was originally posted to a mailing list.]
First, a good starting point on RTL-SDR is the blog site www.rtl-sdr.com.
(I've mentioned it here before and forwarded some relevant posts about things you can do with an SDR such as the RTL-SDR.)
The RTL-SDRs are almost all the same chinese, ultra cheaply made receivers in the range of $15-25. It isn't so much about which device is trustworthy, it's what tuner chip does it have.
At this point, I suggest getting one with the R820T2 tuner which is newer, seems to perform a little bit better, but costs around $5 more than the others. IF you get an R820T (not T2) that will do fine as well.
Places that "specialize" in RTL-SDR and aren't too overpriced are:
At this point, almost all of the devices come with an MCX connector so you will need an MCX adapter to hook it up to a real antenna. Both NooElec and RTL-SDR.com's amazon store have MCX adapters.
Also if you don't have any, get some USB extension cables (A male to A-female) around 10 ft in length. These devices have no shielding, so you want to get them as far away from your computer as you can while sticking within USB length limits.
Try to get a good quality USB extension cable with a ferrite core near the end to cut some of the noise. You might also want to buy some additional snap on ferrite cores.
Note: The frequency range on these is about 24 Mhz - 1,700 Mhz so you won't be able to do any HF with the exception of 10 meters and maybe 12 meters. An upconverter can be used if you want to receive HF.
If you connect the RTL-SDR to an outdoor antenna, keep in mind that almost all of these devices have no viable ESD protection.
First, a good starting point on RTL-SDR is the blog site www.rtl-sdr.com.
(I've mentioned it here before and forwarded some relevant posts about things you can do with an SDR such as the RTL-SDR.)
The RTL-SDRs are almost all the same chinese, ultra cheaply made receivers in the range of $15-25. It isn't so much about which device is trustworthy, it's what tuner chip does it have.
At this point, I suggest getting one with the R820T2 tuner which is newer, seems to perform a little bit better, but costs around $5 more than the others. IF you get an R820T (not T2) that will do fine as well.
Places that "specialize" in RTL-SDR and aren't too overpriced are:
- Nooelec, http://www.nooelec.com/store/, They also sell through Amazon.
Their "NESDR Mini 2 SDR" was mentioned on the net $25. It has the R820T2 tuner chip. It's not clear if they upgraded any of the other components other than the included mini-whip antenna which you will probably replace.
http://www.nooelec.com/store/sdr/nesdr-mini2-rtl2832u-r820t2.html - RTL-SDR.com is also selling their own branded R820T2 usb dongles. They also sell through Amazon. They claim upgraded components and a better oscillator (though not temperature controlled) than the usual ones which can easily have a -75 to +75 PPM error.
At this point, almost all of the devices come with an MCX connector so you will need an MCX adapter to hook it up to a real antenna. Both NooElec and RTL-SDR.com's amazon store have MCX adapters.
Also if you don't have any, get some USB extension cables (A male to A-female) around 10 ft in length. These devices have no shielding, so you want to get them as far away from your computer as you can while sticking within USB length limits.
Try to get a good quality USB extension cable with a ferrite core near the end to cut some of the noise. You might also want to buy some additional snap on ferrite cores.
Note: The frequency range on these is about 24 Mhz - 1,700 Mhz so you won't be able to do any HF with the exception of 10 meters and maybe 12 meters. An upconverter can be used if you want to receive HF.
If you connect the RTL-SDR to an outdoor antenna, keep in mind that almost all of these devices have no viable ESD protection.
NBEMS, Radios and Digital Modes: Getting the Message.
Here's a screen shot from a recent Thursday night digital radio net that
might help give you an idea of what it is all about if you haven't tried it.
The screen shot shows a received radiogram form as it would look on paper displayed on an Android tablet or phone.
Note: The only equipment used to receive this was an handheld radio (HT) and an Android Tablet. No cable, or interface, was used between the tablet and the HT. The tablet's microphone decoded the audio coming out of the HT's speaker.
The app on the tablet is AndFlMsg which is a free Android application that implements a some parts of what's available in the FLdigi suites.
While in this case, the information for the form could have been relayed by voice, it could have easily been a picture, spreadsheet, or other file that would be difficult or impossible to relay by voice if the only available infrastructure was a radio.
The screen shot shows a received radiogram form as it would look on paper displayed on an Android tablet or phone.
Note: The only equipment used to receive this was an handheld radio (HT) and an Android Tablet. No cable, or interface, was used between the tablet and the HT. The tablet's microphone decoded the audio coming out of the HT's speaker.
The app on the tablet is AndFlMsg which is a free Android application that implements a some parts of what's available in the FLdigi suites.
While in this case, the information for the form could have been relayed by voice, it could have easily been a picture, spreadsheet, or other file that would be difficult or impossible to relay by voice if the only available infrastructure was a radio.
Standard Container Manifesto
If you haven't seen it, see the "Standard Container Manifesto"
below. It might help you understand some of the current buzz
around container technology. This one was added to the Docker README at one point but has been since removed. There are better
but longer descriptions.
Note: to appreciate this, it helps to have been involved in the struggles of delivering enterprise IT where one of the core challenges, (if not the fundamental problem), is trying to get away from everything being somewhat different because it's all built by hand.
Oh, and if you aren't familiar with the story of the standard shipping container and its impact on global commerce, this looks like a reasonable overview: http://www.nytimes.com/2006/03/23/business/23scene.html?_r=0
Many things that once required time-consuming and error-prone human effort can now be programmed. Before shipping containers, a bag of powder coffee was hauled, dragged, dropped, rolled and stacked by 10 different people in 10 different locations by the time it reached its destination. 1 out of 50 disappeared. 1 out of 20 was damaged. The process was slow, inefficient and cost a fortune - and was entirely different depending on the facility and the type of goods.
Similarly, before Standard Containers, by the time a software component ran in production, it had been individually built, configured, bundled, documented, patched, vendored, templated, tweaked and instrumented by 10 different people on 10 different computers. Builds failed, libraries conflicted, mirrors crashed, post-it notes were lost, logs were misplaced, cluster updates were half-broken. The process was slow, inefficient and cost a fortune - and was entirely different depending on the language and infrastructure provider.
With Standard Containers we can put an end to that embarrassment, by making INDUSTRIAL-GRADE DELIVERY of software a reality.
Note: to appreciate this, it helps to have been involved in the struggles of delivering enterprise IT where one of the core challenges, (if not the fundamental problem), is trying to get away from everything being somewhat different because it's all built by hand.
Oh, and if you aren't familiar with the story of the standard shipping container and its impact on global commerce, this looks like a reasonable overview: http://www.nytimes.com/2006/03/23/business/23scene.html?_r=0
1. STANDARD OPERATIONS
Just like shipping containers, Standard Containers define a set of STANDARD OPERATIONS. Shipping containers can be lifted, stacked, locked, loaded, unloaded and labelled. Similarly, standard containers can be started, stopped, copied, snapshotted, downloaded, uploaded and tagged.2. CONTENT-AGNOSTIC
Just like shipping containers, Standard Containers are CONTENT-AGNOSTIC: all standard operations have the same effect regardless of the contents. A shipping container will be stacked in exactly the same way whether it contains Vietnamese powder coffee or spare Maserati parts. Similarly, Standard Containers are started or uploaded in the same way whether they contain a postgres database, a php application with its dependencies and application server, or Java build artifacts.3. INFRASTRUCTURE-AGNOSTIC
Both types of containers are INFRASTRUCTURE-AGNOSTIC: they can be transported to thousands of facilities around the world, and manipulated by a wide variety of equipment. A shipping container can be packed in a factory in Ukraine, transported by truck to the nearest routing center, stacked onto a train, loaded into a German boat by an Australian-built crane, stored in a warehouse at a US facility, etc. Similarly, a standard container can be bundled on my laptop, uploaded to S3, downloaded, run and snapshotted by a build server at Equinix in Virginia, uploaded to 10 staging servers in a home-made Openstack cluster, then sent to 30 production instances across 3 EC2 regions.4. DESIGNED FOR AUTOMATION
Because they offer the same standard operations regardless of content and infrastructure, Standard Containers, just like their physical counterpart, are extremely well-suited for automation. In fact, you could say automation is their secret weapon.Many things that once required time-consuming and error-prone human effort can now be programmed. Before shipping containers, a bag of powder coffee was hauled, dragged, dropped, rolled and stacked by 10 different people in 10 different locations by the time it reached its destination. 1 out of 50 disappeared. 1 out of 20 was damaged. The process was slow, inefficient and cost a fortune - and was entirely different depending on the facility and the type of goods.
Similarly, before Standard Containers, by the time a software component ran in production, it had been individually built, configured, bundled, documented, patched, vendored, templated, tweaked and instrumented by 10 different people on 10 different computers. Builds failed, libraries conflicted, mirrors crashed, post-it notes were lost, logs were misplaced, cluster updates were half-broken. The process was slow, inefficient and cost a fortune - and was entirely different depending on the language and infrastructure provider.
5. INDUSTRIAL-GRADE DELIVERY
There are 17 million shipping containers in existence, packed with every physical good imaginable. Every single one of them can be loaded on the same boats, by the same cranes, in the same facilities, and sent anywhere in the World with incredible efficiency. It is embarrassing to think that a 30 ton shipment of coffee can safely travel half-way across the World in less time than it takes a software team to deliver its code from one datacenter to another sitting 10 miles away.With Standard Containers we can put an end to that embarrassment, by making INDUSTRIAL-GRADE DELIVERY of software a reality.
Labels:
enterprise IT,
Information Technology,
Linux,
Linux Containers
Saturday, January 17, 2015
Better PC Sound Card Oscilloscope software (windows).
TL;DR - Visual Analyzer, PC Sound Card Oscilloscope software. Nice spectrum analyzer. Worth checking out. http://www.sillanumsoft.org/prod01.htm
Through a really good YouTube Post on using an SDR for Frequency Deviation Measurement on FM transmitters I learned about Visual Analyzer. I should probably do a separate post just on this.
Previously I used Xoscope on Linux and Zeitnitz Soundcard Oscilloscope (http://www.zeitnitz.eu/scope_en).
I had also found, but not used Zelscope, Soundcard Oscilloscope and Spectrum Analyzer.
I originally got some pointers on sound card osclloscopes, from Virginia Tech's Introductory Electronics courses that were based on their Lab in a Box, so that students would have all of their own materials for doing the electronics work without having to be in a physical lab. See:
Virginia Tech, Experiment 12, Calibrating a Sound Card Oscilloscope
I only went so far with sound card oscilloscopes, because shortly after I started experimenting, the Rigol DS-1052E oscilloscope became available within my budget. I bought it for $400 direct from China. The Rigol caused a little bit of a revolution in terms of oscilloscope availability and pricing.
That was all back in 2009 and 2010 when I started reading a lot more about electronics. In December, 2009, I finally took the exams from my amateur radio license. I passed both Technician and General with 100% and went back for the Extra Class at the next exam session. I got one wrong on my Extra.
Of course, the interesting bit that got me here writing this today is that the RTL-SDR stick can be used as the analog (ok radio frequency) front end for a software oscilloscope, spectrum analyzer, deviation meter, etc. Especially for those of us without much in test equipment.
Through a really good YouTube Post on using an SDR for Frequency Deviation Measurement on FM transmitters I learned about Visual Analyzer. I should probably do a separate post just on this.
Previously I used Xoscope on Linux and Zeitnitz Soundcard Oscilloscope (http://www.zeitnitz.eu/scope_en).
I had also found, but not used Zelscope, Soundcard Oscilloscope and Spectrum Analyzer.
I originally got some pointers on sound card osclloscopes, from Virginia Tech's Introductory Electronics courses that were based on their Lab in a Box, so that students would have all of their own materials for doing the electronics work without having to be in a physical lab. See:
Virginia Tech, Experiment 12, Calibrating a Sound Card Oscilloscope
I only went so far with sound card oscilloscopes, because shortly after I started experimenting, the Rigol DS-1052E oscilloscope became available within my budget. I bought it for $400 direct from China. The Rigol caused a little bit of a revolution in terms of oscilloscope availability and pricing.
That was all back in 2009 and 2010 when I started reading a lot more about electronics. In December, 2009, I finally took the exams from my amateur radio license. I passed both Technician and General with 100% and went back for the Extra Class at the next exam session. I got one wrong on my Extra.
Of course, the interesting bit that got me here writing this today is that the RTL-SDR stick can be used as the analog (ok radio frequency) front end for a software oscilloscope, spectrum analyzer, deviation meter, etc. Especially for those of us without much in test equipment.
Labels:
Amateur Radio,
Electronics,
oscilloscope,
radio hacking,
Rigol,
software
Monday, January 12, 2015
Intel Atom (Avoton) Mini-ITX (NAS) Server Build Notes
I'm building a mini-ITX NAS style server using Intel's low-power Atom server chip, known as Avoton. The highlights are 8 cores, 64 GB max memory, yet passively cooled, quiet and low power, 20W TDP.The system's idle power usage without spinning disks is only 14 Watts. This makes it ideal for a SOHO file server, NAS server, lab box, etc.
The system I'm assembling resembles iXsystem's FreeNAS mini. The main difference is that I went with the Supermicro motherboard instead of the ASRock motherboard. I'll compare the two motherboards later and/or in a separate blog post. However, I'll summarize my decision as The ASRock is better if you are going for a pure storage (NAS) box. I went with the Supermicro as a better general purpose system with USB 3.0 ports and 4 x GbE ports.
The summary is the Ablecom CS-M50, aka Superchassis 721TQ-250B is a very nice case with real hot swap drive support. The most detailed reviews are actually for the FreeNAS Mini. You can also find some reviews searching for the Ablecom CS-M50.
The one problem so far is that the front panel USB ports are USB 2.0. The A1SAi motherboard has header connectors for USB 3.0, which use a different style header connector. Currently, I've got no front panel USB ports. I've emailed Supermicro support.
The system I'm assembling resembles iXsystem's FreeNAS mini. The main difference is that I went with the Supermicro motherboard instead of the ASRock motherboard. I'll compare the two motherboards later and/or in a separate blog post. However, I'll summarize my decision as The ASRock is better if you are going for a pure storage (NAS) box. I went with the Supermicro as a better general purpose system with USB 3.0 ports and 4 x GbE ports.
Components:
- Supermicro AISAi-2750F Motherboard
- Supermicro Chassis and 250W Power supply 721TQ-250B
- 16 GB: 2 x 8 GB Crucial SO-DIMM with ECC
Case and Power Supply
One of the most difficult decisions was trying to find a good case and power supply. There is a lot of poorly designed cases. There aren't many reviews for mini-ITX NAS-style cases. Through the reviews that are available I found one good choice which is also the same case that iXsystems uses for the FreeNAS Mini, the Ablecom CS-M50. Unfortunately the Ablecom isn't sold in the US directly. It is primarily sold to OEMs in large quantities. I stumbled around for a while until a kind person clued me in that Supermicro sells the Ablecom CS-M50 as the Superchassis 721TQ-250B. It is even linked from the page for the A1SAi-2750F motherboard and I didn't notice it or assumed it would be yet another crap case.The summary is the Ablecom CS-M50, aka Superchassis 721TQ-250B is a very nice case with real hot swap drive support. The most detailed reviews are actually for the FreeNAS Mini. You can also find some reviews searching for the Ablecom CS-M50.
The one problem so far is that the front panel USB ports are USB 2.0. The A1SAi motherboard has header connectors for USB 3.0, which use a different style header connector. Currently, I've got no front panel USB ports. I've emailed Supermicro support.
Other People's Builds
Here are some of the sources that I used in making my decisions:- My FreeNAS Build with The Supermicro A1SAi-i2750f (reddit, billakay)
- /My FreeNAS Build with Supermicro A1SAi-2750F (FreeNAS Forum)
To Do
- Determine what combination of hypervisors and operating system
- Linux Host + VirtualBox
- Linux Host + KVM
- VMware ESXi
- FreeNAS native FreeBSD
- Solve Front Panel USB port connectivity problem:
- Ideally there is a board from Ablecom, Supermicro or someone else that will give me USB 3.0 front panel ports.
- Alternatively, an adapter cable that gives me USB 2.0 ports would be preferred.
Things I've Learned
- The Supermicro 721TQ-250B case is the same as the Ablecom CS-M50 and is available at retail in the US.
- The AST2400 IPMI BMC controller with fully integrated keyboard, video, and mouse, iKVM is very nice. I could have configured the system out of the box without ever attaching a monitor to.
- The Supermicro/AST default Username and Password for IPMI is UPPER CASE and CASE SENSITIVE. I mistakenly thought I couldn't access the BMC until I configured it through the BIOS. The whole problem was the the default username and password were both all upper case.
- As a result, the system is INSECURE out of the box. Change your IPMI/BMC username and password from the default as soon as possible.
- IPMIView from Supermicro/AST is pretty nice. It is a standalone Java Application. However the web browser interface is just as good or better for a single system.
- The BIOS watchdog feature causes the system to be reset every 5 minutes. Nothing is logged to the event log. Don't set it, at least until you understand how to use it. I think the Linux kernel is setting the hardware watchdog.
- An improperly seated SO-DIMM, caused the system to hang at BIOS POST, with the code B4. However there were no beeps and I couldn't find a description of text error codes. The manual only gives the beep codes.
Subscribe to:
Posts (Atom)