<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Bento on JeeLabs</title>
    <link>https://jeelabs.org/projects/bento/</link>
    <description>Recent content in Bento on JeeLabs</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en-gb</language>
    <copyright>© 2019 Jean-Claude Wippler</copyright>
    <lastBuildDate>Tue, 09 Jul 2019 00:00:01 +0200</lastBuildDate><atom:link href="https://jeelabs.org/projects/bento/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Measuring with Disco-L053, part 2</title>
      <link>https://jeelabs.org/2019/disco-l053-2/</link>
      <pubDate>Tue, 09 Jul 2019 00:00:01 +0200</pubDate>
      
      <guid>https://jeelabs.org/2019/disco-l053-2/</guid>
      <description>The previous article mentioned that the &amp;ldquo;Disco-L053&amp;rdquo; board includes a complete current measuring circuit, which can handle a range of nearly six decades. So here is a brief description of how to actually use it that way.
First off, on the hardware side, two minor adjustments need to be made to the board:
 Connecting the L053&amp;rsquo;s TX pin to the on-board ST-Link. Connecting the Device Under Test to the board.</description>
    </item>
    
    <item>
      <title>Measuring current with Disco-L053</title>
      <link>https://jeelabs.org/2019/disco-l053/</link>
      <pubDate>Mon, 08 Jul 2019 00:00:00 +0200</pubDate>
      
      <guid>https://jeelabs.org/2019/disco-l053/</guid>
      <description>It turns out that there&amp;rsquo;s a nice way to measure current consumption with a commercial board by ST Microelectronics. It&amp;rsquo;s called the 32L0538-DISCOVERY, but for brevity and consistency I&amp;rsquo;m going to call it the &amp;ldquo;Disco-L053&amp;rdquo; from now on:
This is one of a long range of &amp;ldquo;Discovery&amp;rdquo; evaluation boards by STM, and as you can see it even has a touch slider and 172x72 pixel ePaper display. But the main feature for our purposes is that it includes a very nice current measuring circuit, which is used by some demo software to demonstrate that the main L053 µC on the board draws 42 µA in low-power run mode at 131 KHz and that it has a &amp;ldquo;stop&amp;rdquo; mode which draws a mere 400 nA.</description>
    </item>
    
    <item>
      <title>The PlatformIO command line</title>
      <link>https://jeelabs.org/2019/pio-cli/</link>
      <pubDate>Thu, 04 Jul 2019 00:00:19 +0200</pubDate>
      
      <guid>https://jeelabs.org/2019/pio-cli/</guid>
      <description>Software development for embedded microcontrollers requires &amp;ndash; as a minimum &amp;ndash;
 a text editor to enter and tweak source code, 2) a &amp;ldquo;toolchain&amp;rdquo; to compile and link the code into a firware image suitable for the selected µC, and 3) an upload mechanism. The best-known example of this is no doubt the &amp;ldquo;Arduino IDE&amp;rdquo;, an Integrated Development Environment which, ehm &amp;hellip; integrates all of the above into a single (open-source and free) product.</description>
    </item>
    
    <item>
      <title>Low-power L031 [solved]</title>
      <link>https://jeelabs.org/2018/low-power-l031/</link>
      <pubDate>Fri, 28 Dec 2018 00:00:19 +0100</pubDate>
      
      <guid>https://jeelabs.org/2018/low-power-l031/</guid>
      <description>The exploration into low-power sleep modes continues. An STM32F103 draws just 3 µA in standby mode, but that&amp;rsquo;s not the end of the story. The STM32L0xx µCs are more modern and even lower-power. So I just had to try the same thing again with an STM32L031:
This is a small, but still hand-solderable, TSSOP-20 package. There&amp;rsquo;s even a TSSOP-14, if you&amp;rsquo;re willing to switch to L011 (2K ram instead of 8K).</description>
    </item>
    
    <item>
      <title>Current measurements</title>
      <link>https://jeelabs.org/2018/current-measurement/</link>
      <pubDate>Tue, 11 Dec 2018 11:34:11 +0100</pubDate>
      
      <guid>https://jeelabs.org/2018/current-measurement/</guid>
      <description>An F103 sleeping with a current consumption of 3 µA is very impressive. This translates to about 7 years of &amp;ldquo;run&amp;rdquo; time on a CR2032 coin cell (although not doing anything useful). That is three orders of magnitude lower than the ≈ 5 mA of standard run mode at 8 Mhz.
And it&amp;rsquo;s very much in line with the capabilities specified in the STM32F103 datasheet:
Our demo actually exceeds the specs given in the table above, which is down to 3.</description>
    </item>
    
    <item>
      <title>STM32F103 low-power mode</title>
      <link>https://jeelabs.org/2018/standby-current-f103/</link>
      <pubDate>Mon, 10 Dec 2018 03:34:11 +0100</pubDate>
      
      <guid>https://jeelabs.org/2018/standby-current-f103/</guid>
      <description>I&amp;rsquo;ve always kept an interest in low-power explorations, most of which I did many years ago. First there was the ATmega328, then the LPC824, and finally on the STM32L052. One reason, is that I find it fascinating to see a µC drop multiple orders of magnitude in power consumption, yet still have enough wits to wake up, periodically or via an I/O pin.
It&amp;rsquo;s hard to overstate the effect this can have on real-world devices: letting a circuit drop to µWatt power levels, i.</description>
    </item>
    
  </channel>
</rss>
