forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Slim 1.8v to 5v SAFE level shifter for sio

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
jube



Joined: 23 Oct 2007
Posts: 115

PostPosted: Sat Mar 01, 2008 4:39 am    Post subject: Slim 1.8v to 5v SAFE level shifter for sio Reply with quote

Hi all !
Seen some posts with people messing with the slims sio port, so decided to post this circuit from my experemental ts setup to save anyone blowing their port !!

Its not powered of the port ( its for testbed experementation !! ) but uses port voltage as ref so requires the sio to be initialised ( see excellent sio driver by jean ), its not meant to be a product but using a comparitor ensures minimum loading on the sio technology ( which at moment is unknown but prob nmos?) the potential divider on the max tx should use 0.1% res

By the way i used a tiwanese 393 but any 393 should do.

The full TS circuit and project is complete, have not decided weather to post, not much point if no interest !! Will let interested parties pm me i think?

[img][/img]
Back to top
View user's profile Send private message
J.F.



Joined: 22 Feb 2004
Posts: 2906

PostPosted: Sat Mar 01, 2008 6:55 am    Post subject: Reply with quote

There are a number of IR to RS232 adapters out there (meant to be plugged into the computer's serial port). Something like this could be used with one to allow the use of common IR keyboards.
Back to top
View user's profile Send private message AIM Address
jean



Joined: 05 Jan 2008
Posts: 489

PostPosted: Sat Mar 01, 2008 8:08 pm    Post subject: Reply with quote

Good job man!!! As soon as i'll get a PSP SLIM i will immediately try this, maybe to adapt my MIDI cable, chatPad or other projects i'm working on!
Stop praising me or they'll think i'm paying you for this! :)))
@J.F. I doubt using one of those adapter could be a straight forward task... i guess data is encapsulated; i remember i used one of those adapter years ago and i had to install drivers = death :( ...MMhhhh i have to get one and investigate
PS: J.F. this will not stop you to contribute something to chatPad proj, is it?? :)
Back to top
View user's profile Send private message
J.F.



Joined: 22 Feb 2004
Posts: 2906

PostPosted: Sun Mar 02, 2008 10:06 am    Post subject: Reply with quote

jean wrote:

PS: J.F. this will not stop you to contribute something to chatPad proj, is it?? :)


Of course not! Once I get the programmer put together and reprogram my chatpad (and make a cable to hook it to my PSP), I'll work on some stuff for it. At least a pspirkeyb driver for certain.

I've got some parts I need on order, so it'll be a while. Too bad all this isn't available at WalMart. :D
Back to top
View user's profile Send private message AIM Address
jube



Joined: 23 Oct 2007
Posts: 115

PostPosted: Mon Mar 03, 2008 12:44 am    Post subject: Reply with quote

A ir to serial circuit is not at all hard but doubt will find a suitable off the shelf item to modify, most will be powered off the serial 9pin dtype at 5v, you will have to do one yourself :)
Will post a circuit for one but you will have to wait to build till microchip launch their 1.8v micro's, then make sure the programmer you have is compatible. For the circuit to be portable and powered off the port completly will have to stick to 1.8v components throughout ~( then obviously the above circuit is not needed )
Been looking at pikey more closly, the v4 pr-relese does not seem fw3.71+ compatible, the installer for the 3.5 version is a kernal mode app for a start so will never run? And a quick glance shows it writes lods of stuff to flash0, scarry!!
But its xmb hooking function cant be ignored, am still learning and switching to a linux distro cos now pissed with cygwin and continual command line typing, cant get any of the IDE's ( eclipe,devc,codeblocks, well actually am trying em all, free and propriety ) to work with psp-gcc within cygwin correctly without continually addapting makefiles paths etc etc, so going to use platform you guys write on, and a naitive ide there.
Back to top
View user's profile Send private message
J.F.



Joined: 22 Feb 2004
Posts: 2906

PostPosted: Mon Mar 03, 2008 10:36 am    Post subject: Reply with quote

Making pikey work in 3.71 was considered, but then D_A came out with 3.80 with the NID resolver. That should make pikey work on 3.80+. The problem with the installer is known and being looked into. There is also a problem getting pikey to work in games in 3.80+ that is being looked into. It's not known whether it's just a NID that the resolver doesn't support, or related to the "bug" I've seen reported that you need to add a plugin to pops.txt to get the plugin to work in games.
Back to top
View user's profile Send private message AIM Address
Torch



Joined: 28 May 2008
Posts: 842

PostPosted: Fri Mar 13, 2009 10:52 pm    Post subject: Reply with quote

Can you explain why you've used each of the resistors. I need to communicate with PIC 16F877A, but I've only used MAX232 once to convert 5V to 12V RS232.
Back to top
View user's profile Send private message
jean



Joined: 05 Jan 2008
Posts: 489

PostPosted: Sat Mar 14, 2009 12:44 am    Post subject: Reply with quote

I cannot remember how man times i repeated this (specifically on THAT italian site's board)... No one needs to use a max level shifter to enstabilish communication between the PSP and a microcontroller. New Microchip's microampere technology allow us to power chip directly from SIO (the fact that my ChatPad hack does work is a proof despite the charge-pump section of its circuit). A voltage adapter like max232 or low power version max3232 is only needed to communicate with true RS232. The PSP SIO port shares with it only the simple asynchronous communication protocol, but it does not share the voltage specification that in RS232 could reach -20/+20 volts. Hope that someone will believe me this nth time i say this.
Back to top
View user's profile Send private message
Torch



Joined: 28 May 2008
Posts: 842

PostPosted: Sat Mar 14, 2009 1:05 am    Post subject: Reply with quote

I know the PSP doesn't use RS232 voltages!

I wanted to know why he uses a 232 in his circuit. I couldn't understand the circuit diagram so I was wondering if he somehow adapted it for 0-1.8v to 0-5v for the PIC chips, like it says in the thread title.

I don't need to power the PIC either, its already USB powered. I only have the 2 wires from the UART of the PIC. And this model has hardware UART, its not software simulated with standard IO pins. Hence it probably requires TTL levels to work.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group