XIO

xWire

Posts from every feed QUEST has found across the web — blogs, news, podcasts, channels and more.

Arduino Forum - Latest posts

Latest posts

Aeroponía con arduinon nano

Solo un comentario constructivo. El módulo LR7843 no tiene diodo de freewheeling. Si vas a controlar un motor DC, un relé, una electroválvula o un solenoide, debes agregar el diodo por fuera para evitar que los picos de voltaje inverso al apagar la carga quemen el MOSFET. Cómo conectarlo: Coloca el diodo en paralelo con los terminales de la carga (no en el módulo, sino directamente sobre el motor o bobina). Polaridad: El cátodo (la banda gris del diodo) debe ir conectado al positivo (+) de la…

SD Card error opening file

Very sharp eyes! I had (wrongly!) assumed that card.init(SPI_HALF_SPEED, chipSelect) would be performing the same function as an SD.begin(). This seems to solve the problem. I need to check the file "heat.csv" by opening that file on an Excel or CALC spreadsheet to be sure I get the formatting of the file correct. Other than that, I should be "off to the races", as the saying goes. Thanks for all the help on this. I will leave this topic 'open' for now, while I resurrect the not-minimized code…

Working with ESPWebserver and ESPAsyncWebserver

Thank you for that list. I can confirm that with a bit of help and research as well as some messing around I have the following installed and included: Async TCP 3.6.1 (with spaces in name) ESPAsyncHTTPUpdateServer 3.0.0 ESP Async Webserver 3.12.1 (with spaces in the name) WiFi, LittleFS, ArduinoOTA and Networking are part of the ESP32 package which is at version is 3.3.12. I therefore think I do have the correct versions of everything. I just need to understand how to use ESPWebserver with…

How to convert STM32U585 TIM15 register code to pure Zephyr APIs on UNO Q

GolamMostafa: Merlin513: STM32 microcontrollers allow peripheral functions to be routed to multiple physical pins via alternate function mapping. Figure-1: Referring to Fig-1: 1. SDA line of I2C2 Module can be routed to the following pysical pins of the MCU: E2, M12, F9, and L9 @GolamMostafa - Sorry, I don't really understand the purpose and/or what you are trying to convey by a diagram such as this. First off, unless you are trying to layout a new board or diagnose an issue with a board, you…

SD Card error opening file

polarmolar: To answer your question (doubt) about whether my Array-filling routine works properly, it does Well you don't check if the amount of device data you are storing, exceeds the amount space in the array. It works because you have less than 6 devices. The variable name myFile is declared twice. It could confuse the compiler and well at least just comment this line out Sd2Card card; SdVolume volume; SdFile root; RTC_DS1307 rtc; // FILE myFile; <---------------- This line DeviceAddress…

Working with ESPWebserver and ESPAsyncWebserver

i find it important to use the correct set of libs that play nice together this combo works for me //xia esp32s3 Using library ESP Async WebServer at version 3.12.1 in folder: C:\Users\rc\Documents\Arduino\libraries\ESP_Async_WebServer Using library FS at version 3.3.12 in folder: C:\Users\rc\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.3.12\libraries\FS ​ Using library Async TCP at version 3.6.1 in folder: C:\Users\rc\Documents\Arduino\libraries\Async_TCP Using library FauxmoESP at…

SD Card error opening file

The full sketch explains it: SD.begin() is never called. card.init(SPI_HALF_SPEED, chipSelect) is the low-level CardInfo check. It talks to the card, but it doesn't mount the FAT volume for the SD library. SD.open() only works after SD.begin() has succeeded, so CardInfo works and every open fails. Your earlier sketch, where heat.csv did open, most likely had SD.begin() in it. In setup(), replace the card.init(...) block with: if (!SD.begin(chipSelect)) { Serial.println("SD.begin failed"); while…

Working with ESPWebserver and ESPAsyncWebserver

I am trying to revive an old ESP8266 project that used the ESP8266 Webserver library, but on the allegedly superior ESP32. I converted the library includes from ESP8266Webeserver to ESP32Webserver and then wanted to convert the server.on statements from using inline web pages wrapped in consts to actual files on the LittleFS partition. The first problem I encountered was finding examples for ESP32Webserver. All Google searches and IDE examples seem to be based on ESPAsyncWebserver. The examples…

Help making a set of C++ Classes

Not been having good days but trying to keep at it.. I should know better what I'm doing to make such choices. With a base class pointer I can only ->baseClassMembers as far as I understand but I'm not sure that's right at all and I may have blank on something very important about derived classes. I probably should not be messing with this. All my old button examples only did singles, multi's or matrix; and could fit in the same non-blocking app but not have a common pointer.

Présentation projet et demande conseils

Bonsoir alaing84 alaing84: et j'ai pratiquement autant de frais de douane que de produits... ça m'a refroidi... Du même avis que @fdufnews. Le servo treuil en fonction: j'ai pris ce que j'avais sous la main, la barre ronde simule la barre de métal pour verrouiller une porte. Sous la barre il y a un deuxième câble, au bout duquel j'ai pendu un poids pour simulet le poids de la barre.Servo treuil comme serrure de de porte de garage. Bonne soirée jpbbricole

Receiving ESPNow Serial data between two ESP32-C3e devices

I have been trying to pass information between 2 ESP32-C3 devices using ESPNow Serial This is based on an article at https://wolles-elektronikkiste.de/en/esp-now-serial the last section of that article. I have modified the code and included the pertinent parts... Problem: I am using the same structure that contrains floats. The transmitter is sending random float data. But the receover does not seem to get that data (or I am not displaying the data it is receiving properly. Eventually I want to…

Présentation projet et demande conseils

Oui, c'est devenu un problème. Il faut prendre soit plusieurs produits de la même catégorie pour ne payer qu'une fois la taxe, soit trouver des produits qui sont stockés en Europe mais ce n'est pas toujours bien indiqué. Après, il faut aussi comparer avec le prix que l'on aurait en achetant le même produit ici, pour autant qu'on le trouve chez nous.

Zeigt her eure geilen Projekte!

Das wäre ja dann das Prinzip wie die kleinen Platinen mit den einzelnen Bauteile die ich hier weiter oben reingestellt hatte. Bei den Transistoren habe ich ja die Pins so rausgelegt wie auf den Schaltplan immer gezeichnet wird, damit es einfacher wird. Wenn man es selber macht kommt man leider ums löten nicht rum Habe mittlerweile auch welche gefunden die senkrecht gesteckt werden können. Komplet fertig aber mit sehr überschaubarer Auswahl. Aber nicht besenderst günstig finde ich.

Arduino Kurs für Anfänger

Ja, der Artikel hat leider mehrere Fehler. Es hörte sich erst so schön richtig an, aber der Teufel steckt im Detail. Ich habe "constexpr int data{15.4};" mit meinem "normalen" c++ compiler ausprobiert (g++ 15.2.0). Dort bricht der Compiler tatsächlich mit dem Fehler ab, das ein double nicht nach int konvertiert werden kann. Dann habe ich das gleiche sowohl mit der neuen (2.3.11) als auch der alten (1.8.19) Arduino IDE ausprobiert. In beiden Fällen kompiliert der Compiler ohne Warungen für einen…

I failed to compile Blink LED with UI using Arduino App Lab

On UNO Q with App Lab 0.12.0 and arduino:zephyr 1.1.0, the original “Blinking an LED” example and editable copies fail to compile. I added Arduino_RPClite 0.3.1, MsgPack 0.4.2, ArxContainer 0.7.0, ArxTypeTraits 0.3.2, and DebugLog 0.8.4 through Sketch Libraries; they appear in sketch.yaml, but the build log still says “The library - has been added” and RouterBridge 0.4.4 reports missing RpcError, MsgPack, and RPCClient. I reflashed the board to image 20260528-558 and installed the offered board…

MP3 or WAV in onboard memory

True, sounds OK on a phone or laptop, but they are using I2S sound chips like the MAX98357. What will happen when you first convert to a WAV array and play it with a D/A designed for voltage generation. I remember a thread where the poster asked for help to remove the click sounds when the sound clip started and stopped. Because a D/A first has to jump from zero to the idle position (127 for an 8-bit A/D) before it can produce an AC wave.

Arduino Kurs für Anfänger

@wno158 und @Kai-R : Danke! (Das mit {} statt = war mir gar nicht klar. Ich finde es ungewohnt zu lesen - da muss ich mich dran gewöhnen, aber Fehlervermeidung finde ich sehr sinnvoll. Muss ich drüber schlafen, aber ich werde wohl dann direkt constexpr und {} benutzen.

SD Card error opening file

Hello, and thanks for your comments. My "full sketch" (rather than the stripped down, minimal one I shared above...), already has the CardInfo sketch included in it for developmental diagnostics --- and that SD-card diagnostic always works. That CardInfo works (i.e., that the wiring is OK and that the SD card can participate in communications) is part of the reason why I am finding this frustrating, and have asked for help. Prior to asking for help from the Forum, I tried some other variations…