Teensy SDR

Teensy-SDR complete in enclosure

https://www.youtube.com/channel/UCz7YtteHS_qk7aumEbhIShg   (some interesting video’s how the TeensySDR is working)


A friend of my want to build the Teensy-SDR designed by Rich Heslip VE3MKC, so he asked me to test the software and made it ready for loading it in his Teensy 3.1. Because I like that challenge I bought a Teensy and set-up my Arduino IDE for the Teensy and start testing. Besides some missing libraries the software was compiling without further errors.


But the next question was to change the original 1.8″ TFT screen to a 3.2″ TFT screen. That was some more work but I also succeeded. But the only problem is that I did not have the needed Audio shield for the Teensy to do the audio work and also display the audio spectrum including a waterfall display.

I also bought a Sparkfun Teensy-Arduino adapter to make it possible using Arduino shields on the Teensy. This board is implemented and in use for testing the Teensy-SDR software. See the picture above.


A new Teensy-SDR design…
Things are going fast…  Frank, DD4WH has build his own Teensy-SDR based on the Teensy-SDR designed by Rich. He was willing to sent his software and I’m impressed how it looks.
Because this SDR uses a Real Time Clock, I installed the backup battery and the clock x-tal (which is part of the Sparkfun kit) and after compiling, the RTC was running, which you can see on the display. The next step is, after I received the Audio shield, to test the SDR and replace the 1.8″ 128×160 by a 3.2″  240×320 TFT screen ( I used a 3.2″ screen for the Raspberry Pi).


Teensy-SDR DD4WH

Teensy-SDR DD4WH

I have modified the software from Frank for using  a 3.2″ 320×240 pixel TFT display.  That was really a job because the positions of all the displayed functions should be changed. Especially the spectrum display was a challenge! Below you can see the results.  Frank has made 6 modifications on his software, which you can find (including the software) on the blog of Rich Heslip. See the link at the top of this page.

Download the Teensy-SDR software modified for the 3.2″ TFT screen (with permission of Frank DD4WH).
I’m using the Arduino IDE version 1.8.5.  The software below is modified for compiling with version 1.8.x. with no errors.
Latest version with better performance but not proper working sound recording from here  (Feb. version) or
Last but one version with good working sound recorder from here (Dec. version).
Needed Teensy-SDR libraries (si5351 and Time) download from here.
The assembly wiring diagram can be downloaded from here.

Before compiling make sure that the Si5351 board settings (X-tal freq and I2C address) in de si5351.h file are the right ones for your board.

Before starting the software:
–  Be sure that a micro SD card (4 Gb) is inserted in the SD slot on the audio board otherwise the software won’t start.
Starting the software for first time use you have to initialize the EEPROM by the following steps:
–  Remark (//) the EEPROMLOAD line in the Setup section of the sketch.
–  Recompile the software and run the SDR.
–  Adjust the output frequency on CLK2 with the Set Cal factor.
–  Save your settings.
–  Remove the remark (//) from the EEPROMLOAD line.
–  Recompile.
–  Start the SDR.

When you are using the software of Frank beware to use the modified mixer.h file, added to the software suite from Frank. If you are using the wrong (not modified) mixer.h file you get a very bad unwanted sideband suppression at SSB. The mixer.h file is part of the Teensy Audio library.
You find this file at:   C:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries\Audio

Note:  I found that the last version of the Audio library has an all ready modified mixer.h file

Below the modification on two places in the mixer.h file:
change:  else if (gain < 0.0f) gain = 0.0f;                  
to:          else if (gain < -127.0f) gain = -127.0f;


If you want to run the Teensy-SDR not only on USB power, you have to remove a small track between the two pads (left from the Vin pin) on the backsite of the Teensy board. See picture below.

It’s also a good idea to add an elco on the two big pads and add a diode on the two small pads (where you have removed the small track) so you can use the Teensy-SDR on USB- or 12V external power as well.

One of the new features was the addition of a notch filter. I have to say that the notch filter is working perfect. You can change the position of the notch in steps of 10 Hz left or right to the Rx center frequency.

Teensy-SDR 240x320 TFT

Teensy-SDR on a 240×320 TFT  (Notch is switched on)


Exploded view of the Teensy-SDR

Exploded view of the Teensy-SDR


This week (may 2016) I have build the Teensy-SDR in an enclosure made from PCB material. Front is made from laminated photo paper. I’m satisfied by the result….
My friend Joris decided to design a more professional PCB for the SDR front-end. Here you can download the schematic. In the Inside View picture below you can see on the right the (green) SDR front-end PCB.  Unfortunately there are no longer front-end PCB’s available.

Inside view

Inside view