• You can now help support WorldwideDX when you shop on Amazon at no additional cost to you! Simply follow this Shop on Amazon link first and a portion of any purchase is sent to WorldwideDX to help with site costs.
  • The Winners of the three Retevis radios 16 Anniversary giveaway are announced!! Click Here to find out if you won!

BinaryRock

This is why I wanted to build an i2c connected frequency counter. Hook it up to an arduino and let your computer do all the readings.
 
  • Like
Reactions: brandon7861
What about zero-beating it with a GPSDO referenced signal generator near the same frequency and letting the arduino sample the audio frequency? It may be easier than connecting an arduino to a counter.
 
There is an easy way to make a programming cable for this board. I'm sure everyone has a couple extra PL2303 programming cables they bought for a specific radio just to find out windows won't recognize it. Well, that's just windows, their drivers blacklisted most of the PL2303 clones. They seem to work fine on linux.

All you need is a radio programming cable and a 1k resistor. The ground (black) connects directly to the binary rock ground, the TX wire (mine was green) connects to a 1k resistor and that resistor to the UPDI pin, and the RX wire (white) directly to the same UPDI pin. If you are not sure which is TX, it will have 3.3v on it when you plug in the cable. In this picture, the black clip goes to the boards ground and the red clip goes to the UPDI pin. The board is powered from an external source.

20261102_152714.jpg

20261102_152704.jpg

FTDI cables should work the same.

Here is the Arduino method after opening the sketch:
  1. Install MegaCoreX from the Boards Manager.
  2. Tools → Board → MegaCoreX → ATmega4809
  3. Tools → Pinout → 48-pin standard
  4. Tools → Programmer → SerialUPDI (57600 baud)
  5. Tools → Port → the cable (usually /dev/ttyUSB0 or COMx)
  6. Tools → BOD → 2.6 V
  7. Tools → Bootloader → No bootloader
  8. Tools → Clock → Internal 16 MHz
  9. Tools → EEPROM → EEPROM retained
  10. Tools → Reset pin → GPIO
  11. Power the board from its own supply. Connect the cable (TX through 1 kΩ to UPDI, RX to that same UPDI node, ground to board ground).
  12. After that: Sketch → Upload Using Programmer. Do not use the normal Upload button.
 

dxChat
Help Users
  • No one is chatting at the moment.