Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.
lew247 Guru Joined: 23/12/2015 Location: United KingdomPosts: 1702
Posted: 08:59am 17 Jul 2022
Copy link to clipboard
Print this post
Yes I have the full source code but as there is no way to set the gain in the tuner I'll fine tune the settings for the display and threshold settings once I've got to the testing stage as it will simply be a matter of monitoring the voltage on pin 4 of the AD8307 and setting it then
I do have the full source, I didn't start planning this until I did. I don't want to add amplification, I need the signals to be low level as I'm only monitoring the transmit signals from mobiles/portable radios and not the actual base station repeaters.
This way with the signal being so low the display will only be triggered when the radios are close by the actual range and the threshold settings will be set by the touchscreen once it's been calibrated and having a good drive past several known signal sources so the threshold can be set for city (only accept higher voltage levels wich means it's close by) or country driving accept any trigger signal/voltage
If it turns out the signals are so low they can't even be picked up within a few feet then I will add a 380Mhz preamp between the antenna and unit to amplify the signal but hopefully it won't need it.
OSC_FREQ EQU D'8000000' ; Internal Oscillator Frequency is 8 MHz
; Registers FLAGS EQU 0x20 ; Various flags THRLVL EQU 0x21 ; Threshold level set via UI MAXH EQU 0x22 ; LEVEL MAX HOLD value to be shown on LED bar TEMPBAR EQU 0x23 ; Pattern on LED bar if it's blanked (BRT) TEMPTHR EQU 0x24 ; Used in threshold set routine BRITE EQU 0x25 ; LED Brightness T4S EQU 0x26 ; Tetra 4s timing I2CDELAY EQU 0x27 ; Used for I2C timing I2CBUF EQU 0x28 ; Used for I2C data I2CCNT EQU 0x29 ; Used for I2C bitbanger DB2 EQU 0x30 ; Stealth byte for prescaler (0x50-0x5F) TEMPW EQU 0x40 ; Context saving for interrupts TEMPSTATUS EQU 0x41 ; in all banks
; Defines #define LEDS PORTB ; 8 LED bar RB0-3 GRN, RB4,5 ORG RB6,7 RED #define RSSI PORTA
Means to me that even if you *HAD* all the source... it would be a task to make it usable again. Was it intentionally mangled like that?
Yes I have the full source code but as there is no way to set the gain in the tuner I'll fine tune the settings for the display and threshold settings once I've got to the testing stage as it will simply be a matter of monitoring the voltage on pin 4 of the AD8307 and setting it then
Considering that the source code *should* have looked like this:
Means to me that even if you *HAD* all the source... it would be a task to make it usable again. Was it intentionally mangled like that?
It's easy to write some new code for it. The difficulty is the hardware and the low signal being received.
Grtz
I do have the full source, I didn't start planning this until I did. I don't want to add amplification, I need the signals to be low level as I'm only monitoring the transmit signals from mobiles/portable radios and not the actual base station repeaters.
This way with the signal being so low the display will only be triggered when the radios are close by the actual range and the threshold settings will be set by the touchscreen once it's been calibrated and having a good drive past several known signal sources so the threshold can be set for city (only accept higher voltage levels wich means it's close by) or country driving accept any trigger signal/voltage
If it turns out the signals are so low they can't even be picked up within a few feet then I will add a 380Mhz preamp between the antenna and unit to amplify the signal but hopefully it won't need it.
Yes okay, I'm currently testing with an ESP32 which I run in dual core. When I pulg a display, the output voltage of the AD8307 goes up through the field of the display, so I deleted it. It also works well for me after the filter is adjusted correctly. Extra capacitor on P4 of the AD8307 works wonders :-)