Project - Automated gate opener

Hi,
I’m new to electronics (not even in the field). I want to make my own gate opener as the ones to buy are over my budget. I have two drill motors of 18v, a 5v -4 channel relay, a few 433 remote transmitters(4 buttons) and receivers(with 4 data pins and one VT pin) from ebay and an arduino. I’m thinking of using the motors with gear on them so that they’ll have enough force and to be actioned by the remote. So far i’ ve managed to make the motors run in both directions but by just by using code, so no remote action.
I’ve not seen any tutorials on this and i cannot afford spending to much time learning electronics/coding from grounds up.
I would need basic help with my code that would interpret the comands given from the remote transmiter (run motors clockwise and counterclock.).

I know i could just buy remote relay but i want to know how this can be achieved.

Many thanks

remote link: http://www.ebay.com/itm/4-Channel-433MHz-Remote-Control-Receiver-module-Decoder-SC2272-T4-/302293976376?hash=item4662200538:g:XjYAAOSwSypY~czu

relay: http://www.ebay.com/itm/4-Channel-5V-Relay-Module-for-Arduino-TTL-Logik-LW-/182304204477?epid=1382243109&hash=item2a722d66bd:g:rugAAOSwYIxX9cFm

arduino (1).txt (1.62 KB)

I would need basic help with my code that would interpret the comands given from the remote transmiter

Those transmitters don't send commands, they just set those 4 pins off and on. (Subtle differences between the models, one model toggles and another keeps pin on while you hold button. Third one I forget ottomh.)

So there's nothing to learn, specific to the radio side. It is literally the same as pressing a button wired to the Arduino.

I'd be wary of using those for any security-related project: there's no encoding. Your keyfob will work anyone elses' receivers, and more to the point, theirs will work yours.

https://www.youtube.com/results?search_query=arduino+gate+controller

https://www.google.com/search?source=hp&q=arduino+gate+controller

It’s been done countless times.

"Those transmitters don't send commands, they just set those 4 pins off and on. "

Then i would just have to connect 2 pins and define 2 buttons?
Also if these don't send signals/commands then which ones are doing that? And could then any 433 remote open my gate (so it doesn't need to copy my signal beforehand)?

Madyn:
Then i would just have to connect 2 pins and define 2 buttons?

Just need to do a digitalRead() on 2 pins in loop() I'd say, and if one is active open the gate, if the other's active close it.

could then any 433 remote open my gate

Not any remote, but any of those ones: they're all identical. Says this here:

Since this is just a transmitter, if you have multiple receivers, it will turn all of them on and off at the same time (there is no sub-addressing)

I’ll sort this out if it’s the last of me, will post picture result with the final project on completion.

Thanks

Well if you're doing the motor running in code already, it should be easy enough to rework it so that the respective parts of the code that run it forward and backward respond to the state of a pin. And those pins' states can be set by a local wired button or your remote wireless button, which you now know is essentially the same (as far as Arduino knows) as a wired one.