A
7mju6tre: Serial.print("end of line: stop both wheels"); @7mju6tre - I just had my own case of "unable to work with external power"... You must disable all Serial commands or your MCU will stop servicing the rest of the sketch as it waits for Serial communications to complete. if you "print" the comms must receive some form of acknowledgement. You have several lines with Serial but not an if (debug) sending, but not receiving.
A
Has anybody thought of checking the button itself?
A
Paul_KD7HB: your program will fail if USB is not communicating Yes, I understand. I'll have a look at the cliffsnotes version of the spec. USB - Wikipedia
A
20K-farmer: module for audio..... or something similar and cheaper I made a clock with a C3 that has a rooster sound at sunrise. The sound is stored in the flash of the ESP32. No extra hardware needed, except for maybe a small amplifier to drive the speaker.
A
So, turns out the problem was not: Un-needed use of interrupts. Clone ESP32 chip Messy wiring Ambient RF noise. All along it was something to do with the HP Elitedesk. I suppose that could be "noise" of some sort, but it isn't showing up on any RF frequencey my Icom 802 can hear. Anyway, I ordered a couple of Waveshare ESP32-C6 dev boards that did exactly the same thing as my nasty clone chips. At which point I started eliminating variables. Eventually pulled out my ancient laptop, hey presto,…
A
Might measure pull where the chain is attached to the boat. Tare weight, etc, and alarm at harder pulls. With springs I might want a limit slide that sounds alarm when it closes. Something with rope, a bell and a tautline hitch might do.
A
Update, Now on App lab 0.12.0 Was hoping 12 might be the key but same issue with the old code. progress though, thanks to GolamMostafa's post question about structures I broke the data apart into 2 calls. I also gave the Threads more memory 512 to 1024, These changes seemed todo the trick. Here is the current code further reduced. If the python script fails on first try, just run it again with no changes. It should run. 100 points to the person who can tell me why when it does run I first get a…
A
If you are using USB, then you have to accept that your program will fail if USB is not communicating. Look at the USB specifications. The "U" is for universal.
A
Press ctrl+I or right click on the slider and choose "inspect" then change the colors with the styles tab. It is kinda hard to explain in a forum. There are no HTML files for the website on GitHub so you have to use the browser to edit the HTML and CSS. I was not able to save the changes so it is not really with it.
A
Paul_KD7HB: USB is always a two-way communications. Okay, it is two way. Are there ways to have internal loopbacks? Is there a choice for simplex (transmit without ack)... am I hoping for something not available? Even though I have found a workaround, having debug transmitting without the need for cables or specially compiling for no-USB would be nice.
A
carrot_farmer_emoji: asking about the concept The concept is valid and has been working for millions of years. Ask any plant. Powering electronics needs current and stability. The sun provides neither regularly. I tried to powering an AM radio in a desert at noon with an "80W" (the datasheet was insane to rate it at that) photovoltaic cell collector. The AM radio dropped out every few seconds. You need to define your power needs.
A
I see. I didn't know about that relationship with the chip as a whole. But a couple questions then. First of all, how was it working on the breadboard then? because I'm getting the impression that it shouldn't have. Secondly, I was under the impression that each channel is only drawing that power so long as its active. Or in other words, if you had them blinking fast enough sequentially, it wouldn't burn it out? But then why was the only behavior it showed all of them on, regardless of what…
A
carrot_farmer_emoji: Are there any issues with letting the system turn on and off and dusk and dawn One issue might be that you will lose any current counter values (unless you store them in flash memory). It’s just so much cleaner to attach a small 3.7V battery so the micro never has to power down. If you use a micro with something like an onboard BQ24195 power management chip, you can plug in the Lipo AND a 5V or 6V solar panel without the need for a separate solar charger. For example the…
A
Follow up, My new board works fine on any setting. After many monkey combinations i found the bad board will run the LED demo IF I set clock from 240 to 160 or lower AND disable psram. Setting psram to opi OR raising the clock it will error loop. Only in 3.x for whatever reason. So it may just be flakey power or ? who knows.
A
noctrls: sound was very quiet I did not see a question, so I am guessing "quiet" is your question. It is possible your DFPlayerMini volume is set to something low (range is 0 to 30). The speaker will have a part in it. A sturdy speaker will be weak. A cheap "passive buzzer" will be louder. Another part is the fidelity (bits used in sampling). I can get a reasonable volume "beep" out of low-bit-rate, digital tones, but high bit rate sound like a mosquito. Try connecting the DFPlayerMini in "I/O…
A
To provide an example: // Global audio object Audio audio; void setupAudio() { audio.setPinout(I2S_BCLK, I2S_LRC, I2S_DOUT); audio.setVolume(10); // 0...21 Serial.println("Checking file"); if (!SPIFFS.begin(true)) { Serial.println("SPIFFS Mount Failed"); return; } Serial.println("Opening file"); audio.connecttoFS(SPIFFS, "/Pink-Panther.wav"); } One thing that may be relevant to OP is that I don't know if I2S can provide a DC output to the DAC, or if it relies on direct memory streaming. In any…
A
The code allow to read the Game Controller like Logitech F310 using the CH9350 Module. Output is thru SerialPort Code was write for Arduino Nano + SoftwareSerial but could be easely ported to other processors Module CH9350 is a cheap USB HID translator capturing events and sending the frames to serial port. Module has 2 USB ports that could operate simultaneously. May also read mouse and keyboards. Repository acjacques/CH9350-Game-Controller-Reader-Logitech-F310- GitHub -…
A
cpt-weird_makes: but looking further into the datasheet, the true max is 35mA. That's the Absolute Maximum Rating. Electrical Characteristics table on the next page shows 6mA to maintain a Voh of 4.3V. Anyhow, with 1.92V left across the 100R resistor, that's 19.2mA per LED. Or 153.6mA total. An interesting number from the Absolute Maximum Rating table is "Continuous current through VCC or GND". That's 70mA. So with 100R, you're more than 2x over the Absolute Maximum. 70mA divided by 8 LEDs…
A
cpt-weird_makes: I can replace that with one and see if that changes anything. But would make everything high except QA even when disconnected from its data pins? It should be .1µF (ceramic) . Look over this: Proposed tutorial on Decoupling General Electronics De-coupling Once you get more than a handful of active components together you need to de-couple the power supply. What this is, and why, is described here. The problem When an otherwise good design works, but is erratic, unreliable or…
A
I just want to start that I was in a rush, measuring things as fast as I could so that I may get a solution while I was out. So my measurements were not accurate, nor did I have enough time to thoroughly look through the datasheets maximum table before my previous comments. I am sorry about that. In any case I have returned with some updated information. van_der_decken: E=IR. So 0.005A * 100R = 0.5V. Do you really measure only 0.5V across your 100R resistors? I know green LEDs have a higher…
A
Unfortunately not. I found these old versions tracking the silkscreen from the old boards, BerliOS. Apparently they were hosting many open source projects (including Arduino) until they closed, but before that, they uploaded (everything?) to Sourceforge. And navigating by the website I just found this: sourceforge.net arduino - Browse Files at SourceForge.net arduino files. Full list of files for arduino So before it (if ever) disappears, I just mirrored it in GitHub.
A
Joli résultat ! Je ne connaissais pas l'astuce du vinyle découpé à la Cricut, ça a l'air bien plus propre que le transfert au fer à repasser que j'ai toujours raté. Le bain eau oxygénée et acide citrique, il faut le tiédir pour que ça grave en 30 minutes ?
A
Dommage, mais changer de carte est un bon test : si le bourdonnement reste le même avec un autre module, ça viendra plutôt de l'alim ou du câblage. Si vous reprenez, essayez d'abord de tout alimenter sur une batterie plutôt que par l'USB du PC, ça élimine d'un coup la piste de la boucle de masse.
A
Ron_Blain: I used the MCP4725 in the past and it works just fine. Considering 12 bit D to A I got some nice waveforms from it using an Arduino Uno Rev 3 Here are some oscilloscope traces taken from an MCP4725 module. It is the one that jim-p gave the link to in post #36. I'm using an Arduino UNO R3, and the 'sinewave' example from the Adafruit_MCP4725 library. Code (click for more details) Here is a 9bit (highest resolution - lowest frequency) sinewave, amplitude 5V: The frequency is only…
A
Merci, c'est exactement ce qui me manquait, je ne comprenais pas à quoi servait le deuxième potentiomètre. Je vais caler la fin de charge un peu sous 4,2 V pour ménager la cellule, et régler le MPPT au multimètre un jour de grand soleil.
A
noctrls: I think That's not all safe. Find out reading its label or consulkting the manual.
A
Not to dissuade you or anything but memory bandwidth of Ventuno is 51.2 GB/s, and M6 Mini with 32GB is 170GB/s and $1299. So yes, you have 32GB with 2x Ventunos, but it's 3 times slower. For slower small LLM inference okay, for hassle of networking them together....as a project maybe? I even find clustering DGX Sparks pretty dubious, but at least Nvidia has really stellar networking abilities, but still I'd take one M5 Ultra 512GB than 4x DGX Sparks... Right now you need as much bandwidth as…
A
From your diagram it looks like you have 12 channels driving mains powered lights and 14 channels driving 3v lights. The 12 SSRs for the mains lights will require less than 0.5 amps total at 5v to drive them all. The 14 strings of 3v lights, with each string requiring 300mA will require a total of less than 5 Amps at 3v. That load could be supplied by a single 3v buck converter or you could, of course, continue to use the existing ones. Each Arduino pin, whether it is driving a SSR or a mosfet…
A
I don't suppose you've found old (per-Arduino) copies of "Wiring"?
A
Neat. The oldest version I have a copy of is 0003. Most interesting observation: no C++ !