{"id":356,"date":"2025-02-11T20:29:39","date_gmt":"2025-02-11T20:29:39","guid":{"rendered":"https:\/\/hobbies.wielenga.co.uk\/?p=356"},"modified":"2025-03-01T23:18:36","modified_gmt":"2025-03-01T23:18:36","slug":"yoradio-nixie-tube-simulating-clock-easy","status":"publish","type":"post","link":"https:\/\/hobbies.wielenga.co.uk\/index.php\/2025\/02\/11\/yoradio-nixie-tube-simulating-clock-easy\/","title":{"rendered":"YoRadio, Nixie Tube Simulating Clock (easy)"},"content":{"rendered":"<h2 data-start=\"85\" data-end=\"106\"><strong data-start=\"88\" data-end=\"104\">Introduction<\/strong><\/h2>\n<p data-start=\"108\" data-end=\"338\">I&#8217;ve always been fascinated by Nixie tubes, and it&#8217;s a real shame that they are virtually impossible to buy. When I successfully assembled my YoRadio with an ESP-S3, I wanted to modify the font to resemble well-worn Nixie tubes.<\/p>\n<hr data-start=\"340\" data-end=\"343\" \/>\n<h2 data-start=\"345\" data-end=\"360\"><strong data-start=\"348\" data-end=\"358\">How-To<\/strong><\/h2>\n<p data-start=\"362\" data-end=\"562\">To make my fonts reusable for others, I created files that replace the standard fonts. This has only been tested with an ST7789 320&#215;240 screen, but any display that uses a 41-point font should work.<\/p>\n<h3 data-start=\"564\" data-end=\"580\"><strong data-start=\"568\" data-end=\"578\">Steps:<\/strong><\/h3>\n<ol data-start=\"582\" data-end=\"1468\">\n<li data-start=\"582\" data-end=\"679\">\n<p data-start=\"585\" data-end=\"679\">Set up a working and tested YoRadio with a TFT screen (not tested on OLED, but it may work).<\/p>\n<\/li>\n<li data-start=\"680\" data-end=\"756\">\n<p data-start=\"683\" data-end=\"756\">Back up or copy your working YoRadio project, including all subfolders.<\/p>\n<\/li>\n<li data-start=\"757\" data-end=\"826\">\n<p data-start=\"760\" data-end=\"826\">Download <strong data-start=\"769\" data-end=\"795\">&#8220;<a href=\"https:\/\/hobbies.wielenga.co.uk\/wp-content\/uploads\/2025\/02\/YoRadioNixieFont.zip\" target=\"_blank\" rel=\"noopener\">YoRadioNixieFont.zip<\/a>&#8220;<\/strong> and extract the three files.<\/p>\n<\/li>\n<li data-start=\"827\" data-end=\"1030\">\n<p data-start=\"830\" data-end=\"889\">Copy <strong data-start=\"835\" data-end=\"854\">DS_DIGI42pt7b.h<\/strong> and <strong data-start=\"859\" data-end=\"883\">DS_DIGI42pt7b_mono.h<\/strong> to:<\/p>\n<ul data-start=\"893\" data-end=\"1030\">\n<li data-start=\"893\" data-end=\"934\"><code data-start=\"895\" data-end=\"932\">yoRadio -&gt; src -&gt; displays -&gt; fonts<\/code><\/li>\n<li data-start=\"938\" data-end=\"985\"><strong data-start=\"940\" data-end=\"950\">DO NOT<\/strong> place them in <code data-start=\"965\" data-end=\"982\">yoRadio -&gt; font<\/code>!<\/li>\n<li data-start=\"989\" data-end=\"1030\">This will replace the existing fonts.<\/li>\n<\/ul>\n<\/li>\n<li data-start=\"1031\" data-end=\"1079\">\n<p data-start=\"1034\" data-end=\"1079\">Copy <strong data-start=\"1039\" data-end=\"1052\">mytheme.h<\/strong> into the YoRadio folder.<\/p>\n<\/li>\n<li data-start=\"1080\" data-end=\"1285\">\n<p data-start=\"1083\" data-end=\"1128\">In <strong data-start=\"1086\" data-end=\"1101\">myoptions.h<\/strong>, add the following line:<br \/>\n&#8216;#define CLOCKFONT_MONO false&#8217; like:<br \/>\n<img decoding=\"async\" class=\"alignnone size-medium wp-image-361 lazyload\" data-src=\"https:\/\/hobbies.wielenga.co.uk\/wp-content\/uploads\/2025\/02\/nixie_example-300x79.jpg\" alt=\"\" width=\"300\" height=\"79\" data-srcset=\"https:\/\/hobbies.wielenga.co.uk\/wp-content\/uploads\/2025\/02\/nixie_example-300x79.jpg 300w, https:\/\/hobbies.wielenga.co.uk\/wp-content\/uploads\/2025\/02\/nixie_example-230x60.jpg 230w, https:\/\/hobbies.wielenga.co.uk\/wp-content\/uploads\/2025\/02\/nixie_example.jpg 335w\" data-sizes=\"(max-width: 300px) 100vw, 300px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 300px; --smush-placeholder-aspect-ratio: 300\/79;\" \/><br \/>\nIf you don&#8217;t your clock becomes very muddy as it writing 88:88 in the background<\/p>\n<\/li>\n<li data-start=\"1080\" data-end=\"1285\">\n<p data-start=\"1083\" data-end=\"1128\">Build your radio (time for a coffee break\u2014build speed depends on your computer). The result should look like this:<\/p>\n<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-medium wp-image-368 lazyload\" data-src=\"https:\/\/hobbies.wielenga.co.uk\/wp-content\/uploads\/2025\/02\/Untitled-1-e1739390166972-300x237.jpeg\" alt=\"\" width=\"300\" height=\"237\" data-srcset=\"https:\/\/hobbies.wielenga.co.uk\/wp-content\/uploads\/2025\/02\/Untitled-1-e1739390166972-300x237.jpeg 300w, https:\/\/hobbies.wielenga.co.uk\/wp-content\/uploads\/2025\/02\/Untitled-1-e1739390166972-230x182.jpeg 230w, https:\/\/hobbies.wielenga.co.uk\/wp-content\/uploads\/2025\/02\/Untitled-1-e1739390166972-350x276.jpeg 350w, https:\/\/hobbies.wielenga.co.uk\/wp-content\/uploads\/2025\/02\/Untitled-1-e1739390166972-480x379.jpeg 480w, https:\/\/hobbies.wielenga.co.uk\/wp-content\/uploads\/2025\/02\/Untitled-1-e1739390166972.jpeg 595w\" data-sizes=\"(max-width: 300px) 100vw, 300px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 300px; --smush-placeholder-aspect-ratio: 300\/237;\" \/><\/p>\n<p>The colors may differ slightly, as I aimed for a more retro look.<\/p>\n<p><strong>Resources:<\/strong><\/p>\n<p class=\"html-h1 xdj266r x11i5rnm xat24cr x1mh8g0r xexx8yu x4uap5 x18d9i69 xkhd6sd x1vvkbs x1heor9g x1qlqyl8 x1pd3egz x1a2a7pz x193iq5w xeuugli\" dir=\"auto\" tabindex=\"-1\"><span class=\"x193iq5w xeuugli x13faqbe x1vvkbs x1xmvt09 x1lliihq x1s928wv xhkezso x1gmr53x x1cpjm7i x1fgarty x1943h6x x1ill7wo x41vudc x1q74xe4 xyesn5m x1xlr1w8 xzsf02u x1yc453h\" dir=\"auto\"><em><strong>Facebook<\/strong><\/em><br \/>\n<a class=\"x1i10hfl xjbqb8w x1ejq31n xd10rxx x1sy0etr x17r0tee x972fbf xcfux6l x1qhh985 xm0m39n x9f619 x1ypdohk xt0psk2 xe8uvvx xdj266r x11i5rnm xat24cr x1mh8g0r xexx8yu x4uap5 x18d9i69 xkhd6sd x16tdsg8 x1hl2dhg xggy1nq x1a2a7pz x1heor9g x1sur9pj xkrqix3 x1pd3egz\" tabindex=\"0\" role=\"link\" href=\"https:\/\/www.facebook.com\/groups\/598402082351854\/\" target=\"_blank\" rel=\"noopener\">eRadio (YoRadio), ESP32 based Internet Radio Player (DIY), FAN PAGE<\/a><\/span><\/p>\n<p><em><strong>Project Page of the Brilliant yoradio<\/strong><\/em><br \/>\n<a href=\"https:\/\/github.com\/e2002\/yoradio\" target=\"_blank\" rel=\"noopener\">https:\/\/github.com\/e2002\/yoradio<\/a><\/p>\n<p><strong>Font Creation Resources for Arduino<\/strong><\/p>\n<p>Great tool for editting and mainipulating created fonts (.c bitmaps)<br \/>\n<a href=\"https:\/\/tchapi.github.io\/Adafruit-GFX-Font-Customiser\/\">Adafruit GFX Font Customiser<\/a><\/p>\n<p>Take any Truetype font and change to .c bitmap files<br \/>\n<a href=\"https:\/\/rop.nl\/truetype2gfx\/\" target=\"_blank\" rel=\"noopener\">truetype2gfx<\/a><\/p>\n<p>Edit and create your own font<br \/>\n<a href=\"https:\/\/fontforge.org\/en-US\/\" target=\"_blank\" rel=\"noopener\">fontforge<\/a><\/p>\n<p>Any raster to SVG with paths so you can use it fontforge<br \/>\n<a href=\"https:\/\/picsvg.com\/\" target=\"_blank\" rel=\"noopener\">picsvg<\/a><br \/>\nLove this tool.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction I&#8217;ve always been fascinated by Nixie tubes, and it&#8217;s a real shame that they are virtually impossible to buy. When I successfully assembled my YoRadio with an ESP-S3, I wanted to modify the font to resemble well-worn Nixie tubes. How-To To make my fonts reusable for others, I created files that replace the standard&hellip; <br \/> <a class=\"button small blue\" href=\"https:\/\/hobbies.wielenga.co.uk\/index.php\/2025\/02\/11\/yoradio-nixie-tube-simulating-clock-easy\/\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":357,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16,14],"tags":[],"class_list":["post-356","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-hobby-elelectronics-and-computing","category-single-board-computing-sbc"],"_links":{"self":[{"href":"https:\/\/hobbies.wielenga.co.uk\/index.php\/wp-json\/wp\/v2\/posts\/356","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hobbies.wielenga.co.uk\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hobbies.wielenga.co.uk\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hobbies.wielenga.co.uk\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hobbies.wielenga.co.uk\/index.php\/wp-json\/wp\/v2\/comments?post=356"}],"version-history":[{"count":7,"href":"https:\/\/hobbies.wielenga.co.uk\/index.php\/wp-json\/wp\/v2\/posts\/356\/revisions"}],"predecessor-version":[{"id":370,"href":"https:\/\/hobbies.wielenga.co.uk\/index.php\/wp-json\/wp\/v2\/posts\/356\/revisions\/370"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/hobbies.wielenga.co.uk\/index.php\/wp-json\/wp\/v2\/media\/357"}],"wp:attachment":[{"href":"https:\/\/hobbies.wielenga.co.uk\/index.php\/wp-json\/wp\/v2\/media?parent=356"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hobbies.wielenga.co.uk\/index.php\/wp-json\/wp\/v2\/categories?post=356"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hobbies.wielenga.co.uk\/index.php\/wp-json\/wp\/v2\/tags?post=356"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}