Skip to main content
Arduino

Timeline for Adafruit_LEDBackpack library interfering with analog input reading

Current License: CC BY-SA 4.0

31 events
when toggle format what by license comment
Jun 6 at 0:07 history bumped Community Bot This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Feb 5 at 23:03 history bumped Community Bot This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Oct 8, 2024 at 22:05 history bumped Community Bot This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Jun 10, 2024 at 22:03 history bumped Community Bot This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Feb 11, 2024 at 21:08 history bumped Community Bot This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Oct 14, 2023 at 20:06 history bumped Community Bot This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Jun 16, 2023 at 20:04 history bumped Community Bot This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Feb 16, 2023 at 19:04 history bumped Community Bot This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Jan 17, 2023 at 18:58 answer added Gil timeline score: 1
S Nov 6, 2020 at 22:04 history bounty ended Community Bot
S Nov 6, 2020 at 22:04 history notice removed Community Bot
Nov 5, 2020 at 14:54 comment added st2000 Add up all the current needed to run your project. Double the number. That's the amperage you should use as a minimum for your power supply. Guessing, say there are 24 LEDs at 3mA each. That's about 100mA? Add another 50mA for the Arduino Uno and another 50mA for the microphone? Totaled that's about 200mA? So you're power supply should be rated for at least 1/2 Amp. And you should double that if going through the analog Arduino regulator. BTW, USB power sources are only supposed to hand out 500mA. Beyond that they are allowed to drop voltage. That's a lot of guess work. Just try a big PS.
Nov 4, 2020 at 15:56 comment added Gerben You get 1023, what? The value of analogRead? The value of Peak-to-peak? I'd try using a different analog pin for the microphone. Also add a small delay after bar.writeDisplay();. Lastly; I'd try providing the microphone board with it's own power wires, instead of getting it from the bar-graph module.
Oct 30, 2020 at 10:06 comment added ocrdu Does bending the micophone signal wire well away from the I2C wires make any difference?
Oct 30, 2020 at 6:00 history tweeted twitter.com/StackArduino/status/1322055656464154625
Oct 30, 2020 at 4:27 comment added xbox gamer I found something similar esp32.com/viewtopic.php?t=2794
Oct 29, 2020 at 20:55 comment added ocrdu Does the supply voltage to the microphone and/or the microcontroller drop when the LEDs are on?
S Oct 29, 2020 at 20:33 history bounty started OneCleverMonkey
S Oct 29, 2020 at 20:33 history notice added OneCleverMonkey Draw attention
Oct 28, 2020 at 2:29 history edited OneCleverMonkey CC BY-SA 4.0
added 429 characters in body
Oct 27, 2020 at 23:43 history edited OneCleverMonkey CC BY-SA 4.0
added 332 characters in body
Oct 27, 2020 at 20:19 comment added Majenko No, that all looks fine to me.
Oct 27, 2020 at 20:07 comment added OneCleverMonkey Do I maybe need a resistor somewhere?
Oct 27, 2020 at 19:58 history edited OneCleverMonkey CC BY-SA 4.0
added 77 characters in body
Oct 27, 2020 at 19:51 comment added Majenko Can you post a photo of your breadboard setup?
Oct 27, 2020 at 19:51 comment added Majenko Ah, I missed that bit. My bad.
Oct 27, 2020 at 19:51 comment added OneCleverMonkey I may have been too quick to say it wasn't a wiring problem. I also don't get the issue if I leave that line in the code and remove the led backpack from the breadboard. Perhaps the LED backpack is the issue. Maybe I messed up the soldering or maybe I got a bad board.
Oct 27, 2020 at 19:50 comment added OneCleverMonkey As I said, that's what I've already done. If I comment out just that one line, I get normal readings. If I leave that one line in, I get 1023.
Oct 27, 2020 at 19:24 comment added Majenko step one: comment out everything to do with the LED backback and see if it still gives 1023.
Oct 27, 2020 at 19:17 review First posts
Oct 29, 2020 at 9:24
Oct 27, 2020 at 19:13 history asked OneCleverMonkey CC BY-SA 4.0
toggle format

AltStyle によって変換されたページ (->オリジナル) /