So I got thinking(Oh no, not again...) and I thought about how to control a remote control device with the ez-b, much like the roboquad. I know that the roboquad has too many versions to get one that works, but what about other things like cars and other things that may operate by either IR, 27mHz or 49mHz signals.
1. How would you connect the device, generally speaking? Connect to the signal wire of the ez-b to the signal wire of the, lets say, RC car for example?
2. How would you send the commands? Serial? UART?
3. How would you get the signals needed to operate the device? Could you use the EZ-b to sample the signals?
This is just a conversational thread as its something I wanted to investigate.
Thanks,
Maze
Upgrade to ARC Pro
Get access to the latest features and updates with ARC Early Access edition. You'll have everything that's needed to unleash your robot's potential!
What you can do is connect the ez-b to the remote control with physical wires. If the remote control has a push buttons, connect the digital ports to the push buttons. If the remote control has a joystick, you may be able to use PWM to emulate the joystick.
Get an Android phone with an IR blaster (recent Samsung or HTC are best for this).
Get Tasker app, IFTTT plugin for Tasker App, and Anymote Smart Remote app (note, these are not free apps).
In Smart Remote, define buttons for your device (it knows thousands of devices, and is a learning remote if it doesn't know the device).
In Tasker, create tasks to activate the button functions.
In IFTTT create a recipe using the Maker channel and the Tasker plugin channel to execute your Tasker tasks using HTTP Get requests.
Create ARC scripts to make the HTTP Get requests as needed.
Put EZ-B in client mode so ARC will have Internet access.
Mount android device on robot with IR device pointed forward, and Wifi or 3G/4G active so it has Internet access.
Win!
(I strongly suspect you we can figure out a way for ARC to talk WiFi directly to Tasker and cut out a lot of the middle, but I am just spit-balling an idea here. This will absolutely work. I also think we could probably find a TTL to IR adapter that could run off a digital port using send serial commands, but as DJ said, trying to figure out what to send is tricky. There are definitely USB to IR devices with good code libraries, so if you are building a bot with embedded computer, that would be a lot easier too.)
Alan
Alan
Alan
I had a r/c transmitter (27mhtz ) which I wanted to use as a slave to run some servos. I wanted to connect a pwm signal into the wires which were connected to the joystick pot. I didn't work. It was quite a while ago, so I don't remember exactly what was wrong. The idea was to go from an arduino to the TX joystick wiring, then signal the RX to the servos. I assume the EZB is the same pwm output. I think I was going to have to use a digital pot, or something like that to have the correct input to the TX wiring.
Will your proposed plugin do this kind of thing?
Ron R
Alan
To what length would one have to go to emulate? The way I said in the first post?
If we can find a uart to IR device, could probably cut the LED off and wire to the LED inputs on the device you want to control and drive it with send serial, but I have been searching casually for a while this evening and haven't found anything useful.
Alan
Anyone doing this ? Any ideas?