<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>i2c on soldernerd</title><link>https://soldernerd.com/tags/i2c/</link><description>Recent content in i2c on soldernerd</description><generator>Hugo -- gohugo.io</generator><language>en</language><copyright>&amp;copy; 2026 Lukas F&amp;auml;ssler &amp;middot; soldernerd</copyright><lastBuildDate>Wed, 04 Jul 2018 00:00:00 +0000</lastBuildDate><atom:link href="https://soldernerd.com/tags/i2c/index.xml" rel="self" type="application/rss+xml"/><item><title>MPPT Solar Charger - Revision F</title><link>https://soldernerd.com/posts/mppt-solar-charger-revision-f/</link><pubDate>Wed, 04 Jul 2018 00:00:00 +0000</pubDate><guid>https://soldernerd.com/posts/mppt-solar-charger-revision-f/</guid><description>&lt;p&gt;While the solar charger was originally intended to be used as a standalone device, it can just as well be integrated into other projects. In such applications, the user interface can be left away without sacrificing functionality other than the display and rotary encoder.&lt;/p&gt;</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://soldernerd.com/posts/mppt-solar-charger-revision-f/feature.jpg"/></item><item><title>Low Power User Interface</title><link>https://soldernerd.com/posts/low-power-user-interface/</link><pubDate>Fri, 14 Oct 2016 00:00:00 +0000</pubDate><guid>https://soldernerd.com/posts/low-power-user-interface/</guid><description>&lt;figure&gt;&lt;img
 class="my-0 rounded-md"
 loading="lazy"
 decoding="async"
 fetchpriority="auto"
 alt="20161007_userinterfacereva_001"
 width="1024"
 height="683"
 src="https://soldernerd.com/posts/low-power-user-interface/images/20161007_UserInterfaceRevA_001-1024x683_hu_32a0960dca3629da.jpg"
 srcset="https://soldernerd.com/posts/low-power-user-interface/images/20161007_UserInterfaceRevA_001-1024x683_hu_32a0960dca3629da.jpg 800w, https://soldernerd.com/posts/low-power-user-interface/images/20161007_UserInterfaceRevA_001-1024x683.jpg 1280w"
 sizes="(min-width: 768px) 50vw, 65vw"
 data-zoom-src="https://soldernerd.com/posts/low-power-user-interface/images/20161007_UserInterfaceRevA_001-1024x683.jpg"&gt;&lt;/figure&gt;
&lt;p&gt;As you may have noticed I&amp;rsquo;m quite busy working on the &lt;a href="https://soldernerd.com/projects/mppt-solar-charger/" &gt;MPPT Solar Charger&lt;/a&gt; project. The &lt;a href="https://soldernerd.com/posts/mppt-solar-charger-testing/" &gt;latest version&lt;/a&gt; uses a 4 lines x 20 characters LCD that connects via I2C as well as a rotary encoder with a push button.&lt;/p&gt;</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://soldernerd.com/posts/low-power-user-interface/feature.jpg"/></item><item><title>Bi-Directional Voltage Level Translator - Board House Test</title><link>https://soldernerd.com/posts/bi-directional-voltage-level-translator-board-house-test/</link><pubDate>Mon, 15 Aug 2016 00:00:00 +0000</pubDate><guid>https://soldernerd.com/posts/bi-directional-voltage-level-translator-board-house-test/</guid><description>&lt;figure&gt;&lt;img
 class="my-0 rounded-md"
 loading="lazy"
 decoding="async"
 fetchpriority="auto"
 alt="20160706_VoltageLevelTranslator_002"
 width="1024"
 height="683"
 src="https://soldernerd.com/posts/bi-directional-voltage-level-translator-board-house-test/images/20160706_VoltageLevelTranslator_002-1024x683_hu_a728169242db7fc8.jpg"
 srcset="https://soldernerd.com/posts/bi-directional-voltage-level-translator-board-house-test/images/20160706_VoltageLevelTranslator_002-1024x683_hu_a728169242db7fc8.jpg 800w, https://soldernerd.com/posts/bi-directional-voltage-level-translator-board-house-test/images/20160706_VoltageLevelTranslator_002-1024x683.jpg 1280w"
 sizes="(min-width: 768px) 50vw, 65vw"
 data-zoom-src="https://soldernerd.com/posts/bi-directional-voltage-level-translator-board-house-test/images/20160706_VoltageLevelTranslator_002-1024x683.jpg"&gt;&lt;/figure&gt;
&lt;p&gt;While most of my microcontroller designs run on 3.3 volts there is still the ocasional 5 volt design. Or I do something with an Arduino. So the need may arise to interface between logic working at different voltage levels. There are several ways of doing this, depending on your needs. Things are relatively simple as long as you know in advance which side is transmitting and which side is receiving. It gets more difficult if the communication is bi-directional or with busses such as I2C that are bi-directional by nature. I did a search on farnell.com and identified two chips that can translate between almost any two voltage levels bi-directionally. The Texas Instruments TXB0106 works with up to 6 CMOS (i.e. actively driven high or low) signals for protocols such as SPI. The PCA9306 (also from TI) is intended for protocols such as I2C that rely on pull-up resistors and where a line must never be actively driven high.&lt;/p&gt;</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://soldernerd.com/posts/bi-directional-voltage-level-translator-board-house-test/feature.jpg"/></item><item><title>Ultrasonic Anemometer Part 24: New Microcontroller and Software Controlled Gain</title><link>https://soldernerd.com/posts/ultrasonic-anemometer-part-24-new-microcontroller-and-software-controlled-gain/</link><pubDate>Sun, 26 Jun 2016 00:00:00 +0000</pubDate><guid>https://soldernerd.com/posts/ultrasonic-anemometer-part-24-new-microcontroller-and-software-controlled-gain/</guid><description>&lt;p&gt;It&amp;rsquo;s been almost three weeks since my &lt;a href="https://soldernerd.com/posts/ultrasonic-anemometer-part-23-first-successful-measurements/" &gt;last post&lt;/a&gt; and some further progress has been made. I&amp;rsquo;ve upgraded the microcontroller and can now control the gain of the second amplifier stage in software. But let&amp;rsquo;s look at the changes in some more detail.&lt;/p&gt;</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://soldernerd.com/posts/ultrasonic-anemometer-part-24-new-microcontroller-and-software-controlled-gain/feature.jpg"/></item></channel></rss>