Code to control multiple servos using an IR remote

Hello Everyone,

My brother and I are new to robotics and recently built one of those ArmUno robots that features 4 servos to control the arm. We used an Arduino Uno to control the arm and were succeful in programing the robot to do simple tasks via USB. What we want to do next is program it to use an IR remote I picked up online, problem is I only found codes to control one servo. Currently the board and servos are running off 5V and servos remote wires are connected to ~11, ~10, ~9, ~6. The remote came with a IR sensor that has power, ground, and remote (not sure how I'd be possible to control 4 things with only 1 senssor, just doesnt make sense). Anyways, I would really appreciate some guidence with this as I am still learning about this.

Thank you,

not sure how I'd be possible to control 4 things with only 1 senssor, just doesnt make sense

Can the remote send more than one code like a TV remote ?

Please post a link to the remote that you have

UKHeliBob:
Can the remote send more than one code like a TV remote ?

Please post a link to the remote that you have

I belive so, this is the remote we have.

I am not sure how to embed images, but its a Keyes mini remote.

The remote sends a different code for each key which the receiver picks up and reports to the Arduino.

In the Arduino you need some code to decode each key and do something based on it. There are plenty of examples around of reading and usually printing each of the codes. But it's up to you to decide what each one is used for in your particular case.

Steve

slipstick:
The remote sends a different code for each key which the receiver picks up and reports to the Arduino.

In the Arduino you need some code to decode each key and do something based on it. There are plenty of examples around of reading and usually printing each of the codes. But it's up to you to decide what each one is used for in your particular case.

Steve

Just figured that while doing some reading, each button sends a unique singnal. I found a library for this particualar remote, but I've never done any coding and very new to this.