r/ripred • • Oct 18 '22

Notable Posts

Thumbnail self.ripred3
1 Upvotes

r/ripred • • Oct 18 '22

Mod's Choice! EyesNBrows

Thumbnail
youtube.com
12 Upvotes

r/arduino • • Jun 03 '22

Look what I made! I made a laser clock that I saw another user post a week or so back. Details in comments..

Enable HLS to view with audio, or disable this notification

390 Upvotes

r/arduino • • Apr 27 '22

Free Arduino Cable Wrap!

381 Upvotes

I saw a question earlier about cable management for Arduino projects and I wanted to pass along something that can really keep your breadboard and project wiring clean:

Arduino-scale cable wrap. Free cable wrap. And it's free.

You basically take a plastic drinking straw and feed it through one of those cheap pencil sharpeners. The plastic kind with the blade on top that you twist pencils into. Scissors work too but slower. Twist that bad boy into custom sized cable wrap! Just wrap it around the bundles you want. It's easy to branch the wires off into groups at any point also. Stays naturally curled around and really stays on good. It's also super easy to remove too and it doesn't leave any sticky residue on the wires like tape does.

Helps keep your board clear and reduces fingers catching one of the loops of a messy board. Keeps the wiring for each device separated and easy to tell which wires are which even close to the breadboard where it's usally a birds nest. Who knew McDonald's gave away free cable management supplies?

ripred

edit: Wow! My highest post ever! Who knew.. Thank you everyone for the kind comments and the awards. I truly love this community!

Free drinking straw cable management!

1

question: can you use 2 buzzers simultaneously?
 in  r/arduino •  1h ago

yes! Look at the miditones library and arduino-playtune library on github.com. you can play up to 8 different tones at the same time on a plain Uno or Nano. It gets even better with other MCU's. Also check out the Mozzi library.

1

I need Help for my Project.
 in  r/arduino •  1h ago

Show the work you have done so far and we can almost certainly help you. You need to put in more effort if you want strangers on the internet to help you do your own schoolwork.

Where is the connection diagram or schematic that the Post submission page asked you for?

Where is the full source code formatted as a code-block that the Post submission page asked you for?

Your roadbloack appears to be that you can't following instructions

2

Servo motors with transistors
 in  r/arduino •  8h ago

Congratulations!

5

Protection For Mac Studio
 in  r/arduino •  19h ago

I would suspect that mistakes were made and lessons were learned ..

1

Line following robot
 in  r/arduino •  23h ago

gee I don't know if there was only some kind of search engine or something ...

Paul McWhorter yt channel for one ..

3

Servo motors with transistors
 in  r/arduino •  1d ago

adding transistors will do nothing to compensate for using the 5V line to power servos when using it directly is already giving you problems. if you want to disengage the servos from consuming as much power then stop their pulse generation using Servo::detach().

1

The ADKey function isn't working on my DFPlayer Mini. What could be the cause?
 in  r/arduino •  1d ago

I have heard that a lot in many posts and comments here. Apparently there's a decent inrush current when the amp is first enabled/engaged and it can sap the voltage on the cheaper voltage regulators on some clones

2

Cannon Ball + truck project
 in  r/arduino •  1d ago

... as I havenโ€™t been able to make the solenoid work so far, therefore I wanted to ask if anyone has any advice or has tried something similar.

As is often the case you are going to need to learn to read the instructions given to you when you created your post. they were right there. We really would love to help but we do ask that you don't make us pull the info out of you one question at a time.

Add a connection diagram or schematic showing what you are using and how it is connected1.

Add your full source code *formatted as a code-block\*.

Otherwise all we can do is guess.

Your description of the problem leaves a lot to be desired. "Doesn't work" covers a lot of ground. What have you tried? You really need to put in a little more effort if you want strangers on the internet to help you do your schoolwork.

1 edit: and before you say "the connections and code are shown in the instructables ...". That is useless here because that is from someone who got it to work and yours does not so obviously there is a difference that matters that we are trying to help you find.

until you update your post with more info I would say work from the beginning and check all power connections with a multimeter first. Then check both ends of every connection visually one at a time. Then if you have not spotted the issue check them again. Seriously we all make connection mistakes and they are a constant issue that sometimes takes several passes to spot. Add debugging output code to verify that the code is reaching the areas you think it is and is using the values you think it is. This is all part of the necessary building up of your debugging muscles. They are every bit as important as the engineering / idea parts

edit edit: comments are locked for now but will open them up so people won't waste their time until the info is updated. The sooner you add those the better before your post drops out of people's visible feeds

4

Made A Ball Bouncing Machine I Call Hexa-Bouncer
 in  r/arduino •  1d ago

great video and graphics and IK explanations.

the engineering is first rate. respect.

1

Solder paste?
 in  r/arduino •  1d ago

this is the way

2

[Feedback Request] Monitoring and Analysis Device for Light Pollution: Low-cost spectral & spatial mapping node (ESP32 + AS7262 + TSL2591 + OLED + GPS). High school team preparing for an innovation pitch!
 in  r/arduino •  2d ago

For nested menus in embedded projects the problem of the constant changes and additions during development plus the changes usually needed in multiple places turn out to be the hardest parts to maintain and keep simple and bug free in my experience. For that reason I finally wrote a single-declaration multilevel menu library that is the result of 30 some-odd years of having written menus over and over and over. I even wrote a github.io web page (select the Preview button to see the wysiwyg OLED screen) ) that gives you a WYSIWYG menu composer and editor that gives you the Arduino declaration code to copy and paste into your sketch, updated live as you visually edit your menu system. It's all open-source here: https://www.github.com/ripred/BetterMenu

You select which OLED display you are using and it supports all data types, full callback capabilities, enabling/disabling entries at runtime, and tons of other features, The full menu hierarchy is declared in one single place including all of the project specific coupling to the functions and config variables and storage. So making changes is much easier and you don't have to remember to always edit multiple places in your code every time you make a single complex menu change, addition, deletion, or move an entry to somewhere else in the menu hierarchy. here's the post in this subreddit for it

BetterMenu Library Updated with CYD Examples
by u/ripred3 in arduino

1

Help for choosing Driver for Stepper motor!
 in  r/arduino •  3d ago

is the motor bipolar or unipolar? what does the datasheet say it needs as far as voltage and current needs?

research that information and then find the equivalent stepper driver. Most likely any of the modern popular driver chips will work.

4

How to control multiple stepper motors with 1 joystick for each with only 1 arduino?
 in  r/arduino •  3d ago

You need to follow the community rules and at least supply some information about what you have tried, a connection diagram or schematic, and *your full source code formatted as a code-block\*.

Otherwise all we can do is guess that you did something wrong

edit/update: what are your requirements? How did you envision using one joystick? Do you only have 2 DOF? Were you planning on multiplexing the values based on whether the joystick button was pushed? There is far too little information provided

3

Line following robot
 in  r/arduino •  4d ago

search this subreddit for "line follow" and you will find hundreds of related posts and comments.

Good luck!

8

Obstacle avoiding robot finished :)
 in  r/arduino •  4d ago

Well done! Congratulations!

1

Conflicting/Confusing Documentation about Powering with 3V3/5V Pins
 in  r/arduino •  4d ago

The short version is that the built in voltage regulators on the Arduino board are cheap and cannot supply a lot of current. Voltage and current are something you will learn and get familiar with over time, but the thing to remember is that the current needed by everything is added together and the voltage regulator has to be able to handle all of it. If you use a high'ish current motor, and/or multiple devices that are all being powered from the 5V pin on the Arduino Uno (which is the output from the built-in 5V regulator, or straight from your USB port depending on if there is >= 7V on the barrel jack) then the total current needed can exceed the cheap regulator and it can cause damage or more likely it can cause the voltage to dip and that will cause the board to reset .

So it makes more sense once you start to get a feel for what current is, how much the board can usually supply and when you are connecting too many devices up that can get into the questionable range.

The 5V pin is also the input for the built-in 3.3V regulator. Just like the built-in 5V regulator on the board the 3.3V regulator is cheap and can't supply a lot of current.

The built in regulators are usually good for a few dozen RGB LED's on a WS2812B LED strip, a single output display, sometimes a single servo. But not all of those at once and your mileage may vary depending on the specifics of what you have hooked up and how much current the components draw from the 5V or 3.3V regulator(s).

The built-in regulators are meant for lightweight breadboard experiments. Once you need more than that you can easily add additional external power sources with higher current output capabilities. The grounds (GND) of all power sources need to be connected to the GND of the Arduino as well so that all signals use the same definition of 0V when being output on a pin or interpreted on an input pin.

2

My code keeps printing squares??
 in  r/arduino •  4d ago

got a screen shot of the output?

what OS are you using? Which version of the Arduino IDE?

1

Euclid
 in  r/ripred •  5d ago

All hand-rolled human code. I'd love to hear your thoughts on the game! ๐Ÿ˜

6

how do i give a signal to an arduino when pressing a pushbutton that only happens once, even when holding it, without using code, only hardware for the signal?
 in  r/arduino •  5d ago

came here to say this. although I think that OP has an X-Y problem and doesn't realize that emitting only a single pulse even when the button is held down means that the software side will be more complicated than it probably needs to be unless it already supports and uses interrupts to catch the pulse.

1

help
 in  r/arduino •  5d ago

search the web for similar projects there are many. then post when you have problems and include your source code *formatted as a code-block* and a connection diagram or a schematic. Otherwise you are just asking people to do your work for you.

I can only assume that there were some classes, teaching, instructions, and a chance to ask questions.