<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>IoT on seth-shi</title><link>https://sethix.com/tags/iot/</link><description>Recent content in IoT on seth-shi</description><generator>Hugo -- gohugo.io</generator><language>en</language><lastBuildDate>Tue, 15 Mar 2022 22:19:56 +0800</lastBuildDate><atom:link href="https://sethix.com/tags/iot/index.xml" rel="self" type="application/rss+xml"/><item><title>[IoT] Raspberry Pi Pico Plays Music via Buzzer</title><link>https://sethix.com/posts/2022031522/</link><pubDate>Tue, 15 Mar 2022 22:19:56 +0800</pubDate><guid>https://sethix.com/posts/2022031522/</guid><description>Connecting a buzzer is relatively simple. You&amp;rsquo;ll need a buzzer module (I&amp;rsquo;m using an active/passive buzzer module).
Buzzer The buzzer has only three pins. Here&amp;rsquo;s the wiring reference:
Raspberry Pi Buzzer Note VUSB VCC 5V power (Pin 40) GP22 I/O GPIO pin GND GND Ground Found an arrangement of &amp;ldquo;Iron Blood Loyal Heart&amp;rdquo; online:
package main import ( &amp;#34;machine&amp;#34; &amp;#34;time&amp;#34; &amp;#34;tinygo.org/x/drivers/buzzer&amp;#34; ) type note struct { tone float64 duration float64 } func main() { // Note that 22 here is the I/O pin bzrPin := machine.</description></item><item><title>[IoT] Raspberry Pi Pico Lighting Up the Display</title><link>https://sethix.com/posts/2022031210/</link><pubDate>Sat, 12 Mar 2022 10:10:38 +0800</pubDate><guid>https://sethix.com/posts/2022031210/</guid><description>A craftsman must sharpen his tools to do his work well. First, let&amp;rsquo;s configure our development environment. Refer to the official TinyGo IDE integration guide: https://tinygo.org/docs/guides/ide-integration/ Using GoLand 2021 as our IDE, follow these steps: Install the TinyGo plugin: JetBrains Plugin Repository or search directly in File -&amp;gt; Settings -&amp;gt; Plugins After installation, configure the board type at File -&amp;gt; Settings -&amp;gt; Go -&amp;gt; TinyGo (select &amp;ldquo;pico&amp;rdquo; in this case) Restart GoLand 2021 to activate Pico-specific code completion TinyGo Plugin The display used in this project is a 0.</description></item><item><title>[IoT] Getting Started - Blinking the LED</title><link>https://sethix.com/posts/2022030917/</link><pubDate>Wed, 09 Mar 2022 17:59:04 +0800</pubDate><guid>https://sethix.com/posts/2022030917/</guid><description>Introduction As a complete novice in IoT development, after several days of online research, I learned that:
ESP32https://www.espressif.com/zh-hans/products/socs/esp32 is the king of cost-performance (built-in WiFi + Bluetooth) Raspberry Pi Pico is beginner-friendly and easy to blink LEDs To balance both cost-performance and ease of use, I bought both boards Both have official Taobao stores linked from their official websites: Raspberry Pi Espressif Systems Both boards cost around 20-30 RMB Windows Environment Variables Right-click Computer (or open any folder and right-click &amp;ldquo;This PC&amp;rdquo;) -&amp;gt; Properties -&amp;gt; Advanced System Settings -&amp;gt; Environment Variables -&amp;gt; Double-click PATH (System variables) -&amp;gt; Add new paths as needed Go Installation Download from https://golang.</description></item></channel></rss>