<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Microcontrollers on rawmeat.org</title>
    <link>https://www.rawmeat.org/tags/microcontrollers/</link>
    <description>Recent content in Microcontrollers on rawmeat.org</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Fri, 20 Jun 2025 12:53:00 +0000</lastBuildDate>
    <atom:link href="https://www.rawmeat.org/tags/microcontrollers/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>AHT20 update, and my open source experience</title>
      <link>https://www.rawmeat.org/code/20250620-open_source/</link>
      <pubDate>Fri, 20 Jun 2025 12:53:00 +0000</pubDate>
      <guid>https://www.rawmeat.org/code/20250620-open_source/</guid>
      <description>&lt;p&gt;It&amp;rsquo;s been more than two years since I released my&#xA;&lt;a href=&#34;https://github.com/anglerud/aht20-driver&#34;&gt;AHT20-driver&lt;/a&gt; (a Rust driver for a&#xA;temperature and humidity sensor). I&amp;rsquo;ve had a lot of support and friendly&#xA;interactions as a result, and I&amp;rsquo;d like to highlight what a pleasant experience&#xA;it&amp;rsquo;s been.&lt;/p&gt;&#xA;&lt;p&gt;The AHT20 sensor is a temperature and humidity sensor by the company Asair. I&#xA;used the &lt;a href=&#34;https://www.adafruit.com/product/4566&#34;&gt;Adafruit AHT20&lt;/a&gt; board during&#xA;development. The driver is written in &lt;a href=&#34;https://www.rust-lang.org/&#34;&gt;Rust&lt;/a&gt;, which&#xA;I&amp;rsquo;ve come to really enjoy programming in.&lt;/p&gt;</description>
    </item>
    <item>
      <title>AHT20 thermometer driver</title>
      <link>https://www.rawmeat.org/code/20220130-aht20_driver/</link>
      <pubDate>Sun, 30 Jan 2022 00:39:00 +0000</pubDate>
      <guid>https://www.rawmeat.org/code/20220130-aht20_driver/</guid>
      <description>&lt;p&gt;I wrote a new driver for the &lt;a href=&#34;http://www.aosong.com/en/products-32.html&#34;&gt;AHT20 temperature and humidity&#xA;sensor&lt;/a&gt; in&#xA;&lt;a href=&#34;https://www.rust-lang.org/&#34;&gt;Rust&lt;/a&gt;. This is a continuation of my &lt;a href=&#34;http://www.rawmeat.org/code/20211227-lps25_barometer/&#34;&gt;Barometer&#xA;build article&lt;/a&gt;, where I&#xA;re-use the&#xA;&lt;a href=&#34;https://github.com/anglerud/lps25_pressure_sensor_demo/blob/feature/with_aht20_sensor/src/main.rs#L135&#34;&gt;lps25_pressure_sensor_demo&lt;/a&gt;&#xA;project to add a temperature sensor on the &lt;code&gt;with_aht20_sensor&lt;/code&gt; branch.&lt;/p&gt;&#xA;&lt;p&gt;&#xA;&lt;a href=&#34;https://www.rawmeat.org/code/20220130-aht20_driver-images/project_photo-small.jpg&#34; data-dimbox data-dimbox-caption=&#34;project photo&#34;&gt;&#xA;  &lt;img alt=&#34;project photo&#34; src=&#34;https://www.rawmeat.org/code/20220130-aht20_driver-images/project_photo-small.jpg&#34;/&gt;&#xA;&lt;/a&gt;&#xA;&lt;/p&gt;&#xA;&lt;p&gt;I&amp;rsquo;m a complete novice at Rust and embedded programming. These projects are my&#xA;attempts to learn more about both while having fun and making something useful.&lt;/p&gt;&#xA;&lt;p&gt;You can find the driver at:&lt;/p&gt;</description>
    </item>
    <item>
      <title>Barometer build</title>
      <link>https://www.rawmeat.org/code/20211227-lps25_barometer/</link>
      <pubDate>Sun, 26 Dec 2021 21:00:00 +0000</pubDate>
      <guid>https://www.rawmeat.org/code/20211227-lps25_barometer/</guid>
      <description>&lt;p&gt;I put together a barometer, built around &lt;a href=&#34;https://www.adafruit.com/product/4530&#34;&gt;Adafruit&amp;rsquo;s LPS25 breakout&#xA;board&lt;/a&gt;, the Blue Pill microcontroller,&#xA;and a small 16x2 character LCD panel. It was a learning project, and all of it&#xA;was written in Rust.&lt;/p&gt;&#xA;&lt;p&gt;The finished project is a tangle of wires on a breadboard, and the error&#xA;handling is minimal, but I definitely have a barometer with an LCD readout.&lt;/p&gt;&#xA;&lt;p&gt;You can get the code in my&#xA;&lt;a href=&#34;https://github.com/anglerud/lps25_pressure_sensor_demo&#34;&gt;lps25_pressure_sensor_demo&lt;/a&gt;&#xA;github repo.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
