<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Pakit Silprachawong on Medium]]></title>
        <description><![CDATA[Stories by Pakit Silprachawong on Medium]]></description>
        <link>https://medium.com/@pspracha?source=rss-7a98c60b4bcf------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*DSTwnU4nxgowQhmO.</url>
            <title>Stories by Pakit Silprachawong on Medium</title>
            <link>https://medium.com/@pspracha?source=rss-7a98c60b4bcf------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 22 Nov 2026 14:15:32 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@pspracha/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[How to configure waveshare 8.8 inch DSI LCD TouchScreen 480x1920 for volumio 4.X on RPI4/RPI5]]></title>
            <link>https://medium.com/@pspracha/how-to-configure-waveshare-8-8-inch-dsi-lcd-touchscreen-480x1920-for-volumio-4-x-on-rpi4-rpi5-94e050fee4f5?source=rss-7a98c60b4bcf------2</link>
            <guid isPermaLink="false">https://medium.com/p/94e050fee4f5</guid>
            <dc:creator><![CDATA[Pakit Silprachawong]]></dc:creator>
            <pubDate>Mon, 23 Feb 2026 09:20:51 GMT</pubDate>
            <atom:updated>2026-02-23T12:47:21.170Z</atom:updated>
            <content:encoded><![CDATA[<p>I have just tested my latest waveshare 8.8 inch DSI display and would like to share how to configure with volumio 4.X on RPI4/RPI5</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*opz2gmKDpgWEPwUr1X_-IA.png" /></figure><p>I bought from aliexpress here -&gt; <a href="https://th.aliexpress.com/item/1005010797493243.html?spm=a2g0o.cart.0.0.383738da7W1FtD&amp;mp=1&amp;pdp_npi=6%40dis%21THB%21THB%202088.53%21THB%202088.53%21%21THB%202088.53%21%21%21%4021010c9a17718320247781384e577d%2112000053537345176%21ct%21TH%212021265592%21%211%210%21&amp;gatewayAdapt=glo2tha">https://th.aliexpress.com/item/1005010797493243.html?spm=a2g0o.cart.0.0.383738da7W1FtD&amp;mp=1&amp;pdp_npi=6%40dis%21THB%21THB%202088.53%21THB%202088.53%21%21THB%202088.53%21%21%21%4021010c9a17718320247781384e577d%2112000053537345176%21ct%21TH%212021265592%21%211%210%21&amp;gatewayAdapt=glo2tha</a></p><p>The display is 480x1920 so , we have to rotate it for landscape mode.</p><p>Follow these steps</p><ol><li>sudo nano /boot/config.txt and insert this script at the end of file</li></ol><p>[pi4]</p><p>dtoverlay=vc4-kms-v3d</p><p>hdmi_force_hotplug=0</p><p>[pi5]</p><p>dtoverlay=vc4-kms-v3d-pi5,cma-64</p><p>[all]</p><p># DSI1 Configuration</p><p>dtoverlay=vc4-kms-dsi-waveshare-panel-v2,8_8_inch_a</p><p>2. sudo nano /boot/cmdline.txt</p><p>At the end insert <strong>plymouth=90</strong></p><p>If it is still upsidedown you need to rotate to 270 just change to this instead <strong>plymouth=270</strong> . Actually , it depends on your display installation</p><p>3. sudo nano /opt/volumiokiosk.sh</p><p>export DISPLAY=:0</p><p>xrandr<strong> — output</strong> DSI-2<strong> — rotate</strong> right #90</p><p>xinput <strong>set</strong>-prop 6 <strong>“Coordinate Transformation Matrix”</strong> 0 1 0 -1 0 1 0 0 1 #90</p><p>If it is still upsidedown you need to rotate to 270, just change to this . Actually , it depends on your display installation</p><p>xrandr — output DSI-2 — rotate left #270</p><p>xinput set-prop 6 <strong>“Coordinate Transformation Matrix”</strong> 0 -1 1 1 0 0 0 0 1 #270</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*J38sXkSkOn3kjeyT4iCrSw.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=94e050fee4f5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to add more VU meters in Picore Player]]></title>
            <link>https://medium.com/@pspracha/how-to-add-more-vu-meters-in-picore-player-c56775ea4016?source=rss-7a98c60b4bcf------2</link>
            <guid isPermaLink="false">https://medium.com/p/c56775ea4016</guid>
            <category><![CDATA[dads]]></category>
            <dc:creator><![CDATA[Pakit Silprachawong]]></dc:creator>
            <pubDate>Sun, 11 Jan 2026 15:02:26 GMT</pubDate>
            <atom:updated>2026-01-12T02:48:08.006Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*B_ImNT-KvTT2UGMs8-qKpQ.png" /></figure><p>After installing new Picore Player (11.0.0) I notice there is only one VU Meters in the Meter selections. So , I find out how to get more VU and spectrum meters. Just follow this instructions</p><ol><li>login to picore player</li><li>run command below</li></ol><p>ce<br>tce-load -w git<br>tce-load -il git<br>git clone <a href="https://github.com/blaisedias/tcz-jivelite-visualisers">https://github.com/blaisedias/tcz-jivelite-visualisers</a></p><p>3. cd <a href="https://github.com/blaisedias/tcz-jivelite-visualisers">tcz-jivelite-visualisers</a></p><p>4. run ./tcz/scripts/pcp-build-all-vis-meter-suites.sh to build all vumeters . Alltcz file will be under build folder</p><p>5. copy all tcz files to /mnt/mmcblk0p2/tce/optional</p><p>6. edit onboot.lst and add each tcz file then type command</p><p>pcp br. (Back up reboot)</p><p>7. Now you can select meters and spectrums in setting</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*F_DMCfrQ1Or3W3LZXesW6g.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c56775ea4016" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to setup display resolution in dietpi.]]></title>
            <link>https://medium.com/@pspracha/how-to-setup-display-resolution-in-dietpi-bfe4a023fd04?source=rss-7a98c60b4bcf------2</link>
            <guid isPermaLink="false">https://medium.com/p/bfe4a023fd04</guid>
            <dc:creator><![CDATA[Pakit Silprachawong]]></dc:creator>
            <pubDate>Fri, 19 Dec 2025 09:34:18 GMT</pubDate>
            <atom:updated>2025-12-19T09:43:32.978Z</atom:updated>
            <content:encoded><![CDATA[<p>How to setup display resolution in dietpi.</p><p>**** Setup display with resolution of 1280x400 in dietpi</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VyFWFqUZdZSGUu4wpq_6eA.png" /></figure><p>Step 1: Replace Chromium command with xinit ~/.xinitrc<br>sudo nano /var/lib/dietpi/dietpi-software/installed/chromium-autostart.sh</p><p>Find this line near the bottom:<br>exec “$STARTX” “$FP_CHROMIUM” $CHROMIUM_OPTS “${URL:-<a href="https://dietpi.com/">https://dietpi.com/</a>}&quot;</p><p>Replace it with:<br>exec “$STARTX” /home/dietpi/.xinitrc</p><p>Step 2: Create /home/dietpi/.xinitrc with your full setup<br>nano /home/dietpi/.xinitrc</p><p>Paste:<br>#!/bin/bash<br>export DISPLAY=:0<br>sleep 2</p><p># Set custom resolution<br>xrandr — newmode “1280x400_60.00” 40.00 1280 1320 1440 1600 400 403 413 417 -hsync +vsync<br>xrandr — addmode HDMI-1 1280x400_60.00<br>xrandr -s 1280x400</p><p># Chromium settings from dietpi.txt<br>RES_X=$(sed -n ‘/^[[:blank:]]*SOFTWARE_CHROMIUM_RES_X=/{s/^[^=]*=//p;q}’ /boot/dietpi.txt)<br>RES_Y=$(sed -n ‘/^[[:blank:]]*SOFTWARE_CHROMIUM_RES_Y=/{s/^[^=]*=//p;q}’ /boot/dietpi.txt)<br>URL=$(sed -n ‘/^[[:blank:]]*SOFTWARE_CHROMIUM_AUTOSTART_URL=/{s/^[^=]*=//p;q}’ /boot/dietpi.txt)</p><p>CHROMIUM_OPTS=” — kiosk — window-size=${RES_X:-1280},${RES_Y:-720} — window-position=0,0&quot;<br>FP_CHROMIUM=$(command -v chromium-browser)<br>[ “$FP_CHROMIUM” ] || FP_CHROMIUM=$(command -v chromium)</p><p>exec “$FP_CHROMIUM” $CHROMIUM_OPTS “${URL:-<a href="https://dietpi.com/">https://dietpi.com/</a>}&quot;<br>Make it executable:</p><p>chmod +x /home/dietpi/.xinitrc</p><p>Reboot</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bfe4a023fd04" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[This is how to install PeppyMeter on Dietpi]]></title>
            <link>https://medium.com/@pspracha/this-is-how-to-install-peppymeter-on-dietpi-54ef6ab5a9ad?source=rss-7a98c60b4bcf------2</link>
            <guid isPermaLink="false">https://medium.com/p/54ef6ab5a9ad</guid>
            <dc:creator><![CDATA[Pakit Silprachawong]]></dc:creator>
            <pubDate>Fri, 19 Dec 2025 09:30:56 GMT</pubDate>
            <atom:updated>2025-12-19T09:44:23.481Z</atom:updated>
            <content:encoded><![CDATA[<p>This is how to install PeppyMeter on Dietpi</p><p>I have succeffully installed PeppyMeter on DietPi and would like to</p><p>share how to do this, for the completed link and shared files to download</p><p><strong><em>click here -&gt;https://github.com/pspracha/DietPiPeppyMeter</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*49cLMf0wXfpDJ3SWsilKZQ.png" /></figure><p><strong>*** How to Install Peppy Meter<br>*** This is working on Ultra Wide Screen 14 Inches HDMI display<br>*** The resolution is 1280x400</strong></p><p>1.Install peppyalsa</p><p>sudo apt install git<br>git clone <a href="https://github.com/project-owner/peppyalsa.git">https://github.com/project-owner/peppyalsa.git</a><br>cd peppyalsa</p><p>*** Note !!! ***<br>New version of diept will cause peppyalsa compile error <br>Copy peppyalsa sourcecode meter.c,spectrum.c peppyalsa.c to replace <br>the existing one under /home/dietpi/peppyalsa/src<br>But if you are not using the new version of DietPi just ignore this.<br>*********</p><p>sudo apt-get install build-essential autoconf automake libtool libasound2-dev libfftw3-dev<br>aclocal &amp;&amp; libtoolize<br>autoconf &amp;&amp; automake — add-missing<br>./configure &amp;&amp; make</p><p>sudo make install</p><p>sudo mkfifo /var/tmp/peppyfifo<br>sudo chmod 777 /var/tmp/peppyfifo</p><p>2. Configure alsa.conf<br>Modify from asound.conf to match your soundcard. <br>Use aplay -l to see card and device id</p><p>3. Test peppyalsa after config around.conf<br>cd /home/dietpi/peppyalsa/src<br>gcc peppyalsa-client.c -o peppyalsa-client<br>/home/dietpi/peppyalsa/src/peppyalsa-client /var/tmp/peppyfifo</p><p>*** You should see meter moving . if it is not moving , recheck asound.conf</p><p>5. Install PeppyMeter<br>cd /home/dietpi<br>git clone <a href="https://github.com/project-owner/PeppyMeter.git">https://github.com/project-owner/PeppyMeter.git</a><br>sudo apt-get install python3-pygame<br>sudo apt install python3-pip -y<br>pip3 install requests — break-system-packages</p><p>cd /home/pi/PeppyMeter</p><p>(In case of any error downloading Pygame, please use the following command:<br>sudo apt update — allow-releaseinfo-change</p><p>going to replace the content of only the lines below and leaving everything else unchanged:<br>or copy config.txt to replace your system</p><p>meter.folder =1280x400<br>exit.on.touch = True<br>framebuffer.device = /dev/fb0<br>mouse.device = /dev/input/event0<br>double.buffer = False<br>pipe.name = /var/tmp/peppyfifo</p><p>Run test <br>cd /home/pi/PeppyMeter<br>DISPLAY=:0 python3 peppymeter.py</p><p>6. Install as the Service <br>copy fda_startpeppy.py and fda_start_peppy.service to /home/dietpi/PeppyMeter<br>sudo cp fda_startpeppy.service /etc/systemd/system/ <br>sudo chmod +111 /etc/systemd/system/fda_startpeppy.service<br>sudo systemctl daemon-reload<br>sudo systemctl enable fda_startpeppy.service<br>sudo systemctl start fda_startpeppy.service</p><p>*** Note! Don’t forget to change squeezelite Mac address. You can find it under Player Extra Setting<br>Modify in file fda_startpeppy.py at SQUEEZELITE_PLAYER_ID = “your mac address”</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=54ef6ab5a9ad" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to run LLM (llama.cpp) locally on MacBook]]></title>
            <link>https://medium.com/@pspracha/how-to-run-llm-llama-cpp-locally-on-macbook-cfa303fc4a56?source=rss-7a98c60b4bcf------2</link>
            <guid isPermaLink="false">https://medium.com/p/cfa303fc4a56</guid>
            <dc:creator><![CDATA[Pakit Silprachawong]]></dc:creator>
            <pubDate>Thu, 28 Aug 2025 08:11:29 GMT</pubDate>
            <atom:updated>2025-08-28T08:22:37.680Z</atom:updated>
            <content:encoded><![CDATA[<p>How to run LLM (llama.cpp) locally on MacBook</p><p>ChatGPT , Gemini , DeepSeek are very popular . But it’s has to run on Internet . What If we can run LLM locally on our machine ? Lately ,I am very interested in using LLM for some of my projects. So , I decided to try installing LLM locally on my MacBook M3. There any a couple of ways to run LLM locally such as Ollama , LLM Studio . But I would like to try building binary from scratch . We can try the following steps to install LLM locally.</p><ol><li>at Command Prompt , type git clone <a href="https://github.com/ggml-org/llama.cpp">https://github.com/ggml-org/llama.cpp</a></li><li>cd llama.cpp</li><li>cmake -B build</li><li>cmake — build build — config Release. (this will take a while to build binary files)</li><li>The binary files are installed under build/bin direcroty</li><li>Now , download any models that are compatible with llama.cpp (GGUF format)</li><li>cd models</li><li>wget <a href="https://huggingface.co/TheBloke/Mistral-7B-Instruct-v0.1-GGUF/resolve/main/mistral-7b-instruct-v0.1.Q4_K_M.gguf">https://huggingface.co/TheBloke/Mistral-7B-Instruct-v0.1-GGUF/resolve/main/mistral-7b-instruct-v0.1.Q4_K_M.gguf</a></li><li>cd .. ( go back to llama.cpp direcroty)</li><li>type ./build/bin/llama-cli -m ./models/mistral-7b-instruct-v0.1.Q4_K_M.gguf — chat-template chatml. ( this will run interactive chat with the LLM server)</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SgdkO2tYAj5pr2hMFbnhDQ.png" /></figure><p>11. Or you can run as the HTTP server with this command.</p><p>./build/bin/llama-server -m ./models/mistral-7b-instruct-v0.1.Q4_K_M.gguf -c 2048. This will be listening on <a href="http://127.0.0.1:8080/">http://127.0.0.1:8080</a></p><p>12. You can try calling REST API ​from curl command</p><p>curl — request POST \</p><p>— url <a href="http://localhost:8080/completion">http://localhost:8080/completion</a> \</p><p>— header “Content-Type: application/json” \</p><p>— data ‘{“prompt”: “find me the sqrt(10)”,”n_predict”: 128}’</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*u78uAfbAhNCuaApkceXa5Q.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cfa303fc4a56" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Building Volumio Music Playing with LCD 3.5 inch and Rotary Encoder Switch]]></title>
            <link>https://medium.com/@pspracha/building-volumio-music-playing-with-lcd-3-5-inch-and-rotary-encoder-switch-f0430775baad?source=rss-7a98c60b4bcf------2</link>
            <guid isPermaLink="false">https://medium.com/p/f0430775baad</guid>
            <dc:creator><![CDATA[Pakit Silprachawong]]></dc:creator>
            <pubDate>Sat, 26 Apr 2025 09:58:24 GMT</pubDate>
            <atom:updated>2025-05-22T10:47:25.138Z</atom:updated>
            <content:encoded><![CDATA[<h3>Building Volumio Music Player with LCD 3.5 inch and Rotary Encoder Switch</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gsApXK_yKT1QzydPAgMIHQ.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*r4_euNlBsRutn72YXdrHmw.jpeg" /></figure><p>Lately , I have just finished my another Music Player Project and would like to share how I build it.</p><p>Chassis : I bought from aliexpress and ask local CNC shop to do it for me.</p><p>Board: Raspberry PI 4B Ram 4G</p><p>Power Supply Board1 for Raspberry PI and DAC1 : I order 12A DIY Kits board from aliexpress and solder with myself.</p><p>Link</p><p>Link <a href="https://www.aliexpress.com/item/32872607718.html?spm=a2g0o.detail.pcDetailTopMoreOtherSeller.5.305fZwb5Zwb5NB&amp;gps-id=pcDetailTopMoreOtherSeller&amp;scm=1007.40050.354490.0&amp;scm_id=1007.40050.354490.0&amp;scm-url=1007.40050.354490.0&amp;pvid=bb2dd56d-945d-4d26-b032-a7e562499585&amp;_t=gps-id:pcDetailTopMoreOtherSeller,scm-url:1007.40050.354490.0,pvid:bb2dd56d-945d-4d26-b032-a7e562499585,tpp_buckets:668%232846%238108%231977&amp;pdp_ext_f=%7B%22order%22%3A%222%22%2C%22eval%22%3A%221%22%2C%22sceneId%22%3A%2230050%22%7D&amp;pdp_npi=4%40dis%21THB%211275.48%211066.87%21%21%2136.99%2130.94%21%40210156fc17456575183695547e0977%2112000032316990695%21rec%21TH%212021265592%21ACXZ&amp;utparam-url=scene%3ApcDetailTopMoreOtherSeller%7Cquery_from%3A">https://www.aliexpress.com/item/32872607718.html?spm=a2g0o.detail.pcDetailTopMoreOtherSeller.5.305fZwb5Zwb5NB&amp;gps-id=pcDetailTopMoreOtherSeller&amp;scm=1007.40050.354490.0&amp;scm_id=1007.40050.354490.0&amp;scm-url=1007.40050.354490.0&amp;pvid=bb2dd56d-945d-4d26-b032-a7e562499585&amp;_t=gps-id:pcDetailTopMoreOtherSeller,scm-url:1007.40050.354490.0,pvid:bb2dd56d-945d-4d26-b032-a7e562499585,tpp_buckets:668%232846%238108%231977&amp;pdp_ext_f=%7B%22order%22%3A%222%22%2C%22eval%22%3A%221%22%2C%22sceneId%22%3A%2230050%22%7D&amp;pdp_npi=4%40dis%21THB%211275.48%211066.87%21%21%2136.99%2130.94%21%40210156fc17456575183695547e0977%2112000032316990695%21rec%21TH%212021265592%21ACXZ&amp;utparam-url=scene%3ApcDetailTopMoreOtherSeller%7Cquery_from%3A</a></p><p>Power Supply Board2 for DAC2: I order 2.5A finished board from aliexpress.</p><p>Link Link <a href="https://www.aliexpress.com/item/1005004183801544.html?spm=a2g0o.productlist.main.1.2ff4712bz8919X&amp;algo_pvid=eaeb3770-7323-4ce4-9c1f-82f97b1d003f&amp;algo_exp_id=eaeb3770-7323-4ce4-9c1f-82f97b1d003f-0&amp;pdp_ext_f=%7B%22order%22%3A%2211%22%2C%22eval%22%3A%221%22%7D&amp;pdp_npi=4%40dis%21THB%21775.84%21775.84%21%21%2122.50%2122.50%21%402151e6dc17456574717546450e9882%2112000028312255559%21sea%21TH%212021265592%21ACX&amp;curPageLogUid=f47ooOMS9rvv&amp;utparam-url=scene%3Asearch%7Cquery_from%3A">https://www.aliexpress.com/item/1005004183801544.html?spm=a2g0o.productlist.main.1.2ff4712bz8919X&amp;algo_pvid=eaeb3770-7323-4ce4-9c1f-82f97b1d003f&amp;algo_exp_id=eaeb3770-7323-4ce4-9c1f-82f97b1d003f-0&amp;pdp_ext_f=%7B%22order%22%3A%2211%22%2C%22eval%22%3A%221%22%7D&amp;pdp_npi=4%40dis%21THB%21775.84%21775.84%21%21%2122.50%2122.50%21%402151e6dc17456574717546450e9882%2112000028312255559%21sea%21TH%212021265592%21ACX&amp;curPageLogUid=f47ooOMS9rvv&amp;utparam-url=scene%3Asearch%7Cquery_from%3A</a></p><p>DAC1: Iquadio Dac Pro</p><p>link <a href="https://www.aliexpress.com/item/1005002333573708.html?spm=a2g0o.cart.0.0.543638daKNELjz&amp;mp=1&amp;pdp_npi=5%40dis%21THB%21THB%201378.92%21THB%201378.92%21%21THB%201378.92%21%21%21%402151e6dc17456571859093162e9856%2112000020134304566%21ct%21TH%212021265592%21%211%210">https://www.aliexpress.com/item/1005002333573708.html?spm=a2g0o.cart.0.0.543638daKNELjz&amp;mp=1&amp;pdp_npi=5%40dis%21THB%21THB%201378.92%21THB%201378.92%21%21THB%201378.92%21%21%21%402151e6dc17456571859093162e9856%2112000020134304566%21ct%21TH%212021265592%21%211%210</a></p><p>DAC2: WM8804G I2S Coaxial , Optical , HDMI output Link <a href="https://www.aliexpress.com/item/1005005930885676.html?spm=a2g0o.cart.0.0.543638daKNELjz&amp;mp=1&amp;pdp_npi=5%40dis%21THB%21THB%202647.12%21THB%201306.30%21%21THB%201306.30%21%21%21%402151e6dc17456571859093162e9856%2112000034901122235%21ct%21TH%212021265592%21%211%210">https://www.aliexpress.com/item/1005005930885676.html?spm=a2g0o.cart.0.0.543638daKNELjz&amp;mp=1&amp;pdp_npi=5%40dis%21THB%21THB%202647.12%21THB%201306.30%21%21THB%201306.30%21%21%21%402151e6dc17456571859093162e9856%2112000034901122235%21ct%21TH%212021265592%21%211%210</a></p><p>Transformer: I used 8V 11A , you can order from local transfomer factory.</p><p>All other parts: such as Ribbon Cable , RCA,XLR Connectors , IEC , rotary encoder switch</p><p>I orderd from local electronics store.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yApOhX27_jg2sO7fSPCl5A.jpeg" /></figure><p>Steps to build</p><ol><li>Test Power supply and adjust suitable voltage for Raspberry PI and DAC. I always used 5.1V for Raspberry PI and 5.0 V for DAC.</li><li>Assemble all components and make sure that everything is connected correctly especially DC voltage. Make sure that The positive and negative is connected correctly.</li><li>For LCD connection , I use 26 pairs Female to Male cable . The easy way to connect and make it works is to connect all cables together with 1–26 PINS on Raspberry PI . Finally I left PIN1(3.6V) to use for Rotary Encoder Switch.</li><li>For Rotary Encoding Switch , use this diagram. You can select any GPIO pin but make sure they are not used by another Hardware such as DAC.</li></ol><p>There are 3 connections from Rotary Switch. Turn it up right by the 3 pin are up and connect to Raspberry PI GPIO pins.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-NyKaJQhmeygyk_lzr6YNQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rLigDEh478Hgh1FUgdUT4w.png" /></figure><p>5.Power on and checked Voltage after supplying the load. The voltage may drop a little bit but not less than 5.0V</p><h3>Configuring LCD 3.5 Inch SPI interface is a bit complicated , just follow this steps below.</h3><ol><li>Install Volumio as usual by burning image to micro SD . I will not go through detail here as you can see it from Volumio Official Site.</li><li>Turn on raspberry PI and configure Wireless if you use it.</li><li>Open volumio.local in browser and install <strong>Plugin Touch Display </strong>and Enable Plugin.</li><li>To configure volumio , we will use SSH and remote to volumio. We have to enable SSH by browsing URL <a href="http://volumio.local/dev">http://volumio.local/dev</a> and click <br>Enable SSH .</li><li>connect to volumio.local user name :<a href="/service/mailto:volumio@volumio.local">volumio@volumio.local</a> and password :volumio</li><li>When login to volumio you will see the prompt volumio@volumio:$ and current directory is /home/volumio</li><li>Enter this command line by line with Enter.</li><li>git clone <a href="https://github.com/goodtft/LCD-show">https://github.com/goodtft/LCD-show</a></li><li>cd LCD-show<br>cd usr</li></ol><p>10. Enter following command</p><p>sudo mkdir -p /etc/X11/xorg.conf.d<br>sudo cp tft35a-overlay.dtb /boot/overlays/tft35a.dtbo<br>sudo cp -rf 99-calibration.conf-35–90 /etc/X11/xorg.conf.d/99- calibration.conf <br>sudo mkdir -p /usr/share/X11/xorg.conf.d/<br>sudo cp -rf ./99-fbturbo.conf /usr/share/X11/xorg.conf.d/99-fbturbo.conf</p><p>4. sudo nano /boot/config.txt<br>put</p><p>dtparam=spi=on</p><p>dtoverlay=tft35a:rotate=90</p><p>before include userconfig.txt</p><p>5. sudo sed ‘s/”fbturbo”/”fbdev”/’ -i /usr/share/X11/xorg.conf.d/99-fbturbo.conf ( try not to copy from this, it is the single quote and double quote in the command)</p><p><strong>*** Note ‘ is single quote , “ is double quote in command line</strong></p><p><strong>(Need to add this below for RPI5)</strong></p><p>sudo sed ‘s/fb1/fb0/’ -i /usr/share/X11/xorg.conf.d/99-fbturbo.conf</p><p>6. sudo apt-get -y install xserver-xorg-input-evdev</p><p>7. sudo cp /usr/share/X11/xorg.conf.d/10-evdev.conf /usr/share/X11/xorg.conf.d/45-evdev.conf</p><p>Rotary Encoder Configuration</p><p>you have to install Rotary Encoder Plugin. For example ,</p><p>The configuration will be like this If you connect A to GPIO 6 , B to GPIO 5 and push to GPIO 26</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6F1J_TnGygpKL28Mcfop2Q.png" /></figure><p>The number that you input is the GPIO pin number not the Raspbery Pin Number. Make sure that you input correct GPIO PIN number.</p><p>For right Dial , I use for Volume Control . Press for toggle mute and Long Press for Shuting Down. I also used Double press for Repeat .</p><p>The left dial , I use for Play/Pause and Prev/Next title.</p><h3>Well, I assume this is all completed . You can send me a question if you have any question after building this.</h3><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f0430775baad" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[This is how I assemble music streaming player]]></title>
            <link>https://medium.com/@pspracha/this-is-how-i-assemble-music-streaming-player-b413afa9aa41?source=rss-7a98c60b4bcf------2</link>
            <guid isPermaLink="false">https://medium.com/p/b413afa9aa41</guid>
            <category><![CDATA[streaming-music]]></category>
            <dc:creator><![CDATA[Pakit Silprachawong]]></dc:creator>
            <pubDate>Fri, 19 Apr 2024 08:24:32 GMT</pubDate>
            <atom:updated>2024-04-19T08:24:32.413Z</atom:updated>
            <content:encoded><![CDATA[<h3>I saw some expensive streamers in the market with wide screen display and nice UI. I think I should build one for myself.</h3><ol><li>I gather all needed parts mostly from ali express.</li><li>From the photo, it has the following parts</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*w8jZHs1yeVzQnsDLcX76Gg.png" /></figure><ol><li>Transformer : I use 8V 10A toroidal transformer</li><li>Bridge Rectifier : I use external bridge recitifer instead of using on board diode. I remove all diode from power supply board and connect Bridge Recitifer directy to the board to increase current capacity.</li><li>Power Supply Board 1 : This is 10A power supply which I use for Raspberry PI and Iquadio Pro DAC HAT . You can use any 10A power supply like this →<a href="https://th.aliexpress.com/item/1005002126844156.html?spm=a2g0o.order_list.order_list_main.5.6db918024yJ0Xd&amp;gatewayAdapt=glo2tha">https://th.aliexpress.com/item/1005002126844156.html?spm=a2g0o.order_list.order_list_main.5.6db918024yJ0Xd&amp;gatewayAdapt=glo2tha</a></li><li>Power Supply Board 2: This is 7A power supply which I used to supply Ultra Wide screen display and another I2S DAC which has Coaxial and Optical output so I can use another external DAC. You can use any 10A power supply like this →<a href="https://th.aliexpress.com/item/1005002126844156.html?spm=a2g0o.order_list.order_list_main.5.6db918024yJ0Xd&amp;gatewayAdapt=glo2tha">https://th.aliexpress.com/item/1005002126844156.html?spm=a2g0o.order_list.order_list_main.5.6db918024yJ0Xd&amp;gatewayAdapt=glo2tha</a></li><li>Raspberry PI 4B and IQuadio Pro Dac HAT which Balance and Unbalance output.</li><li>Display Control Board which comes with Ultra Wide HDMI Display.</li><li>Ultral wide HDMI Display . The small control board has the USB interface which is used for touch screen. —&gt; <a href="https://th.aliexpress.com/item/1005002364481652.html?spm=a2g0o.order_list.order_list_main.19.21ef1802opkCRZ&amp;gatewayAdapt=glo2tha">https://th.aliexpress.com/item/1005002364481652.html?spm=a2g0o.order_list.order_list_main.19.21ef1802opkCRZ&amp;gatewayAdapt=glo2tha</a></li><li>I2S DAC which has<strong> Coaxcial , Optical and HDMI output. </strong><a href="https://th.aliexpress.com/item/1005005732940359.html?spm=a2g0o.detail.pcDetailBottomMoreThisSeller.4.70f4Y31JY31Jc3&amp;gps-id=pcDetailBottomMoreThisSeller&amp;scm=1007.13339.291025.0&amp;scm_id=1007.13339.291025.0&amp;scm-url=1007.13339.291025.0&amp;pvid=3cf8db57-4727-4767-8fb5-6343232e7713&amp;_t=gps-id:pcDetailBottomMoreThisSeller,scm-url:1007.13339.291025.0,pvid:3cf8db57-4727-4767-8fb5-6343232e7713,tpp_buckets:668%232846%238108%231977&amp;pdp_npi=4%40dis%21THB%212927.02%211463.48%21%21%21559.19%21279.59%21%402101585f17135143958925370e3293%2112000034150146292%21rec%21TH%21%21AB&amp;utparam-url=scene%3ApcDetailBottomMoreThisSeller%7Cquery_from%3A">https://th.aliexpress.com/item/1005005732940359.html?spm=a2g0o.detail.pcDetailBottomMoreThisSeller.4.70f4Y31JY31Jc3&amp;gps-id=pcDetailBottomMoreThisSeller&amp;scm=1007.13339.291025.0&amp;scm_id=1007.13339.291025.0&amp;scm-url=1007.13339.291025.0&amp;pvid=3cf8db57-4727-4767-8fb5-6343232e7713&amp;_t=gps-id:pcDetailBottomMoreThisSeller,scm-url:1007.13339.291025.0,pvid:3cf8db57-4727-4767-8fb5-6343232e7713,tpp_buckets:668%232846%238108%231977&amp;pdp_npi=4%40dis%21THB%212927.02%211463.48%21%21%21559.19%21279.59%21%402101585f17135143958925370e3293%2112000034150146292%21rec%21TH%21%21AB&amp;utparam-url=scene%3ApcDetailBottomMoreThisSeller%7Cquery_from%3A</a></li></ol><p>That’s all important parts . The rest parts are just RCA, Balance , USB port and Network Interace output .</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b413afa9aa41" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to install 3.5 inch touch screen with Raspberry PI and Volumio Version > 2.917]]></title>
            <link>https://medium.com/@pspracha/how-to-install-3-5-inch-touch-screen-with-raspberry-pi-and-volumio-version-2-917-57072efbd92f?source=rss-7a98c60b4bcf------2</link>
            <guid isPermaLink="false">https://medium.com/p/57072efbd92f</guid>
            <dc:creator><![CDATA[Pakit Silprachawong]]></dc:creator>
            <pubDate>Wed, 27 Mar 2024 09:06:43 GMT</pubDate>
            <atom:updated>2025-05-22T10:46:02.450Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uVJh6Y6qpJNt88Vz7V0z5g.png" /></figure><p>The instruction that I wrote earlier will not work with Volumio &gt; 2.917.</p><p>So I try and write new instrcution here. This is already tested on Volumio 3.631.</p><p>How to install</p><ol><li>Install Volumio as usual by buring image to micro SD . I will not go through detail here as you can see it from Volumio Official Site.</li><li>Turn on raspberry PI and configure Wireless if you use it.</li><li>Open volumio.local in browser and install <strong>Plugin Touch Display </strong>and Enable Plugin.</li><li>To configure volumio , we will use SSH and remote to volumio. We have to enable SSH by browsing URL <a href="http://volumio.local/dev">http://volumio.local/dev</a> and click <br>Enable SSH .</li><li>connect to volumio.local user name :<a href="/service/mailto:volumio@volumio.local">volumio@volumio.local</a> and password :volumio</li><li>When login to volumio you will see the prompt volumio@volumio:$ and current directory is /home/volumio</li><li>Enter this command line by line with Enter.</li><li>git clone <a href="https://github.com/goodtft/LCD-show">https://github.com/goodtft/LCD-show</a></li><li>cd LCD-show<br> cd usr</li></ol><p>10. Enter following command</p><p>sudo mkdir -p /etc/X11/xorg.conf.d<br> sudo cp tft35a-overlay.dtb /boot/overlays/tft35a.dtbo<br> sudo cp -rf 99-calibration.conf-35–90 /etc/X11/xorg.conf.d/99- calibration.conf <br> sudo mkdir -p /usr/share/X11/xorg.conf.d/<br> sudo cp -rf ./99-fbturbo.conf /usr/share/X11/xorg.conf.d/99-fbturbo.conf</p><p>4. sudo nano /boot/config.txt<br> put</p><p>dtparam=spi=on</p><p>dtoverlay=tft35a:rotate=90</p><p>before include userconfig.txt</p><p>5. sudo sed ‘s/”fbturbo”/”fbdev”/’ -i /usr/share/X11/xorg.conf.d/99-fbturbo.conf</p><p><strong>(Need to add this for RPI5)</strong></p><p>sudo sed ‘s/fb1/fb0/’ -i /usr/share/X11/xorg.conf.d/99-fbturbo.conf</p><p><strong>*** Note ‘ is single quote , “ is double quote in command line</strong></p><p>6. sudo apt-get -y install xserver-xorg-input-evdev</p><p>7. sudo cp /usr/share/X11/xorg.conf.d/10-evdev.conf /usr/share/X11/xorg.conf.d/45-evdev.conf</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=57072efbd92f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[This is how to installed dietpi on my Raspberry PI.]]></title>
            <link>https://medium.com/@pspracha/this-is-how-to-installed-dietpi-on-my-raspberry-pi-4df1fb2a84b3?source=rss-7a98c60b4bcf------2</link>
            <guid isPermaLink="false">https://medium.com/p/4df1fb2a84b3</guid>
            <dc:creator><![CDATA[Pakit Silprachawong]]></dc:creator>
            <pubDate>Wed, 14 Feb 2024 10:38:56 GMT</pubDate>
            <atom:updated>2024-05-01T10:12:03.109Z</atom:updated>
            <content:encoded><![CDATA[<p>This is how to installed dietpi on my Raspberry PI.</p><p>You can also follow video instruction here: <a href="https://www.youtube.com/watch?v=6XaVtIbwblg">https://www.youtube.com/watch?v=6XaVtIbwblg</a></p><p>Raspberry PI 4B</p><p>Display : 14 inches HDMI display</p><p>user:dietpi or root</p><p>password:dietpi</p><p><strong>Important Command</strong></p><p><strong>dietpi-launcher</strong> : All the DietPi programs in one place</p><p><strong>dietpi-config</strong> : Feature rich configuration tool for your device</p><p><strong>dietpi-software</strong> : Select optimised software for installation</p><ol><li>Flash OS</li><li>Launch command dietpi-software</li><li>Install LMS,Squeeze Lite, Chromium Browser, Install Avahi-Daemon(152) for hostname broadcast (dietpi.loca)</li><li>Edit /boot/config.txt add below config for 14 inches display. I use 1280x400</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*zZEZ8wBrWUhxzr0D3Dkb3Q.jpeg" /></figure><p>max_usb_current=1</p><p>hdmi_group=2</p><p>hdmi_mode=87</p><p>hdmi_cvt 1280 400 60 6 0 0 0</p><p>5. comment dtoverlay=vc4-kms-v3d. ( for 14 inches)</p><p>6.dietpi-launcher to Add Network Drive (Choose Samba).</p><p>I kept my music in my NAS Server</p><p>//IP/Sharename and mount to /mnt/MyMusic (or any name)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TuRLY3j5ZHRUrFXTKg5JAA.png" /></figure><p>7. Config Auto Start with Chromium Browser</p><p>8. edit /boot/dietpi.txt</p><p>SOFTWARE_CHROMIUM_RES_X=1280 <br> SOFTWARE_CHROMIUM_RES_Y=400 <br> SOFTWARE_CHROMIUM_AUTOSTART_URL=127.0.0.1:9000</p><p>9. Config LMS add Music to Library</p><p>10. nano /etc/default/squeezelite to change Player Name</p><p>11. Optimize Chromium</p><p>sudo nano /etc/chromium.d/dietpi <br> comment the original one and add</p><p>export CHROMIUM_FLAGS=”$CHROMIUM_FLAGS — no-sandbox — use-gl=egl — enable-gpu-rasterization”</p><p>12. sudo apt-get install fonts-wqy-zenhei ( asian font)</p><p>sudo apt-get install fonts-thai-tlwg. (thai font)</p><p><strong>13. Hide mouse cursor (optional)</strong></p><p><strong>apt-get install unclutter</strong></p><p>nano /var/lib/dietpi/dietpi-software/installed/chromium-autostart.sh</p><p>Change the last line to these 2 lines:<br> xinit $FP_CHROMIUM $CHROMIUM_OPTS “${URL:-https://dietpi.com/}&quot; &amp;</p><p>sleep 1 &amp;&amp; /usr/bin/unclutter -display :0 -idle 0.01 &amp;</p><p>14. Use dietpi-conconfig to set Static IP (optional)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4df1fb2a84b3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Picore Installation with HDMI 5 inches touch screen]]></title>
            <link>https://medium.com/@pspracha/picore-installation-with-hdmi-5-inches-touch-screen-900ba3b451e3?source=rss-7a98c60b4bcf------2</link>
            <guid isPermaLink="false">https://medium.com/p/900ba3b451e3</guid>
            <dc:creator><![CDATA[Pakit Silprachawong]]></dc:creator>
            <pubDate>Thu, 09 Jun 2022 05:18:51 GMT</pubDate>
            <atom:updated>2022-06-09T05:28:07.102Z</atom:updated>
            <content:encoded><![CDATA[<p>Picore Installation with HDMI 5 inches touch screen</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/717/1*A5X0-m0pBuRIsvkOuuGjFQ.jpeg" /></figure><ol><li>Flash image from Picore Website.</li><li>Resize Partition to 2000.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/958/1*vP6CYdhSRHOS4j3gFlbW_w.png" /></figure><ol><li>Install Extension Files System , exFAT. under LMS.</li><li>Set DAC in Squeezelite Setting-&gt;Audio Output Device Setting</li><li>Load nano extension for easy file editing.</li><li>Load cifsutil extension for NAS mounting.</li><li>Load nfsutil extension for file sharing.</li><li>Enable Bluetooth.</li><li>Enable WIFI.</li><li>Install LMS</li><li>If using NAS ,mount CIFS to NAS,</li><li>Install Tidal , Deezer , Tunein etc.</li><li>Install Jvilite , Set Screen size to the correct screen size.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/991/1*siMqQfPMt28AEyT_elT2Sw.png" /></figure><ol><li>Set up touch screen</li><li>ssh <a href="/service/mailto:tc@pcp.local">tc@pcp.local</a>. password : piCore</li><li>Modify config.txt</li></ol><p>$ mount /mnt/mmcblk0p1</p><p>$ cd /mnt/mmcblk0p1</p><p>$ nano config.txt</p><p>hdmi_force_edid_audio=1</p><p>max_usb_current=1</p><p>hdmi_force_hotplug=1</p><p>config_hdmi_boost=7</p><p>hdmi_group=2</p><p>hdmi_mode=87</p><p>hdmi_drive=2</p><p>hdmi_cvt 800 480 60 6 0 0 0</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*On4Q7f4kuHzgjl4S9mjAyA.png" /></figure><p>4. Create file jivelite.sh in /mnt/mmcblk0p2/tce/ MAKE SURE it is executable</p><p>#!/bin/sh</p><p>EVENTNO=$(<strong>cat</strong> /proc/bus/input/devices | <strong>awk</strong> <strong>‘/QDtech MPI5001/{for(a=0;a&gt;=0;a++){getline;{if(/mouse/==1){ print $NF;exit 0;}}}}’</strong>)</p><p>export JIVE_NOCURSOR=1</p><p>export SDL_VIDEODRIVER=fbcon</p><p>export SDL_FBDEV=/dev/fb0</p><p>export TSLIB_TSDEVICE=/dev/input/<strong>$EVENTNO</strong></p><p>export SDL_MOUSEDRV=TSLIB</p><p>while true; do</p><p>/opt/jivelite/bin/jivelite</p><p>sleep 3</p><p>done</p><p>Control-x to save file.</p><p>5. Reboot</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/320/1*gyaS7y3RXZvF4C_VkvGwtw.jpeg" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=900ba3b451e3" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>