[SHARP PC-E500(S)] USB Interface Cable for 19,90 €

Ici, on fait dans le petit, le LCD qui déchire sa race, on y cause même calculatrices quand on est en manque !

Modérateur : Politburo

Répondre
Avatar de l’utilisateur
ManiB
Fonctionne à 75 bauds
Fonctionne à 75 bauds
Messages : 52
Inscription : 09 oct. 2008 18:25
Localisation : Germany
Contact :

[SHARP PC-E500(S)] USB Interface Cable for 19,90 €

Message par ManiB » 20 août 2015 22:38

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

Avatar de l’utilisateur
ManiB
Fonctionne à 75 bauds
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 €

Message par ManiB » 10 févr. 2016 00:53

Hello SHARP Fans,

today I've assembled my first USB Interface Cable with the original SHARP connector (thanks to Pocket;).

ImageSHARP 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

Avatar de l’utilisateur
epopy
Fonctionne à 1200 bauds
Fonctionne à 1200 bauds
Messages : 613
Inscription : 27 sept. 2008 00:37
Localisation : Pas loin de Genève (CH)
Contact :

Re: [SHARP PC-E500(S)] USB Interface Cable for 19,90 €

Message par epopy » 10 févr. 2016 15:12

Sehr gut !
mon site : epocalc

Avatar de l’utilisateur
meridian
Fonctionne à 1200 bauds
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 €

Message par meridian » 10 févr. 2016 16:11

Done

Avatar de l’utilisateur
dprtl
Fonctionne à 1200 bauds
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 €

Message par dprtl » 31 mars 2016 18:58

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" :

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()
Mode opératoire :

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
 
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 :

Code : Tout sélectionner

LOAD
 
Le Sharp passe en mode "Busy", puis il attend.

3) Sur le Linux :

Code : Tout sélectionner

$ send-sharp.py monfichier.txt
Le chargement commence, et on affiche l'avancement sur la console Linux :

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'
...
Quand c'est terminé, le PC-E500 rend la main, et on peut taper LIST en mode PRO.

Avatar de l’utilisateur
meridian
Fonctionne à 1200 bauds
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 €

Message par meridian » 15 avr. 2016 21:07

ça y est, j'ai enfin testé le câble et ça marche nickel avec le E500 :D

Par contre avec le PC-1360, quand je fais l'open sur le sharp, j'ai une Error 8
Avez-vous une idée ?

Avatar de l’utilisateur
ManiB
Fonctionne à 75 bauds
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 €

Message par ManiB » 20 avr. 2016 00:24

meridian a écrit :ça y est, j'ai enfin testé le câble et ça marche nickel avec le E500 :D

Par contre avec le PC-1360, quand je fais l'open sur le sharp, j'ai une Error 8
Avez-vous une idée ?
Hello meridian,
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.

Avatar de l’utilisateur
ManiB
Fonctionne à 75 bauds
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 €

Message par ManiB » 20 avr. 2016 00:31

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

Avatar de l’utilisateur
meridian
Fonctionne à 1200 bauds
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 €

Message par meridian » 20 avr. 2016 10:46

Hi Manfred,
Thank you I will try with your parameters :D

Répondre

Revenir vers « Tous les Pockets »