XIO

xWire

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

Arduino Forum - Latest posts

Latest posts

Re: Presentazioni nuovi iscritti, fatevi conoscere da tutti! (Part 2)

Ciao a tutti, Mi chiamo Giovanni e sono di Reggio Emilia. Sono un ventenne diplomato al liceo scientifico e ho pochissime basi di programmazione e circuiti elettrici. Mi è sempre interessato però il mondo della programmazione così mi sono comprato lo starter kit di Arduino pensando che non fosse poi così difficile. In realtà sto riscontrando varie difficoltà nonostante la quantità infinita di video su Internet di Arduino non mi è ancora chiaro il linguaggio. Mi sono iscritto a questo forum…

Help with designing hardware for LED strip control with Arduino Nano (RGB, non addresasble)

xfpd: Arduino use only eight bits for PWM, so whether controlling WS2812 or MOSFET, there will only be 256 steps the 8 bits per color of the WS2812 are because of the internal chip of the strip, not because of the resolution of arduino. For the mosfet control, that's why i got a pca9685, which is a 12-bit pwm generation module. esp32 goes up to 16 bit resolution i think

Help with designing hardware for LED strip control with Arduino Nano (RGB, non addresasble)

jim-p: Then all you need is the level shifter I mentioned. are you sure? when i say i'd like to work with what i have, i also mean the arduino nano. the confusion must have happened because i said i'll upgrade to IoT with esp32 later, meaning i'll use the esp32 altogether later. my bad. having that in mind, do you find my diagrams complete, or have i not included something important or of detail?

Traduire des codes pannes

Non ça ne fonctionne pas sur uno et oui c’est le même langage - du C++ mais c’est juste que les règles de compilation sur UNO sont plus relax que sur esp32 donc il laisse passer des trucs que l’ESP32 ne laisse pas, mais ça ne rend pas le code correct.. Vous devriez aussi activer tous les warnings das les préférences de l’IDE.

Keyword coloring

Well, I tried to modify the JSON file and save it, but nothing happened. I'm trying to change the function/method names because my student does not even see the names using that shade of yellow. I'm trying to make this change for him so every source file uses the changes. When I make the changes, they are not reflected in the currently-loaded source code. I'm not sure I have the block above moved to the "right place" in the JSON file.

Help with designing hardware for LED strip control with Arduino Nano (RGB, non addresasble)

royal_ck: how could i fix it? In MsPaint, save as PNG or BMP. In GiMP >> IMAGE >> FLATTEN xfpd: g Arduino Nano PWM The Arduino "Secrets of PWM" page is very good at explaining what it is, then giving a sketch for practice. PWM is how you will control the MOSFETs. Arduino use only eight bits for PWM, so whether controlling WS2812 or MOSFET, there will only be 256 steps. Perhaps ESP32 has finer granularity (I think they do 4096 steps... but that might be AIN only... I would have to read more…

Traduire des codes pannes

Merci beaucoup pour ce correctif. Je vais mettre en pratique la chose rapidement. Cependant il me semble qu'un UNO ou un ESP32S3 fonctionnent tous deux dans le même langage. Pourtant ici, ce qui fonctionne sur l'un ne fonctionne pas sur l'autre. Ça me semble étonnant. ( C'est juste pour ma culture personnelle )

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

5 pastilles pour être compatible avec plusieurs types de potentiomètre ajustable. il faut mettre à jour le schéma pour utilisation des autres potar en sortie. pourquoi le centre des pastilles est plein? ça ne facilite pas le perçage une fois le circuit gravé... ça me rappelle mes premiers circuits faits (il y a 40 ans) à la peinture et au pinceau fin un circuit comme ça, je le fais au véroboard.

Compiler errors when missing the () from a function call

If you actually want to use function pointers, but some of those functions are actually methods, then one way is with a non-capturing lambda. Some extra punctuation, but much easier than extracting and using the bits manually. A contrived example auto useDec = [](long x) { return Serial.println(x); }; auto useHex = [](long x) { return Serial.println(x, HEX); }; void setup() { Serial.begin(115200); } void loop() { static int count; auto useNumber = random(2) ? useDec : useHex; count +=…

Help with designing hardware for LED strip control with Arduino Nano (RGB, non addresasble)

oh yeah, that's my other post. I think i didn't give an informative answer to that (if i gave any answer). So sorry about that! Answering to your previous message, I want to continue with what i (fortunately or not) have already bought, and when i have more time i'll upgrade to IoT with esp32. when you say it will require building some small electronic circuits, do you mean something more or different than soldering on perfboards, like pcb? If yes, can it be avoided? (also, wanted to mention…

12 button wireless buzzer game - ambitious?

If I do use the master for the sound I could use some coding similar to this ... IF player_is_correct THEN play_file = random_number(1, 400) trigger_mp3_play(play_file) ELSE IF player_is_incorrect THEN play_file = random_number(401, 800) trigger_mp3_play(play_file) stops the same sounds for repetitively being played over and over again ... so it will randomly play a file between 1-400 for a correct answer and 401-800 for an incorrect answer! need to think --- do I really need individual…

Help with designing hardware for LED strip control with Arduino Nano (RGB, non addresasble)

xfpd: the background is translucent black, making viewing less than optimal. oh, oops. how could i fix it? xfpd: Was continuity or something else missing from your other topic of the same subject? i had thought way less of the project, didn't have diagrams and also the post had taken a different direction from the help i needed, so i thought a fresh start would help. xfpd: Also, in the other topic you were asking for your code to be written for you. Did you read about using Arduino Nano PWM…

Help with designing hardware for LED strip control with Arduino Nano (RGB, non addresasble)

See this: Beginner looking for help: Controlling rgb LED strip with arduino nano General Guidance Yes and no to all questions depending on your ability to solder together small circuits and your understanding of Arduino code. There are many way to accomplish your objectives. If you are happy with the way the PCA9685 works, then you can still use it with an ESP32 with an I2C level shifter. All other options will require building some small electronic circuits. Don't cry yet! Let me know which…

docs.Arduino.CC Referencing external sources

Referencing the topic of this title, and my suggestion for avoid using external, personal, possibly volatile, web pages for reference and validation... I just want to show the balance is more favorable toward Arduino doing their own work. More often than not, others link data FROM Arduino official documents, for example, the IRremote author discussing PWM: Secrets of Arduino PWM

Compatibilità di librerie per Arduino UNO Q

Perché Arduino non pubblica una pagina nel suo github per dire quali librerie sono compatibili e quali no, come ha fatto per Arduino R4? E perché non si adopera a portare librerie incompatibili all nuova piattaforma hardware. come per esempio la libreria servo che ha rifatto ex novo? E al momento è l'unica e la sua esistenza non viene neanche documentata da nessuna parte. Se provate librerie per i2c di solito fuonzionano (BMP280, BME280, Adafruit SSDf1306 per esempio) o SPI (Hoperf RFM85W...)…