Teensy SDR

Teensy-SDR complete in enclosure

https://rheslip.blogspot.nl/2015/01/teesy-sdr-project-update.html
https://www.antratek.nl/boards/teensy
https://learn.sparkfun.com/tutorials/teensy-arduino-shield-adapter-hookup-guide
https://www.youtube.com/channel/UCz7YtteHS_qk7aumEbhIShg   (some interesting video’s how the Teensy SDR 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.

Teensy-SDR

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 the 3.2″ RPi LCD V4 screen from WaveShare).

 

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 download from here  (New Design) or
Last but one version with good working sound recorder download from here (Old Design).
Notes:
–  Both sketches are updated (10/2018) with smoother bandwidth graphics and displayed bandwidth text.
–  You need the old version of the si5351 library and the Time(Lib) library as well, which you can download  from here .

Building the Teensy SDR hardware
The assembly wiring diagram can be download from here
Instructions how to assemble the Teensy-Arduino-Shield can be found here.

Using external power  
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 backside of the Teensy board. See picture below.

It’s also a good idea to add a 150uF capacitor on the two big pads.
Solder on the backside of the Teensy-Arduino-Shield  a diode between the Vin and VUSB connections so you can use the Teensy-SDR on USB- or 12V external power as well. Solder the cathode on the Vin point and the anode on the VUSB point. See picture below.

Before compiling make sure that the Si5351 board settings (X-tal freq and I2C address) in the RWE_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 (Line 642 in Old Design or line 681 in New design sketch).
–  Recompile the software and run the SDR.
–  Adjust the output frequency on CLK2 with the Set Cal factor.
–  Save your settings with the Menu-1 Save option.
–  Remove the remark (//) from the EEPROMLOAD line.
–  Recompile.
–  Start the SDR.

Note: When you find that the unwanted sideband (using LSB or USB) is badly suppressed then you probably are using an old Teensy Audio library. Please update in that case the library to the latest version.

 

Notch filter
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 3.2″ TFT  (Notch is switched on)

 

Exploded view of the Teensy-SDR

Exploded view of the Teensy-SDR

 

Enclosure
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.  As you can see I’m now using a smaller TFT screen. It’s a 2.8″ TFT SPI 240×320 V1.1 module, bought at Aliexpress.com.

Inside view

Inside view