ZeFerby
@zeferby
Member
Joined: 2019-09-20 3:13 pm
Last seen: 2021-08-18 7:53 am
Topics: 17 / Replies: 338
Reply
RE: Mini Bowling Alley Pin Setter coding project In need of tutoring...

That's true, though I am wondering : why detach ? Anyway, here is the Holy Book of ATMega328 Interrupts !

4 years ago
Reply
RE: Mini Bowling Alley Pin Setter coding project In need of tutoring...

Lol, you are a quicker typist than me ! Well, interrupts are not complex per se, but I think the associated restrictions are often overlooked, and bas...

4 years ago
Reply
RE: Mini Bowling Alley Pin Setter coding project In need of tutoring...

@dundervetter As you can see here, interrupts are a hardware-triggered way of interrupting you program flow, to execute a VERY SHORT piece of code bef...

4 years ago
Reply
RE: Mini Bowling Alley Pin Setter coding project In need of tutoring...

@dundervetter I'm glad it works ! Well, this means managing inputs that can happen at any time, as opposed to inputs that your sketch expects during s...

4 years ago
Reply
RE: Power supplies

@azflyer Welcome, if you scroll down on the Forums main page, you'll find this, where you can click on the "Introduce Yourself" sub-folder. Then you ...

4 years ago
Reply
RE: Mini Bowling Alley Pin Setter coding project In need of tutoring...

Sorry I had missed that post, your link has the whole explanation.

4 years ago
Reply
RE: Mini Bowling Alley Pin Setter coding project In need of tutoring...

@dundervetter As Casey says : Try to run some test sketches starting from simple examples, each focuses on a specific point : pushbutton management on...

4 years ago
Reply
RE: Mini Bowling Alley Pin Setter coding project In need of tutoring...

Ah ok. Have a look at the example in the pdf you posted : at some point you will read the IR receiver state (which will go LOW when the beam is obstru...

4 years ago
Reply
RE: Mini Bowling Alley Pin Setter coding project In need of tutoring...

Sorry I don't get the meaning of your question ?

4 years ago
Reply
RE: Mini Bowling Alley Pin Setter coding project In need of tutoring...

This is what happens when youput a digital pin in INPUT_PULLUP mode : it activates an internal resistor to +5V (a 20K I think). Every digital pin can ...

4 years ago
Reply
RE: Mini Bowling Alley Pin Setter coding project In need of tutoring...

@dundervetter Ok, from page 5 : it seems you can wire them to the Arduino and each will use around 20mA. The most important is that the receiver has t...

4 years ago
Reply
RE: Mini Bowling Alley Pin Setter coding project In need of tutoring...

I think it all depends on their specifications, so give us what you have about them (datasheet, manufacturer+part number, whatever...) and we can chec...

4 years ago
Reply
Reply
RE: Mini Bowling Alley Pin Setter coding project In need of tutoring...

@dundervetter First I think your button is wired in pull-down mode, while in your code you use it with INPUT_PULLUP. Pull-down : Pull-up (done intern...

4 years ago
Reply
RE: Mini Bowling Alley Pin Setter coding project In need of tutoring...

Hello @dundervetter, I've been reading your posts above, including this nice picture, and first I'm wondering about the power supply aspect (I suppose...

4 years ago
Page 4 / 24