XIO

xWire

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

Arduino Forum - Latest posts

Latest posts

Multi-tasking co-operative App for UNO Q to exchange struct type data between MCU and MPU using Router Bridge

GolamMostafa: there are four members in the struct --- three plain variables: pos, speed, y and one macro/function: MSGPACK_DEFINE(pos, speed, y). MSGPACK_DEFINE is a macro, and a macro is just text substitution performed by the preprocessor before the compiler ever sees the code, it does not inspect your struct, it does not know its layout, and it has no way to look at what members exist beyond whatever names you type between its parentheses. So basically when you write MSGPACK_DEFINE(pos,…

This site needs more AI !

I've now used the new search several times since then and it really is a big improvement. However, I've see that it could be improved further. I wanted to search for a PM on a subject which was only tangentially related to a post I made and could only really give a data range and a few keywords. I did find the post eventually but a date range search as such does not really exist. I've checked on other specimen Discourse sites and it has not been implemented anywhere so I guess this will be a…

45 years of I2C

GolamMostafa: where I can ask all my basic questions about the I2C bus that I had for a long time. It depends on the questions that you have. A new topic with the questions that you have might better fit in https://forum.arduino.cc/c/projects/networking-protocols-and-devices/27.

45 years of I2C

ptillisch: How about here?: Much better! Some portions are still hidden, but after reading the seven exposed paragraphs, I gained new insights into the inventors and the difficult times they faced while resolving the technical challenges.

Générateur de signaux pour labo Uno R4 WIFI

C'est effectivement une solution pour un proto, mais à mon humble avis, ça n'en est pas une si on veut réaliser quelque chose de définitif et surtout de facile à reproduire. La création du CI est un peu rébarbative mais quelle satisfaction de n'avoir qu'à installer les composants et réaliser quelques soudures pour que cela fonctionne. Les cartes protos, c'est bien mais toujours une chance sur deux d'avoir une soudure qui lâche ou un court circuit entre deux pistes. Olivier

Multi-tasking co-operative App for UNO Q to exchange struct type data between MCU and MPU using Router Bridge

//--- struct declaration---- struct Package_data { int32_t pos; int32_t speed; float y; MSGPACK_DEFINE(pos, speed, y); }; Package_data mcuData; //------------------------ Referring to the above struct taken from the sketch of post #1, I understand that there are four members in the struct --- three plain variables: pos, speed, y and one macro/function: MSGPACK_DEFINE(pos, speed, y). When I execute return mcuData in the sendStructData() function, are all four items transmitted, or only the…

Inverter forte puissance 12v DC->220v AC

Bonjour, pascal0171: tout est dit dans la doc... Je suis tout â fait d'accord, c'est même moi qui ai cité cette doc. Mais je rajoute un warning: Attention, cette doc s'intéresse aux onduleurs pour installation solaire. C'est à dire pour onduleur dont la source de tension est photovoltaïque et non le réseau ou une batterie. Donc à la base, la typologie est différente. Ce qui n'empêche pas que cela puisse fonctionner avec un transfo BF si on a un bon filtre. Quand à vos infos @le_viking pour mon…

Inverter forte puissance 12v DC->220v AC

le_viking: Non un seul enroulement 1 seul transistor que ce soit BF ou HF la perte de rendement est lié au fait que le courant aille dans un seul sens, La bobine ne fournis pas un courant inverse, lorsque la tension est à l'état 0V ? jef59: Pourquoi je m'escrime à trouver une solution fiable pour filtrer et transformer le SPWM HF en sinusoïde 50Hz? Tu n'utilise pas le schéma de @ocoquet91 qui envois directement le 15KHz au primaire ? tu envois une sinusoïde 0-12V à 50Hz ?

Inverter forte puissance 12v DC->220v AC

jef59: Ensuite, autre incongruité, P= RI², avec un transfo au primaire de 12V, ou de 6V comme proposé par je ne sais plus qui, en comparaison à un primaire de 230V, dans le second cas, pour la même puissance I est 230/6=39 fois, cela réduit considérablement les pertes. Si j'ai bien compris: ~ il ne faut pas utiliser le secondaire d'un transformateur pour diminuer les pertes. Si on ne peut rien mettre en sortie, pourquoi prendre un transfo? Autant ne rien mettre du tout. ~ pour diminuer les…

Arduino deserves reliable 'atoi' and related methods

sterretje: The alternative is to use strtol. +1 C's atoi() and atol() have long been known to lack error handling, and strtol() is the documented replacement. The C standard actually does not require atoi() to set errno, and if the result cannot be represented, the behavior is undefined. This is fully documented. Diligent and careful programmers know that. When atoi() was first introduced in the early days of C in the 1970s, computer resources were extremely scarce. Because atoi() skips error…

Waveshare ESP32-C3-zero and serial communications causing lockup

xfpd: I "solved" my problem... on another topic... by using #define..#ifndef..#endif You might be interested in this alternative approach to disabling Serial communication code in a sketch: Sharing Debugging Techniques Programming The system I use: Add this code near the top of your sketch: #define DEBUG true // Set to true for debug output, false for no debug output. #define DEBUG_SERIAL \ if (DEBUG) Serial Then use code like this to initialize the serial communication:…

Iot slider widget

Something I forgot to mention is the "Image" Dashboard Widget: https://docs.arduino.cc/arduino-cloud/cloud-interface/dashboard-widgets/#image This widget allows you to place any arbitrary image on your dashboard (note that this is not an image sent by the Thing). You could get quite creative with using this Widget to enhance the aesthetics of a Dashboard. You could get even more fancy by using the "Image Map" Widget: https://docs.arduino.cc/arduino-cloud/c…

45 years of I2C

ptillisch: Are you still unable to access it? I ave just tried now, and I cannoy access the site. This is the message fromthe browser: This site can’t be reached bits-chips.com took too long to respond. Try: Checking the connection Checking the proxy and the firewall [Running Windows Network Diagnostics](javascript:diagnoseErrors()) ERR_CONNECTION_TIMED_OUT

45 years of I2C

GolamMostafa: I have thought that the linked document of post #1 is an article outside from NXP. That is correct. Are you still unable to access it? If you can't access the content on the source site, you can try the Wayback Machine link I provided again. I just checked and it is working for me. kmin: likely i2c story continues for a while.. I think we can be confident of that. A Qwiic connector is now standard on official Arduino boards, making it easy to connect peripherals to the I2C bus.…

Multi-tasking co-operative App for UNO Q to exchange struct type data between MCU and MPU using Router Bridge

A: Objecives: 1. Creating and running mult-tasks under Zephyr RTOS 2. Sending struct type data from MCU to MPU using Router Bridge 3. Exchanging messages between MCU and MPU 4. Exchange signals between tasks/threads via semaphore B: Program Logic: 1. MCU waits executing its code until Linux-MPU has started. 2. MCU keeps blinnking LED3_R as a thread/task outside its loop() function 3. MPU sends request signal to receive data from MCU 4. MCU blinks LED4_G for two times as a thread. 5. MCU sends…

App lab 0.11.0 issue with pre working code on 10 and breakpoints/debug on build

GolamMostafa: castillog: If the bridge cannot be used with threads then I will go a different route with the code structure. Theoretically, it should work. The challenge will be making it work in practice. I hope the panel experts will provide the necessary assistance. This is the multi-task version of the single task version sketch of post #17, which sends struct data over Router Bridge from MCU to MPU. Sketch: #include <Arduino_RouterBridge.h> bool status = false; String value = ""; unsigned…