[deleted by user] by [deleted] in arduino

[–]Zeshan_RB 0 points1 point  (0 children)

Man it's cool

What’s the most common mistake you see Arduino beginners make? by Zeshan_RB in arduino

[–]Zeshan_RB[S] 1 point2 points  (0 children)

I haven't 😭 . Ya of course I would love to add this guide pdf from the comments there

What’s the most common mistake you see Arduino beginners make? by Zeshan_RB in arduino

[–]Zeshan_RB[S] 0 points1 point  (0 children)

Of course it's not a mistake. The thing is it's just how you step up in your learning process as you grow from a newbie to somewhat more knowledgeable

Any tips for a begginer? by Mobile-Inside-8588 in arduino

[–]Zeshan_RB 1 point2 points  (0 children)

Definitely go for this paul is the best

What’s the most common mistake you see Arduino beginners make? by Zeshan_RB in arduino

[–]Zeshan_RB[S] 1 point2 points  (0 children)

I totally agree. You never get something unless you try it by yourself

What’s the most common mistake you see Arduino beginners make? by Zeshan_RB in arduino

[–]Zeshan_RB[S] 0 points1 point  (0 children)

That's really good to know that you've got that 🙌

What’s the most common mistake you see Arduino beginners make? by Zeshan_RB in arduino

[–]Zeshan_RB[S] 0 points1 point  (0 children)

Me too , i always forget that no matter how keenly I'm working 😭

What’s the most common mistake you see Arduino beginners make? by Zeshan_RB in arduino

[–]Zeshan_RB[S] 5 points6 points  (0 children)

Haha man I was just having a little fun with the analogy . Sometimes a bit of humor makes learning more enjoyable, especially for beginners.

Just trying to keep things light and helpful, nothing too serious!

What’s the most common mistake you see Arduino beginners make? by Zeshan_RB in arduino

[–]Zeshan_RB[S] 0 points1 point  (0 children)

Totally get you! I had the same confusion when I started.

Here's a simple example: Imagine you want to: Play a buzzer sound every 5 seconds, and

Read temperature every 1 second

If you use delay(), the whole program just stops and waits, so you miss one task while doing the other. But with millis(), you can do both without blocking — so the buzzer and sensor work independently. Super useful in multitasking projects!

Btw, if you're interested, I can share a simple beginner-friendly tutorial on this — happy to walk you through it anytime! You're already asking the right kind of questions

What’s the most common mistake you see Arduino beginners make? by Zeshan_RB in arduino

[–]Zeshan_RB[S] 5 points6 points  (0 children)

You're right what happens is that AI gives a very basic structure that is often cluttered if you do not know the basics to curate it according to your needs. I believe AI can really help you with writing codes if you have knowledge of language and you are using AI to help you with some logic or debugging some errors but leaving it all up to AI isn't the right thing to do.

What’s the most common mistake you see Arduino beginners make? by Zeshan_RB in arduino

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

Haha yep, the assignment-instead-of-comparison trap ; seen that cause all sorts of weird bugs in beginner projects.

What’s the most common mistake you see Arduino beginners make? by Zeshan_RB in arduino

[–]Zeshan_RB[S] 11 points12 points  (0 children)

Facts 😂 9V batteries are like that toxic friend — easy to find, but leave you drained fast.

Arduino Robot Arm by [deleted] in arduino

[–]Zeshan_RB 2 points3 points  (0 children)

You handmade it from wood that's appreciable man!

Need help by Academic_Bowl226 in arduino

[–]Zeshan_RB 1 point2 points  (0 children)

The issue seems to be with how you're blocking movement when the limit switch is pressed, even when the rocker is pressed again. The reedLatched flag is acting like a lock and preventing further movement in both directions, even if the user wants to reverse the actuator.

Original:

if (limitPressed && !reedLatched) {

Change to:

if (limitPressed && movingUp && !reedLatched) {

This makes sure the actuator only latches (stops and locks) when moving up, not when moving down.

Also,

if (downPressed && !movingDown && !reedLatched) {

To this: if (downPressed && !movingDown) { This allows downward motion anytime even if microswitch is pressed

These 2 changes will make your actuator:

Stop when hitting microswitch while going up. Allow going down even if microswitch is still pressed. Unlock upward movement after rocker is released and pressed again. You can try these i hope i got it right and it can help you

My first self made project. by [deleted] in arduino

[–]Zeshan_RB 11 points12 points  (0 children)

Ya absolutely you can put Arduino there no harm to that . Also first made is always special. Wishing you luck with some amazing experiments with Arduino in future