-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathfirmware.html
More file actions
35 lines (34 loc) · 13.4 KB
/
firmware.html
File metadata and controls
35 lines (34 loc) · 13.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<!DOCTYPE html>
<html lang="en-US">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>Firmware | PixelIt Documentation</title>
<meta name="generator" content="VuePress 1.9.10">
<link rel="icon" href="/logo.png">
<meta name="description" content="PixelIt Documentation">
<meta name="theme-color" content="#3eaf7c">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<link rel="preload" href="/assets/css/0.styles.528aaed1.css" as="style"><link rel="preload" href="/assets/js/app.6fda5056.js" as="script"><link rel="preload" href="/assets/js/2.cd2d626c.js" as="script"><link rel="preload" href="/assets/js/1.eced2183.js" as="script"><link rel="preload" href="/assets/js/23.96cb4dbb.js" as="script"><link rel="prefetch" href="/assets/js/10.a3488b08.js"><link rel="prefetch" href="/assets/js/11.5b259eea.js"><link rel="prefetch" href="/assets/js/12.7f141a80.js"><link rel="prefetch" href="/assets/js/13.80eafd0c.js"><link rel="prefetch" href="/assets/js/14.66ef1fd9.js"><link rel="prefetch" href="/assets/js/15.7b7385c1.js"><link rel="prefetch" href="/assets/js/16.df76fbbc.js"><link rel="prefetch" href="/assets/js/17.a49139f6.js"><link rel="prefetch" href="/assets/js/18.a33e0e45.js"><link rel="prefetch" href="/assets/js/19.b6e0ca6b.js"><link rel="prefetch" href="/assets/js/20.9cc23435.js"><link rel="prefetch" href="/assets/js/21.9c3eb7fc.js"><link rel="prefetch" href="/assets/js/22.9b90099c.js"><link rel="prefetch" href="/assets/js/24.80745483.js"><link rel="prefetch" href="/assets/js/25.684fe16e.js"><link rel="prefetch" href="/assets/js/26.736d4ab4.js"><link rel="prefetch" href="/assets/js/27.b2bb3257.js"><link rel="prefetch" href="/assets/js/28.7cf1c658.js"><link rel="prefetch" href="/assets/js/29.b14a05e1.js"><link rel="prefetch" href="/assets/js/3.d9dea7e1.js"><link rel="prefetch" href="/assets/js/30.0f395876.js"><link rel="prefetch" href="/assets/js/4.d7b26617.js"><link rel="prefetch" href="/assets/js/5.bb69dad8.js"><link rel="prefetch" href="/assets/js/6.59b28107.js"><link rel="prefetch" href="/assets/js/7.eb2d6314.js"><link rel="prefetch" href="/assets/js/vendors~docsearch.232f1e4d.js">
<link rel="stylesheet" href="/assets/css/0.styles.528aaed1.css">
</head>
<body>
<div id="app" data-server-rendered="true"><div class="theme-container"><header class="navbar"><div class="sidebar-button"><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" role="img" viewBox="0 0 448 512" class="icon"><path fill="currentColor" d="M436 124H12c-6.627 0-12-5.373-12-12V80c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12z"></path></svg></div> <a href="/" class="home-link router-link-active"><img src="/logo.png" alt="PixelIt Documentation" class="logo"> <span class="site-name can-hide">PixelIt Documentation</span></a> <div class="links"><div class="search-box"><input aria-label="Search" autocomplete="off" spellcheck="false" value=""> <!----></div> <nav class="nav-links can-hide"> <a href="https://github.com/pixelit-project/Docs" target="_blank" rel="noopener noreferrer" class="repo-link">
GitHub
<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></nav></div></header> <div class="sidebar-mask"></div> <aside class="sidebar"><nav class="nav-links"> <a href="https://github.com/pixelit-project/Docs" target="_blank" rel="noopener noreferrer" class="repo-link">
GitHub
<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></nav> <ul class="sidebar-links"><li><a href="/" aria-current="page" class="sidebar-link">Introduction</a></li><li><a href="/hardware.html" class="sidebar-link">Hardware</a></li><li><a href="/firmware.html" aria-current="page" class="active sidebar-link">Firmware</a><ul class="sidebar-sub-headers"><li class="sidebar-sub-header"><a href="/firmware.html#flashing-web" class="sidebar-link">Flashing (Web)</a></li><li class="sidebar-sub-header"><a href="/firmware.html#flashing-esp8266-windows" class="sidebar-link">Flashing ESP8266 (Windows)</a></li><li class="sidebar-sub-header"><a href="/firmware.html#flashing-macos" class="sidebar-link">Flashing (macOS)</a></li><li class="sidebar-sub-header"><a href="/firmware.html#flashing-linux" class="sidebar-link">Flashing (Linux)</a></li><li class="sidebar-sub-header"><a href="/firmware.html#setup" class="sidebar-link">Setup</a></li><li class="sidebar-sub-header"><a href="/firmware.html#troubleshooting" class="sidebar-link">Troubleshooting</a></li></ul></li><li><a href="/webinterface.html" class="sidebar-link">Webinterface</a></li><li><a href="/api.html" class="sidebar-link">API</a></li><li><a href="/tools.html" class="sidebar-link">Tools</a></li><li><a href="/nodered.html" class="sidebar-link">Node-RED</a></li><li><a href="/iobroker.html" class="sidebar-link">ioBroker</a></li><li><a href="/troubleshooting.html" class="sidebar-link">Troubleshooting</a></li></ul> </aside> <main class="page"> <div class="theme-default-content content__default"><h1 id="firmware"><a href="#firmware" class="header-anchor">#</a> Firmware</h1> <ul><li><a href="https://github.com/pixelit-project/PixelIt/releases" target="_blank" rel="noopener noreferrer">PixelIt Firmware<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a>.</li></ul> <p>Note: For Wemos D1 mini (Clone) (see <a href="/hardware.html#parts-list">Part list</a>) you need the <code>XXX_d1_mini.bin</code> firmware.</p> <h2 id="flashing-web"><a href="#flashing-web" class="header-anchor">#</a> Flashing (Web)</h2> <p>Select the hardware you are using and then press the connect button.</p> <iframe id="dynamicFrame" src="/pixelit_flasher/index.html" width="100%" height="400px" frameborder="0"></iframe> <div class="custom-block tip"><p class="custom-block-title">Flasing ESP32</p> <p>When you flash a ESP32 based board the first time or change the complete firmware, choose the "first install" firmware. After that you can use the "normal" firmware or the "OTA" firmware upgrade from the WebUI.</p></div> <h2 id="flashing-esp8266-windows"><a href="#flashing-esp8266-windows" class="header-anchor">#</a> Flashing ESP8266 (Windows)</h2> <ul><li><a href="https://www.bastelbunker.de/wp-content/uploads/ESPEasy_Flasher.zip" target="_blank" rel="noopener noreferrer">ESPEasy Flasher<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></li></ul> <p>To flash the Wemos D1 Mini (or simillar ESP8266 board) we use the ESPEasy Flasher for simplicity. After unpacking the ESPEasy_Flasher.zip only the current <code>firmware_XXX.bin</code> must be copied into the folder of the ESPEasy Flasher.
Now we have two dropdown menus after starting the FlashESP8266.exe:
<img src="/flash_esp8266.png" alt=""></p> <h4 id="com-port"><a href="#com-port" class="header-anchor">#</a> COM-Port</h4> <p>Here you have to select the port where you have connected your Wemos D1 mini (or simillar ESP8266 board).</p> <h4 id="firmware-2"><a href="#firmware-2" class="header-anchor">#</a> Firmware</h4> <p>Now here we have two items the <code>CleanFlash.bin</code> and <code>firmware_XXX.bin</code>:</p> <ul><li><code>CleanFlash.bin</code> Has the task to zero the complete flash of the ESP, which can be very helpful if the ESP was already used for other projects and makes problems with the current project (e.g. no hotspot opens)</li> <li><code>firmware_XXX.bin</code> Is the firmware of the PixelIt 😃</li></ul> <p>Now you just have to press the Flash button and wait a bit.</p> <h2 id="flashing-macos"><a href="#flashing-macos" class="header-anchor">#</a> Flashing (macOS)</h2> <h4 id="install-esptool"><a href="#install-esptool" class="header-anchor">#</a> Install esptool</h4> <p>Install esptool (e.g. via homebrew)<br> <code>brew install esptool</code></p> <h4 id="find-your-board"><a href="#find-your-board" class="header-anchor">#</a> Find your board</h4> <p>Connect your board via USB, and get the device address by running:<br> <code>ls /dev/tty*usb*</code></p> <p>This should output something like:<br> <code>/dev/tty.usbserial-1337</code></p> <h4 id="erase-and-flash-the-firmware"><a href="#erase-and-flash-the-firmware" class="header-anchor">#</a> Erase and flash the firmware</h4> <p>Erase flash<br> <code>esptool.py --port /dev/tty.XXX erase_flash</code></p> <p>Flash firmware<br> <code>esptool.py --port /dev/tty.XXX --baud 1000000 write_flash --flash_size=4MB -fm dio 0 firmware_XXX.bin</code></p> <h2 id="flashing-linux"><a href="#flashing-linux" class="header-anchor">#</a> Flashing (Linux)</h2> <p>Install esptool (e.g. via pip)<br> <code>pip install --upgrade esptool</code></p> <h4 id="find-your-board-2"><a href="#find-your-board-2" class="header-anchor">#</a> Find your board</h4> <p>Connect your board via USB, and get the device address by running:<br> <code>ls /dev/ttyUSB*</code></p> <p>This should output something like:<br> <code>/dev/ttyUSB0</code></p> <h4 id="erase-and-flash-the-firmware-2"><a href="#erase-and-flash-the-firmware-2" class="header-anchor">#</a> Erase and flash the firmware</h4> <p>Erase flash<br> <code>esptool.py --port /dev/ttyXXX erase_flash</code></p> <p>Flash firmware<br> <code>esptool.py --port /dev/ttyXXX --baud 1000000 write_flash --flash_size=4MB -fm dio 0 firmware_XXX.bin</code></p> <h2 id="setup"><a href="#setup" class="header-anchor">#</a> Setup</h2> <p>After flashing, the PixelIt should now set up its own WiFi AccessPoint (SSID: <code>PIXELIT</code>). If you have connected to this AP, you can enter and save the WiFi data of your network. If everything has worked and the PixelIt is connected to the WiFi and the Internet, you should now see a time.</p> <p>Now you can connect to the <a href="/webinterface.html">Webinterface</a> of PixelIt. Find the IP-Adress in your routers DHCP lease list or try the default hostname of PixelIt <code>pixelit</code> to finish the setup in the <a href="/webinterface.html#options">Options</a>.</p> <p>Now the next step should be to look at the <a href="/tools.html">Tools</a> to see the available options for creating ads (most called <em>Screens</em> here).</p> <h2 id="troubleshooting"><a href="#troubleshooting" class="header-anchor">#</a> Troubleshooting</h2> <p>See <a href="/troubleshooting.html">Troubleshooting</a>.</p></div> <footer class="page-edit"><div class="edit-link"><a href="https://github.com/pixelit-project/Docs/edit/master/src/firmware.md" target="_blank" rel="noopener noreferrer">Edit this page</a> <span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></div> <!----></footer> <div class="page-nav"><p class="inner"><span class="prev">
←
<a href="/hardware.html" class="prev">
Hardware
</a></span> <span class="next"><a href="/webinterface.html">
Webinterface
</a>
→
</span></p></div> </main></div><div class="global-ui"><!----></div></div>
<script src="/assets/js/app.6fda5056.js" defer></script><script src="/assets/js/2.cd2d626c.js" defer></script><script src="/assets/js/1.eced2183.js" defer></script><script src="/assets/js/23.96cb4dbb.js" defer></script>
</body>
</html>