Go Down

Topic: Emergency: Automatic device that push a button every 30 minutes. (Read 357 times) previous topic - next topic

Onizuka

Dear all,

I'm Zakaria a total novice:  I'm a bit lost, I never built an arduino before. I may post this in the wrong topic and apologizes in advance.

My problem is simple: I have a remote control with one button on it. I want to build a Arduino robot that push this button every 30 minutes. This is quite an emergency for me the well being of a loved one is at stake.

I have two questions:

  • What ressources do I need to build this kind of robot? (besides the arduino): I tought of stuff like a servomotor, a support to handle the remote, but again what kind of support? The answer of this question will allow me to order all the stuff that I need in one shot.



Do you have in mind simillar project in mind, where I can find inspiration? If so please give me a link.

Thank you in advance for you help.


Zakaria.

pert

A novice Arduino project and an emergency with the well being of a loved one at stake is not a safe combination. You always need to think of worst case scenarios. Electrical, mechanical, software bugs are an inevitable reality in the development of a project even for a professional. If an error causes an LED blinky not lighting up or a robotic toy car turning left instead of right, no big deal. You find the bug, fix it, learn some things, and have fun. When safety is involved the stakes are much higher.

Onizuka

I totally agree with you. There is no safety matter on my project.  I would never risk that. The only purpose of my project is to make the person's life easier.

Even in the worst case scenario: imagine that the robot push the button multiples times without stopping, it won't do any arm because the remote reacts under specific conditions. No worries.

Thank you for your reply.

gdsports

If the remote control is for a TV or similar device, you might be able to use an Arduino with IR sensor to record the signal and an IR LED to play it back periodically. This is simpler than a mechanical button pushing device.

However, some remote controls use unusal signals or different frequencies so may not work with the sensors and software mentioned in the tutorial.

https://learn.adafruit.com/ir-sensor

Delta_G

The only purpose of my project is to make the person's life easier.
Then it's not really an emergency is it?
If at first you don't succeed, up - home - sudo - enter.

Onizuka

Then it's not really an emergency is it?
I want to make his life easier as soon as I can. It is something important for me, understand it like this.

@GdSPORT, thank you for your advices. The fact is I only want to make a robot that push physically a single button in a remote control that is linked by a cable in another machine. I don't want to interact with this remote by another way than it is design for (by pushing the button). I can't get inside, because I don't want to corrupt a well design system.

Aggertroll

Get a small servo.
Make the arduino move the servo.
Let the servo arm press the button. - That's the easy part.

Combine Arduino, servo and adequate power supply into a unit.
Attach the unit to the remote so the servo arm presses button.
Make it look half good, be reliable and removable. - That's the hard part.

(better to open the remote and take it from there...)

xl97

If the 30 minute 'threshold is IMPORTANT...

then I would suggest getting an RTC module (Real Time Clock) for the 'timing'.

The rest (and I guess even including the RTC portion) are all very beginning tutorial projects.. do a search..

Do each one separately, then work on combining.

Onizuka

Thank you guys for your feedback.

then I would suggest getting an RTC module (Real Time Clock) for the 'timing'.

Can I just use delay ? It is not that bad if it is 35 minutes or 25 minutes. My error margin is pretty wide.


Thank you.

PaulS

Thank you guys for your feedback.

Can I just use delay ? It is not that bad if it is 35 minutes or 25 minutes. My error margin is pretty wide.


Thank you.
Nothing else will happen while you use delay(). That may, or may not, matter. You can use the blink without delay philosophy to activate the servo every half hour, give or take a minute, without burying your head in the sand.

Nothing about making a servo press a switch is even remotely complicated, from a programming point of view. The entire issue is a mounting/style problem. As Nike says, Just Do It.
The art of getting good answers lies in asking good questions.

Onizuka

Thank you Pauls. It is my first arduino project, the system is bit complicated to build, but I think I am on the right way.


I'll use a round gear attached to the mini 9g servo motor. This gear will be connected to a linear one (like a stick with cut teeth). I'm just afraid that the torque of my servo is not powerful enough.

Thank you again.

PaulS

Quote
I'm just afraid that the torque of my servo is not powerful enough.
To make a rack push a switch? I can't imagine that it takes much force to press the switch.

It sounds like you are making a rack-and-pinion device.
The art of getting good answers lies in asking good questions.

Onizuka

Yeah that is exactly it. I didn't know this set up was called rack-and-pinion; thanks.

I'll show you guys the final result.

Go Up