¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

Re: Homebrew spectral analyzer

 

re,?
in boot log you have:
TGIF Si4432 Good to go? - regRead = 03 _cs = 2? Type 8 Version 6 Status 20?
End of Init - _cs = 2
?TGLO Si4432 Good to go? - regRead = 03 _cs = 25? Type 8 Version 6 Status 20?
End of Init - _cs = 25

Does this? correspond to these 2 lines of the My_sa. h?
#define TG_IF_INSTALLED
#define TG_LO_INSTALLED

In that case I will add the 3rd line and recompile??
#define? TG_ATT_INSTALLED?

cdt


Re: Homebrew spectral analyzer

 

Re,
1)? you wrote:? If you have installed the SI4432 for the tracking generator then make sure #define TG_IF_INSTALLED and TG_LO_INSTALLED and TG_ATT_INSTALLED are not commented out in the same file.? I did not see the debug messages indicating that they had been found.

i have on my_sa.h? ?--->>> not a line TG_ATT_INSTALLED? ? ---> to add???
here want i have:
/*
?* Comment both lines below out if you do not have the tracking generator
?* If only one SI4432 comment out the TG_LO_INSTALLED line
?* Leave both uncommented if you have the two SI4432 TG option?
?*/
#define TG_IF_INSTALLED
#define TG_LO_INSTALLED
? ? ? ?here add? #define? TG_ATT_INSTALLED? ???
? ? ? other thing to do??
/*

2)
now it's good for the wifi with SSID and Password:? ? ? ? ?be see with software whoisonmywifi


something to do to connect on it??,


cdt


Re: Homebrew spectral analyzer

 

Hello Gerard,
I guess your issues, to get the Web Server running, are related to missing upload of the "data" subdirectory (under your sketch folder) into the SPIFFS file system on the ESP32.
You will need to execute the "ESP32 Sketch Data Upload" in the "Tools" menu:


If you don't have "ESP32 Sketch Data Upload" in your "Tools" menu, you will have to install it.
Please follow the instructions on?.

BTW: This will ONLY work with Arduino IDE 1.8.x and NOT with 2.0.x, as the data upload tool is not available for that IDE.
--
Joerg, DB2OO


Re: Homebrew spectral analyzer

 

Hello,

thank you for your answer
I¡¯m going to test this afternoon
I thought it created a new Wi-Fi network and we had to connect to it, but in fact I understood that it¡¯s the opposite, it¡¯s ESP that will connect to my WIFI. So it must need the password and the SSID of mine.
and maybe that¡¯s what he was trying to do, but not with the right information

Note that the SPIFFS.begin(true) seems to correct the error.??E (2653) SPIFFS: mount failed, -10025??
cdt
?
.


Re: Homebrew spectral analyzer

 

Hi Gerard.

You are making good progress, well done.
I have not had chance to look into the SPIFFS.begin() issue.? I guess the ESP32 libraries have been updated and the function now works in a different way to before.? It would be interesting to know if putting this back to just SPIFF.begin() instead of SPIFF.begin(true) works - in theory it should do as the SPIFFS will now be initialised on your ESP32 module.

For the WiFi you need to edit your my_SA.h #define WIFI_SSID and #define WIFI_PASSWORD to suit your wifi.

If you have installed the SI4432 for the tracking generator then make sure #define TG_IF_INSTALLED and TG_LO_INSTALLED and TG_ATT_INSTALLED are not commented out in the same file.? I did not see the debug messages indicating that they had been found.

Nearly there!

Dave


Re: Homebrew spectral analyzer

 

re,
I have tried to put?SPIFFS.begin(true), it's same to work....

but an other error et no WIFI
cdt

.......
Connecting...
Connecting to: yourSSID?
Connection Failed!
WebSockets started
Building Server..
Setup - WiFi access point started - browse to

...


Re: Homebrew spectral analyzer

 

Some issue here?
pb of bootloader?




what to do exactly?
replace? ? ? ? ? ?SPIFFS.begin()? ? ? ? ? ? ? ?by? ?SPIFFS.begin(true)
??????
cdt


Re: Homebrew spectral analyzer

 

Hello,

I have no screen at this time.
I installed the latest version of Arduino 2.04
I had to install several librairies because not present in the simpleSA_011.zip file
By dint of patience the compilation is passed
but no WIFI view, (but blue light)? whereas before I saw an ESP32? on the discovery WIFI
?
Here is the result in the serial monitor on the first boot
there is a mistake on the wifi
How many librairie?

Others errors?
??

cdt
rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:1
load:0x3fff0018,len:4
load:0x3fff001c,len:1044
load:0x40078000,len:10124
load:0x40080400,len:5856
entry 0x400806a8
?TX Si4432 Good to go? - regRead = 03 _cs = 5? Type 8 Version 6 Status 20?
End of Init - _cs = 5
?RX Si4432 Good to go? - regRead = 03 _cs = 4? Type 8 Version 6 Status 20?
End of Init - _cs = 4
Bytes got = 0 - aiming for 456.? No bandpass filter calibrations saved? ? ? ? ? ? ?-------> think Normal
Bandpass Filter Calibration values:
?
filter: 0, rbw10=26 , cal=0.000000?
filter: 1, rbw10=28 , cal=0.000000?
filter: 2, rbw10=31 , cal=0.000000?
filter: 3, rbw10=32 , cal=0.000000?
filter: 4, rbw10=37 , cal=0.000000?
filter: 5, rbw10=42 , cal=0.000000?
filter: 6, rbw10=45 , cal=0.000000?
filter: 7, rbw10=49 , cal=0.000000?
filter: 8, rbw10=54 , cal=0.000000?
filter: 9, rbw10=59 , cal=0.000000?
filter: 10, rbw10=61 , cal=0.000000?
filter: 11, rbw10=72 , cal=0.000000?
filter: 12, rbw10=82 , cal=0.000000?
filter: 13, rbw10=88 , cal=0.000000?
filter: 14, rbw10=95 , cal=0.000000?
filter: 15, rbw10=106 , cal=0.000000?
filter: 16, rbw10=115 , cal=0.000000?
filter: 17, rbw10=121 , cal=0.000000?
filter: 18, rbw10=142 , cal=0.000000?
filter: 19, rbw10=162 , cal=0.000000?
filter: 20, rbw10=175 , cal=0.000000?
filter: 21, rbw10=189 , cal=0.000000?
filter: 22, rbw10=210 , cal=0.000000?
filter: 23, rbw10=227 , cal=0.000000?
filter: 24, rbw10=240 , cal=0.000000?
filter: 25, rbw10=282 , cal=0.000000?
filter: 26, rbw10=322 , cal=0.000000?
filter: 27, rbw10=347 , cal=0.000000?
filter: 28, rbw10=377 , cal=0.000000?
filter: 29, rbw10=417 , cal=0.000000?
filter: 30, rbw10=452 , cal=0.000000
filter: 31, rbw10=479 , cal=0.000000?
filter: 32, rbw10=562 , cal=0.000000?
filter: 33, rbw10=641 , cal=0.000000?
filter: 34, rbw10=692 , cal=0.000000?
filter: 35, rbw10=752 , cal=0.000000?
filter: 36, rbw10=832 , cal=0.000000?
filter: 37, rbw10=900 , cal=0.000000?
filter: 38, rbw10=953 , cal=0.000000?
filter: 39, rbw10=1121 , cal=0.000000?
filter: 40, rbw10=1279 , cal=0.000000?
filter: 41, rbw10=1379 , cal=0.000000?
filter: 42, rbw10=1428 , cal=0.000000?
filter: 43, rbw10=1678 , cal=0.000000?
filter: 44, rbw10=1811 , cal=0.000000?
filter: 45, rbw10=1915 , cal=0.000000?
filter: 46, rbw10=2251 , cal=0.000000?
filter: 47, rbw10=2488 , cal=0.000000?
filter: 48, rbw10=2693 , cal=0.000000?
filter: 49, rbw10=2849 , cal=0.000000?
filter: 50, rbw10=3355 , cal=0.000000?
filter: 51, rbw10=3618 , cal=0.000000?
filter: 52, rbw10=4202 , cal=0.000000?
filter: 53, rbw10=4684 , cal=0.000000?
filter: 54, rbw10=5188 , cal=0.000000?
filter: 55, rbw10=5770 , cal=0.000000?
filter: 56, rbw10=6207 , cal=0.000000?
TGIF Si4432 Good to go? - regRead = 03 _cs = 2? Type 8 Version 6 Status 20?
End of Init - _cs = 2
?TGLO Si4432 Good to go? - regRead = 03 _cs = 25? Type 8 Version 6 Status 20?
End of Init - _cs = 25
E (2653) SPIFFS: mount failed, -10025? ? ? ? ? ? ? ? ? ? ? ? ? ? ------> Here error, so no WIFI??? Why??
SPIFFS Mount Failed
?
WiFi not enabled!
?
?
simpleSA Version 0.11 Initialization Complete
?
simpleSA Spectrum Analyzer Version 0.11 - User Commands:
?
Sweep Settings:
?
? ? START.........Sweep start frequency, currently: 0 Hz
? ? STOP..........Sweep stop frequency, currently:? 100,000,000 Hz
? ? CENTER........Sweep center frequency, currently: 50,000,000 Hz
? ? SPAN..........Sweep frequency span, currently:? 100,000,000 Hz
? ? MARKER........It's complicated; read the documentation!
? ? FOCUS.........Set single frequency mode with narrow bandwidth
? ? RBW...........Set or get resolution bandwidth (RBW); currently: 2.6 KHz
? ? ATTEN.........Set or get the attenuator setting; currently: 0dB
? ? EXTGAIN.......Set or get the external gain setting; currently: 0dB
? ? SPUR......... Turn Spur Reduction 'ON' or 'OFF'; currently: OFF
? ? PAUSE.........Pause or resume the sweep
?
Mode selection:
?
? ? SALO..........Set to analyse mode low frequency range
? ? SGLO..........Set to signal generator mode low frequency range
? ? IFSWEEP.......Set to IF Sweep mode to analyse the TinySA SAW filters
? ? RXSWEEP.......Set to RX Sweep mode to analyse the TinySA FIR filters
? ? BANDSCOPE.....Set to BANDSCOPE mode
? ? OTA...........Set to OTA update mode to download firmware or SPIFFS over wifi
?
Display Options:
?
? ? TRACES........Turn display traces on or off ['GAIN' or 'dB']
? ? PREAMP/GAIN...Set or get the receiver preamp gain
? ? ? ? ? ? ? ? ? See documentation for allowed values
GRIDREF.......Set the grid reference level; currently: -10dB
? ? SCALE.........Set the dB/horizontal line value; currently: 10dB
? ? WFMIN.........Set the minimum RSSI level for waterfall colouring: 17
? ? WFGAIN........Set the gain for waterfall colouring: 0
?
Signal Generator Commands:
?
? ? SGON..........Turn on signal generator output
? ? SGOFF.........Turn off signal generator output; currently 0
? ? SGFREQ........Signal Generator frequency, currently: 14,000,000 Hz
? ? SGLODRIVE.....Local oscillator drive level in signal generator mode [0 to 7]; currently: 6
? ? SGRXDRIVE.....RX SI4432 oscillator drive level in signal generator mode [0 to 4]; currently: 3
Tracking Generator Commands:
?
? ? TRACKON.......Turn on tracking generator output
? ? TRACKSIG......Turn on tracking generator signal generator output
? ? TRACKOFF......Turn off tracking generator output; currently 0
? ? TGLODRIVE.....Local oscillator drive level in tracking generator mode [0 to 7]; currently: 6
? ? TGIFDRIVE.....Local oscillator drive level in tracking generator mode [0 to 7]; currently: 3
? ? TGOFFSET......Tracking generator offset from SA IF; currently: 0
? ? TGFREQ........Tracking generator signal generator frequency; currently: 14000000
?
Other Commands:
?
? ? DRIVE.........Local oscillator drive level [0 to 7]; currently: 6
? ? SAVE .........Save the current scan configuration [0 to 4]
? ? RECALL........Recall a saved scan configuration [0 to 4]
? ? FREQ..........Set or get the frequency for the selected VFO
? ? HELP (or ?)...Show this menu
? ? STEPS.........Sweep samples; currently: 290
DELAY.........Timestep in uS, currently: 6800uS
? ? OFFDEL........Timestep in uS for Bandscope, currently: 5000uS
? ? VFO...........Set or get active VFO [R, ( L or T ), I(tg If), G(tG LO)]; currently: RX (0)
?
Debugging and Troubleshooting Commands:
?
? ? IF_FREQ.......Set the IF (receiver) frequency [433 to 435MHz]; currently: 433,920,000 Hz
? ? REGDUMP.......Display a dump of all the registers for the selected VFO
? ? RSSI..........Output RSSI readings until the 'Q' command is entered
? ? ? ? ? ? ? ? ? or one time only ['C' or '1']; the default is once.
? ? QUIT (or Q)...Terminate RSSI output
? ? REGISTER......Read or write a Si4432 register for the selected VFO
? ? REF_FREQ......Set or get the transmitter GPIO2 reference frequency
? ? TUNE..........Tune the frequency of the selected VFO
? ? ACTUAL_PWR....Calibrate the indicated power level
? ? CONFIG_SAVE...Save the hardware configuration parameters
? ? WiFiTIME......Target web page Chart Update time interval in ms
? ? WiFiPTS.......No of points in each data chunk pushed to the web clients
? ? SKTINT........Interval between check for websocket messages if no client connected
? ? IFSIGNAL......Frequency of signal injected for IF Sweep (External or Ref)
? ? BPFCAL........Start SI4432 bandpass filter calibration - RXSweep mode only
weepLo dBadjust = -120.000000; leveloffset = 0.000000; attenuate = 0, ext gain = 0.000000, bpfCal = 0.000000
?
?
END
?


Re: Homebrew spectral analyzer

 

Hello,
This morning, i try to made a compilation
i think have the solution in an other post for using a IL9341 screen and how to? resold the compilation error? "TFT_eSPI.h: No such file or directory"
I will test it.

Wrote by M0WID:

Description:
Setup files for the TFT_eSPI library. Place the M0WID_Setup_ILI9341_TinySA.h in your documents\Arduino\libraries\TFT_eSPI\User_Setups folder, and edit the User_Setup_Select.h in the libraries\TFT_eSPI folder to point to it by commenting out the #include <User_Setup.h> and adding #include <User_Setups/M0WID_Setup_ILI9341_TinySA.h>, then recompile. You can have different setups for different projects using teh TFT_eSPI library, but the User_Setup_Select.h file needs editing each time you change project if the pins etc are different. The WA2FZW setup file is essentially the same but for some reason he needed to run the display at slower speed, seems to be resolved now.


Re: Homebrew spectral analyzer

 

Hello?
i need some help to put the software in thr ESP:
Tell me if this is good or if I comment a mistake.
I think we first have to decompress the SimpleSA_011.zip file

Then do we need to do something more with the TFT_eSPI Setupfiles.zip file???
There are three files inside.
M0WID_Setup_IL9341_tinySA. h
User_Setup. h
WA2FZW_Setup_IL9341tinySA.h
Is the M0WID_Sepup_IL9341_tinySA file required.? and copy it to the SimpleSa_011.zip decomposed files library if using an IL9341 screnn???

As I said, I haven¡¯t received the screen yet, but I have another 3.2 inches based on XPT2046.
Curiously, we are talking about speed for the XPT2046? in file User_Setup.h--->>>>
// The XPT2046 requires a lower SPI clock rate of 2.5MHz so we define that here:
? ?#define SPI_TOUCH_FREQUENCY? 2500000

my questions:
What exactly to do if you have an IL9341 screen?
?
What should be done (and modified) if using a XPT2046-based screen. May to add other thing (Librairy)???

I¡¯m not a programmer, if you can enlighten me
thank you


Re: Homebrew spectral analyzer

 

Hello Erik,
Thank's for the retur i will look that
I¡¯m only at the beginning of my tests
For now nothing uploaded in ESP
It is seen in the WIFI network, it is already a good point
I have to go back to the doc, there¡¯s an address to connect to it.
?I don¡¯t have the IL screen at this time, I have another but with an XT2046 chip, it must not work.(??)
here a picture of the mounting from above, the small circuits had the modification (removing components + connection wire). It¡¯s very SMALL!! lol
cdt


Re: Homebrew spectral analyzer

 

The simplest first test is if you can see the zero Hz peak. E .g. If the RX module can see the output of the LO as it leaks through the mixer.
--
HBTE Files section:?/g/HBTE/files
Erik, PD0EK


Re: Homebrew spectral analyzer

 

Hello,

thank's for your answer
For now I have not yet received the IL screen. I have another screen but I believe based on XT2046, I do not know if it can work.
Unless I try a Wi-Fi connection with the ESP if everything works right away.
I do have a question on CG2179.
I did add a capacitor as you indicated on the RF2 tab.? On the documentation they advise to put one also on the tab RFC. The values given are different from the 100NF






cdt


Re: Homebrew spectral analyzer

 

¿ªÔÆÌåÓý

I think the best test is to try the signal generator and the tracking generator in signal generator mode. ?Connect the sa connection on the simpleSa to your oscilloscope ideally with a 50 ohm terminator and set a frequency of say 10Mhz on the simpleSA signal generator. You should see a nice sine wave at 10Mhz, and you should be able to adjust the output level.?
Do the same with the tracking generator output.?

This tests the signal paths from each module, through the fir filters, the mixer, low pass filters and the attenuator as well as the communication with the esp32 all in one go. If there is no output then you need to start tracing. Unfortunately the frequency from the si modules will be very much higher than your oscilloscope bandwidth. ?if you are very lucky you may still be able to see some signal if you probe before the mixer but seeing nothing does not Necessarily mean that it is not working.?

Thanks

David Wilde


On 7 Apr 2023, at 9:56 am, Gerard <kabupos@...> wrote:

?EXTERNAL EMAIL: Do not click links or open attachments unless you recognize the sender and know the content is safe.
Hello,

My PCB is practically completely wired.
I have a nanovna, a 200mhz 4-way oscilloscope, a 60MHz FY6900 generator.
My question is how to test the differents modules depending on the sch¨¦matic. I think this is feasible.
Ex:?Injection of a signal and watching what happens at the output (ex filter)
After it would be necessary a global procedure of tests of the complete SimpleSA
?
cdt

?

Tetra Pak Ltd is a company registered in England and Wales. Company Number 551434. VAT Number GB-800446468 Tetra Pak Manufacturing (UK) Ltd is a company registered in England and Wales. Company Number 03878924. VAT Number GB-800446468 Registered office: The Foundation, Chester Business Park, Chester CH4 9QS.

Tetra Pak Processing UK Ltd is a company registered in England. Company Number 4259617. VAT Number GB-785712301 Registered office: Eagle House, Peregrine Business Park, Gomm Rd, High Wycombe, Bucks, HP13 7DL.

Tetra Pak (Ireland) Ltd is a company registered in Ireland. Company Number 28679. Vat Number IE9F49203D Registered office: 5th Floor, 1 Tuansgate, Belgard Square East, Tallaght, Dublin 24.

This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error), please notify the sender immediately and destroy this e-mail. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden.


Re: Homebrew spectral analyzer

 

Hello,

My PCB is practically completely wired.
I have a nanovna, a 200mhz 4-way oscilloscope, a 60MHz FY6900 generator.
My question is how to test the differents modules depending on the sch¨¦matic. I think this is feasible.
Ex:?Injection of a signal and watching what happens at the output (ex filter)
After it would be necessary a global procedure of tests of the complete SimpleSA
?
cdt


Re: Homebrew spectral analyzer

 

re,

I started removing components on mini pcb S4432.
In fact, I have a very thin cutter that I grinded to cut the memory legs.
So I cut the component in half, a little bit of flow, and I cut off the rest with soldering iron. It works very well.
I will put a picture when finished.
here my modify cutter
cdt
?


Re: Homebrew spectral analyzer

 

Hello,

There, I was busy troubleshooting a digital oscilloscope and I had set aside this SimpleSA.
Now the oscilloscope works and so I started cabling my board that I had modified, to actually put it in a box with power to make more table device.
No melting furnace, so everything was welded to iron.
No worries for SMD, the hardest was for QCC, welded from below via air choice. The circuits are tiny, but in principle the links are good and no short circuit.
As I was going through all this, I noticed a connector implantation error. (it is inverted) and a plane error on adding a rectifier bridge. A link was created on the Kicad schema and no control error.?
I still have to modify the SI4432 circuits and weld them.
see here
I have an other screen, dont known if it will work. To be see
cdt
?


Re: jFET oscillator on Specan

 

Hi,

I used 20.000 MHz ?20 pF crystals from Digikey.
part number 631-1091-ND
Purchased in January 2019z
tbey are made in China, Fox Electronics.

the first one I used worked in the oscillator.
i tuned the oscillator as Ashar Farhan described, by listening to an FM radio tuned around 100 MHz.

then I used a frequency counter to get it tuned closer to 100 MHz.

regards,
nigel va3nma




?


Re: Homebrew spectral analyzer

 

I didn't go further. The current status is HF, and there is still a resonance point of - 80dbm. LF can be used, but I can see a frequency point of 215MHz occasionally. However, when I move the LCD panel up, it disappears. The viewing code should be caused here:
uint32_t avoidSpurShift(uint32_t freq)
{
if ( (freq - bandwidth > 214900000) && (freq + bandwidth < 218000000) )
{
Serial.printf("avoid %u\n", freq);
return 500000.0;
}
else
return 0.0;
}

It does not affect the use.


Re: Homebrew spectral analyzer

 

Hello Blackberryer,
More news.?
Have you made any progress in assembling your analyzer?
For now I¡¯m busy on oscilloscope troubleshooting, so not doing much about it.
cdt