Looking for Code for Gripper3 with Propeller1chip on Activity Bot 32500 (non ActivityBot 360)-
aedford1551
Posts: 29
in Robotics
Robot Articulation with gripper functionality combined -Will develop a program but there must be one already available. Found one for Basic bs but not for propeller
Comments
I have a program that uses a Sony TV remote with the gripper (below). You will also need a file tvcodes.h in the same directory as this. I located that below this program.
Hope this helps.
Here is the tvcodes.h file
Thanks
I'll try it
Also did you use a camera ?
Can you share that
Al
Did you use a resistor with the 38KHz IR receiver ? 220 ohm into pin ?
and
What model Sony was the TV remote I can get one from Amazon
Thanks
Where should I look?
They should be in the SimpleIDE, learn, simple libraries folders.
Using Simple IDE click "help" and Simple Library Reference to see the documentation.
Tom
The program works with either the Sony TV remote or an older Sony camera IR remote (my remote came with the Sony A700 DSLR). The only difference in the program is that the camera remote needs changed to and camera codes.h is the following:
My Sony TV remote, doesn't have any model number on it, and the TV no longer exists. The camera remote is Sony RMT-DSLR1. I believe that it has been discontinued.
I also think (but am not sure) that the Parallax remote uses different codes than my TV remote, but that is not a big deal.
If your remote has different codes, just decide what you want each button to do (from the list above). Then using the remote and the program "Test SIRC remote" in the SimpleIDE folder "SimpleIDE\Learn\Examples\Devices\TV Remote" Record the SIRC value for each button and change the number in the tvcodes.h defines.
Hope this helps.
Tom
I have a photo of the wiring I use for the SIRC at the following link:
forums.parallax.com/discussion/comment/1337873/#Comment_1337873
This is for a different configuration of my ActivityBot (using Bluetooth radio control from a SAMSUNG Android Tablet joystick app) and whiskers for responding to obstacles. But the SIRC wiring is the same. It uses the 220- ohm resistor into P10 (same as in the tutorial:
learn.parallax.com/tutorials/language/propeller-c/propeller-c-simple-devices/ir-receiver-and-remote
Hope this helps.
Tom
Tom
Remote control issue " include " tv codes"
Activity Bot (32500) board 32912 rev c
Revisiting my old Activity Bot and forgot how I programmed it
Want to run gripper with remote however get error see file attached . Reviewing above comment from Tom please tell me if this is correct for the " tv codes .h "
Comment out camera codes , uncomment "tv codes .h "and add in code below "tv codes.h" line
Is this right to correct my error in the attached ?
If not please advise on how to correct
Thanks