Anda di halaman 1dari 2

[AiboHack - Boneyard] PSP IR Sample Program http://www.aibohack.com/psp/roboir.

htm

AiboPet's BoneYard http://aibopet.com, http://aibohack.com

WARNING: contents of this page are very old. Email: aibopet@aibohack.com


Click here for the home page

PSP IR Sample Program

Robo IR .02 - RoboSapien, ICybie, and Media Center


Hardware Required

Homebrew capable Sony PSP (firmware version 1.0 or 1.50)


One or more of the following:
Robosapien (V1)
ICybie running stock firmware
ICybie running enhanced walkup charger firmware
Windows Media Center computer with "RC6" remote control

Downloads

PSP 1.0 version: ir_sample_02_run10.zip


PSP 1.50 version: ir_sample_02_run150.zip
Source code: ir_sample_02_src.zip

General Use

Install the proper version on your Homebrew compatible PSP


Run the program on the PSP
At the start page, select the device you want to control (RoboSapien, ICybie, Media Center)
Use the PSP as an IR remote control for that device.
The buttons are labelled on the screen with the commands.
Certain buttons (like LTrigger and RTrigger) can act as shift buttons. Hold those buttons and new
options will show up. Keep holding the shift button and press the regular button.
When pressing a command button, aim the top of the PSP towards the device's IR receiver
Press HOME to go back to the main screen to change devices
Press HOME again to exit the app

RoboSapien Specifics

There are two options, normal or reversed. Pick normal if you are facing in the direction of the robot
(your right is the robot's right side). Pick reversed if you are looking at the robot's face (your right is

1 of 2 4/1/2018, 1:31 AM
[AiboHack - Boneyard] PSP IR Sample Program http://www.aibohack.com/psp/roboir.htm

the robot's left side).


There are several shift buttons giving most of the common actions (but not all of them)
Hold LTrigger for left arm, RTrigger for right arm. Hold both triggers for body rocking. Hold the select
button for skits.

ICybie Specifics

This is a very boring direct implementation of the standard 12 buttons + Large and Small buttons.
A smarter mode aware remote could be written.
Using special codes, certain walk-up-charger behaviors can be tricked.

Media Center Specifics

Only "RC6" compatible remotes will work. Your media center may or may not work because of the
device prefix.
Provides many of the common remote control features. Try out the different Trigger/shift buttons.
If you want to change the button mappings, or the device specific codes, see the source code
("FANCY")

NOTE: these are examples of how the PSP can be used for customized "Consumer IR" remote controls, not
limited to SIRCS.
This is not meant as a "universal remote". The technology provided here can be used to write/port other IR
programs.

For Developers - Source Code


The standard firmware only supports the Sony "Consumer IR" protocol call "SIRCS". "Consumer IR" is
different than IrDA, which won't be discussed here.

This IR sample shows ways of using the RAW IR capabilities of the PSP hardware, to control many
"Consumer IR" devices.

The "rawir.c" source file has the tricks needed to send RAW IR data to the hardware and reuse the SIRCS
event handler for non-SIRCS data. Data is formatted ahead of time in a PWM-like format.

The RoboSapien and ICybie robots use proprietary encoded IR signals, with a carrier frequency of
approximately 40kHz. The standard Media Center uses the RC6 protocol, with a carrier frequency of 36kHz.
This RAW IR technology can be used for other protocols. The limits of the carrier frequency and the PWM
modulation timing have not been fully explored (hopefully should do most standard IR protocols, but
probably not if the carrier is greater than 100kHz).

The source code includes two samples. Both have similar IR remote control functionality (some of the
buttons are different). "SIMPLE" is a simple pspDebug "printf" style app. "FANCY" is the binary released
version. It includes a user inteface to draw the current button settings on the screen.

Source code: ir_sample_02_src.zip

2 of 2 4/1/2018, 1:31 AM

Anda mungkin juga menyukai