Search found 260 matches

by Dan81
Fri May 02, 2014 7:41 am
Forum: Flowcode V5
Topic: mcp3421 why not? help!
Replies: 2
Views: 3674

Re: mcp3421 why not? help!

hello Simonh

Change
- the quartz frequency to 19.66MHz (Build\ Project option)
- Hardware in the properties of the I2C components

Add an "I2C init" Macro before the loop.


Daniel
by Dan81
Mon Apr 21, 2014 10:34 am
Forum: Programming Tips & Tricks
Topic: 3C : LCD I2C
Replies: 31
Views: 61082

Re: 3C : LCD I2C

Hello Milek

I've modified the flowchart for AVR and Flowcode5.
It seems to be OK in simulation , but I can't test it in real .

You will have to modify the chip configuration and quartz frequency.

Daniel
by Dan81
Thu Mar 13, 2014 9:16 am
Forum: Programming Tips & Tricks
Topic: 3C : LCD I2C
Replies: 31
Views: 61082

Re: 3C : LCD I2C

Hello Milek Customisation was made for Flowcode v4 (different with Flowcode v5). Connections to portB are not really made (it is a I2C bus) . You can move connections to "unconnected" and the compilation will be OK with Flowcode4. If you can manage a LCD with C code, it is enough easy to manage it t...
by Dan81
Sun Sep 01, 2013 3:46 pm
Forum: Forums d'aide en français
Topic: RS232 Master et Multiple Slaves??
Replies: 2
Views: 3764

Re: RS232 Master et Multiple Slaves??

Salut Christian c'est peut etre possible, mais il faudrait que tu precises davantage. Si le maitre ne fait que emettre et les esclaves que recevoir : c'est oui (aussi bien en 0/5V ou */-12V) Si c'est un "vrai" bus c-a-d emission et reception de tous c'est peut etre faisable avec un interfacage type ...
by Dan81
Mon May 13, 2013 7:25 pm
Forum: Programming Tips & Tricks
Topic: 3C : LCD I2C
Replies: 31
Views: 61082

Re: 3C : LCD I2C

Hello Bercioiu

This custom code is for Flowcode 4.

Daniel
by Dan81
Sun May 05, 2013 10:46 am
Forum: Programming Tips & Tricks
Topic: 3C : LCD I2C
Replies: 31
Views: 61082

Re: 3C : LCD I2C

Hello Bercioiu

It is (quite) the same schematic.
Image3.jpg
Image3.jpg (18.61 KiB) Viewed 44623 times
The macro "OUT7" was a project , it is empty (sorry).

Daniel
by Dan81
Fri May 03, 2013 3:27 pm
Forum: Programming Tips & Tricks
Topic: 3C : LCD I2C
Replies: 31
Views: 61082

Re: 3C : LCD I2C

Hello Bercioiu

The same flowchart as above but with a PCF8574A.

Daniel
by Dan81
Thu Apr 11, 2013 3:49 pm
Forum: Forums d'aide en français
Topic: CABLAGE LCD AVEC PIC 18F2550
Replies: 16
Views: 14941

Re: CABLAGE LCD AVEC PIC 18F2550

Bonjour

quel carte micro utilises tu ?
Y a t il coherence entre le 19.66 MHz et la valeur dans "configurer puce"

de plus dans ta config ton chien de garde est validé !

Daniel
by Dan81
Thu Apr 11, 2013 11:55 am
Forum: Forums d'aide en français
Topic: CABLAGE LCD AVEC PIC 18F2550
Replies: 16
Views: 14941

Re: CABLAGE LCD AVEC PIC 18F2550

salut

ton µP est il bien configuré ? (poste ton prog)
peux tu verifer si les signaux arrivent sur le LCD (à l'oscillo).

Daniel
by Dan81
Wed Apr 10, 2013 4:57 pm
Forum: Forums d'aide en français
Topic: CABLAGE LCD AVEC PIC 18F2550
Replies: 16
Views: 14941

Re: CABLAGE LCD AVEC PIC 18F2550

Bonjour

La broche3 (VO) est le contraste, elle est connectée au curseur d'un potentiometre (alimenté entre 0 et 5v).

L'afficheur est il complement vierge ou vois tu des rectangles noirs à la place des caracteres ,

Daniel
by Dan81
Wed Apr 10, 2013 1:23 pm
Forum: Forums d'aide en français
Topic: CABLAGE LCD AVEC PIC 18F2550
Replies: 16
Views: 14941

Re: CABLAGE LCD AVEC PIC 18F2550

bonjour

est ce la bonne doc ?

Daniel
by Dan81
Sat Apr 06, 2013 7:28 pm
Forum: Forums d'aide en français
Topic: acquisition de touches
Replies: 1
Views: 3394

Re: acquisition de touches

Bonjour Yann

Peux tu poster ton algo pour afin de voir le probleme.

Y a t il des resistances de pull up (ou down) sur ta carte ?

Daniel
by Dan81
Wed Mar 20, 2013 8:35 pm
Forum: Forums d'aide en français
Topic: Programmer un PIC pour un marqueur de point
Replies: 4
Views: 4659

Re: Programmer un PIC pour un marqueur de point

Bonsoir

Pour envoyer le programme , il suffit de cliquer sue l'icone "compiler vers puce" (tout a fait a droite)

Pense a configurer le µP : menu : Puce \ configurer

Daniel
by Dan81
Wed Mar 20, 2013 4:56 pm
Forum: Flowcode V4
Topic: Servo on PIC18F87k22
Replies: 2
Views: 3557

Re: Servo on PIC18F87k22

Hello Etillol

I think there is a little bug in Flowcode.
If you put only 1 channel , it doesn't work.
Put 2 channels and it should be OK.

Daniel
by Dan81
Wed Mar 20, 2013 4:47 pm
Forum: Forums d'aide en français
Topic: Programmer un PIC pour un marqueur de point
Replies: 4
Views: 4659

Re: Programmer un PIC pour un marqueur de point

Bonjour

tu peux telecharger la version de demo ici : http://www.matrixmultimedia.com/lc_index.php?p=25

sinon ton lycee doit avoir une licence pour ce produit

Daniel
by Dan81
Tue Mar 05, 2013 9:22 am
Forum: Forums d'aide en français
Topic: Informations sur ECIO 28P
Replies: 1
Views: 3110

Re: Informations sur ECIO 28P

Bonjour

La version Pic est alimentée en 5V (voir http://www.matrixmultimedia.com/ecio.php) .
Pour la commande du relais, personnellement je mettrai un transistor (à cause de l'effet inductif)
Un Pic peut delivrer ou absorber 25mA, voir la resistance de ton relais.

Daniel
by Dan81
Sun Feb 24, 2013 6:49 pm
Forum: Forums d'aide en français
Topic: PIC18F1330 comment utiliser 3 PWM avec FC4??
Replies: 2
Views: 4013

Re: PIC18F1330 comment utiliser 3 PWM avec FC4??

salut Christian

Voila une base de depart avec du code C.

Daniel
by Dan81
Thu Feb 07, 2013 8:22 pm
Forum: Forums d'aide en français
Topic: INT avec un 16F688
Replies: 5
Views: 5009

Re: INT avec un 16F688

salut

regarde ton PM

Daniel
by Dan81
Thu Feb 07, 2013 11:22 am
Forum: Forums d'aide en français
Topic: INT avec un 16F688
Replies: 5
Views: 5009

Re: INT avec un 16F688

bonjour Arsene

pour joindre l'algo, lorsque tu tapes ta reponse tu as un onglet "upload attachement"

Daniel

PS : je viens de faire un test simple sous proteus et la simu fonctionne.
by Dan81
Wed Feb 06, 2013 5:32 pm
Forum: Forums d'aide en français
Topic: INT avec un 16F688
Replies: 5
Views: 5009

Re: INT avec un 16F688

Bonjour

Parles tu de l'interruption INT ou PortChange ?
RA2 (equivalent à RB0 sur d'autres pic) peut avoir les "2" fonctions .

si tu peux, poste un algo reduit au probleme.

Daniel
by Dan81
Thu Jan 31, 2013 9:01 pm
Forum: Forums d'aide en français
Topic: RS232 Send TX et Receive RX??
Replies: 3
Views: 4296

Re: RS232 Send TX et Receive RX??

salut Christian

Peux tu tester les 2 versions simplifiées ?
Les RX TX sont ils bien croisés ! (la masse est elle connectée) :oops:
Pour le test tu n'as pas besoin d'interface.
Donne un coup d'oeil avec un oscillo sur le TX emetteur et sur la broche RX du recepteur et verifie le debit.

Daniel
by Dan81
Sat Jan 05, 2013 4:55 pm
Forum: General Programming
Topic: Vref Voltage
Replies: 4
Views: 3405

Re: Vref Voltage

Hello Steve If the current can be >0 and <0, Vout will be in the range [1.25V ; 3.75V ]. I don't think it is useful to use Vref+ pin and/or Vref- pin (Vref is not a pin , just a value). The 2 advantages of using a voltage reference are : - no noise on Vref (take a look at the Pic VDD with an oscillo...
by Dan81
Sat Jan 05, 2013 2:41 pm
Forum: General Programming
Topic: Vref Voltage
Replies: 4
Views: 3405

Re: Vref Voltage

Hello Steve Vref+ (RA3) (and Vref-(RA2)) are inputs. Generally , the range is [0V;5V], you can modify ADCON1 register and choose your range. But Vref+ must be greater than 2.5V Vref- must be lower than 2V and Vref =(Vref+) - (Vref-) must be greater than 2V see figure 4-1 and table 17-14 of 16F877A d...
by Dan81
Fri Jan 04, 2013 6:41 pm
Forum: Forums d'aide en français
Topic: PIC en mode « sleep » (power down)??
Replies: 13
Views: 11437

Re: PIC en mode « sleep » (power down)??

regarde ton PM
by Dan81
Tue Jan 01, 2013 7:53 pm
Forum: Flowcode V4
Topic: Flowcode4 : an another problem with custom component
Replies: 3
Views: 4197

Re: Flowcode4 : an another problem with custom component

Bonjour Alain Ouvre ton fichier PIC_custom.c" 1- Comme le dit Kersing : ligne 1215 : remplace : "x_an0=tact_anX()" par "x_an0=FCD_Custom0_tact_anX() et 1216 : idem Je ne sais pas pourquoi cela ne se rajoute pas automatiquement !! 2- lignes 141 à 143 ; Remplace "unsigned int" par "short" Lors de l'ed...