The AD9913 direct digital synthesizer works as a digital waveform synthesizer that can generate signals with very precise resolution. When it comes to radio receivers, the AD9913 with <0.05Hz resolution can be used as...
The TFT GPS clock with touch control which has been designed by Bruce E. Hall, W8BH,Β is a very nice clock with a large and easily readable 3.2" color display. Its three different screens have been nicely laid out and designed also. The processor is an STM32 Blue Pill.
I cloned the software and modified it in two simple ways:
1. EU option
This is a backwards compatible version which can be Europeanized with formats for date and units. It also has possibility for removing the display of the battery icon, when running from a USB supply.
New boolean variables to set:
US_UNITS - if false: m, kmh, Little-endian date with '.', if true: feet, mph, Middle-Endian date with '/'
BATTERY_DISPLAY - true: as original code, false: no display of battery icon and status
The satellite count in the upper right corner is more agile so it now drops to 0 whenever the GPS signal is lost, rather than stay forever at last satellite count.
In an attempt to learn more about microcontroller programming I have done a little bit of training during this Covid-19 lockdown:
My first real attempt to use these skills is below. I've used a GPS 1pps signal to accurately count an external frequency. This is a GPS disciplined freuqnecy counter:
Good, isn't it?
Here is a picture of me (with Covid-19 dog clipper hair cut) and my beloved Bonnie dog:
To counter any drift in the DDS, I've modified my AD9850 board to use an external signal for the clock and configured my Leo Bodnar GPS referenced oscilator to give me 10MHz from output 1 and 125MHz from output 2, thus:
The 125MHz is now used to drive the DDS. I'd be delighted to receive reports from the beacon, the CW signal is on 50.030 and every multiple of 10 mins it sends a 2 min WSPR transmission on 50.293 + 30Hz.
I've been using the STM32 processor (STM32F103 for those playing along at home) based "Blue Pill" board. This board is compatible with the Arduino IDE and I have been using it with the ILI9341 super duper TFT display module.
This is the board in question:
The STM32 board support can be added easily to the Arduino IDE, just add this line:
Once you have done that you can then install the STM32 cores from the board manager:
I wrote some very simple code to generate Pi using floating point maths:
Set to calculate 100,000 itterations, the good old Arduino Nano ran this code inΒ 29.60099983215332031250 seconds. This Blue Pill board runs the same calculation inΒ 3.07200002670288085937 seconds. Cooking!
Here' how I have wired the test up for the TFT:
I have used the library called "TFT_eSPI" which is here. In the more modern Arduino IDE you just search for it and install from the library manager.
Once you have done that you need to make a couple of edits to the "User_Setup" file which you can find in the libray directory.
Here's mod 1:
and this is mod 2 - please use pins of your choice here:
Once you have done that all should be well!
Please note that this library and config only works with the Arduino STM32 cores and the HID bootloader.....
In my never ending desire to fiddle with Microprocessors and/or Micro controllers, I found these boards on my local Amazon with prime next day delivery:
They are called a "Blue Pill" for some reason?!?!? The boards I ordered are these. At the time of writing I could buy 5 of these boards for Β£15 GBP delivered.
You can use them directly with an external USB -> Serial converter, but you can also upload a bootloader and make the on-board USB port work successfully.
I followed the instructions here:
the speed of these processors is excellent and when used in conjunction with the ILI9342 displays I have been using recently they work very well indeed.
You can see an example of the processor in action in my latest musings on the BITX:
All very impressive and I still fail to believe how inexpensive these MCUs are.
** UPDATE **
There is an alternative bootloader (its much smaller) available for this board now, you can find instructions for using it below. This uses the HID method for uploading: