XIO

xWire

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

Arduino Forum - Latest posts

Latest posts

Logical not (!) and NVRAM (EEPROM)

J-M-L: PS: The C++ standard does not require bool to be stored as 0 or 1, but compilers treat any other value as undefined behavior and are free to exploit that. Is non-0/1 values being undefined behavior new in C++? I'm pretty sure that C specified that any non-zero value would evaluate as true. (of course, C didn't have an explicit "boolean" data type.)

Help with DAC / PWM

john_coach: At this point, I don't know how that chip works. Maybe you send it data in mp3 format and it decodes it. Maybe you send it a buffer of data in advance. AFAIK, neither the I2C or I2S DACs have memory or Mp3 decoding. You just stream the values of an array to the chip in real time. Note the much slower clock speed of I2C vs. I2S, limiting the top sample range.

Can a microcontroller be powered by an oversized solar panel, e.g. 100W, and a dc-to-dc converter without a battery?

carrot_farmer_emoji: Are there any issues with letting the system turn on and off and dusk and dawn that are not obvious to a beginner like myself? There is ALWAYS the issue of clouds covering the sun and birds on the solar panel. Both making the generated power go off and on during the day.

Solid State Relay interference

I agree that I did not know SSRs are AC or DC. I was treating them just like an electro-mechanical relay. I learn something new every day (even at my age -I learned WatFor and learned programming logic when punch cards were the way to program). I was under the understanding an electro-mechanical relay could not do the rapid and frequent changes I need to work with Vixen.

Can a microcontroller be powered by an oversized solar panel, e.g. 100W, and a dc-to-dc converter without a battery?

There is a family of integrated circuits known as 'Power Supervisory ICs' which may be useful for you. Use your favourite search engine to find out more about them. They can be used to ensure that the output from the solar cells are switched on and off cleanly. They can also provide reset signals for the ESP32. I haven't used them myself, so I can't make any recommendations.

Problem with COM PORTS

ei69: clone Arduino nano (Lafvin). A quick Google for that brand shows that these use a CH340 USB to Com solution. The drivers for this solution aren't included in the IDE, because no official Arduino uses these. So it's up to you to find the drivers and install them. You did that before on your old Win 10 system, but likely forgot about that. Btw SHOUTING is very unpolite so be very glad you have had all these replies.

Percent widget not working

Hi @Proietti. This code doesn't accomplish anything: Proietti: void Plot(int iotVariable, unsigned long perCentValue) { iotVariable = perCentValue; } It seems like maybe you intended this code to update the value of the Arduino Cloud IoT Variable. However, it does not do that. The Plot function does not change the value of the global sketch variable that will be sent to Arduino Cloud server when ArduinoCloud.update() is called. You can test it by adding a Serial.print call to your sketch that…

Solid State Relay interference

I think that you could aim for one appropriately dimensioned 5v buck converter and one 3v buck converter. So just one 5V for the operation of the relay (mosfet) and one for the 3v output It appears that each SSR needs up to 40mA but the signal current supplied by the Arduino should be negligible So do you mean the Arduino can or cannot hold the relay closed? I guess that the buck converter design is such that the ground rail is common. What are you getting at here? FYI I am a real novice with…

Can a microcontroller be powered by an oversized solar panel, e.g. 100W, and a dc-to-dc converter without a battery?

carrot_farmer_emoji: From a conceptual standpoint-- do you think it's possible to run a system like this with no rechargeable battery or capacitor outside of what is in the converter? Are there any issues with letting the system turn on and off and dusk and dawn that are not obvious to a beginner like myself? It might be possible, but consider what happens if something temporarily shades the solar panel. The output could drop below what the circuit requires, causing it to shut down. When…

Problem with COM PORTS

Thanks for taking the time to post an update with your findings @ei69. I'm glad it is working now. ei69: I moved to a Win 10 machine and the older IDE. It should not be necessary to use an older Arduino IDE version. I'm not aware of any driver-related problems specific to the latest Arduino IDE version. A driver problem would be expected to be at the operating system level, and thus affecting all IDE versions equally. If it is an older machine you are using now, then it could make sense to use…

UNO Q: Problem with Language Supprt

@jgmdavies has now submitted a formal report to the Arduino App Lab developers: Open issue arduino/arduino-app-lab Bug: Language Support installation usually fails opened 06:26PM - 01 Nov 26 UTC jgmdavies I find Language Support usually fails to install, despite reopening either AppLa…b or the app several times. When it does work, it's very useful. (App Lab 0.11.0 and latest Zephyr.)

Can a microcontroller be powered by an oversized solar panel, e.g. 100W, and a dc-to-dc converter without a battery?

No battery sounds dangerous to me. What will the board or buck converter do at first light. Start cleanly or just lock up. A solar panel is a slow rising current source. Don't assume you need to sleep the board. An ESP can run days on a relatively small battery. I have a Seeed XIAO ESP-C3 running 24/7 on a ~7000mAH protected LiPo cell, the size of a matchbox. The board (with internal charger) keeps the battery topped up with a 5volt/400ma (2Watt) panel, connected to the USB socket. Gets cleanly…

Solid State Relay interference

The relay modules look similar to this: https://de.aliexpress.com/item/1005009488869287.html but these come in a number of variants including high level trigger, low level trigger, 5v, 12v, 24v control voltage options and AC and DC switching options. The datasheet of the G3MB relay itself: https://docs.rs-online.com/db5e/0900766b8002f991.pdf (AC output only) I can't find much about the DC output relay module. I think that you could aim for one appropriately dimensioned 5v buck converter and one…

595 Shift not behaving as expected

If the breadoard version works and the pcb version does not work, they are probably different. From your pcb picture I cannot see if it is ok. Some of thr circuit is missing. A more close up picture if your final pcb (both sides) would be worthwhile. So we can check your soldering skills. Soldering joints of R18 may be bad. Can you add a close up of the adapter? It is out of focus now.

Problems with DFPlayer Mini

I actually use a bench top variable power supply but was getting the same results, I took the project to work to have one last try and take the photos and post for help and only then have I plugged it straight in to the Arduino 5v. (I thought it would be easier if I had eliminated the additional power supply as the result was the same) This is set to 5v when used for this project.

Inverter forte puissance 12v DC->220v AC

C'est vrai que toutes ces considérations font vraiment avancer le fil. Je dis que je n'ai pas eu l'occasion de faire ce genre de tests pratiques parce que je faisais de l'électronique dans un cadre professionnel où je ne faisais pas ce que je voulais et on repart dans... Donc j'attends maintenant les résultats couchés sur papier de ces montages à 10, 15 ou 20Khz à la puissance nominal du transfo