Bonjour,
je suis actuellement en pleine construction d'une machine à diluer et je m'attaque à la programmation !
Le problème, c'est que j'ai énormément de mal à faire fonctionner le clavier !
Un ami m'a parlé que les macros du clavier fournis par Flowcode ne permettent pas de faire fonctionner le clavier physique mais uniquement le simulé.
Ce que je souhaite faire, c'est acquérir trois données (la concentration de la solution mère, la concentration souhaitée pour la solution fille et le volume souhaité pour cette dernière), afin que la machine fasse les calculs nécessaires pour faire tourner les deux pompes péristaltiques à un certain rythme.
Pourriez vous m'indiquer comment pourrais-je faire ?
Pour infos :
La machine
- Une carte à PICMicros équipé d'un Microship 16F1937
- Un écran LCD
- Le fameux clavier (EB014-00-1)
- Une carte à relais pour commander les moteurs des pompes péristaltiques.
- Des débitmètres à impulsions connectés directement à la carte (on verra plus tard pour cela !)
J'utilise Flowcode v4 For PICMicros
N'hésitez surtout pas à me demander si vous voulez des infos supplémentaires !
Merci d'avance,
romino537.
Merci d'avance
Utilisation d'un Keypad
Moderator: Benj
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Utilisation d'un Keypad
Bonjour,
Je ne connais aucun problème avec le clavier en cours d'exécution sur le matériel. Pouvez-vous poster votre programme jusqu'à présent et dire quels problèmes spécifiques que vous rencontrez avec le clavier?
Hello,
I'm not aware of any problems with the keyboard running on hardware. Can you post your program so far and say what specific problems you are having with the keyboard?
Je ne connais aucun problème avec le clavier en cours d'exécution sur le matériel. Pouvez-vous poster votre programme jusqu'à présent et dire quels problèmes spécifiques que vous rencontrez avec le clavier?
Hello,
I'm not aware of any problems with the keyboard running on hardware. Can you post your program so far and say what specific problems you are having with the keyboard?
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Re: Utilisation d'un Keypad
Benj wrote:Bonjour,
Je ne connais aucun problème avec le clavier en cours d'exécution sur le matériel. Pouvez-vous poster votre programme jusqu'à présent et dire quels problèmes spécifiques que vous rencontrez avec le clavier?
Hello,
I'm not aware of any problems with the keyboard running on hardware. Can you post your program so far and say what specific problems you are having with the keyboard?
Hello and thanks for your aswer,
The problem is that I'm not sure that my program which run on Flowcode can run on hardware and for me, my program looks to be verry heavy, just to acquire 3 or 4 characters ...
I'll post you the program tomorow (french hour GMT+1).
Thanks again
Have a nice evening,
romino537
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Utilisation d'un Keypad
Hello,
Ok post the file when you have it available and we will have a look for you.
This example on the Wiki may be useful for you as it uses a Keypad and a circular buffer to allow you to enter a multi digit code for an alarm / entry system.
http://www.matrixtsl.com/wikiv7/index.p ... try_System
Ok post the file when you have it available and we will have a look for you.
This example on the Wiki may be useful for you as it uses a Keypad and a circular buffer to allow you to enter a multi digit code for an alarm / entry system.
http://www.matrixtsl.com/wikiv7/index.p ... try_System
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Re: Utilisation d'un Keypad
Hello,Benj wrote:Hello,
Ok post the file when you have it available and we will have a look for you.
This example on the Wiki may be useful for you as it uses a Keypad and a circular buffer to allow you to enter a multi digit code for an alarm / entry system.
http://www.matrixtsl.com/wikiv7/index.p ... try_System
please follow this link to download my program
https://share.orange.fr/#hOsNOls78i254daf4187
Tell me what do you think about this
Have a nice day,
romino537
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Utilisation d'un Keypad
Hello Romino,
You can attached Flowcode projects directly to the forum post by using the upload attachment tab when posting a reply. It is located below the reply text field.
Here is your file, What exactly do you want your program to do?
You can attached Flowcode projects directly to the forum post by using the upload attachment tab when posting a reply. It is located below the reply text field.
Here is your file, What exactly do you want your program to do?
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Re: Utilisation d'un Keypad
Thanks for your help.Benj wrote:Hello Romino,
You can attached Flowcode projects directly to the forum post by using the upload attachment tab when posting a reply. It is located below the reply text field.
Here is your file,
Have you read my program ?
Thanks you again,
romino537
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Utilisation d'un Keypad
I've had a look but wasn't sure exactly what it should be doing.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Re: Utilisation d'un Keypad
That I want :Benj wrote:I've had a look but wasn't sure exactly what it should be doing.
Collect 3 datas by the Keypad :
- The concentration of the initial product.
- The quantitiy which is wanted for the final products
- The concentration wanted for the final product
With these datas, I'll do some calculations to master my pumps' speed.
Do you see aproxymately what my machine should do ?