The last components arrived today.
And after for 4 hours of tests, experiments and reading datasheets and obscure forums, I made it works :)
(gipio15 needs to be pulled low, to boot).
I still got some noise on the data line. I'll figure that out tomorrow.
Took me 2 hours, and more tests, experiments and obscure forum but I solve the glitch \o/
It had nothing (almost) to do with the data line. The capacitor on the ldo was just too small (despite being the one suggested on the datasheet).
Next step is to order some bigger smd capacitors, and add the missing resistor to the design and we should be good on that part of the project :)
Ecco una cosa assurda che ha trasformato la mia faccia in faccia scheletrino (💀). Dunque, mi servirebbe #testare una cosa (che a questo punto non dico ancora perché beh, si sono messe di mezzo le rogne) tramite interfaccia #SPI; il Raspino non posso usarlo perché non ho l’header per la #breadboard (dovrei comprarlo), e quindi uso il #NodeMCU. 🪨️
Boh, copio nel filesystem di #MicroPython i file della libreria che penso mi serva… e non va perché la versione di MP che ho è vecchia rispetto al #codice. Perdo tempo solo per backuppare tutti i file sul PC per poi riformattare la #flash della #board, poi quindi flasho il #firmware… e inizialmente sembra funzioni tutto, ma poi scopro che la #scheda si riavvia a caso quando collegata ad alcune porte #USB del PC. Collegandomi ad altre, invece, è la mia tastiera smette di funzionare (inizia a perdere tantissimi input). Sarà una regressione strana del firmware… penso. Avanti e indietro varie volte di ricopiare sul #MCU i file che avevo prima, nella speranza di continuare sulla mia strada, e invece ho perso solo tempo. E anche ora che ho rimesso (credo fosse quella, a memoria) la versione del firmware che avevo prima, 1.17, stesso casino (anche se i riavvii sono meno frequenti, ma ci sono). Dal portatile invece appare come dispositivo seriale, ma solo per degli istanti e poi non va più. 😶️
Che cavolo è successo? È la #megafine? Ho #flashato con il tool consigliato (anche con diverse modalità), e in ogni caso non ho avuto alcun errore (infatti beh, il #flashing è andato in sè sempre bene). Ormai io non. Quella cosa che dovevo provare dovrò farla con l’SDK C, perdendo un sacco di tempo perché sul #ESP8266 va riflashato l’intero firmware di base ogni volta che si compila uno sketch (~20 secondi a #compilazione?)… #mannaggia. Il #sasso mi ha lasciato metà a piedi. 😭️
Andreas Spiess reruns a video from 5 years ago in which he destroys or damages several components in an attempt to build some random project he found on Instructables and then connect it to electronics it was never originally designed to be connected to. It is a favourite video that I refer people to whenever they try using a microcontroller, Raspberry Pi, etc to switch inductive loads https://youtu.be/ReFUr3KuK40
I have finished my tomato-moisture sensor for now. Switching from an #ESP8266 to an #ESP32 Lolin made things easier because I don't need to use a clunky power bank, but just a small external battery with a JST plug. However, since I had a free ESP8266, I decided to use it to create an access point and improve the Wi-Fi signal in the area where my tomatoes grow. Since it’s not useful to have the data sent to me all the time, I managed to use #DeepSleep, and now it updates every hour. So much fun!
Sometimes, I feel a little overwhelmed with all the possibilities of #IoT and #HomeAssistant. That is by no means a complaint; I just have trouble prioritizing my projects. Today, I finished my #TDS sensor with an #ESP8266, and it was a lot of fun but also made me want to improve my coding skills faster. Then, I experimented with the #deepsleep feature for my capacitive moisture sensor because I don't need the value every few seconds and plan to use a power bank or something. I love it.
Back to coding, and I feel very confident about my new projects. I am not sure yet if I'm going to post hardware stuff here. I went back to #python, and I am surprised how much I have already forgotten about it. But it comes back rather quickly. My current projects are:
A capacitive moisture sensor powered by an #esp8266 that is planned to send the data to my #homeassistant and tell me if my tomatoes need water.
A #868mhz transceiver that opens the garage door as soon as my wife comes home.
He, ihr Home-Automatisierer, ich brauche mal einen Tipp, bevor ich was Blödes mache.
Ich bin kurz davor, einen #ESP8266 (D1-mini) in einen Baumarkt-Aufputz-Lichtschalter einzubauen, um damit über #HomeAssistant irgendeine smarte (WLAN-)Steckdose zu schalten.
Das scheint mir etwas Material-Overkill zu sein – sowohl was den riesig fetten Schalter mit 1,5 mm²-Anschlüssen als auch was den D1-mini mit seiner ganzen Rechenpower angeht.
Hat jemand einen Tipp? Am besten, ohne dass Jeff reicher wird?
I haven’t had a look at #Arduino for a long time, thinking that everything is about #RaspberryPi and #ESP8266 nowadays, but wow 😯 they do have some interesting new toys for tinkering!
Today I successfully compiled and flashed the Zimodem firmware onto my ESP8266 WiFi board for the #RC2014. I did have some trouble getting various clock/baud rates to work without garbling or dropping characters, so had to fall down to 4800 to get stable TX/RX (will troubleshoot this more later). I was then able to use QTerm to connect to the BBS that @Wintermute_BBS runs on an RC2014 (rc2014.ddns.net:2014). At 4800 it was slooow, but very cool! 🔥😎
Dear lazyweb #makers I am looking for recommendations for a UK wireless smart plug, preferably ESPHome compatible, that can sustain 10Amps or higher, and probably a fairly high startup surge. It's for my 2.2Kw air compressor...