| View previous topic :: View next topic |
| Author |
Message |
apsd
Joined: 28 Mar 2005 Posts: 22
|
Posted: Sun Jul 10, 2005 4:10 pm Post subject: IrDA File Transferrer |
|
|
I've written a program to transfer files from one PSP to another via infrared.
The major limitation is that the received file is put directly in the memory stick root, but this will be flexible in the next version. It's moderately slow, but it works :-) (next version will be optimized).
The program is here: http://www.breezynet.com/pspirfile.zip
and I'll release the source once I've cleaned it up.
(pspsdk and ReKleSS's raster graphics library were used.)
Read the README in the zip for more information. |
|
| Back to top |
|
 |
maydaysos
Joined: 13 Jul 2005 Posts: 2
|
Posted: Wed Jul 13, 2005 3:12 pm Post subject: |
|
|
hey this is a great tool. if i can ever get it to work.
times out. then says
press any key to continue.
ive heard that this doesnt work.
i hope it does. please tell me what im doing wrong |
|
| Back to top |
|
 |
apsd
Joined: 28 Mar 2005 Posts: 22
|
Posted: Wed Jul 13, 2005 4:41 pm Post subject: |
|
|
This version is pretty sensitive and vulnerable to disruptions but works well when everything is stable...
You can probably get the feel and sensitivity of it if you place the two PSPs on a desk. First start the receiver side then start the sender side.. Select the file and let it transmit...
Be sure to actually line up the IR ports...
If people really don't believe it, I'll post a video, heh. |
|
| Back to top |
|
 |
maydaysos
Joined: 13 Jul 2005 Posts: 2
|
Posted: Thu Jul 14, 2005 3:01 pm Post subject: |
|
|
is the reciever suppose to get any message saying its ready to recieve cuz nothing happens.
then on the sender side it get a timed out error.
cant wait for the next version. |
|
| Back to top |
|
 |
apsd
Joined: 28 Mar 2005 Posts: 22
|
Posted: Thu Jul 14, 2005 4:36 pm Post subject: |
|
|
The receiver doesn't give any message until it finds a sender...
Yeah, next version will definitely be smoother, I'll start cleaning it up now... |
|
| Back to top |
|
 |
Arwin
Joined: 12 Jul 2005 Posts: 426
|
Posted: Thu Jul 14, 2005 6:24 pm Post subject: |
|
|
| Nice stuff! Is it also possible to make a version that just captures what it finds, if it finds anything? I'm thinking along the lines of making the PSP talk to IrDA enabled cellphones and laptops ... |
|
| Back to top |
|
 |
subbie
Joined: 05 May 2005 Posts: 122
|
Posted: Fri Jul 15, 2005 3:45 am Post subject: |
|
|
any chance you can post the src?
I have been trying to play with the irda stuff but getting no luck. |
|
| Back to top |
|
 |
Laurens
Joined: 28 Jun 2005 Posts: 14
|
|
| Back to top |
|
 |
apsd
Joined: 28 Mar 2005 Posts: 22
|
Posted: Fri Jul 15, 2005 6:03 am Post subject: |
|
|
Arwin,
Capture just what it finds? Wait 30 minutes for a pm :-)
The major protocol that I know for infrared between PDAs and cellphones is OBEX... in fact, there is a project called OpenOBEX that has all of this protocol code implemented. You can transmit differnet kinds of content through OBEX, (like vcards, etc), and IIRC you can define your own content type (kind of like content-type on the web). I'm considering porting some of this base code and writing a wrapper for the PSP if necessary and rereleasing it so people can interface it with their own projects...
subbie,
I'll release the source with the cleaner&smoother next version for sure... this should be fairly soon, like the end of this week.
Thanks,
~vsergeev |
|
| Back to top |
|
 |
apsd
Joined: 28 Mar 2005 Posts: 22
|
Posted: Fri Jul 15, 2005 6:50 am Post subject: |
|
|
I wrote that quick IrDA Capture program by suggestion of Arwin..
Here it is: http://www.breezynet.com/pspirdacapture.zip
The source is included. It displays what it captures to the screen and also writes it to ms0:/irdacapture.
Thanks,
~vsergeev |
|
| Back to top |
|
 |
Arwin
Joined: 12 Jul 2005 Posts: 426
|
Posted: Fri Jul 15, 2005 7:48 am Post subject: |
|
|
| apsd wrote: | I wrote that quick IrDA Capture program by suggestion of Arwin..
Here it is: http://www.breezynet.com/pspirdacapture.zip
The source is included. It displays what it captures to the screen and also writes it to ms0:/irdacapture.
Thanks,
~vsergeev |
Great stuff! I let my TV remote at it (Philips) in two different modes (for digital tv receiver and normal tv) and that showed up just fine. Then I picked up my old Sony Ericsson T68i and sent a request for transferring an image, no problems there either. T68 even showed up on the display. :)
I see now what people mean with that an IrDA keyboard should be fairly easy to do.
That OBEX implementation could be a pretty neat idea. |
|
| Back to top |
|
 |
TheMightyChunk
Joined: 29 Jun 2005 Posts: 4
|
Posted: Sat Jul 16, 2005 4:25 am Post subject: |
|
|
| Question On The Capture Program ... Can We Re-Emit The Signals We Capture ... If So How Do I Go About Doing It ? |
|
| Back to top |
|
 |
apsd
Joined: 28 Mar 2005 Posts: 22
|
Posted: Mon Jul 18, 2005 12:30 pm Post subject: |
|
|
| TheMightyChunk wrote: | | Question On The Capture Program ... Can We Re-Emit The Signals We Capture ... If So How Do I Go About Doing It ? |
I wrote a quick program to emit the data of a file you select in response to your question... But, when I tested by capturing data from a remote control with IrDA Capture and then sending it out with this raw file emitter program, the TV didn't respond :-/.
I'm still thinking about what the problem could be. I've limited down to researching remote controls and finding out if there is any delay within the data sent out (anybody know?) and using another PSP to emit and capture a few files and make sure the software isn't affecting the transfer.
The program is up here for anybody who wants ot play around with it: http://www.breezynet.com/pspiremitfile.zip
I'll a post a revision once I figure it out in these next couple of days...
Thanks,
~apsd |
|
| Back to top |
|
 |
TheMightyChunk
Joined: 29 Jun 2005 Posts: 4
|
|
| Back to top |
|
 |
apsd
Joined: 28 Mar 2005 Posts: 22
|
Posted: Tue Jul 19, 2005 4:32 am Post subject: |
|
|
Awesome, thanks for the links....
I've been thinking of developing a remote control like program based on something like lirc (unless somebody has already claimed this - i'd be glad to help :-) )... Still thinking about it though. The OBEX project is another option.
The remote control project and OBEX project are the two useful existing projects I see the PSP can really do with infrared. (has anybody thought of anything else?)
Thanks,
~apsd |
|
| Back to top |
|
 |
rinco
Joined: 21 Jan 2005 Posts: 255 Location: Canberra, Australia
|
Posted: Tue Jul 19, 2005 5:43 pm Post subject: |
|
|
or for a link that lists nearly every sircs code known to man:
http://www.hifi-remote.com/sony/
although parsing lirc remote/ files is a piece of cake. |
|
| Back to top |
|
 |
Energy
Joined: 26 Mar 2005 Posts: 133 Location: uk/beds/flitwick
|
Posted: Thu Jul 21, 2005 12:40 am Post subject: |
|
|
apsd - I've been playing with the remote control, not knowing that there were others working on similar projects. I couldn't understand why it wasn't turning my TV on lol.
I'm a complete n00b when it comes to stuff like this.
Thanks everyone for the examples tho! :) |
|
| Back to top |
|
 |
sexdwarf
Joined: 14 Jul 2005 Posts: 34
|
Posted: Thu Jul 21, 2005 12:50 am Post subject: |
|
|
actually that's every Sony code...not every code... _________________ ...isn't it nice, sugar and spice...
...luring disco dollies to a life of vice... |
|
| Back to top |
|
 |
Arwin
Joined: 12 Jul 2005 Posts: 426
|
Posted: Thu Jul 21, 2005 12:56 am Post subject: |
|
|
| apsd wrote: | Awesome, thanks for the links....
I've been thinking of developing a remote control like program based on something like lirc (unless somebody has already claimed this - i'd be glad to help :-) )... Still thinking about it though. The OBEX project is another option.
The remote control project and OBEX project are the two useful existing projects I see the PSP can really do with infrared. (has anybody thought of anything else?)
Thanks,
~apsd |
The IrDA keyboard project that someone is doing is definitely another one.
I'm looking at a small, cheap USB 2.0 to IrDA device currently myself, that would make it easy and cheap to write and test all sorts of IrDA software.
Some people are already working on the Remote Control, so I'd go for the OBEX - so far haven't heard from anyone working on that. I'd be happy to try to write further software for that, for contact management and such.
EDIT: By the way, do you have any idea how fast the port is? What are its transfer speeds, in kbps? |
|
| Back to top |
|
 |
apsd
Joined: 28 Mar 2005 Posts: 22
|
Posted: Thu Jul 21, 2005 5:39 am Post subject: |
|
|
The infrared keyboard project doesn't make much sense to me sense the port is on the top.. :-/ But it's still a cool project to have working...
I'm going to start working on the OBEX project shortly... this will definitely open functionality/compatibiltiy with many other devices out there.
I'm not sure about the speed of the port. Do the PSP tech specs specify what kind of infrared port it is? (SIR/MIR/FIR/etc.?) |
|
| Back to top |
|
 |
Nick Fury
Joined: 22 Jun 2005 Posts: 45
|
Posted: Thu Jul 21, 2005 6:41 am Post subject: |
|
|
| TheMightyChunk wrote: | Thank You Very Much apsd :-D !
There Is A Delay On Remote Controls (It Varies Most Likely) Between Certain Parts Of The Data ... (Just For Example) Device ID Code <2.6 MS> Function Code ... But It Is More Complicated Than That ... Some Parts Of The Data Is Transmitted Longer Than Others (Just For Example) Device ID Code [0.8 MS] <2.6 MS> Function Code [1.6 MS] ... But Thank You For The RAW Data Capture ... And Ill Google That Stuff Up ... I Googled The SIRCS Codes And So Far I Have Got That PS2 Remote Control Program To Control My Hi8 Cam ... |
This isn't new news to anyone here more than likely but there was a project using the Ipod as a remote control. They did it using some sort of IR transmitter/reciever and the headphone jack. They would record the noise and then play it back over the jack. I don't know if this info will help any but it was a cool little project. Perhaps converting the files to some sort of music format will allow the ability to record the blank spaces in the transmission. |
|
| Back to top |
|
 |
TheMightyChunk
Joined: 29 Jun 2005 Posts: 4
|
Posted: Fri Jul 22, 2005 10:05 am Post subject: |
|
|
| Quote: | | This isn't new news to anyone here more than likely but there was a project using the Ipod as a remote control. They did it using some sort of IR transmitter/reciever and the headphone jack. They would record the noise and then play it back over the jack. I don't know if this info will help any but it was a cool little project. Perhaps converting the files to some sort of music format will allow the ability to record the blank spaces in the transmission. |
A Project Of That Type Was Mentioned In My Original Post Before I Edited It ... They Have Also Done That With PDAs ... |
|
| Back to top |
|
 |
Nick Fury
Joined: 22 Jun 2005 Posts: 45
|
Posted: Fri Jul 22, 2005 10:56 am Post subject: |
|
|
| Any thoughts on the feasibility of capturing to an audio-type format then? It seems like it would preserve the blank space in the tranmissions. |
|
| Back to top |
|
 |
TheMightyChunk
Joined: 29 Jun 2005 Posts: 4
|
|
| Back to top |
|
 |
preetkk
Joined: 24 Aug 2005 Posts: 2
|
Posted: Wed Aug 24, 2005 8:26 am Post subject: |
|
|
hi,
i just wondered if anyone had managed to make the psp infrared file transfer to other infrared devices (mobile phones, etc) app yet.
thanks |
|
| Back to top |
|
 |
apsd
Joined: 28 Mar 2005 Posts: 22
|
Posted: Thu Aug 25, 2005 9:48 am Post subject: |
|
|
Hey,
I'm working on implementing the OBEX protocol for the PSP. It will allow the PSP to communicate with many more devices (including most mobile phones with IR) and essentially/eventually send files to them...
Thanks,
~apsd |
|
| Back to top |
|
 |
preetkk
Joined: 24 Aug 2005 Posts: 2
|
Posted: Fri Aug 26, 2005 6:30 am Post subject: |
|
|
nice one mate can't wait for that.
thanks for the reply |
|
| Back to top |
|
 |
manix15
Joined: 19 Sep 2005 Posts: 1
|
Posted: Mon Sep 19, 2005 11:54 am Post subject: irda |
|
|
hey guys im new in this stuff because i never wanted to do stuff with my psp but i kind to getting into it, and i tried the progam you posted, but the psp tells me that it cannot be opened because th data is corrupted. what can i do?
thanks |
|
| Back to top |
|
 |
nativeone
Joined: 24 Sep 2005 Posts: 1
|
Posted: Sat Sep 24, 2005 9:27 am Post subject: Would it be possible? |
|
|
To make a program that acts as a mirt?
[traffic signal pre-emption transmitter] |
|
| Back to top |
|
 |
webphreak
Joined: 01 Oct 2005 Posts: 1
|
Posted: Sat Oct 01, 2005 1:17 pm Post subject: |
|
|
Sorry to bring up an old thread but I just thought I'd add my 2 cents.
First, I was checking out that IR emitter program and from what i can see it attempts to emit everything instantaniously (I know you guys have already said that) I checked this by putting the remote upto the camera on my cellphone and holding it down for an extended period of time and seeing if the light stayed on, it did. Now when i tried this with a recorded version on the psp it stayed on for about a second where the recording was about 30 seconds. So the delays are substantual.
Is it not possible to sync a time file with a raw file so that they can talk to each other?
I'm sure there are programs on Palm's and pocketPCs that do this with their inbuilt IR So just out of curiousity has anyone attempted to port one?
Please don't flame me if I've said something sub par I'm only telling everyone what I've found.
Also nativeone, from my understanding of MIRTs they need to have a very high powered LED Array do actually work so uness you are willing to climb a traffic light to change it I don't think that would be possible. but there is a fairly simple on here: http://www.i-hacked.com/content/view/176/44/ if you are interested in them :)
Lastly if anyone was curious as to why I was using my phones camera to check for the Infra red its because (so says the writer of that I-hacked MIRT article) most if not all digital cameras and ccds etc. can pick up IR light so this got me thinking.
EDIT:
Oh I didn't realise how old the actual thread was, Sorry again for that i just looked at the last post date |
|
| Back to top |
|
 |
|