<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>MicroPython on JKTDEV.CO.UK</title><link>/tags/micropython/</link><description>Recent content in MicroPython on JKTDEV.CO.UK</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Wed, 24 Jun 2026 22:09:37 +0100</lastBuildDate><atom:link href="/tags/micropython/index.xml" rel="self" type="application/rss+xml"/><item><title>Improving the EC11 Encoder and RS485 Test Setup</title><link>/posts/buildingblockspt23/</link><pubDate>Wed, 24 Jun 2026 22:09:37 +0100</pubDate><guid>/posts/buildingblockspt23/</guid><description>&lt;h2 id="improving-the-ec11-encoder-and-rs485-test-setup"&gt;Improving the EC11 Encoder and RS485 Test Setup&lt;/h2&gt;
&lt;p&gt;Today I mainly concentrated on improving the transmitter-side and receiver-side software for the EC11 rotary encoder test setup.&lt;/p&gt;
&lt;p&gt;The setup uses the Digital IO Expander board to read the rotary encoder and push button, sends events over RS485, and displays the result on a Raspberry Pi Pico 2 W receiver with an OLED display.&lt;/p&gt;
&lt;figure&gt;&lt;a href="testsetupdisplay.jpg"&gt;&lt;img src="/posts/buildingblockspt23/testsetupdisplay.jpg"
 alt="Test Setup with OLED Display"&gt;&lt;/a&gt;&lt;figcaption&gt;
 &lt;h4&gt;Test Setup with OLED Display&lt;/h4&gt;
 &lt;/figcaption&gt;
&lt;/figure&gt;

&lt;p&gt;The aim was not to build a complete production-ready control system, but to validate the hardware and prove that the boards could work together in a simple but realistic integration test.&lt;/p&gt;</description></item><item><title>Testing the RS485 Building Block Board</title><link>/posts/buildingblockspt20/</link><pubDate>Thu, 18 Jun 2026 21:22:19 +0100</pubDate><guid>/posts/buildingblockspt20/</guid><description>&lt;h2 id="testing-the-rs485-building-block-board"&gt;Testing the RS485 Building Block Board&lt;/h2&gt;
&lt;p&gt;Today I tested the simplified RS485 Building Block Board, which was derived from the original RS485 + 48 V Passthrough Board.&lt;/p&gt;
&lt;p&gt;The standalone RS485 circuit had already been designed as part of the earlier combined board, so creating this version was fairly straightforward. This board removes the 48 V passthrough, voltage regulators, and additional protection circuitry from the previous design, leaving a smaller board focused purely on RS485 communication.&lt;/p&gt;</description></item><item><title>Digital I/O Expander Testing: Inputs</title><link>/posts/buildingblockspt19/</link><pubDate>Wed, 17 Jun 2026 20:09:47 +0100</pubDate><guid>/posts/buildingblockspt19/</guid><description>&lt;h2 id="digital-io-expander-testing-inputs"&gt;Digital I/O Expander Testing: Inputs&lt;/h2&gt;
&lt;p&gt;Today I continued the testing I started yesterday, this time looking at the input side of the Digital I/O Expander building block board.&lt;/p&gt;
&lt;p&gt;The first test was a basic input check. I wrote a small script to read the input pins and print the result to the serial console. The plan was simple: set each input high one by one, then check that the board was reading the input correctly.&lt;/p&gt;</description></item><item><title>Testing the Digital IO Expander and RS485 Building Block Boards</title><link>/posts/buildingblockspt18/</link><pubDate>Tue, 16 Jun 2026 21:55:59 +0100</pubDate><guid>/posts/buildingblockspt18/</guid><description>&lt;h2 id="digital-io-expander-and-rs485-building-block-boards"&gt;Digital IO Expander and RS485 Building Block Boards&lt;/h2&gt;
&lt;p&gt;Today I received the Rev A versions of the Digital IO Expander and RS485 building block boards from the PCB manufacturer.&lt;/p&gt;
&lt;p&gt;After a brief visual inspection, both boards look good. Of course, the real answer only comes once they are on the bench and tested properly.&lt;/p&gt;
&lt;figure&gt;&lt;a href="rs485-standalone.jpg"&gt;&lt;img src="/posts/buildingblockspt18/rs485-standalone.jpg"
 alt="RS485 physical board"&gt;&lt;/a&gt;&lt;figcaption&gt;
 &lt;h4&gt;RS485 Physical Board&lt;/h4&gt;
 &lt;/figcaption&gt;
&lt;/figure&gt;

&lt;figure&gt;&lt;a href="digitalioexpansion.jpg"&gt;&lt;img src="/posts/buildingblockspt18/digitalioexpansion.jpg"
 alt="Digital IO Expander physical board"&gt;&lt;/a&gt;&lt;figcaption&gt;
 &lt;h4&gt;Digital IO Expander Physical Board&lt;/h4&gt;
 &lt;/figcaption&gt;
&lt;/figure&gt;

&lt;p&gt;As I am already in familiar territory with the RS485 building block board, having tested its predecessor, the RS485 + 48 V building block board, I decided to test the Digital IO Expander first.&lt;/p&gt;</description></item></channel></rss>