[SHARP PC-E500(S)] USB Interface Cable for 19,90 €
Modérateur : Politburo
- ManiB
- Fonctionne à 75 bauds

- Messages : 52
- Inscription : 09 oct. 2008 18:25
- Localisation : Germany
- Contact :
[SHARP PC-E500(S)] USB Interface Cable for 19,90 €
Dear SHARP Fans,
I proudly present my new USB interface cable for Sharp PC-E500S / E500S PC.
The interface can also be used with the following SHARP Pocket Computers:
PC-1350, PC-1360, PC-1450, PC-1475, PC-1600, PC-E500 and PC-E500S.
You'll find all infos about on my blog.
If you are interested in a USB interface, then let put you on the waiting list:
Survey: USB Interface Cable for SHARP PC-E500 / PC E500S
I proudly present my new USB interface cable for Sharp PC-E500S / E500S PC.
The interface can also be used with the following SHARP Pocket Computers:
PC-1350, PC-1360, PC-1450, PC-1475, PC-1600, PC-E500 and PC-E500S.
You'll find all infos about on my blog.
If you are interested in a USB interface, then let put you on the waiting list:
Survey: USB Interface Cable for SHARP PC-E500 / PC E500S
My Pockets (69): ManiB's galerie of Pocket Calculators
- ManiB
- Fonctionne à 75 bauds

- Messages : 52
- Inscription : 09 oct. 2008 18:25
- Localisation : Germany
- Contact :
Re: [SHARP PC-E500(S)] USB Interface Cable for 19,90 €
Hello SHARP Fans,
today I've assembled my first USB Interface Cable with the original SHARP connector (thanks to Pocket;).
SHARP PC-E500(S) USB Adapterplatine v2.0 by Manfred Becker, on Flickr
If you are interested in a USB interface, then let put you on the waiting list:
Survey: USB Interface Cable for SHARP PC-E500 / PC E500S
today I've assembled my first USB Interface Cable with the original SHARP connector (thanks to Pocket;).
SHARP PC-E500(S) USB Adapterplatine v2.0 by Manfred Becker, on FlickrIf you are interested in a USB interface, then let put you on the waiting list:
Survey: USB Interface Cable for SHARP PC-E500 / PC E500S
My Pockets (69): ManiB's galerie of Pocket Calculators
- dprtl
- Fonctionne à 1200 bauds

- Messages : 438
- Inscription : 27 janv. 2013 01:26
- Localisation : Strasbourg
- Contact :
Re: [SHARP PC-E500(S)] USB Interface Cable for 19,90 €
J'ai testé mon câble USB, envoyé par Manfred, sous Linux, et non sous Windows ; donc sans le logiciel "MB Sharp Notepad" fourni. Pour cela, j'ai écrit les quelques lignes de Python ci-dessous. Peut-être que certains paramètres pourraient être optimisés pour améliorer la robustesse ? En effet, sur les transmissions série, la PC-E500 semble être un peu moins fiable que mes Casio, et elle nécessite un timer d'attente à 0,5 s entre chaque ligne (mais avec un peu moins, ça fonctionne aussi). J'ai nommé ce script Python "send-sharp.py" :
Mode opératoire :
1) Sur le Sharp, en mode RUN ou PRO, tapez les commandes suivantes :
En fait, on peut lancer le CLOSE tout de suite, car le OPEN ne sert qu'à définir les paramètres. C'est étrange... mais c'est comme ça !
Principaux paramètres de la liaison côté Sharp :
- 9600 Baud
- N pour No parity
- 8 bits par caractère
- 1 bit de stop
- A pour ASCII (seule option possible)
- F pour LF only, donc "\n" à la fin de chaque ligne (ou 'C' for CR only, ou 'L' for CR+LF)
- &H1A code de fin de fichier
- X pour le protocole Xon/Xoff
- S pour switcher en SI&SO (ou plutôt, pour tenter de contourner un bug du Xon/Xoff)
2) Ensuite, pour lancer le transfert d'un fichier depuis le Linux vers le PC-E500 :
Le Sharp passe en mode "Busy", puis il attend.
3) Sur le Linux :
Le chargement commence, et on affiche l'avancement sur la console Linux :
Quand c'est terminé, le PC-E500 rend la main, et on peut taper LIST en mode PRO.
Code : Tout sélectionner
#!/usr/bin/python
import time
import serial
import sys
fic = open(sys.argv[1],'r')
ser = serial.Serial(
port='/dev/ttyUSB0',
baudrate=9600,
bytesize=serial.EIGHTBITS,
parity=serial.PARITY_NONE,
stopbits=serial.STOPBITS_ONE,
xonxoff=True,
rtscts=False
)
ser.isOpen()
for line in fic:
print repr(line)
ser.write(line)
time.sleep(0.5)
ser.write("\x1A\n")
ser.close()
fic.close()
exit()1) Sur le Sharp, en mode RUN ou PRO, tapez les commandes suivantes :
Code : Tout sélectionner
OPEN "9600,N,8,1,A,F,&H1A,X,S"
CLOSE
Principaux paramètres de la liaison côté Sharp :
- 9600 Baud
- N pour No parity
- 8 bits par caractère
- 1 bit de stop
- A pour ASCII (seule option possible)
- F pour LF only, donc "\n" à la fin de chaque ligne (ou 'C' for CR only, ou 'L' for CR+LF)
- &H1A code de fin de fichier
- X pour le protocole Xon/Xoff
- S pour switcher en SI&SO (ou plutôt, pour tenter de contourner un bug du Xon/Xoff)
2) Ensuite, pour lancer le transfert d'un fichier depuis le Linux vers le PC-E500 :
Code : Tout sélectionner
LOAD
3) Sur le Linux :
Code : Tout sélectionner
$ send-sharp.py monfichier.txt
Code : Tout sélectionner
'10 CLEAR:DIMY(6):DIMV(6):DIMS$(4000):D$=TIME$\n'
'20 N=622:V(0)=100:V(1)=8:V(2)=3:V(3)=4:V(4)=3:V(5)=1\n'
'30 FORK=0 TO5:S$(K)=RIGHT$(STR$(K),1):IFV(K)=N THENT$=S$(K):GOTO470\n'
'40 NEXT:M=0:G=1:L=0\n'
...
- meridian
- Fonctionne à 1200 bauds

- Messages : 978
- Inscription : 29 oct. 2014 06:08
- Localisation : Seine-Saint-Denis
Re: [SHARP PC-E500(S)] USB Interface Cable for 19,90 €
ça y est, j'ai enfin testé le câble et ça marche nickel avec le E500
Par contre avec le PC-1360, quand je fais l'open sur le sharp, j'ai une Error 8
Avez-vous une idée ?
Par contre avec le PC-1360, quand je fais l'open sur le sharp, j'ai une Error 8
Avez-vous une idée ?
- ManiB
- Fonctionne à 75 bauds

- Messages : 52
- Inscription : 09 oct. 2008 18:25
- Localisation : Germany
- Contact :
Re: [SHARP PC-E500(S)] USB Interface Cable for 19,90 €
Hello meridian,meridian a écrit :ça y est, j'ai enfin testé le câble et ça marche nickel avec le E500![]()
Par contre avec le PC-1360, quand je fais l'open sur le sharp, j'ai une Error 8
Avez-vous une idée ?
sorry I have no PC-1360 to make some tests with my cable, but I have this feedback from another user, named Flavio.
Flavio: “Upload Sharp PC-1360> PC SharpNOtepad works perfectlyIn Download PC SharpNotepad> Sharp PC-1360 only the first line of the program is loaded (no matter how it is long or complex) from the second line is an error 4 on Sharp and aborted loading.
One other thing, the proposed setting from your program to opening of the serial port of Sharp is not compatible with this shrap PC-1360 model
The only admitted setting is OPEN “1200, N, 8,1, A, C & 1A”
I do not think it’s a I/O problem but rather something in formatting and sending data.”
So I have to make some changes to my MBSharpNotepad program, to deal with the End Of Line code (EOL): CR, LF, CR LF, CR LF.
My Pockets (69): ManiB's galerie of Pocket Calculators
- ManiB
- Fonctionne à 75 bauds

- Messages : 52
- Inscription : 09 oct. 2008 18:25
- Localisation : Germany
- Contact :
Re: [SHARP PC-E500(S)] USB Interface Cable for 19,90 €
Hello SHARP Fans,
Pocket did it again, and send me another 50 connector:
http://manib.bplaced.net/blog/?p=1107
I consider about to donate a few cables for the community;)
Ciao,
Manfred
Pocket did it again, and send me another 50 connector:
http://manib.bplaced.net/blog/?p=1107
I consider about to donate a few cables for the community;)
Ciao,
Manfred
My Pockets (69): ManiB's galerie of Pocket Calculators
- meridian
- Fonctionne à 1200 bauds

- Messages : 978
- Inscription : 29 oct. 2014 06:08
- Localisation : Seine-Saint-Denis
Re: [SHARP PC-E500(S)] USB Interface Cable for 19,90 €
Hi Manfred,
Thank you I will try with your parameters
Thank you I will try with your parameters

