Tumgik
#esp32 wroom
elcereza · 2 years
Text
Flash Download Tool como Gravar Binários no ESP32
Este post é um tutorial de como gravar binários no ESP32 usando a Flash Download Tool disponibilizado pela Espressif.
Flash Download Tool é uma ferramenta disponibilizado pela Espressif para exportar arquivos binários para o ESP32. Baixar e instalar Flash Download Tool Antes de tudo é necessário baixar o programa Flash Download Tool no site de Espressif, após baixar, abra e defina chipType como ESP32. Além disso, haverá outras configurações mas não serão necessárias, por ultimo click ‘ok‘. Entendendo o Flash…
Tumblr media
Ver no WordPress
0 notes
bitstream24 · 1 month
Text
Tumblr media
ESP32 Development Kits with Onboard CAN Bus Controller
The ESP32 includes a CAN Bus controller compatible with the NXP SJA1000, making it compliant with the CAN 2.0B (ISO 11898, also known as Classical CAN) specification.
Nevertheless, as with the SJA1000, the ESP32 CAN Bus controller only provides the data link layer and the physical layer signaling sublayer. As a result, an external transceiver module is needed to convert the ESP32's CAN-RX and CAN-TX signals into CAN_H and CAN_L bus signals.
1 note · View note
campuscomponent · 4 months
Text
1 note · View note
draegerit · 2 years
Text
AZ-Delivery D1 Board mit ESP32 Chip
Tumblr media
In diesem kurzen Beitrag möchte ich dir das AZ-Delivery D1 Board mit ESP32 Chip vorstellen.
Tumblr media
AZ-Delivery D1 Board mit ESP32 Chip Ich habe dieses Board selber erworben, es besteht auch keine Verbindung zur Firma AZ-Delivery! Da ich hier jedoch ein Produkt von dieser Firma vorstelle, werde ich den Beitrag als Werbung kennzeichnen.
Tumblr media Tumblr media Tumblr media Tumblr media Tumblr media
Den Mikrocontroller bzw. Chip ESP32 habe ich bereits auf diesem Blog mehrfach behandelt. Was mich an diesen besonders gereizt hat ist, der Formfaktor des Arduino UNO.
Tumblr media
Durch diese Abmaße bzw. Form passen Shields und Module welche eigentlich für den Arduino UNO gedacht sind auf diesen und können leicht programmiert werden.
Tumblr media Tumblr media Tumblr media
Bezug
Wie bereits erwähnt habe ich dieses Board von AZ-Delivery gekauft, du findest dieses entweder im offiziellen Shop unter https://www.az-delivery.de/products/esp32-d1-r32-board oder auf amazon.de wo ich dieses erworben habe. Lieferumfang Der Mikrocontroller wird in einem kleinen Karton geliefert und ist selber noch einmal in einer antistatischen Tüte verpackt. Zum Lieferumfang gehört neben dem Mikrocontroller noch zwei kleine Karten, wobei auf der einen die technischen Daten des Gerätes vermerkt sind. Auf der anderen Karte befindet sich ein QR-Code, welcher einen zu dem Blog von AZ-Delivery leitet, wo man viele Anleitungen und Projekte findet.
Technische Daten des AZ-Delivery D1 Board
Der verbaute ESP32 Chip hat nachfolgende technische Daten: GerätenameAZ-Delivery D1 BoardModellR32ProzessorESP32-Wroom-32Geschwindigkeit40 MHzBetriebsspannung5V per USB, max. 12V über 2,1 mm, center-positiv, Jack-AdapterUmgebungstemperatur-40 °C bis +85 °Cmax. Stromaufnahme pro GPIO10 mA (max. 50 mA gesamt)SchnittstellenUART, GPIO, ADC, PWM, SPI, I²CBluetooth 4.2 & Bluetooth Low Energy (BLE)WiFi 802.11 b/g/n, bis zu 20 dBm (0,1W)Mikro-USB Buchse für Stromversorgung & Programmierung2,1 mm, center-positiv, Jack-Adapter für StromvorgungTechnische Daten des AZ-Delivery D1 Board Dieses ist nur ein Auszug aus dem technischen Datenblatt, welches du in englischer Sprache auf der Seite https://www.espressif.com/sites/default/files/documentation/esp32-wroom-32_datasheet_en.pdf findest.
Einrichten in der Arduino IDE 2.0
Der Mikrocontroller wird unter Microsoft Windows 10 im Geräte-Manager als USB-Serial CH340 Gerät erkannt. Ggf. musst du für diesen Chip einen extra Treiber installieren.
Tumblr media
Microsoft Windows 10 Geräte-Manager - ESP32-Wroom-32 In der Arduino IDE 2.0 wird dieses Gerät als "unbekannt" bzw. auf Englisch "Unknown" erkannt.
Tumblr media
Wir müssen zunächst den Treiber für den ESP32 installieren (soweit dieses auf deinem System nicht bereits geschehen ist). https://dl.espressif.com/dl/package_esp32_index.json Im nachfolgenden YouTube Video erläutere ich dir kurz, wie du einen ESP32 in der Arduino IDE 2.0 einrichtest. https://youtu.be/RbEGBOytZzc Wenn der Mikrocontroller in der Entwicklungsumgebung eingerichtet ist, kann mit der Programmierung begonnen werden.
3D Druck Plattform für Arduino UNO & 400 Pin Breadboard
Dem mir vorliegenden ESP32 verpasse ich noch zusätzlich ein 3D gedrucktes Board welcher Platz für ein 400 Pin Breadboard bietet. Durch die Bauform des ESP32 passt dieses auch dort super rein.
Tumblr media
D1 Board mit 400 Pin Breadboard auf Breadboard Holder von Thingiverse Du findest diese und viele weitere Vorlagen auf Thingiverse.com zum kostenfreien Download.
Ausblick
Als Nächstes möchte ich nun ein paar kleine Projekte mit dem Mikrocontroller und der Arduino Cloud vorstellen. Sei also gespannt... Read the full article
0 notes
christanworkshop · 9 months
Text
DIY: Marauder with Screen and GPS For Flipper Zero
Many of you would have seen the humongous ESP32 add-on module with touch screen and GPS for Flipper Zero shared in discussion groups, forums, etc. Well, this tutorial will provide you with all the information you need to build one yourself.
Tumblr media
This build consists of mainly 4 parts. The TFT LCD 2.8" 240x320 SPI ILI9341 Touch Display cost me around US$5.50, the ESP32-WROOM-32U module cost around US$3, the NEO-6M GPS module cost around US$2.20 and an 8dbi 2.4GHz Wifi Antenna which cost around US$2. All of these parts can be easily found in online marketplaces like Aliexpress, Amazon, etc. Here is how you need to wire them up together. How you wish to lay this out or mount on a prototyping board is entirely up to you. As long as the connections are correct, you are good to go. The GPS module is optional, and mainly, it's used for the war driving functionality.
Tumblr media
Next, you need to download all the firmware needed from here. Please download the Bootloader, Partitions, Boot App and Firmware files for v4 (Yes, v4 files, not any others) and save it on your computer.
Tumblr media Tumblr media
Now, press and hold the BOOT button on your ESP32-WROOM-32U module and connect it to your computer using a data-capable USB cable (some USB cables can only charge), then let go the BOOT button. Open Google Chrome or Microsoft Edge browser and go to ESPWebTool. Click the CONNECT button, then select the ESP32 usb serial connection. It should look something like below but can vary a little between different computers and operating systems.
Tumblr media Tumblr media
Select the firmware files for each slot exactly like below (take note of the 0x1000, 0x8000, etc. and their corresponding .bin files), then hit the PROGRAM button.
Tumblr media Tumblr media Tumblr media
When completed successfully, you can unplug the USB cable from the ESP32 module and now you can connect your Marauder module to your Flipper Zero. Please ensure that your Flipper Zero is turned off before you connect it, and also turn off your Flipper Zero before disconnecting it. The 3.3V pin is also used by your Flipper Zero's SD card reader and connecting/disconnecting external modules that use this pin while the Flipper Zero is on can potentially corrupt the SD card. So, if everything went according to plan, your Marauder module should boot up and everything should look like below.
Tumblr media Tumblr media
NOTE: If your Marauder boots up, but when you try to touch the screen and get no response, try tapping around the bottom part of your screen and see if the touch panel seems to be in inverted position from the actual display. Should this happen to you, just flash your ESP32 module again following the steps above, but use the v6 firmware. This should resolve the issue.
In this build, I just prototyped this on breadboard, but you can of course make it permanent by soldering it on to a prototype board and 3D print a case for it. This setup is essentially just using the Flipper Zero as a battery pack, instead of using the Flipper Zero to control Marauder. The large screen does make some things easier to do, compared to the small screen of the Flipper Zero, and there may be some functionality (not much) that is not currently in the Flipper Zero Marauder companion app. Here is a video showing the different menus in Marauder.
Personally, I don't think I will actually want to bring something so big around with me, along with my Flipper Zero. I think what makes Flipper Zero special is just how compact it is and all the different functionality cramped into it. This would probably be better off as a standalone unit by just hooking up a battery, but that's just me. Well, that's it for this tutorial. I hope you found this helpful. If you haven’t already done so, check out my Makers & Hackers Exchange Facebook group to learn more from other Flipper Zero users.
Here's a good intro to Marauder if you are unfamiliar.
youtube
11 notes · View notes
adafruit · 1 year
Text
Matrix portal s3 shifting sand 🔀📲📅⏳💔🔄🔌💡🏜️🆕
We're slowly but surely trying to de-SAMD51'ify our product line since that chip has a 2024 ETA. a bummer because we really loved that chip but it's probably a good time to transition since it can be a year until we get some and even then, the dates have been pushed multiple times. so, first up is the matrix portal m4 https://www.adafruit.com/product/4745 ! instead of a samd51 + esp32, we've got a version with ESP32-S3 WROOM which has 8MB of flash, and 2MB of PSRAM. the S3 has a nice peripheral that can be used to drive these matricies very fast, and the 2 MB of PSRAM will make this possible to drive lots of panels! we kept the same outline shape and functionality, including the built in accelerometer, which makes this LED sand demo a quick port.
18 notes · View notes
quartz-components · 9 months
Text
The ESP32 is a development board developed by Espressif systems. It can be programmed using Arduino IDE and ESP-IDF. It has higher processing power than ESP8266 but it is more costly and bigger in physical dimension than ESP8266. It has a built in Bluetooth module and CAN protocol and SRAM. It has 36 GPIO Pins with a CPU clock of 160MHz. It has 12-bit ADC onboard and supports CAN, UART, I2C and I2S. It can be used in prototyping IoT products, Low power Battery operated application, small range networking projects, and with the projects which require many Input Output Pins and Wi-Fi and Bluetooth connectivity.
6 notes · View notes
trainsinanime · 2 years
Text
Tumblr media
Let me introduce my current main WIP. It's not fandom related, it's for my model railroad, and it's not yet finished.
This is a rendering of a circuit board that I'm designing at the moment. It will be a DCC command station. My model railroad is run digitally, which means the tracks carry digital signals that tell each locomotive and switch individually how to run, which lights to turn and so on. The command station is the device that generates that. I have a number of different layouts, one of which has a good command station, one of which has a crappy old one, and the final one isn't even digital yet. So this will be the one that solves all issues for me, hopefully.
The design above isn't finished yet, and even the parts that are are not yet fully representative. The different capacitors are just there as options; some screen print overlaps; and some components (in particular all plugs and the relays that control the programming track) don't have 3D models so they don't show up.
Planned features:
Four layer board
10-25 V DC output, software controllable
Up to 5A output power, limited mainly by the main switching regulator.
Input 15-25V either AC or DC with polarity protection, selectable with some solder bridges (not yet in there). Optionally you can also bypass the main power regulator with another solder bridge (that I haven't added yet); useful in case you use e.g. a laptop power supply with a switchable voltage and don't need any regulation after that.
Railcom support
USB connection; not yet sure what for, but the main chip I'm using has USB support and I have some spare USB connectors here, so in it goes.
Speaking: The chip is an STM32L433RCT6P, chosen because I found it in stock at an electronics distributor. 64 kB RAM, 256 kB EEPROM, with support for an additional up to 256 MB externally (there's a spot for that on the board) and lots of fun extras that I don't technically need. It has an FPU! I don't need an FPU, but I will definitely do some floating point math computation on it just for fun.
Main external connection is WLAN using an ESP32 WROOM U module. I haven't decided on the housing, but I may go for extruded aluminum, so it's the U version that allows and requires an external antenna
It supports XBUS/XpressNet connections for old throttles from Lenz and Roco that I should probably throw away, but I paid good money for them, dang it.
It supports CAN for LCC / OpenLCB. I may not populate this part on all boards that I'm building, because I haven't actually decided whether I am interested. But the chip has CAN functionality built in, so why not.
There's an I2C connection to connect a cheap tiny OLED display for status messages.
Test points for all important signals (in particular the different internal voltage levels; yes, there is 3.3V, A3.3V and -3.3V and I need all of them).
Stuff still to add:
I will add pin headers (or space for pin headers anyway) for all the remaining pins on the STM32, and perhaps some on the ESP32, for future expansions.
Status LED and stop/go button on the front
Wire it all up, maybe move some stuff (mostly the STM32 around), which will cause all sorts of fun new routing issues.
Adjustments to make the jacks line up with the front panel once I've decided on a housing.
Features I'm not considering adding:
s88. I vaguely know what it is but I don't have any devices like that, and if that ever changed I could probably build (or perhaps buy) a converter that connects them via CAN.
Other buses like LocoNet.
Ethernet. I don't need it and it's actually more expensive than WLAN in this day and age.
In terms of software, I'm planning to use DCC-Ex on it. The whole project actually started out as a DCC-Ex shield, but once I realised that this wouldn't fit, I decided to make it standalone. Now, DCC-Ex is designed for Arduino, not STM32, and it doesn't support XpressNet, nor OpenLCB, nor Railcom, and their Wifi protocol is pretty weird and annoying which will be an issue (I'm planning to write my own control app for iPhone for it), so I'll probably change that or just replace it with the z21 one… so really, the software will not look a lot like DCC-Ex once I'm done with it.
Will this all work? I have honestly no idea. I mean, I'm fairly confident, I'd have given up on this long ago otherwise, but I have no guarantees either way until I've spent a lot of money on components and circuit boards and start soldering. Turns out doing it this way is not really cheaper than just buying a half-way decent one. That's what makes it exciting, though!
If it does work, obviously this will be released as open source. But it's still going to be a few days (more realistically weeks) before it's even ready to order the parts, and then a lot of soldering (current BOM stands at 194 actual components), and then a lot of software development before it's ready for that.
5 notes · View notes
ozrobotics · 2 months
Link
Tumblr media
0 notes
ella-fan · 1 year
Text
Discover the Power of Connectivity: ESP32S WIFI BLE Board-V1.0
Unleash the potential of your projects with the ESP32S WIFI BLE Board-V1.0, a versatile and robust solution designed to revolutionize the world of wireless communication. This development board is built around the powerful ESP-WROOM-32, a Wi-Fi+BT+BLE MCU module that brings a new dimension to your applications, from low-power sensor networks to complex tasks like voice encoding, music streaming, and MP3 decoding.
The ESP32S WIFI BLE Board-V1.0 empowers you to break free from limitations. With its comprehensive features and capabilities, it is the perfect choice for a wide range of applications. Embrace its prowess in low-power sensor networks or let it tackle high-demanding tasks with ease. The dual-core architecture, running at an impressive 160MHz, opens up new horizons, while an abundance of pins and peripherals ensures you're equipped to handle whatever comes your way.
One of the standout features of the ESP32S WIFI BLE Board-V1.0 is the integration of Bluetooth, Bluetooth LE, and Wi-Fi. This harmonious blend ensures that your projects are future-proof, capable of addressing a diverse array of applications. Utilizing Wi-Fi extends your physical reach and allows direct connectivity to the internet via a Wi-Fi router. Meanwhile, Bluetooth connectivity brings the convenience of connecting to smartphones and the versatility of broadcasting low-energy beacons for effortless detection.
With the ESP32 chip's sleep current clocking in at less than 5 µA, the ESP32S WIFI BLE Board-V1.0 is primed for battery-powered and wearable electronics applications. This means that your creations can operate longer on a single charge, offering enhanced efficiency and sustainability. The support for data rates of up to 150 Mbps and an impressive 22 dBm output power at the PA ensures unparalleled connectivity and an extended physical range.
Indulge in the industry-leading specifications and performance that the ESP32S WIFI BLE Board-V1.0 brings to the table. The fusion of electronic integration, range, power consumption, and connectivity sets new standards for wireless communication solutions. No matter the complexity of your projects, this board is engineered to exceed expectations, making it the ultimate choice for forward-thinking innovators.
Are you ready to embark on a journey of connectivity and innovation? Embrace the future with the ESP32S WIFI BLE Board-V1.0, where your possibilities are limitless, and your projects are poised for greatness. Elevate your creations and embrace the world of wireless communication like never before.
0 notes
rotarysb · 1 year
Text
ScanGenie : ESP32 Based QR/Barcode Scanner
Scan Genie - Effortless Scanning and Cloud Empowerment for the Toughest Barcode Challenges!
Tumblr media
Imagine a world where scanning barcodes becomes a seamless and hassle-free experience. ScanGenie is a cutting-edge open-source device that revolutionizes the way we interact with QR/barcodes. With its advanced technology and cloud connectivity, ScanGenie takes effortless scanning and cloud empowerment to a whole new level.
Tumblr media
But ScanGenie is much more than just a barcode reader. It’s a gateway to a world of possibilities. By leveraging its integrated display and internet connectivity, this compact device opens up a universe of information and services. With a single scan, you can unlock detailed product descriptions, pricing information, customer reviews, and even special offers. Say goodbye to guessing games and hello to informed decision-making.
ScanGenie’s cloud empowerment takes things even further. By seamlessly syncing with cloud services, this versatile module allows you to store and retrieve scanned data effortlessly. Whether you need to keep track of inventory, analyze sales trends, or streamline workflows, ScanGenie has got you covered. The power of the cloud is now in the palm of your hand.
Stay Connected: Don’t miss out on the latest updates and announcements from ScanGenie. Connect with us on social media platforms to join our vibrant community
Visit Official Page -https://www.kickstarter.com/projects/diytech/barcode-xtreme-powered-by-the-latest-esp32-s3-wroom-1
0 notes
bitstream24 · 6 months
Text
Tumblr media
CAN Bus Development with ESP32-WROOM32 Development Board
The ESP32 WiFi, Bluetooth Classic, BLE, CAN Bus Module comes with an onboard ESP32 WROOM-32 WiFi, Bluetooth Classic, BLE Module, and a CAN Bus port with a transceiver. The programming is accomplished through the popular Arduino IDE connected to the USB-to-Serial converter with a USB-C connector, automatic bootloader, and reset.
1 note · View note
campuscomponent · 2 years
Link
Looking for a good deal on esp32 wrover module? According to Espressif, the ESP-WROVER-32 is a powerful, generic WiFi-BT-BLE MCU module that targets a wide variety of applications ranging from low-power sensor networks. Explore a wide range of the best esp32 wrover module on Campus Componentto find one that suits you! Visit https://www.campuscomponent.com/products/esp32-wroom-32d-4mb-wi-443-d/2208614000001840752
0 notes
draegerit · 2 months
Text
Nerd Miner v2: Installation und Einrichtung auf dem Lilygo ESP32
Tumblr media
In diesem Beitrag zeige ich dir, wie du den Nerd Miner v2 auf einem Lilygo TTGO T-Display installierst und einrichtest. Der Lilygo TTGO T-Display verfügt über einen ESP32 Chip vom Typ ESP32-D0WDQ6-V3 und ist ein leistungsfähiger Mikrocontroller, der sich hervorragend für dieses spannende DIY-Projekt eignet. Mit dieser Schritt-für-Schritt-Anleitung wirst du in der Lage sein, deinen eigenen Nerd Miner zum Laufen zu bringen und in die Welt des Krypto-Minings einzutauchen. https://youtu.be/PNstCiYhip4 Disclaimer: Kryptowährungsinvestitionen bergen ein hohes Risiko und können zu erheblichen finanziellen Verlusten führen. Dieses Projekt, insbesondere der Nerd Miner auf Basis des ESP32, ist als Lern- und Spaßprojekt gedacht. Es sollte nicht erwartet werden, dass damit echte Gelder oder signifikante Mengen an Kryptowährung generiert werden können. Die vorgestellten Informationen dienen ausschließlich Bildungszwecken und zur Demonstration der Technologie des Kryptowährungs-Minings. Jeder Einsatz oder Handel von Kryptowährungen erfolgt auf eigenes Risiko.
Tumblr media Tumblr media Tumblr media Tumblr media
Einrichtung des Nerd Miners
Für die Einrichtung des Nerd Miners benötigst du: - ein lokales WiFi-Netzwerk: Der Nerd Miner muss mit dem Internet verbunden sein, um am Mining teilnehmen zu können. - eine Wallet: Auf diese wird der gefundene Bitcoin transferiert. - einen Pool (URL & Port): Aus diesem Pool werden die Blöcke generiert. Auswahl der Wallet Die Einrichtung einer Wallet unterscheidet sich je nach Anbieter sehr stark. Daher werde ich bewusst keine Empfehlung für einen speziellen Anbieter aussprechen. Informiere dich gründlich und wähle eine Wallet, die deinen Bedürfnissen und Sicherheitsanforderungen entspricht.
Technische Daten des Lilygo - TTGO - T-Display mit ESP32 Chip
Zunächst die technischen Daten vom verwendeten Mikrocontroller: - Mikrocontroller (MCU): ESP32 Xtensa Dual-Core LX6 Mikroprozessor - Drahtlose Konnektivität: - Wi-Fi 802.11 b/g/n - Bluetooth V4.2 + BLE - Programmierplattform: - Arduino-IDE - MicroPython - Serieller Chip: CH9102 - Optionale Flash-Speicher: 4M/16M - Onboard-Funktionen: - Tasten: l006 + I007 - Batterie-Stromerkennung - Display-Typ: 1,14 Zoll (ca. 3 cm) ST7789V IPS LCD - Auflösung: 135 x 240 - Pixeldichte: 260 PPI - Schnittstelle: 4-Draht SPI - Betriebsspannung: 3,3V - Größe: 1,14 Zoll (ca. 3 cm) diagonal - Farbdarstellung: Vollfarbiges TFT-Display - Display-Treiber: ST7789 Lieferumfang des Mikrocontrollers Der kleine Mikrocontroller wird in einer Plastikbox, gut geschützt durch Schaumstoff geliefert. Zum Lieferumfang gehört neben dem Mikrocontroller und dem Gehäuse (bei mir bereits fertig verbaut gewesen) noch zwei Stiftleisten zum Auflöten und ein Anschlusskabel für eine Batterie.
Tumblr media
Bezug des Lilygo
In meinem Fall hatte ich mich für einen bereits geflashten Mikrocontroller entschieden, welcher die aktuelle Version von Nerd Miner v2 bereits enthielt. Der Preis für diesen Mikrocontroller war mit knapp 23 € recht teuer, du bekommst diesen kleinen Mikrocontroller auch auf aliexpress.com, amazon.de usw. für einen deutlich günstigeren Preis. ebay.deamazon.dealiexpress.comwww.lilygo.ccLilygo T-Displayab 17 €ab 19 €ab 11 €8 $
Flashen des Lilygo für Nerd Miner v2
Auf der Seite https://flasher.bitronics.store/ findest du ein einfaches Tool, mit welchem du deinen Nerd Miner auf dem ESP32 einrichten kannst.
Tumblr media
Flashen des Mikrocontrollers via WebUSB-Verbindung Aus der Auswahlliste der Firmware wählen wir hier den passenden Mikrocontroller aus. Sollte dein ESP32 hier nicht aufgeführt sein, so probiere den Eintrag "ESP32-WROOM" aus.
Tumblr media Tumblr media
Wenn der Mikrocontroller gewählt wurde, dann sollte sich ein Fenster öffnen in welchem die seriellen Ports aufgelistet sind, hier wählst du deinen Mikrocontroller aus und klickst auf Verbinden. Es startet nun automatisch der Vorgang zum flashen des Mikrocontrollers.
Tumblr media Tumblr media
Am Ende des Prozesses wird dir dann dieses durch einen Text angezeigt, aus welchem du die Version ablesen kannst.
Einrichten einer Wallet
Für die komplette Einrichtung des Nerd Miners benötigst du ein Wallet. Auf dieses Wallet wird dann, wenn du Glück haben solltest und einen Bitcoin erhältst, dieser transferiert. Ich kann dir hier jedoch keinen Anbieter expliziert benennen, da die Auswahl einer Wallet vielen Faktoren unterliegt. Ich empfehle dir hier dich auf einschlägigen seriösen Portalen zu belesen. Erfahrung bei der Einrichtung eines Wallets bei Coinbase Ich habe für dieses Projekt mir ein Account bei Coinbase eingerichtet. Die Einrichtung war sehr einfach, da diese durch einen Wizard begleitet wurde. In meinem Fall musste ich den Account via Webcam & Personalausweis verifizieren und danach war das ganze eingerichtet, es dauerte nur ca. 30 min. und ich hatte meine Walletadresse.
Einrichten des Nerd Miners via Handy / Tablet
Wenn auf deinem Mikrocontroller nun Nerd Miner geflasht wurde, dann wird dir ein QR-Code angezeigt, welcher dich zu einem Access Point leitet. Ebenso kannst du hier aber auch die SSID sowie das Passwort ablesen.
Tumblr media
Daten des Access Points vom Nerd Miner Für die Einrichtung habe ich mein Handy verwendet, und dort zunächst nach WiFi Netzwerke gesucht. Zunächst wählen wir hier das Netzwerk NerdMinerAP und geben das Passwort MineYourCoins ein.
Tumblr media Tumblr media
Wenn du die Adresse 192.168.4.1 im Browser eingibst, dann solltest du ein kleines Menü erhalten, aus welchem wir die erste Schaltfläche "Configure WiFi" wählen. In der neuen Version 1.6.3 werden dir die WiFi Netzwerke in der Nähe angezeigt, aus dieser Liste kannst du eins auswählen und die SSID wird in das Eingabefeld übertragen. Hier müssen wir jetzt lediglich noch das Passwort eintragen.
Tumblr media Tumblr media
Die Daten von "Pool url", "Pool port" belasse ich in meinem Fall auf die Defaultwerte. Hier trage ich lediglich meine Walletadresse ein. Im Abschluss wird hier lediglich nur die Schaltfläche "Save" betätigt und der Mikrocontroller sollte neu starten.
Tumblr media
Troubleshooting - lesen der Logausgaben
Der kleine Nerd Miner erzeugt auf der seriellen Schnittstelle eine Logausgabe aus welchen du die Daten ebenso entnehmen kannst. Wenn dein Gerät sich nach der Installation nicht verbindet und plötzlich keine Daten mehr empfängt, kannst du dort zumindest die Fehlersuche starten. Für das Aufzeichnen des Logs verwende ich Putty, dieses Tool dient eigentlich zum Herstellen von Terminalverbindungen zu entfernten Computer / Server, kann aber ebenso verwendet werden, um eine serielle Schnittstelle auszulesen. Das Tool kannst du als Paket zum Installieren herunterladen oder als einfache EXE-Datei, ich wähle hier die EXE-Datei und starte diese. Im ersten Schritt wählen wir Serial (1) und geben danach den Port ein (2) als Geschwindigkeit (Baudrate) wählst du 115200. Damit wir diese Daten besser lesen können legen wir diese in eine Logdatei ab, dazu wählen wir aus den Kategorien den Eintrag Logging (4)
Tumblr media Tumblr media
Hier wählen wir zunächst "All session output" (5) und geben einen Pfad zu einer Datei ein (6), es reicht hier nicht nur einen Dateinamen einzugeben, alternativ kannst du über die Schaltfläche "Browse..." (7) eine Datei / einen Pfad wählen.
Tumblr media
Wenn du nun die Schaltfläche Open betätigst, dann öffnet sich die Konsole und das Log wird ausgegeben.
Tumblr media
Jedoch ist dieses nicht wirklich lesbar, hier hilft ein weiteres kleines Tool weiter, es nennt sich Baretail und gibt es in der kostenfreien Version mit Werbung und in der Pro-Version ohne. Auch dieses Tool brauchst du nicht installieren und kannst nach dem download einfach die EXE-Datei starten.
Tumblr media
Wenn du jetzt die Logdatei öffnest, dann wird diese dir angezeigt und du kannst diese recht einfach lesen, da wenn die Datei aktualisiert wird, dein Cursor an der Stelle stehen bleibt. Du kannst auch bestimmte Wörter mit einer Farbe hervorheben und so dein Log noch lesbarer gestalten. Read the full article
0 notes
biglisbonnews · 1 year
Photo
Tumblr media
Senseair K30 CO2 meter Hi, I’ve installed a Senseair K30 CO2 meter to an ESP32 and i’d like to share this with you. Big thanks to martgras and znerk13 for showing the way (Add Senseair K30 CO2 sensor · Issue #1587 · esphome/feature-requests · GitHub). Starting off with the most important question first: why choose the expensive Senseair K30 sensor, and not something else? The choice is based on this scientific publication, which shows the K30 to be a very good sensor. Tomomi Yasuda et al, Comparison of the Characteristics of Small Commercial NDIR CO2 Sensor Models and Development of a Portable CO2 Measurement Device, Sensors 2012, 12, 3641-3655 The result is backup-up by this peer-reviewed paper: Cory R. Martin et al, Evaluation and environmental correction of ambient CO2 measurements from a low-cost NDIR sensor, Atmos. Meas. Tech., 10, 2383–2395, 2017. The result is also backup-up by this non-peer-reviewed paper, which also shows the K30 to be a good sensor: Mengna Li et al, Design of a Calibration System for Miniature Carbon Dioxide Sensors, FLOMEKO 2019, Lisbon, Portugal Okay, based on these results, i choose the Senseair K30. The K30 uses automatic baseline calibration (ABC) to auto-calibrate every 7.5 days. It assumes that lowest measurement in this period is the baseline value of 400 ppm. This mechanism works fine unless somebody is at home all the time (the baseline of 400 would never be reached in those 7.5 days). If the baseline is never reached, it is also possible to disable the ABC-mechanism, but i have not investigated this. Hardware: Power Supply: Mean Well RS-15-5 ESP32: ESP32 WROOM Devkit CO2 sensor: Sensair K30 Bi-directional Logic Level Shifter 3.3v 5v The sensor is very flexible, it can be connected analog and digital via I2C and UART (modbus). I choose UART based on the previous work of martgras and znerk13. Dupont pin headers are soldered onto the Senseair K30 UART terminal. In he picture below, from left to right: ground, 5v, RX, TX From here, the RX and TX go to the Logic Level Shifter → ESP32 TX (GPIO1, orange cable) and RX (GPIO3, yellow cable). As always, RX from the sensor goes to TX of the ESP and TX from the sensor goes to RX of the ESP. Screw the ESP into a project box and fixate the logic level shifter inside. Use a cable gland to fixate cabling in the project box. Now, screw the Senseair K30 outside of the project box, on top of the lid. Make sure to only use two screws, not more. Reason: Senseair advices this to prevent strain on the pcb. Also make sure that both screws are isolated from each other and isolated from main ground (for example by using plastic screws). Connect the wires and screw the top on the project box. CO2 sensors are sensitive to temperature, therefore the ESP32 is inside the box and the sensor is outside of the box attached via spacers. This is also the reason why the power supply is in another location. Building the power supply: this is pretty standard stuff. Crimp ring (or fork-style) connectors to the cables and screw the cables to the power supply. The power supply is placed into a ventilated project box (you can drill holes for this). Make sure to use cable glands to secure the 230v cables, otherwise you are creating a very dangerous situation. Use thick cabling to go from the power supply to the esp32/K30 combination to prevent voltage drop. I’ve used 0.75mm squared cables. You can calculate the required wire thickness using this website: Voltage Drop Calculator Inside the esp32 project box, i’ve placed Wago 221 to divide the cables further into shorter smaller cables to which i crimped dupont connectors (for the ESP32 and the K30) and ferrules (for the Wago 221). End-result of the device. Again, please be aware to place the power supply away from the K30 sensor to prevent warm-up and drifting CO2 measurements. I’ve placed the device inside the ventilation shaft that is extracting air from my living room to the outside. ESPHome is installed onto the ESP32. See the config below. esphome: name: living-room-co2-meter friendly_name: Living Room CO2 Meter comment: ESP32ESP-32S Wroom Devkit v1 + Senseair K30 esp32: board: esp32dev framework: type: arduino # Enable logging logger: baud_rate: 0 # Enable Home Assistant API api: encryption: key: "xxx" ota: password: "yyy" wifi: ssid: !secret wifi_ssid password: !secret wifi_password # Enable fallback hotspot (captive portal) in case wifi connection fails ap: ssid: "Living-Room-Co2-Meter" password: "zzz" captive_portal: uart: id: mod_uart tx_pin: 1 rx_pin: 3 baud_rate: 9600 stop_bits: 1 parity: none modbus: send_wait_time: 200ms uart_id: mod_uart id: mod_bus modbus_controller: - id: sensek30 ## the Modbus device addr address: 0xFE modbus_id: mod_bus command_throttle: 500ms setup_priority: -10 update_interval: 30s sensor: - platform: modbus_controller modbus_controller_id: sensek30 id: status_raw name: "CO2 Status Raw" internal: True address: 0 register_type: "read" value_type: U_WORD accuracy_decimals: 0 - platform: modbus_controller modbus_controller_id: sensek30 id: co2 name: "CO2 Level" address: 3 unit_of_measurement: "ppm" register_type: "read" value_type: U_WORD accuracy_decimals: 0 text_sensor: - platform: template name: "CO2 Status" lambda: |- if (id(status_raw).state == 0) { return {"Ok"}; } if (id(status_raw).state == 1){ return {"Error"}; } else { return "Unknown Code: " + to_string(id(status_raw).state); } The end-result is looking very good. 1 post - 1 participant Read full topic https://community.home-assistant.io/t/senseair-k30-co2-meter/593808
0 notes
adafruit · 1 year
Text
Tumblr media
Chonkiest ESP32-S3 Metro is pulling into the station and it is piled high with PSRAM 🚂💾🔌
This ESP32-S3 metro brings the chonk, with 16 MB of Flash and 8 MB of PSRAM - that's the max you can get in the WROOM module . but we think it's worth it's weight in gold cause when we start messing around with the parallel TTL TFT driver we're gonna need that space to buffer the full 16 bit 800x480 display… heck we could even double buffer the graphics at that point.
Lots of power options here, too: 6-12V DC jack with on-off switch, USB type C or lipoly battery . the lipoly can be charged on board and monitored with a MAX17048 .
One frustration from our Metro ESP32-S2 is that the Espressif Arduino board support package never added pin-reordering, so in this Metro we use consecutive numbered pins from 2-13 so shield pin configurations don't have to change.
For IoT datalogging projects we Stemma QT I2C & a micro SD card socket. We also added a JTAG connection and the hardware UART debug pins in case we have to do some more-than-printf debugging. All the edges are so packed full of stuff that we had to stick the boot0 button and D13 / ON LEDs in the middle!
4 notes · View notes