{"id":21020,"date":"2021-04-23T17:29:37","date_gmt":"2021-04-23T16:29:37","guid":{"rendered":"https:\/\/www.recantha.co.uk\/blog\/?p=21020"},"modified":"2021-04-25T11:11:15","modified_gmt":"2021-04-25T10:11:15","slug":"guest-post-building-a-custom-raspberry-pi-pico-powered-temperature-sensor-using-mqtt-and-circuitpython","status":"publish","type":"post","link":"https:\/\/www.recantha.co.uk\/blog\/?p=21020","title":{"rendered":"Guest post &#8211; Building a custom Raspberry Pi Pico-powered WiFi temperature sensor using MQTT and CircuitPython"},"content":{"rendered":"<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-21025\" src=\"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/04\/20210422212453_IMG_3654_sm.jpg?resize=560%2C373&#038;ssl=1\" alt=\"\" width=\"560\" height=\"373\" srcset=\"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/04\/20210422212453_IMG_3654_sm.jpg?w=1200&amp;ssl=1 1200w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/04\/20210422212453_IMG_3654_sm.jpg?resize=300%2C200&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/04\/20210422212453_IMG_3654_sm.jpg?resize=1024%2C683&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/04\/20210422212453_IMG_3654_sm.jpg?resize=768%2C512&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/04\/20210422212453_IMG_3654_sm.jpg?resize=560%2C373&amp;ssl=1 560w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/04\/20210422212453_IMG_3654_sm.jpg?resize=260%2C173&amp;ssl=1 260w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/04\/20210422212453_IMG_3654_sm.jpg?resize=160%2C107&amp;ssl=1 160w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/04\/20210422212453_IMG_3654_sm.jpg?w=1120&amp;ssl=1 1120w\" sizes=\"auto, (max-width: 560px) 100vw, 560px\" \/><\/p>\n<p><em>David Booth is here with another guest post. This time a custom temperature sensor using a Raspberry Pi Pico and a self-designed PCB.<\/em><\/p>\n<h2>Overview<\/h2>\n<p>A custom, low power temperature sensor powered by a Raspberry Pi Pico with an LCD display and WiFi connectivity for integration into an <a href=\"https:\/\/mqtt.org\/\" target=\"_blank\" rel=\"noopener\">MQTT<\/a> home automation hub.<\/p>\n<h2>Specifications<\/h2>\n<p>For a number of years now, I\u2019ve been wanting to monitor room temperatures across my house to assess the effect of multiple heating sources and insulation efficiency. Best practice would dictate that I have multiple sensors running in parallel to get data points that are relative to one another. For multiple sensors to be running constantly, I\u2019d prefer it to be low powered and low cost to maximise the number of units I can have in the setup. For ease of setup, it would be preferable for each unit to be wireless to allow temperature data collection to be performed in a single location and for each unit to only require a power connection.<\/p>\n<h1>Prototyping<\/h1>\n<h3>1. In the early days<\/h3>\n<p>Since the Pico came about, it became the obvious choice over a Pi Zero due to its low power consumption and the fact that it didn\u2019t matter if the device lost power at any time. Stage one was to learn how to integrate the Pico with a screen and a temperature sensor. <a href=\"https:\/\/shop.pimoroni.com\/products\/pico-omnibus\" target=\"_blank\" rel=\"noopener\">The Pico Omnibus from Pimoroni<\/a> with dual expansion board pins meant I could start by adding a dedicated Pico Display and still have easy access to the GPIO pins for connecting other boards. At the time of launch, there were no Pico add-on boards with temperature sensors that I could find so I chose a <a href=\"https:\/\/shop.pimoroni.com\/products\/bmp280-breakout-temperature-pressure-altitude-sensor\" target=\"_blank\" rel=\"noopener\">BMP280 temperature\/humidity I2C sensor<\/a> due to its low cost and small size.<\/p>\n<p>The first working prototype stored the average temperature over an hour and displayed this as a graph for a 24 hour period.<img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-21026 size-large\" style=\"letter-spacing: 0.8px;\" src=\"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/04\/prototype_sm.jpg?resize=560%2C714&#038;ssl=1\" alt=\"\" width=\"560\" height=\"714\" srcset=\"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/04\/prototype_sm.jpg?resize=803%2C1024&amp;ssl=1 803w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/04\/prototype_sm.jpg?resize=235%2C300&amp;ssl=1 235w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/04\/prototype_sm.jpg?resize=768%2C980&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/04\/prototype_sm.jpg?resize=560%2C714&amp;ssl=1 560w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/04\/prototype_sm.jpg?resize=260%2C332&amp;ssl=1 260w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/04\/prototype_sm.jpg?resize=160%2C204&amp;ssl=1 160w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/04\/prototype_sm.jpg?w=1200&amp;ssl=1 1200w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/04\/prototype_sm.jpg?w=1120&amp;ssl=1 1120w\" sizes=\"auto, (max-width: 560px) 100vw, 560px\" \/><\/p>\n<h3>2. Temporal progress<\/h3>\n<p>To further the project, the next stage was to make the Pico able to wirelessly transmit the data to some sort of hub. I already have an MQTT broker for my custom Raspberry Pi-powered network doorbell and automated LED porch lights so it made sense to link the two systems together.<\/p>\n<p>When designing, the Pico was new so there were no dedicated WiFi systems with documentation on how to connect them together. That was until <a href=\"https:\/\/www.tomshardware.com\/uk\/how-to\/get-wi-fi-internet-on-raspberry-pi-pico\" target=\"_blank\" rel=\"noopener\">Les Pounder from Tom\u2019s Hardware did a great writeup\u00a0on how to use the AirLift WiFi Featherwing with the Pico<\/a>. Coincidentally, I had already bought an <a href=\"https:\/\/shop.pimoroni.com\/products\/adafruit-airlift-featherwing-esp32-wifi-co-processor\" target=\"_blank\" rel=\"noopener\">AirLift<\/a> with the intention to \u201cmesh\u201d it with the Pico. This, however, came with the caveat that I would need to swap from the default Raspberry Pi MicroPython firmware to CircuitPython firmware. Thinking this was going to be a nightmare, I was happy to find out it was painless and actually made development much easier. With CircuitPython, the Pico was now accessible as a USB storage device so I could edit the files directly on the Pico using a standard text editor of my choice (not forced into using something like Thonny). It also had the added benefit that the Pico auto-reloaded my code when the source code files were modified. I just had to remember to copy over the Adafruit CircuitPython packages necessary to interact with the ESP32 SPI WiFi module and BMP280 temperature sensor.<\/p>\n<p>The only downside I found was that the Adafruit CircuitPython packages for the Pico Display worked differently to the Pimoroni MicroPython packages and were less helpful when it came to example code. I should be clear: it did have a few examples, but they were for static display of information, not changeable, constantly-updated data like I\u2019d need. It therefore took a bit of \u201cexperimenting\u201d to port my code over to the new style.<\/p>\n<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-21028\" src=\"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/04\/sensor_diagonal_sm.jpg?resize=560%2C265&#038;ssl=1\" alt=\"\" width=\"560\" height=\"265\" srcset=\"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/04\/sensor_diagonal_sm.jpg?w=1200&amp;ssl=1 1200w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/04\/sensor_diagonal_sm.jpg?resize=300%2C142&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/04\/sensor_diagonal_sm.jpg?resize=1024%2C485&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/04\/sensor_diagonal_sm.jpg?resize=768%2C364&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/04\/sensor_diagonal_sm.jpg?resize=560%2C265&amp;ssl=1 560w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/04\/sensor_diagonal_sm.jpg?resize=260%2C123&amp;ssl=1 260w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/04\/sensor_diagonal_sm.jpg?resize=160%2C76&amp;ssl=1 160w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/04\/sensor_diagonal_sm.jpg?w=1120&amp;ssl=1 1120w\" sizes=\"auto, (max-width: 560px) 100vw, 560px\" \/><\/p>\n<h3>3. Moving away from the \u201cbreadboard\u201d<\/h3>\n<p>The prototype was now operational but was a mess of wires connecting the WiFi and temperature sensor to the Pico as neither module fitted onto the Pimoroni Pico Omnibus board and I had to use jumper wires to get to this stage.<\/p>\n<p>Wanting to make a custom PCB to neaten everything up, I started with a piece of stripboard and soldered the header pins necessary to house the four boards how I wanted them, but after soldering ninety three header pins and still having to then solder twenty seven additional wires (in a specific order) on the back to connect everything up, I realised it was just as easy (and probably quicker) to draw up a PCB in KiCad and get it fabricated.<\/p>\n<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-21029\" src=\"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/04\/stripboard_sm.jpg?resize=560%2C265&#038;ssl=1\" alt=\"\" width=\"560\" height=\"265\" srcset=\"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/04\/stripboard_sm.jpg?w=1200&amp;ssl=1 1200w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/04\/stripboard_sm.jpg?resize=300%2C142&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/04\/stripboard_sm.jpg?resize=1024%2C485&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/04\/stripboard_sm.jpg?resize=768%2C364&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/04\/stripboard_sm.jpg?resize=560%2C265&amp;ssl=1 560w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/04\/stripboard_sm.jpg?resize=260%2C123&amp;ssl=1 260w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/04\/stripboard_sm.jpg?resize=160%2C76&amp;ssl=1 160w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/04\/stripboard_sm.jpg?w=1120&amp;ssl=1 1120w\" sizes=\"auto, (max-width: 560px) 100vw, 560px\" \/><\/p>\n<p>Having used KiCad previously to design Raspberry Pi HATs for my Pi Wars entry over the last few years, I found this fairly easy. The board design would be basic: some header pins and traces to link them together based on my rats nest of wires. I had this designed in an hour or two. Knowing that the PCB fabricator wouldn\u2019t care what shape the board was, I decided that it would not be a simple rectangle. Hence why I chose to add mount holes on \u201cwings\u201d which jut out to give it a distinctive look.<\/p>\n<p>Another consideration for board design was that it would be using WiFi. I knew that adding a ground plane would potentially reduce the wireless signal (it creates a basic Faraday Cage) so I skipped that step.<\/p>\n<h3>4. Fabrication and the results<\/h3>\n<p>Following the <a href=\"https:\/\/jlcpcb.com\/\" target=\"_blank\" rel=\"noopener\">JLCPCB<\/a>, it was a simple case of exporting the gerber files and sending them to JLCPCB for fabrication. The cost of fabrication was a touch over \u00a315 for five boards which they fabricated and delivered in a little under two weeks.<\/p>\n<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-21030\" src=\"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/04\/populated_pcb_sm.jpg?resize=560%2C265&#038;ssl=1\" alt=\"\" width=\"560\" height=\"265\" srcset=\"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/04\/populated_pcb_sm.jpg?w=1200&amp;ssl=1 1200w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/04\/populated_pcb_sm.jpg?resize=300%2C142&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/04\/populated_pcb_sm.jpg?resize=1024%2C485&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/04\/populated_pcb_sm.jpg?resize=768%2C364&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/04\/populated_pcb_sm.jpg?resize=560%2C265&amp;ssl=1 560w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/04\/populated_pcb_sm.jpg?resize=260%2C123&amp;ssl=1 260w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/04\/populated_pcb_sm.jpg?resize=160%2C76&amp;ssl=1 160w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/04\/populated_pcb_sm.jpg?w=1120&amp;ssl=1 1120w\" sizes=\"auto, (max-width: 560px) 100vw, 560px\" \/><\/p>\n<p>The first thing I did was to solder on header pins and then I plugged in the four boards.<\/p>\n<p>Surprisingly, my design worked first time (there&#8217;s normally something I forget to link together or add).<\/p>\n<p>Mounting to the wall was easy with the four pre-drilled mounting holes in the design. I found that orientation is the key as the temperature sensor reads a degree or so higher if it is oriented directly above the Pico and the screen. Simply rotating the whole thing so the temp sensor is on the bottom resolves this and the screen can be rotated in-code so it reads the right way up.<\/p>\n<p>Overall, I am very happy with the design and will start assembling multiple boards ready for deployment. All that remains is to add a process in the MQTT hub to collect the temperature readings and display them on an internal web page.<\/p>\n<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-21031\" src=\"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/04\/fully_populated_sm.jpg?resize=560%2C265&#038;ssl=1\" alt=\"\" width=\"560\" height=\"265\" srcset=\"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/04\/fully_populated_sm.jpg?w=1200&amp;ssl=1 1200w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/04\/fully_populated_sm.jpg?resize=300%2C142&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/04\/fully_populated_sm.jpg?resize=1024%2C485&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/04\/fully_populated_sm.jpg?resize=768%2C364&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/04\/fully_populated_sm.jpg?resize=560%2C265&amp;ssl=1 560w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/04\/fully_populated_sm.jpg?resize=260%2C123&amp;ssl=1 260w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/04\/fully_populated_sm.jpg?resize=160%2C76&amp;ssl=1 160w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/04\/fully_populated_sm.jpg?w=1120&amp;ssl=1 1120w\" sizes=\"auto, (max-width: 560px) 100vw, 560px\" \/><\/p>\n<h2>Code and PCB files<\/h2>\n<p>For anyone interested in replicating the project, <a href=\"https:\/\/github.com\/worlds6440\/Pico-MQTT-Temp-Sensor\" target=\"_blank\" rel=\"noopener\">here is a link to my Github repository which contains the source code and KiCad PCB files<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>David Booth is here with another guest post. This time a custom temperature sensor using a Raspberry Pi Pico and a self-designed PCB. Overview A custom, low power temperature sensor powered by a Raspberry Pi Pico with an LCD display&hellip;<\/p>\n<p class=\"more-link-p\"><a class=\"more-link\" href=\"https:\/\/www.recantha.co.uk\/blog\/?p=21020\">Read more &rarr;<\/a><\/p>\n","protected":false},"author":4,"featured_media":21031,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"Guest post - Building a custom Raspberry Pi Pico-powered temperature sensor using MQTT and CircuitPython","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[50,957,972,62],"tags":[1023,967,151],"class_list":["post-21020","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-making","category-pcbs","category-raspberry-pi-pico","category-sensors","tag-bmp280","tag-david-booth","tag-pimoroni"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Guest post - Building a custom Raspberry Pi Pico-powered WiFi temperature sensor using MQTT and CircuitPython - Raspberry Pi Pod<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.recantha.co.uk\/blog\/?p=21020\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Guest post - Building a custom Raspberry Pi Pico-powered WiFi temperature sensor using MQTT and CircuitPython - Raspberry Pi Pod\" \/>\n<meta property=\"og:description\" content=\"David Booth is here with another guest post. This time a custom temperature sensor using a Raspberry Pi Pico and a self-designed PCB. Overview A custom, low power temperature sensor powered by a Raspberry Pi Pico with an LCD display&hellip;Read more &rarr;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.recantha.co.uk\/blog\/?p=21020\" \/>\n<meta property=\"og:site_name\" content=\"Raspberry Pi Pod\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/recantha\/\" \/>\n<meta property=\"article:published_time\" content=\"2021-04-23T16:29:37+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-04-25T10:11:15+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/i1.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/04\/fully_populated_sm.jpg?fit=1200%2C568&ssl=1\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"568\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"David Booth\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@recantha\" \/>\n<meta name=\"twitter:site\" content=\"@recantha\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"David Booth\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=21020#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=21020\"},\"author\":{\"name\":\"David Booth\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/person\/29dd3584a39967c27e15abb3536bb6a7\"},\"headline\":\"Guest post &#8211; Building a custom Raspberry Pi Pico-powered WiFi temperature sensor using MQTT and CircuitPython\",\"datePublished\":\"2021-04-23T16:29:37+00:00\",\"dateModified\":\"2021-04-25T10:11:15+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=21020\"},\"wordCount\":1131,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=21020#primaryimage\"},\"thumbnailUrl\":\"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/04\/fully_populated_sm.jpg?fit=1200%2C568&ssl=1\",\"keywords\":[\"bmp280\",\"david booth\",\"pimoroni\"],\"articleSection\":[\"Making\",\"PCBs\",\"Raspberry Pi Pico\",\"Sensors\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.recantha.co.uk\/blog\/?p=21020#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=21020\",\"url\":\"https:\/\/www.recantha.co.uk\/blog\/?p=21020\",\"name\":\"Guest post - Building a custom Raspberry Pi Pico-powered WiFi temperature sensor using MQTT and CircuitPython - Raspberry Pi Pod\",\"isPartOf\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=21020#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=21020#primaryimage\"},\"thumbnailUrl\":\"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/04\/fully_populated_sm.jpg?fit=1200%2C568&ssl=1\",\"datePublished\":\"2021-04-23T16:29:37+00:00\",\"dateModified\":\"2021-04-25T10:11:15+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=21020#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.recantha.co.uk\/blog\/?p=21020\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=21020#primaryimage\",\"url\":\"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/04\/fully_populated_sm.jpg?fit=1200%2C568&ssl=1\",\"contentUrl\":\"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/04\/fully_populated_sm.jpg?fit=1200%2C568&ssl=1\",\"width\":1200,\"height\":568},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=21020#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.recantha.co.uk\/blog\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Guest post &#8211; Building a custom Raspberry Pi Pico-powered WiFi temperature sensor using MQTT and CircuitPython\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#website\",\"url\":\"https:\/\/www.recantha.co.uk\/blog\/\",\"name\":\"Raspberry Pi Pod\",\"description\":\"Experiences with the Raspberry Pi micro computer and microcontroller\",\"publisher\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.recantha.co.uk\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#organization\",\"name\":\"Raspberry Pi Pod\",\"url\":\"https:\/\/www.recantha.co.uk\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2016\/03\/cropped-PiPod-Logo-v3.png?fit=800%2C337&ssl=1\",\"contentUrl\":\"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2016\/03\/cropped-PiPod-Logo-v3.png?fit=800%2C337&ssl=1\",\"width\":800,\"height\":337,\"caption\":\"Raspberry Pi Pod\"},\"image\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/recantha\/\",\"https:\/\/x.com\/recantha\",\"https:\/\/www.linkedin.com\/in\/recantha\/\",\"https:\/\/www.youtube.com\/channel\/UCK4F9blabxzmk8Inzhs8tpg\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/person\/29dd3584a39967c27e15abb3536bb6a7\",\"name\":\"David Booth\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/fe026f31cb715d12912dae4d494513b8878bf349a7500bec55b08fdf58120b14?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/fe026f31cb715d12912dae4d494513b8878bf349a7500bec55b08fdf58120b14?s=96&d=mm&r=g\",\"caption\":\"David Booth\"},\"sameAs\":[\"https:\/\/twitter.com\/worlds6440\"],\"url\":\"https:\/\/www.recantha.co.uk\/blog\/?author=4\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Guest post - Building a custom Raspberry Pi Pico-powered WiFi temperature sensor using MQTT and CircuitPython - Raspberry Pi Pod","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.recantha.co.uk\/blog\/?p=21020","og_locale":"en_US","og_type":"article","og_title":"Guest post - Building a custom Raspberry Pi Pico-powered WiFi temperature sensor using MQTT and CircuitPython - Raspberry Pi Pod","og_description":"David Booth is here with another guest post. This time a custom temperature sensor using a Raspberry Pi Pico and a self-designed PCB. Overview A custom, low power temperature sensor powered by a Raspberry Pi Pico with an LCD display&hellip;Read more &rarr;","og_url":"https:\/\/www.recantha.co.uk\/blog\/?p=21020","og_site_name":"Raspberry Pi Pod","article_publisher":"https:\/\/www.facebook.com\/recantha\/","article_published_time":"2021-04-23T16:29:37+00:00","article_modified_time":"2021-04-25T10:11:15+00:00","og_image":[{"width":1200,"height":568,"url":"https:\/\/i1.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/04\/fully_populated_sm.jpg?fit=1200%2C568&ssl=1","type":"image\/jpeg"}],"author":"David Booth","twitter_card":"summary_large_image","twitter_creator":"@recantha","twitter_site":"@recantha","twitter_misc":{"Written by":"David Booth","Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.recantha.co.uk\/blog\/?p=21020#article","isPartOf":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=21020"},"author":{"name":"David Booth","@id":"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/person\/29dd3584a39967c27e15abb3536bb6a7"},"headline":"Guest post &#8211; Building a custom Raspberry Pi Pico-powered WiFi temperature sensor using MQTT and CircuitPython","datePublished":"2021-04-23T16:29:37+00:00","dateModified":"2021-04-25T10:11:15+00:00","mainEntityOfPage":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=21020"},"wordCount":1131,"commentCount":0,"publisher":{"@id":"https:\/\/www.recantha.co.uk\/blog\/#organization"},"image":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=21020#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/04\/fully_populated_sm.jpg?fit=1200%2C568&ssl=1","keywords":["bmp280","david booth","pimoroni"],"articleSection":["Making","PCBs","Raspberry Pi Pico","Sensors"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.recantha.co.uk\/blog\/?p=21020#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.recantha.co.uk\/blog\/?p=21020","url":"https:\/\/www.recantha.co.uk\/blog\/?p=21020","name":"Guest post - Building a custom Raspberry Pi Pico-powered WiFi temperature sensor using MQTT and CircuitPython - Raspberry Pi Pod","isPartOf":{"@id":"https:\/\/www.recantha.co.uk\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=21020#primaryimage"},"image":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=21020#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/04\/fully_populated_sm.jpg?fit=1200%2C568&ssl=1","datePublished":"2021-04-23T16:29:37+00:00","dateModified":"2021-04-25T10:11:15+00:00","breadcrumb":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=21020#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.recantha.co.uk\/blog\/?p=21020"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.recantha.co.uk\/blog\/?p=21020#primaryimage","url":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/04\/fully_populated_sm.jpg?fit=1200%2C568&ssl=1","contentUrl":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/04\/fully_populated_sm.jpg?fit=1200%2C568&ssl=1","width":1200,"height":568},{"@type":"BreadcrumbList","@id":"https:\/\/www.recantha.co.uk\/blog\/?p=21020#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.recantha.co.uk\/blog"},{"@type":"ListItem","position":2,"name":"Guest post &#8211; Building a custom Raspberry Pi Pico-powered WiFi temperature sensor using MQTT and CircuitPython"}]},{"@type":"WebSite","@id":"https:\/\/www.recantha.co.uk\/blog\/#website","url":"https:\/\/www.recantha.co.uk\/blog\/","name":"Raspberry Pi Pod","description":"Experiences with the Raspberry Pi micro computer and microcontroller","publisher":{"@id":"https:\/\/www.recantha.co.uk\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.recantha.co.uk\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.recantha.co.uk\/blog\/#organization","name":"Raspberry Pi Pod","url":"https:\/\/www.recantha.co.uk\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2016\/03\/cropped-PiPod-Logo-v3.png?fit=800%2C337&ssl=1","contentUrl":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2016\/03\/cropped-PiPod-Logo-v3.png?fit=800%2C337&ssl=1","width":800,"height":337,"caption":"Raspberry Pi Pod"},"image":{"@id":"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/recantha\/","https:\/\/x.com\/recantha","https:\/\/www.linkedin.com\/in\/recantha\/","https:\/\/www.youtube.com\/channel\/UCK4F9blabxzmk8Inzhs8tpg"]},{"@type":"Person","@id":"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/person\/29dd3584a39967c27e15abb3536bb6a7","name":"David Booth","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/fe026f31cb715d12912dae4d494513b8878bf349a7500bec55b08fdf58120b14?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/fe026f31cb715d12912dae4d494513b8878bf349a7500bec55b08fdf58120b14?s=96&d=mm&r=g","caption":"David Booth"},"sameAs":["https:\/\/twitter.com\/worlds6440"],"url":"https:\/\/www.recantha.co.uk\/blog\/?author=4"}]}},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/04\/fully_populated_sm.jpg?fit=1200%2C568&ssl=1","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p2RsaV-5t2","jetpack-related-posts":[{"id":21412,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=21412","url_meta":{"origin":21020,"position":0},"title":"Use Adafruit IO with a Raspberry Pi Pico W to create IoT dashboards using MQTT","author":"Michael Horne","date":"16 July 2022","format":false,"excerpt":"I decided recently to set up a string of temperature sensors around our house to work out the temperature profile of different rooms. With the recent release of the Pico W, I realised that I could do this quite simply, as long as I could find a way to \"nicely\"\u2026","rel":"","context":"In &quot;Internet of things&quot;","block_context":{"text":"Internet of things","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=26"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2022\/07\/IMG_20220716_145804103_sm.jpg?fit=1200%2C921&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2022\/07\/IMG_20220716_145804103_sm.jpg?fit=1200%2C921&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2022\/07\/IMG_20220716_145804103_sm.jpg?fit=1200%2C921&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2022\/07\/IMG_20220716_145804103_sm.jpg?fit=1200%2C921&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2022\/07\/IMG_20220716_145804103_sm.jpg?fit=1200%2C921&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":21637,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=21637","url_meta":{"origin":21020,"position":1},"title":"Portable temperature, humidity and pressure sensor using a Raspberry Pi Pico W","author":"Michael Horne","date":"21 August 2023","format":false,"excerpt":"Hi everyone. It's been a little while! I've been horribly busy with various things, including work, so it's been difficult to keep up with blogging. I have been posting Pi stuff over on Twitter\/X (how I hate that new name!) so if you follow me there, you'll see I'm still\u2026","rel":"","context":"In &quot;Making&quot;","block_context":{"text":"Making","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=50"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2023\/08\/adafruit_io_graph.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":20891,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=20891","url_meta":{"origin":21020,"position":2},"title":"Using a DS18B20 one-wire temperature sensor with a Raspberry Pi Pico","author":"Michael Horne","date":"28 February 2021","format":false,"excerpt":"I've just found this simple tutorial for using a \"one-wire\" temperature sensor with the Pico. The author has used a breakout module that includes the necessary resistor to stabilise the signal, but has also given instructions for wiring up the sensor if you don't happen to have the module. They've\u2026","rel":"","context":"In &quot;Programming&quot;","block_context":{"text":"Programming","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=39"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/02\/pico-and-ds18b20_bb.jpg?fit=951%2C633&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/02\/pico-and-ds18b20_bb.jpg?fit=951%2C633&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/02\/pico-and-ds18b20_bb.jpg?fit=951%2C633&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/02\/pico-and-ds18b20_bb.jpg?fit=951%2C633&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":20825,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=20825","url_meta":{"origin":21020,"position":3},"title":"Create a soil moisture sensor with a Raspberry Pi Pico and an LED ring","author":"Michael Horne","date":"9 February 2021","format":false,"excerpt":"Andy Warburton has blogged this great project with the Raspberry Pi Pico. He has used a SparkFun Soil Moisture sensor to detect moisture levels inside a plant pot. This is then wired up to the Pico, using one of the analog inputs to take the readings. The readings are then\u2026","rel":"","context":"In &quot;Making&quot;","block_context":{"text":"Making","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=50"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/02\/IMG_2475.jpg?fit=1000%2C750&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/02\/IMG_2475.jpg?fit=1000%2C750&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/02\/IMG_2475.jpg?fit=1000%2C750&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/02\/IMG_2475.jpg?fit=1000%2C750&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":20745,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=20745","url_meta":{"origin":21020,"position":4},"title":"Raspberry Pi Pico &#8211; a surprise, yet very exciting, new product from Raspberry Pi","author":"Michael Horne","date":"21 January 2021","format":false,"excerpt":"Today, Raspberry Pi has announced the launch of their new board - and what a surprise it is! It is their first\u00a0micro-controller and is called the Raspberry Pi Pico! Raspberry Pi Pico has been built around Raspberry Pi's own silicon, developed in-house by them over the last few years. The\u2026","rel":"","context":"In &quot;Announcements&quot;","block_context":{"text":"Announcements","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=952"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/01\/Pico-R3-Pinout-Small.jpg?fit=1024%2C682&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/01\/Pico-R3-Pinout-Small.jpg?fit=1024%2C682&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/01\/Pico-R3-Pinout-Small.jpg?fit=1024%2C682&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/01\/Pico-R3-Pinout-Small.jpg?fit=1024%2C682&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":16336,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=16336","url_meta":{"origin":21020,"position":5},"title":"Wirelessly control an ESP8266 with MQTT messages from a Raspberry Pi","author":"Michael Horne","date":"3 February 2017","format":false,"excerpt":"Rui Santos from Portugal has written an excellent, comprehensive tutorial for those who want to get into ESP8266 boards and control them from a Raspberry Pi. He uses Python on the Raspberry Pi, with imported MQTT libraries, and C code for the Arduino-like ESP8266. The ESP8266, which is on the\u2026","rel":"","context":"In &quot;Accessories&quot;","block_context":{"text":"Accessories","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=54"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2017\/02\/Raspberry-Pi-Publishing-MQTT-Messages-to-ESP8266-explained.png?fit=1032%2C268&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2017\/02\/Raspberry-Pi-Publishing-MQTT-Messages-to-ESP8266-explained.png?fit=1032%2C268&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2017\/02\/Raspberry-Pi-Publishing-MQTT-Messages-to-ESP8266-explained.png?fit=1032%2C268&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2017\/02\/Raspberry-Pi-Publishing-MQTT-Messages-to-ESP8266-explained.png?fit=1032%2C268&ssl=1&resize=700%2C400 2x"},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/21020","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=21020"}],"version-history":[{"count":5,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/21020\/revisions"}],"predecessor-version":[{"id":21033,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/21020\/revisions\/21033"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/media\/21031"}],"wp:attachment":[{"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=21020"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=21020"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=21020"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}