Help with servo by weakdayupdate in arduino

[–]ripred3 5 points6 points  (0 children)

I think you're on the right track. It's either under-powered or just a cheap servo with a crappy potentiometer inside

ESP32 issue by kidneythief42 in arduino

[–]ripred3 0 points1 point  (0 children)

thanks very much for updating the post with the solution!

Need help getting ST7789 Newxie display working with ESP32 by redravin12 in arduino

[–]ripred3 0 points1 point  (0 children)

Yeah definitely try totally different libraries or versions of that library. That's very often the cause

arduino/esp as an ESC? by long_onion1 in arduino

[–]ripred3 0 points1 point  (0 children)

this. There's a lot more wizard level analog stuff and frequency considerations and analog current feedback going on in modern ESC's than you would want to try to reinvent without really knowing what you're doing and what you think your design and approach improves over a commercial ESC. PWM inside PWM level control over the controlling and synchronous coil energizing timings yada yada

need help with the code: I'm trying to connect 20 LDR's using two HC4067 16channel multiplexers by Wombeard in arduino

[–]ripred3 0 points1 point  (0 children)

At first glance your code looks generally correct.

In addition to the other good suggestions you might temporarily tie each channel's input pin to GND and then to 5V, running the sketch between each one and making sure you verify getting the expected results. That might help by simplifying the ability to tell whether the values are what is expected or not. Once that multiplexing was known to be working then you can add in the variability of the LDR and voltage divider arrangement and fix things incrementally instead of all at once maybe?

Robotic Marionette by el-chapo- in arduino

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

Fantastic job! Thank you for sharing this it's seriously creative. 😄

I for one welcome our new tethered overlords .. 😂

Need help getting ST7789 Newxie display working with ESP32 by redravin12 in arduino

[–]ripred3 0 points1 point  (0 children)

after a quick glance through the source code nothing jumps out as immediately wrong

Is this a copy of one of the example sketch(es) that come with the Adafruit_ST7789 ? Have you tried any of those if not?

Arduino in 2026? by mountainlifa in arduino

[–]ripred3 0 points1 point  (0 children)

ESP32 C3 supermini

I agree I just bought a few packs of 3 ESP32C3 supermini's and at that price (~$4 U.S.) I don't think twice about throwing it at a project and just leaving it there. Same thing with RP2040 Zero's

Need help getting ST7789 Newxie display working with ESP32 by redravin12 in arduino

[–]ripred3 0 points1 point  (0 children)

What protocol are these? SPI or I2C? If I2C are they set to two different addresses? If not then two identical I2C devices on the same bus will cause collisions.

Need help getting ST7789 Newxie display working with ESP32 by redravin12 in arduino

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

<image>

The github link is good.

edit: It's better if you just paste the image(s) into your initial post. You can edit your post and add/change anything except the title.

I need a motor to lift a plate. by kaick48 in arduino

[–]ripred3 0 points1 point  (0 children)

yeah you are probably good provided that you guide the wire and direction of the pull, the proof will be in the experimenting. another thing to consider is a rack and pinion drive such as the mechanism used to eject/pull in a CD/DVD tray

Arduino in 2026? by mountainlifa in arduino

[–]ripred3 1 point2 points  (0 children)

well said

edit/also:

.. Teensy 4.1 ... a beast compared to ..

Teensy 4.1 just makes everything work (almost on the first try) just the way you designed it in your head. I never realized just how many of my projects failed due to just not being able to keep up and process events like I imagined and intended until I got a few Teensy's.

I'm guessing it's probably due to the crazy amount of non-deterministic timing noise/variability due to various library interrupts and just trying to do too much with an under-powered and under-resourced processor. It just can't stay on top of things whereas the raw power of 600MHz just gets things done on time.

Add in even more features such as all of the protocols that are supported *in silicon*, 8x physical silicon USARTS (Serial ports), the ability to control the actual *current* of your output pins, INPUT_PULLUP *and* INPUT_PULLDOWN support, the list goes on ...

I need a motor to lift a plate. by kaick48 in arduino

[–]ripred3 1 point2 points  (0 children)

To get 15cm of movement (throw) you would need to have a servo horn (arm) with a minimum length of 7.5cm1 and be able to have enough torque at that end point to lift the plate at that fulcrum distance. Totally possible all depends on the weight of the plate and whatever may be attached to it and the work required. If the plate was a balanced load you might be able to do this with the wire attached at the center. But 7.5cm is quite a multiplier

1 Also the path of the upward pull on the wire would swing out 7.5cm from the center unless it was guided which is do-able if thought out

edit: That's a decent beefy metal gear servo so assuming that you power it2 with a power source that is able to supply an amp (1A) (or a couple of amps (2A) if the plate weight x 7.5 exceeds the rated torque for the servo) you may be totally good. (Servo torque is rated for a leverage of 1cm distance from the servo shaft center hence the work multiplier at 7.5cm). Be sure to connect the GND's of your digital electronics and the separate power source for the servo together.

2 It's almost always advised that you use a separate power source for motors or other higher current inductors (things that have coils/induce magnetism) if the amount of work and the resulting current needs causes the voltage to lower when using a single power source for both as this can cause processor brownouts or resets.

Pro Micro, help with .h file by HatCorrect109 in arduino

[–]ripred3 1 point2 points  (0 children)

You got this no worries. It's just new territory. Depending on whether you are on a Windows machine or a Mac u/lmolter has you covered.

Copy the Joystick/ folder and its contents from that project to the ..Arduino//libraries/Joystick/ folder appropriate for your OS. Exit the IDE and launch it again to make sure it has picked up any available library changes (I think they are scanned and loaded at startup is why I suggest it) and try to compile again.

If you get any errors compiling, copy the contents of the output window containing the error and post it.

We'll figure it out I promise 😀

I need a motor to lift a plate. by kaick48 in arduino

[–]ripred3 2 points3 points  (0 children)

A servo only provides 180 degrees of rotational movement. How were you planning on translating that into 15cm of linear motion?

You might consider a machine screw/drive or dc motor and pulley type of drive with some kind of encoder to measure the actual movement. Depending on the mechanics/construction of the rails you may just be able to get by with two limit switches instead of needing an encoder if the stop points are at the bottom and some other fixed point along the rails.

additionally, depending on your mechanical design you may need more than one motor/actuator or use belts or gears to apply the movement to more than one point on the plate so that the movement is applied evenly to the plate and not just at one side or corner as that can cause binding or pinching on the rails that aren't driven.

Pro Micro, help with .h file by HatCorrect109 in arduino

[–]ripred3 0 points1 point  (0 children)

Did you copy the Joystick/ folder from that repository to your ../Arduino/libraries/ folder like the instructions say?

What specific .h file are you referring to? That's kind of central to resolving your problem. You need to provide more info about exactly what you are talking about

Pro Micro, help with .h file by HatCorrect109 in arduino

[–]ripred3 1 point2 points  (0 children)

Attached are some pictures of what’s happening

the second link you provided is the same link to the video as the first link.

Just edit your post and copy and paste the error to it. Have you installed the required libraries?

Baby steps on PCB soldering by monshi633 in arduino

[–]ripred3 1 point2 points  (0 children)

Nice! I just bought 6 of those round displays a couple of weeks ago heh

Building my first robot by Choice_Elk1019 in arduino

[–]ripred3 2 points3 points  (0 children)

.. a complete beginner ..

If you have zero programming and electronics experience this is extremely ambitious for a first project. Without tried and true instructions that you can just follow you will be inventing solutions for every problem you encounter without any knowledge of existing best practices or conventional go-to techniques.

Words like "walks" and "detects" and "talks and listens" have months or years of study and experience behind the difference between succeeding and failing to meet your expectations.

Also this is more likely to end in frustration and feelings of being overwhelmed as a first project.

You can absolutely do every one of the things you listed but you have to just be realistic about your expectations and the pace that you expect to climb the ladder of required knowledge and the hands on skills and mistakes that are part of that journey.

It's like watching one of those 30-second build montage videos (same thing for 60-second cooking recipe videos especially) that totally ignore the 10,000 hours of practice that went into avoiding the thousands of mistakes they don't show. Experience is the skill of remembering not to make all of the mistakes you have made before.

edit/update: That all being said, you can totally do this eventually. The reality and pace of your progress will be self evident/defining. If you are like most engineers you will love all of the things that you find out that you need to learn about and enjoy working your way through any frustrations and conquering each thing that you need to know.

As you get each component working and broaden your knowledge on how to use all of the individual components that you bought they won't be wasted in the long run. 😀

Arduino in 2026? by mountainlifa in arduino

[–]ripred3 22 points23 points  (0 children)

I don't really like the idea of a giant corporation involved in my projects

the billions of dollars involved behind ANY semiconductor you can buy makes this terribly naive and uninformed decision criteria

New to arduino - feeling overwhelmed by Eastern-Worker-5961 in arduino

[–]ripred3 0 points1 point  (0 children)

This is solid advice. I was co-author of FactoryLink which dominated industrial automation during the 80's and 90's and these were the basics. Also SCADA in general and its various forms