<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Blogs on Minimal Setups</title>
    <link>http://172.16.3.33:1313/blog/</link>
    <description>Recent content in Blogs on Minimal Setups</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Thu, 13 Mar 2025 00:00:00 +0000</lastBuildDate>
    <atom:link href="http://172.16.3.33:1313/blog/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Tetris</title>
      <link>http://172.16.3.33:1313/blog/tetris/</link>
      <pubDate>Mon, 27 May 2024 00:00:00 +0000</pubDate>
      <guid>http://172.16.3.33:1313/blog/tetris/</guid>
      <description>&lt;h1 id=&#34;tetris---hardware-and-software&#34;&gt;Tetris - Hardware and Software&lt;/h1&gt;&#xA;&lt;p&gt;&lt;img src=&#34;http://172.16.3.33:1313/IMG_4936.jpg&#34; alt=&#34;&#34;&gt;&lt;/p&gt;&#xA;&lt;p&gt;Update Amplifier (separate input circuitry per PSG, it appears, that a silent PSG has a DC level on its output which is summarized to the AC output of the working PSG, so two input circuits with individual couping capacitor):&lt;/p&gt;&#xA;&lt;p&gt;&lt;img src=&#34;http://172.16.3.33:1313/IMG_4941.jpg&#34; alt=&#34;&#34;&gt;&lt;/p&gt;&#xA;&lt;p&gt;Update of the power switch of the amplifier (at appears, that the small transistor couldn&amp;rsquo;t deliver enough current):&lt;/p&gt;&#xA;&lt;p&gt;&lt;img src=&#34;http://172.16.3.33:1313/IMG_4958.jpeg&#34; alt=&#34;&#34;&gt;&lt;/p&gt;&#xA;&lt;p&gt;This Tetris implementation consists of a hardware and a software (running on that hardware).&lt;/p&gt;</description>
    </item>
    <item>
      <title>PL 9823 meets MSP430</title>
      <link>http://172.16.3.33:1313/blog/rgb-driver/</link>
      <pubDate>Sat, 25 May 2024 00:00:00 +0000</pubDate>
      <guid>http://172.16.3.33:1313/blog/rgb-driver/</guid>
      <description>&lt;h2 id=&#34;generating-signals-for-pl-9823-using-a-msp430&#34;&gt;Generating signals for PL 9823 using a MSP430&lt;/h2&gt;&#xA;&lt;h3 id=&#34;debugging&#34;&gt;Debugging&lt;/h3&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;mspdebug rf2500 gdb&#xA;&#xA;msp430-gdb -x firmware.gdb&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Attention: the gdb in the TI toolchain package is broken, use the one from Debian&lt;/p&gt;&#xA;&lt;h3 id=&#34;signals-working-cycler&#34;&gt;Signals Working Cycler&lt;/h3&gt;&#xA;&lt;p&gt;These signals are related to code under tag &lt;code&gt;cycler_works_include_output_stage&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;p&gt;First octets:&lt;/p&gt;&#xA;&lt;p&gt;&lt;img src=&#34;http://172.16.3.33:1313/cycler_working_first_octets.png&#34; alt=&#34;&#34;&gt;&lt;/p&gt;&#xA;&lt;p&gt;Last octets:&lt;/p&gt;&#xA;&lt;p&gt;&lt;img src=&#34;http://172.16.3.33:1313/cycler_working_last_octets.png&#34; alt=&#34;&#34;&gt;&lt;/p&gt;&#xA;&lt;p&gt;Schematics and legend for signals:&lt;/p&gt;&#xA;&lt;p&gt;&lt;img src=&#34;http://172.16.3.33:1313/schematics.jpeg&#34; alt=&#34;&#34;&gt;&lt;/p&gt;&#xA;&lt;h4 id=&#34;some-more-explanations&#34;&gt;Some more explanations&lt;/h4&gt;&#xA;&lt;p&gt;Consider above schematics and the screen shot &amp;ldquo;Last octets&amp;rdquo; from the oscilloscope.&lt;/p&gt;&#xA;&lt;p&gt;&lt;img src=&#34;http://172.16.3.33:1313/timing.png&#34; alt=&#34;&#34;&gt;&lt;/p&gt;&#xA;&lt;p&gt;Timer TA1 is running in &amp;ldquo;up mode&amp;rdquo; to the value 45 set in compare register &lt;code&gt;TA1CCR0&lt;/code&gt;. The compare registers &lt;code&gt;TA1CCR1&lt;/code&gt; is set to 10, &lt;code&gt;TA1CCR2&lt;/code&gt; is set to 22.&#xA;The output mode of the timer is set to &amp;ldquo;Reset/Set&amp;rdquo;, which means the GPIO associated with &lt;code&gt;TA1CCR1&lt;/code&gt; (P2.1) and &lt;code&gt;TA1CCR2&lt;/code&gt; (P2.4) are set at the overflow and&#xA;restart of the counter and reset when the counter matches the associated compare value.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Stratum 1 NTP Server participating in ntppool.org</title>
      <link>http://172.16.3.33:1313/blog/timeserver2/</link>
      <pubDate>Thu, 13 Mar 2025 00:00:00 +0000</pubDate>
      <guid>http://172.16.3.33:1313/blog/timeserver2/</guid>
      <description></description>
    </item>
    <item>
      <title>Just another Stratum 1 Timeserver</title>
      <link>http://172.16.3.33:1313/blog/timeserver/</link>
      <pubDate>Tue, 11 Feb 2025 00:00:00 +0000</pubDate>
      <guid>http://172.16.3.33:1313/blog/timeserver/</guid>
      <description>&lt;p&gt;&lt;img src=&#34;http://172.16.3.33:1313/IMG_6045.jpg&#34; alt=&#34;&#34;&gt;&lt;/p&gt;&#xA;&lt;p&gt;This server utilizes &lt;code&gt;ntpsec&lt;/code&gt; on Debian on a BeagleBone Black with a UBlox GPS module.&lt;/p&gt;&#xA;&lt;p&gt;It has been joined the NTP pool, the statistics are available at &lt;a href=&#34;https://www.ntppool.org/scores/93.241.86.156&#34;&gt;https://www.ntppool.org/scores/93.241.86.156&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;Some additional statistics graphs for the server are available at &lt;a href=&#34;https://numbers.hottis.de/ntpserver&#34;&gt;https://numbers.hottis.de/ntpserver&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;h2 id=&#34;preparation-of-the-beaglebone&#34;&gt;Preparation of the BeagleBone&lt;/h2&gt;&#xA;&lt;p&gt;The GPS module is connected via serial line to the UART of the BB.&lt;/p&gt;&#xA;&lt;p&gt;The additional connection of the PPS output with the PPS device of the Linux running on the BB via a GPIO must be prepared. A device tree overlay must be created and compiled:&lt;/p&gt;</description>
    </item>
    <item>
      <title>Yet Another Debouncing Method</title>
      <link>http://172.16.3.33:1313/blog/debouncing/</link>
      <pubDate>Mon, 30 Apr 2018 00:00:00 +0000</pubDate>
      <guid>http://172.16.3.33:1313/blog/debouncing/</guid>
      <description>&lt;p&gt;You can find several approaches for debouncing mechanical switches on the Internet, some work better, some not so good.&lt;/p&gt;&#xA;&lt;p&gt;One common approach is to ignore events in an ISR when they come too fast:&amp;lt;&lt;/p&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;void count() {&#xA;&#x9;static uint32_t lastEvent = 0;&#xA;&#x9;uint32_t currentEvent = micros();&#xA;&#x9;if (currentEvent &amp;amp;gt; (lastEvent + configBlock.debounce)) {&#xA;&#x9;&#x9;lastEvent = currentEvent;&#xA;&#x9;&#x9;cnt++;&#xA;&#x9;}&#xA;}&#xA;&#xA;void setup() {&#xA;        pinMode(REED_PIN, INPUT_PULLUP);&#xA;        attachInterrupt(REED_PIN, count, FALLING);&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;This works very good when only the tipping of a switch is relevant.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Three Phase Inverter - Second Service</title>
      <link>http://172.16.3.33:1313/blog/three-phase-inverter-ng/</link>
      <pubDate>Mon, 19 Dec 2016 00:00:00 +0000</pubDate>
      <guid>http://172.16.3.33:1313/blog/three-phase-inverter-ng/</guid>
      <description>&lt;p&gt;I wrote in October about my first try to build a simple three phase inverter, see &lt;a href=&#34;http://172.16.3.33:1313/blog/three-phase-inverter/&#34;&gt;here&lt;/a&gt;. In the first try I used four MSP430 microcontroller, one for the PWM of each phase and one to coordinate the phase shift of the three phases.&lt;/p&gt;&#xA;&lt;p&gt;In this experiment I put everything on one STM32 microcontroller. Here I used the DMA feature to feed data into the PWM counter and I calculated the sine values at start-up time on the microcontroller. Additionally I put in the driver for a CAN interface, however, it is not yet supported in the firmware.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Three Phase Inverter</title>
      <link>http://172.16.3.33:1313/blog/three-phase-inverter/</link>
      <pubDate>Fri, 14 Oct 2016 00:00:00 +0000</pubDate>
      <guid>http://172.16.3.33:1313/blog/three-phase-inverter/</guid>
      <description>&lt;p&gt;Already when I was still in school, about 30 years ago, I was curious to make an inverter using some MOSFETs. I actually was able to build a simple one phase inverter with rectangular signal shape (I used a NE555). Using this thing I drove a transformer to light a blub. However, all of these inverters I built passed by in fire.&lt;/p&gt;&#xA;&lt;p&gt;Now, I tried it again, not longer using MOSFETs but IGBTs with free-wheeling diode. Moreover, I used some microcontrollers and sine values to feed a PWM to get a sine-alike signal shape. And this time I was able with three phases to drive an asynchronous motor.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Theremin</title>
      <link>http://172.16.3.33:1313/blog/theremin/</link>
      <pubDate>Mon, 01 Jul 2013 00:00:00 +0000</pubDate>
      <guid>http://172.16.3.33:1313/blog/theremin/</guid>
      <description>&lt;p&gt;A &lt;a href=&#34;https://en.wikipedia.org/wiki/Theremin&#34;&gt;Theremin&lt;/a&gt; is a rather old electronic music instrument, invented in 1928. It is played by approaching hands to two antennas, without touching them. One antenna is used to manipulate the frequeny of the tone, the other one to manipulate the volume.&lt;/p&gt;&#xA;&lt;p&gt;&lt;img src=&#34;http://172.16.3.33:1313/foto-am-30-06-13-um-20-021.jpg&#34; alt=&#34;&#34;&gt;&lt;/p&gt;&#xA;&lt;p&gt;This is just another Theremin. Only basic structure of the circuit was taken from many other published Theremin circuits.&lt;/p&gt;&#xA;&lt;p&gt;&lt;img src=&#34;http://172.16.3.33:1313/scan_005006-1024x654.jpg&#34; alt=&#34;&#34;&gt;&lt;/p&gt;&#xA;&lt;p&gt;Completely new (or at least not found during my Theremin googling) is the digital zero-calibration.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Children Protection for Postfix-based EMail-Server</title>
      <link>http://172.16.3.33:1313/blog/email-childprot/</link>
      <pubDate>Thu, 27 Jun 2013 00:00:00 +0000</pubDate>
      <guid>http://172.16.3.33:1313/blog/email-childprot/</guid>
      <description>&lt;p&gt;This small tool implements a whitelist on a Postfix mail-server. It prevents certain recipient addresses (your kids ones) from&#xA;receiving mail from any not whitelisted address. Any mail from not whitelisted senders is redirected to a delegate (a parent).&lt;/p&gt;&#xA;&lt;p&gt;The code for this tool can is here: &lt;a href=&#34;https://gitea.hottis.de/wn/childprot&#34;&gt;https://gitea.hottis.de/wn/childprot&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;Configure the tool by adding this line into the &lt;code&gt;master.cf&lt;/code&gt; of the Postfix installation:&lt;/p&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;childprot unix -   n    n    -    25    spawn user=mail argv=/opt/sbin/ChildProt&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;and this one to the &lt;code&gt;main.cf&lt;/code&gt;:&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
