R909-DSP1はATmega328P+TA2003+Si4732+Si5351a+LM386構成のエアバンド受信機ですが、その後R909-DSP2をシリーズに追加しデバッグ中です。R909-DSP2はATmega328P+TA2003+Si4732+Si5351a+2822構成で3.9VLi+電池対応です。今回は更にR909-DSP4のデバッグ途中の画面を紹介します。R909-DSP4はESP32-C3+TA2003+Si4732+Si5351a+2822構成の3.9VLi+電池対応で、目玉はチャンネル名の漢字表示です。
The R909-DSP1 is an airband receiver configured with ATmega328P + TA2003 + Si4732 + Si5351a + LM386, but the R909-DSP2 has since been added and is currently being debugged. The R909-DSP2 is configured with ATmega328P + TA2003 + Si4732 + Si5351a + 2822 and is compatible with a 3.9VLi+ battery. This time, I will also introduce the screen shot of the R909-DSP4 during debugging. The R909-DSP4 is configured with ESP32-C3 + TA2003 + Si4732 + Si5351a + 2822 and is compatible with a 3.9VLi+ battery, and its highlight is the kanji display of the channel names.
3.9V動作にし、基板パターンを変えたためRF部分でノイズ多くなり、感度が悪いという状況ですが、今回は目先を変え、操作表示のところを触ってみました。ArduinoをESP32-C3 super miniにしてOLEDの表示ドライバをU8g2に替えました。
試行錯誤で画面ビットマップに表示文字を移しました。ADAfruitsのライブラリーとU8g2ではフォントの原点が違います。また、U8g2ではフォントサイズを指定するのではなく、大きさデザインから100ぐらいはあるフォントを選ぶというスタイルです。また、フォントのサイズはオーバースコア、アンダースコア迄入れての表記のため何が何だかわからぬまま、適宜配置しました。
「パネル部写真」

Due to the 3.9V operation and changed PCB pattern, the RF section is noisy and has poor sensitivity, but this time I decided to change things up and tinker with the operation display. I used an ESP32-C3 super mini for the Arduino and changed the OLED display driver to U8g2. Through trial and error, I moved the displayed characters to the screen bitmap. The font origin is different between the ADAfruits library and U8g2. Also, with U8g2, rather than specifying the font size, I shall choose a font that's around 100% larger based on the size design. The font size is expressed using overscores and underscores, so I just placed it appropriately without really understanding what was going on.
どのフォントが良いとか、配置基準とかの対処については少し使ってみてから見直すことにします。
I will reconsider which font is best and what the placement standards are after using it for a while.