How To Build a DSSS Radio
August 1, 2006 By: Wise Guy Sensors
The Do-It-Yourself DSSS Transceiver
A couple of months ago, when I told you I'd been thinking of building my own radio, you explained how fixed-frequency and spread-spectrum radios operate (www.sensorsmag.com/WWbuild). I've decided now that I'd like to build a direct sequence spread spectrum (DSSS) transceiver. Will you please give me some guidance on how to do it?
Signed, Bob the (Radio) Builder
Wise Guy: Sure, but my how-to explanation requires more space than we have this month, so hang in with me. For now we'll cover the transmitter portion of the transceiver; next month we'll look at the receiver and then discuss error correction code.
Meanwhile, be aware that among other things you'll need an electrical mixer, an RF oscillator, and a microprocessor.
The essence of a DSSS system is that the RF portion operates as a fixed-frequency radio. For the sake of convenience, we will use 802.11b (WiFi) operating values, though you can choose to operate your transceiver at different values.
Let's set the RF center frequency to 802.11b's channel 6 midpoint, that is, 2437 MHz; it's not necessary for the signal to span channel 6's entire 22 MHz range (Figure 1).
![]() Figure 1. 802.11 frequency (channel) assignments |
But first, let me explain narrowband, fixed-frequency transmitters—which will help you to better grasp DSSS. In the case of our 2.4 GHz ISM band unit, the carrier signal (oscillator) is set to 2437 MHz; an electrical mixer mathematically combines the carrier signal with data.
To keep it simple, let's transmit a digital sequence of bits and use Amplitude Shift Keying as the modulation method. Logical 0 is represented by a low-amplitude pulse, while a high-amplitude pulse represents logical 1. Mathematically we're forming the function:
E(t) = A(t) cos (2π f t) where A(t) is the sequence of digital pulses (the data, that is) and f is the carrier signal of 2437 MHz.
Things can get a bit complicated here because the digital pulse can be represented as a Fourier series with associated fundamental and harmonic frequencies. The sharper (in the time domain) the pulse edge, the broader the companion frequency set; the amplitude of each successive harmonic frequency decreases (rolls off). (We're into Fourier decomposition of digital pulses now but don't need to go further; if you want more details check Wikipedia or a third-year EE textbook.)
We'll avoid the tricks involving configurations such as raised cosine and Gaussian pulses, and instead use a straight pulse and let the electrical circuit perform low-pass filtering (that is, round off its edges), keeping in mind that too much rounding will interfere with the receiver's ability to determine when one pulse ends and the next begins.
The net result of all this is double sideband (DSB) modulation of the 2437 MHz carrier signal.
DSSS is fundamentally different from FHSS, which leaves the data alone and varies the carrier frequency. Instead, DSSS leaves the carrier frequency fixed and mixes bits with the data. Different philosophies direct how to "correctly" interleave the spreading code bits with the data bits.
Therefore, start with your narrowband transmitter with its fixed carrier frequency of 2437 MHz. To interleave your data bits with spreading PN code, define the spreading code length, which is formed either by an N-length shift register or a microprocessor. A logic circuit based around an Exclusive OR (XOR) logic function is required (Figure 2).
![]() Figure 2. XOR logic |
Please note that the receiver will have to "undo" the transmitter's interleaving process. We'll cover that next time.
Wise Guy is the problem-solving persona of WINA, the Wireless Industrial Networking Alliance ( www.wina.org) . Send your questions to wiseguy@questex.com.
| sensorsonline: EtherNet/IP Absolute Encoders from TR Electronic: TR Electronic, Troy, MI, offers the CEx58 Series of absolute e... http://t.co/acdzvH4K | |
| sensorsonline: EtherNet/IP Absolute Encoders from TR Electronic: TR Electronic, Troy, MI, offers the CEx58 Series of absolute e... http://t.co/acdzvH4K | |
|
|
|
| sensorsonline: Capacitive Accelerometers from Silicon Designs: The Model 2266 from Silicon Designs Inc., Kirkland, WA, is a hig... http://t.co/hpsQ2L2K | |
| sensorsonline: Capacitive Accelerometers from Silicon Designs: The Model 2266 from Silicon Designs Inc., Kirkland, WA, is a hig... http://t.co/hpsQ2L2K | |
|
|
|
| sensorsonline: Signal Conditioning Board from Fredericks: The Fredericks Co., Huntingdon Valley, PA, offers the RS-485 Mini-Sig... http://t.co/OgK0CY5a | |
| sensorsonline: Signal Conditioning Board from Fredericks: The Fredericks Co., Huntingdon Valley, PA, offers the RS-485 Mini-Sig... http://t.co/OgK0CY5a | |
|
|
|
| sensorsonline: Sensors Expo Exhibitor Inquiry: Sensors Expo Exhibitor Inquiry read more http://t.co/YQ9z3CeH | |
| sensorsonline: Sensors Expo Exhibitor Inquiry: Sensors Expo Exhibitor Inquiry read more http://t.co/YQ9z3CeH | |
|
|
|
| sensorsonline: Sensors Expo & Conference Attendee Inquiry: Sensors Expo & Conference Attendee Inquiry read more http://t.co/nqum9XX9 | |
| sensorsonline: Sensors Expo & Conference Attendee Inquiry: Sensors Expo & Conference Attendee Inquiry read more http://t.co/nqum9XX9 | |
|
|
|
| sensorsonline: Creativity and Problem Solving: Engineers are creative; I don't think it's possible to be a problem solver witho... http://t.co/GiO0fIYR | |
| sensorsonline: Creativity and Problem Solving: Engineers are creative; I don't think it's possible to be a problem solver witho... http://t.co/GiO0fIYR | |
|
|
|
| sensorsonline: M2M WiFi Access Point from B&B Electronics: The embeddable APMG-Q551 and external APXG-Q5420 from B&B Electronic... http://t.co/bSk7WnYM | |
| sensorsonline: M2M WiFi Access Point from B&B Electronics: The embeddable APMG-Q551 and external APXG-Q5420 from B&B Electronic... http://t.co/bSk7WnYM | |
|
|
|
| sensorsonline: WiFi-Enabled Lighting Control from Acuity Brands: The nWifi system from Sensor Switch has been added to the nLig... http://t.co/VI3uVlCg | |
| sensorsonline: WiFi-Enabled Lighting Control from Acuity Brands: The nWifi system from Sensor Switch has been added to the nLig... http://t.co/VI3uVlCg | |
|
|
|
| sensorsonline: MEMS Industry Group Explores Product Realization at Sensors Expo & Conference 2012: MEMS Industry Group Explores... http://t.co/aQt7Hz88 | |
| sensorsonline: MEMS Industry Group Explores Product Realization at Sensors Expo & Conference 2012: MEMS Industry Group Explores... http://t.co/aQt7Hz88 | |
|
|
|
| sensorsonline: Keynote: A Human-Computer-City Interface: Cities are facing unparalleled opportunities now that distributed digi... http://t.co/ZreUVMEq | |
| sensorsonline: Keynote: A Human-Computer-City Interface: Cities are facing unparalleled opportunities now that distributed digi... http://t.co/ZreUVMEq | |
|
|
|
| sensorsonline: Joshua Dennis: http://t.co/74eYv1kW | |
| sensorsonline: Joshua Dennis: http://t.co/74eYv1kW | |
|
|
|
| sensorsonline: IEEE 802.15.4 IC Market Expected to Expand: According to ABI Research, 850 million IEEE 802.15.4 chipsets, which... http://t.co/EC1mttMz | |
| sensorsonline: IEEE 802.15.4 IC Market Expected to Expand: According to ABI Research, 850 million IEEE 802.15.4 chipsets, which... http://t.co/EC1mttMz | |
|
|
|
| sensorsonline: RT @SensorsExpo: sessions added to the @sensorsonline live theater at #sensors12 included with all passes. register in advance for FREE! ... | |
| sensorsonline: RT @SensorsExpo: sessions added to the @sensorsonline live theater at #sensors12 included with all passes. register in advance for FREE! ... | |
|
|
|
| sensorsonline: check out #sensorsweekly featuring @OrthoSensor_ @THINERGY @ATT @Freescale @MiFi @Plantronics @Cymbet http://t.co/6lHQ8eJd | |
| sensorsonline: check out #sensorsweekly featuring @OrthoSensor_ @THINERGY @ATT @Freescale @MiFi @Plantronics @Cymbet http://t.co/6lHQ8eJd | |
|
|
|
| sensorsonline: #sensorsmag whats new is out featuring @Endress_Hauser in "the proper use of guided-wave radar in steam loops" http://t.co/ccOdeo4Y | |
| sensorsonline: #sensorsmag whats new is out featuring @Endress_Hauser in "the proper use of guided-wave radar in steam loops" http://t.co/ccOdeo4Y | |
|
|
|
| sensorsonline: The Future of Context-Interactive Devices: Context awareness has become a hot topic in mobile devices. The idea ... http://t.co/9olhd6td | |
| sensorsonline: The Future of Context-Interactive Devices: Context awareness has become a hot topic in mobile devices. The idea ... http://t.co/9olhd6td | |
|
|
|
| sensorsonline: Expo Floor Pavilions: Expo Floor Pavilions read more http://t.co/pGCLGaSc | |
| sensorsonline: Expo Floor Pavilions: Expo Floor Pavilions read more http://t.co/pGCLGaSc | |
|
|
|
| sensorsonline: Concurrent Events: Concurrent Events to be held at Sensors Expo & Conference read more http://t.co/MmGjwE4N | |
| sensorsonline: Concurrent Events: Concurrent Events to be held at Sensors Expo & Conference read more http://t.co/MmGjwE4N | |
|
|
|
| sensorsonline: Connecting Sensors to the Cloud Made Easy!: read more http://t.co/XXKxznjZ | |
| sensorsonline: Connecting Sensors to the Cloud Made Easy!: read more http://t.co/XXKxznjZ | |
|
|
|
| sensorsonline: 01-May-2012: 01-May-2012 read more http://t.co/JSqONRv7 | |
| sensorsonline: 01-May-2012: 01-May-2012 read more http://t.co/JSqONRv7 | |
|
|
|
| sensorsonline: HTA to Advance Organic Electronics Production: The European alliance aims to revolutionize the way printed elect... http://t.co/CsPbGVoz | |
| sensorsonline: HTA to Advance Organic Electronics Production: The European alliance aims to revolutionize the way printed elect... http://t.co/CsPbGVoz | |
|
|
|
| sensorsonline: OrthoSensor Secures Series B Financing: The company has closed on an additional $15 million in financing, bringi... http://t.co/24KSehgO | |
| sensorsonline: OrthoSensor Secures Series B Financing: The company has closed on an additional $15 million in financing, bringi... http://t.co/24KSehgO | |
|
|
|
| sensorsonline: RT @Sensorsportal: Smart Sensors Systems Design - one day tutorial at Sensors Expo & Conference: 5 June 2012: 9:00-17:00.: http://t. ... | |
| sensorsonline: RT @Sensorsportal: Smart Sensors Systems Design - one day tutorial at Sensors Expo & Conference: 5 June 2012: 9:00-17:00.: http://t. ... | |
|
|
|
| sensorsonline: #productpicks is out w/ @ABBMeasurement @analog_ic_news @LinearTech @Cognex_Corp @GoodrichCorp @picotech @monnitsensors http://t.co/Fn1LOtK9 | |
| sensorsonline: #productpicks is out w/ @ABBMeasurement @analog_ic_news @LinearTech @Cognex_Corp @GoodrichCorp @picotech @monnitsensors http://t.co/Fn1LOtK9 | |
|
|
|
| sensorsonline: Cloudera: Cloudera read more http://t.co/6Welk86y | |
| sensorsonline: Cloudera: Cloudera read more http://t.co/6Welk86y | |
|
|
|
| sensorsonline: Developing an Ultra Low Power CO2 Sensor: Enhanced building automation in relation to air quality control & moni... http://t.co/piIzBqon | |
| sensorsonline: Developing an Ultra Low Power CO2 Sensor: Enhanced building automation in relation to air quality control & moni... http://t.co/piIzBqon | |
|
|
|
| sensorsonline: May R&D Round Up: This month we have a mini sensor that measures the magnetic activity that happens inside your ... http://t.co/JzQPNONF | |
| sensorsonline: May R&D Round Up: This month we have a mini sensor that measures the magnetic activity that happens inside your ... http://t.co/JzQPNONF | |
|
|
|
| sensorsonline: Sensors Alumni Club 2: Sensors Alumni Club 2 read more http://t.co/dzUwk2HK | |
| sensorsonline: Sensors Alumni Club 2: Sensors Alumni Club 2 read more http://t.co/dzUwk2HK | |
|
|
|
| sensorsonline: CEA-Leti Promotes LETI-3S Concept: The latest addition to CEA-Leti’s extensive range of collaboration offers on ... http://t.co/6CYvqb6u | |
| sensorsonline: CEA-Leti Promotes LETI-3S Concept: The latest addition to CEA-Leti’s extensive range of collaboration offers on ... http://t.co/6CYvqb6u | |
|
|
|
| sensorsonline: Ethernet Adapter from WAGO: The 756 Series M12 Socket Ethernet Adapter from WAGO Corp., Germantown, WI, is a tra... http://t.co/uoD6Qy3t | |
| sensorsonline: Ethernet Adapter from WAGO: The 756 Series M12 Socket Ethernet Adapter from WAGO Corp., Germantown, WI, is a tra... http://t.co/uoD6Qy3t | |
|
|
|
| sensorsonline: Host Test Suite from HART Communication Foundation: The new enhanced HART DDL/EDDL Host Test Suite v2.0 from the... http://t.co/DrDDPjpR | |
| sensorsonline: Host Test Suite from HART Communication Foundation: The new enhanced HART DDL/EDDL Host Test Suite v2.0 from the... http://t.co/DrDDPjpR | |
|
|
|
| sensorsonline: Bio-Inspired Smart Camera from Brain Vision Systems: The BIPcam from Brain Vision Systems, Paris, France, is a b... http://t.co/V0FpnMJI | |
| sensorsonline: Bio-Inspired Smart Camera from Brain Vision Systems: The BIPcam from Brain Vision Systems, Paris, France, is a b... http://t.co/V0FpnMJI | |
|
|
|
| sensorsonline: Integration of Thin-Film Thermoelectrics in New Energy Harvesting Sensor Applications: Advances in distributed s... http://t.co/Ib6URW8T | |
| sensorsonline: Integration of Thin-Film Thermoelectrics in New Energy Harvesting Sensor Applications: Advances in distributed s... http://t.co/Ib6URW8T | |
|
|
|
| sensorsonline: Tim Worst: http://t.co/1Dr69rS8 | |
| sensorsonline: Tim Worst: http://t.co/1Dr69rS8 | |
|
|
|
| sensorsonline: GEMAC expands its reach with innovative sensor technologies: German sensor specialist focuses on growing US dema... http://t.co/9AHfwbCJ | |
| sensorsonline: GEMAC expands its reach with innovative sensor technologies: German sensor specialist focuses on growing US dema... http://t.co/9AHfwbCJ | |
|
|
|




