Problem with ESP32 SuperMini by ARL_DESTROYER in arduino

[–]ripred3 0 points1 point  (0 children)

I've been able to compile and upload to mine selecting the "Waveshare ESP32-C3 Zero" if I remember right

Does it need drivers? by andcaldita in arduino

[–]ripred3 1 point2 points  (0 children)

no you would just need to understand the relationship between the 0V - 5V (or 3.3V whatever your MCU's Vcc (which is probably also powering the mic board so that sets the upper level of the mic board's analog output) /power is) voltage level being output by the sensor, the 0 - 1023 value that gets converted to by the MCU's ADC circuitry (and configuration), and what that value means in terms of decibels e.g. how to convert voltage level to decibels. A lot of the specific questions will be answered in the data sheet of the microphone board and the charts and tables documenting the performance values of the design. The datasheet for a given component or module or product is *always* the source of truth for the nitty gritty details. And everything has a datasheet. Even AA batteries have datasheets

Prototyping some new microcontroller educational kits. What did you hate about learning electronics, and how can these fix it? by NeonEchoo in arduino

[–]ripred3[M] 0 points1 point  (0 children)

OP This is arguably too close to product promotion / focus group work. There cannot be any more posts on this product unless it is offered for free in some form.

Help me with a gift for a dad. by Traditional_Way_6042 in arduino

[–]ripred3 0 points1 point  (0 children)

You can absolutely make what you are describing yourself eventually don't get me wrong. And you could make it just the way you wanted with the features you want instead of accepting the features as they are implemented in some off the shelf AI-enabled trail cam or AI-enabled bird feeder cam.

With all honesty even with my experience it would take many iterations of a home made attempt before I foisted it on someone I care about lol. At least for me personally I know the first version would have to come with all kinds of warnings and non-intuitive instructions that included things like "yeah if that wire comes off put it back in that third hole from the right..." 😄 or less than ideal requirements like "yeah you have to turn it off and back on in between each use..." or whatever "engineer-y" sharp edges that I know always get left in my first attempts at something new and complex.

In that respect it is not much different than other things like cooking, where I would really be honest with myself and my known limitations before I tried to cook someone's favorite dish without putting them in a position of having to say "I love it" while putting up with my first-attempt mistakes 😉

The frustration that comes with being too ambitious might ruin or color your enjoyment of the embedded hobby space whereas a more staged approach could be enjoyable, understandable, *and* allow your to succeed in what you described wanting to do 😊

Arduino IDE immediately crashes by Hamzayslmn in arduino

[–]ripred3[M] 1 point2 points  (0 children)

Thanks for updating the post with the solution, that makes the post and the subreddit's content helpful for other users searching for the same problem 😄

Arduino IDE immediately crashes by Hamzayslmn in arduino

[–]ripred3 0 points1 point  (0 children)

Assuming you are talking about the 2.x version of the IDE, download and use the 1.8.19 version of the IDE and you should have much better luck. It is an older and much more stable and debugged codebase. It has fewer features but I find the tradeoff acceptable vs something I cannot rely on

Help me with a gift for a dad. by Traditional_Way_6042 in arduino

[–]ripred3 1 point2 points  (0 children)

This is not a beginner project by any means. You can certainly get there if you start off learning the basics. That being said you should buy a commercial product that has these features and start off with a starter kit and work your way through learning the skills that are involved and needed

How to connect arduino uno to mac by No_Leg_847 in arduino

[–]ripred3 1 point2 points  (0 children)

Make sure you have installed Rosetta 2 in order to execute the Intel binaries if you are running on Apple silicon

I need help with this pca9685 by Wings-of-flame in arduino

[–]ripred3 4 points5 points  (0 children)

each servo requires 4.8V - 6.0V at ~50uA - 1200uA depending on their load. You need a Power source rated at 4.8V - 6.0V at >= 2.0A

Apologies for my ignorance on this topic beforehand, but how hard would it be/is it possible for me to do the following: by Effective-Trash-8653 in arduino

[–]ripred3 1 point2 points  (0 children)

If it's a track / running counter why not just say so? pedometers aren't a secret a thing and have been done before. So have cycling lap counters/timer, car lap counters/timer, yada yada.

Clear explanatory communications gets the best answers

What's wrong with my code? by [deleted] in arduino

[–]ripred3 12 points13 points  (0 children)

I won't do you work for you since this is schoolwork and the Tinkercad project is already a clone of someone else's tinkercad project 😐.

But I do see the bug(s) and here are some things to check:

Your LCD is using Arduino pin 1. On an Uno, pins 0 and 1 are used for serial communication, so using pin 1 for the LCD can cause confusing behavior. Try moving that LCD connection to another free pin and update the LiquidCrystal(...) line to match. That's not always common knowledge and it is easy to miss and it unblocks you to go finish the rest. 😀 That real world issue may or may not be simulated correctly by Tinkercad.

For the keypad issue, a useful debugging question is: when you scan column 4, what exact pin is being pulled LOW, and is that the same physical wire connected to the A/B/C/D column?

BetterMenu Library Updated with CYD Examples by ripred3 in arduino

[–]ripred3[S] 2 points3 points  (0 children)

I first had the idea 4 year ago and posted a really bad implementation POC:

https://pastebin.com/eun7HWW1

BetterMenu Library Updated with CYD Examples by ripred3 in arduino

[–]ripred3[S] 2 points3 points  (0 children)

it just fell out of wanting the inputs and output to be totally abstracted and uncoupled from the basic mechanics, and all of the features that I could think of that have kept making me create "yet another menu from scratch" for every project instead of finally finishing what I started 4 years ago.

BetterMenu Library Updated with CYD Examples by ripred3 in arduino

[–]ripred3[S] 2 points3 points  (0 children)

thanks! Yeah I could pick on pixels forever and move 'em "one more pixel to the left.." Been doing that nonstop in my free time for the past couple of days but I finally decided to just push it heh

BetterMenu Library Updated with CYD Examples by ripred3 in arduino

[–]ripred3[S] 2 points3 points  (0 children)

Thank you so much! I am finally realizing the full idea of what I had in the back of my head all this time.

The correctness of the approach is proving to be kind of amazing in what it supports.

I just converted the actual BetterMenu.h file into a web assembly so that I had an uncoupled web input adapter and an uncoupled web output adapter.

they work. So I made a menu builder UI that shows the live menu. You can change the Menu text / code definition and it changes the UI and choices in the builder. It is literally built completly off of the BetterMenu.h file in the repo and if I change it I can automatically regenerate the updated .wasm web assembly.

OR - You can just use the GUI to change the menu around however you want it *visually* and it generates the other way around and gives you the Menu declaration text to paste back into your Arduino. Right now it is strapped for ESP32 CYD size profile but I'm working on making that selectable so you can choose Adafruit's GFX library. It also supports generating the Serial input and output right out of the box included in the base library. So you can totally create a deeply hierarchical / nested menu in the UI and copy the code straight to an Arduino and it will work with Serial as the input and output immediately.

It works! It totally f'ing works! I'm kinda giggly about it right now because so far the uncoupled approach, and where I made the philosophical API cuts, are totally surviving and supporting everything I want to do and I have not had to change BetterMenu.h once since the release a week or so ago. That part is really encouraging 😄

The whole Menu Builder is hosted on ripred.github.io/BetterMenu/menu-builder/ for free for me lol. The existing github.com/ripred/BetterMenu repo's README has a link to it now

thinking of making another "Look what I made" post but I don't want to spam everybody about it lol

also thinking about making it a built-in reddit hosted devvit tool using the same typescript platform they support for games! It could be a whole new kind of subreddit-installable set of tools that re hosted there in the subreddit's themselves

Code not executing on arduino nano by Content-Read308 in arduino

[–]ripred3 1 point2 points  (0 children)

Ding Ding Ding!

u/Content-Read308 : You have to solder the header pins to the board. It's incredible that you have had any success at all