diff options
| author | Mitja Felicijan <mitja.felicijan@gmail.com> | 2023-10-31 10:17:43 +0100 |
|---|---|---|
| committer | Mitja Felicijan <mitja.felicijan@gmail.com> | 2023-10-31 10:17:43 +0100 |
| commit | ae24d9a8869c497537839f330384cbadb2cf687c (patch) | |
| tree | 79184f1d1db6f0b8e2f7aad3a262b3a2bccdde58 /public/esp8266-and-micropython-guide.html | |
| parent | 409dfae3983b55ffa469a556683fab4ec70b1e99 (diff) | |
| download | mitjafelicijan.com-ae24d9a8869c497537839f330384cbadb2cf687c.tar.gz | |
Updated theme
Diffstat (limited to 'public/esp8266-and-micropython-guide.html')
| -rwxr-xr-x | public/esp8266-and-micropython-guide.html | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/public/esp8266-and-micropython-guide.html b/public/esp8266-and-micropython-guide.html index 61e7db1..d0d007f 100755 --- a/public/esp8266-and-micropython-guide.html +++ b/public/esp8266-and-micropython-guide.html | |||
| @@ -13,7 +13,7 @@ around with and I finally found a project to try it out.<p>For my project, I use | |||
| 13 | but I could easily choose | 13 | but I could easily choose |
| 14 | <a href=https://www.espressif.com/en/products/socs/esp8266>ESP8266</a>. This guide | 14 | <a href=https://www.espressif.com/en/products/socs/esp8266>ESP8266</a>. This guide |
| 15 | contains which tools I use and how I prepared my workspace to code for | 15 | contains which tools I use and how I prepared my workspace to code for |
| 16 | <a href=https://www.espressif.com/en/products/socs/esp8266>ESP8266</a>.<figure><img src=/posts/esp8366-micropython/boards.jpg alt="ESP8266 and ESP32 boards"></figure><p>This guide covers:<ul><li>flashing SOC<li>install proper tooling<li>deploying a simple script</ul><blockquote><p>Make sure that you are using <strong>a good USB cable</strong>. I had some problems with | 16 | <a href=https://www.espressif.com/en/products/socs/esp8266>ESP8266</a>.<figure><img loading="lazy" src=/posts/esp8366-micropython/boards.jpg alt="ESP8266 and ESP32 boards"></figure><p>This guide covers:<ul><li>flashing SOC<li>install proper tooling<li>deploying a simple script</ul><blockquote><p>Make sure that you are using <strong>a good USB cable</strong>. I had some problems with |
| 17 | mine and once I replaced it everything started to work.</blockquote><h2 id=flashing-the-soc>Flashing the SOC</h2><p>Plug your ESP8266 to USB port and check if the device was recognized with | 17 | mine and once I replaced it everything started to work.</blockquote><h2 id=flashing-the-soc>Flashing the SOC</h2><p>Plug your ESP8266 to USB port and check if the device was recognized with |
| 18 | executing <code>dmesg | grep ch341-uart</code>.<p>Then check if the device is available under <code>/dev/</code> by running <code>ls /dev/ttyUSB*</code>.<blockquote><p><strong>Linux users</strong>: if a device is not available be sure you are in <code>dialout</code> | 18 | executing <code>dmesg | grep ch341-uart</code>.<p>Then check if the device is available under <code>/dev/</code> by running <code>ls /dev/ttyUSB*</code>.<blockquote><p><strong>Linux users</strong>: if a device is not available be sure you are in <code>dialout</code> |
| 19 | group. You can check this by executing <code>groups $USER</code>. You can add a user to | 19 | group. You can check this by executing <code>groups $USER</code>. You can add a user to |
| @@ -91,11 +91,11 @@ device.<pre tabindex=0 style=background-color:#fff><code><span style=display:fle | |||
| 91 | </span></span><span style=display:flex><span>> import freq | 91 | </span></span><span style=display:flex><span>> import freq |
| 92 | </span></span><span style=display:flex><span> | 92 | </span></span><span style=display:flex><span> |
| 93 | </span></span><span style=display:flex><span><span style=color:green># CTRL+x will exit REPL</span> | 93 | </span></span><span style=display:flex><span><span style=color:green># CTRL+x will exit REPL</span> |
| 94 | </span></span></code></pre><h2 id=additional-resources>Additional resources</h2><ul><li><a href=https://randomnerdtutorials.com/getting-started-micropython-esp32-esp8266/>https://randomnerdtutorials.com/getting-started-micropython-esp32-esp8266/</a><li><a href=http://docs.micropython.org/en/latest/esp8266/quickref.html>http://docs.micropython.org/en/latest/esp8266/quickref.html</a></ul></div></article></main><section><hr><h2>Posts from blogs I follow around the net</h2><ul><li><a href=https://utcc.utoronto.ca/~cks/space/blog/solaris/ZFSWhyNotDirectoryToFilesystem target=_blank rel=noopener>One reason that ZFS can't turn a directory into a filesystem</a> — <a href=https://utcc.utoronto.ca/~cks/space/blog/>Chris's Wiki :: blog</a><div>One of the wishes that I and other people frequently have for ZFS | 94 | </span></span></code></pre><h2 id=additional-resources>Additional resources</h2><ul><li><a href=https://randomnerdtutorials.com/getting-started-micropython-esp32-esp8266/>https://randomnerdtutorials.com/getting-started-micropython-esp32-esp8266/</a><li><a href=http://docs.micropython.org/en/latest/esp8266/quickref.html>http://docs.micropython.org/en/latest/esp8266/quickref.html</a></ul></div></article></main><section><hr><h2>Posts from blogs I follow around the net</h2><ul><li><a href=https://utcc.utoronto.ca/~cks/space/blog/linux/NFSv4ServerLockClients target=_blank rel=noopener>Finding which NFSv4 client owns a lock on a Linux NFS(v4) server</a> — <a href=https://utcc.utoronto.ca/~cks/space/blog/>Chris's Wiki :: blog</a><div>A while back I wrote an entry about finding which NFS client owns |
| 95 | is the ability to take an existing directory (and everything | 95 | a lock on a Linux NFS server, which turned |
| 96 | underneath it) in a ZFS filesystem and turn it into a sub-filesystem | 96 | out to be specific to NFS v3 (which I really should have seen coming, |
| 97 | of its own. One reason for wanting this is that a number of things | 97 | since it involved NLM and lockd). Finding the NFS v4 client that |
| 98 | are set and controlled on a per-filesyst…<li><a href=http://www.landley.net/notes-2023.html#28-10-2023 target=_blank rel=noopener>October 28, 2023</a> — <a href=http://www.landley.net/notes-2023.html>Rob Landley's Blog Thing for 2023</a><div>Oh good grief, two of my least favorite licensing people, Larry Rosen | 98 | owns a lock is, depending on your perspective, either simpl…<li><a href=http://www.landley.net/notes-2023.html#28-10-2023 target=_blank rel=noopener>October 28, 2023</a> — <a href=http://www.landley.net/notes-2023.html>Rob Landley's Blog Thing for 2023</a><div>Oh good grief, two of my least favorite licensing people, Larry Rosen |
| 99 | and Bradley Kuhn, are interacting on the OSI's license-discuss | 99 | and Bradley Kuhn, are interacting on the OSI's license-discuss |
| 100 | list where the're doing | 100 | list where the're doing |
| 101 | bad computer history and insisting that a guy Larry Rosen | 101 | bad computer history and insisting that a guy Larry Rosen |
