Search found 18 matches

by francesco
Mon Jun 09, 2008 11:13 am
Forum: FLEX (closed)
Topic: Using the ADC with Flex-Scicos Toolbox
Replies: 1
Views: 2996

Re:Using the ADC with Flex-Scicos Toolbox

Hi, concerning the block ADC1 in Scicos, the PIN RC4 - AN19 is the corresponding pin in the dsPIC. This pin is located in the long pinhead connector and, looking the board with the power supply regulator at the bottom (long pinhead connector in the left side) is the 5th pin on the left beginning fro...
by francesco
Thu May 22, 2008 2:58 pm
Forum: Forum in lingua Italiana (closed)
Topic: Mancata generazione pic30.elf
Replies: 6
Views: 7569

Re:Mancata generazione pic30.elf

Ciao, sono contento per la risoluzione :-) ad essere sincero non so quali svantaggi tu possa avere nell\'utilizzare la versione 2. Però ti posso dire che a breve Evidence rilascerà una nuova versione di RT-Druid che risolverà il problema. Se nel frattempo tu dovessi incontrare delle diffico...
by francesco
Thu May 22, 2008 2:13 pm
Forum: Forum in lingua Italiana (closed)
Topic: Mancata generazione pic30.elf
Replies: 6
Views: 7569

Re:Mancata generazione pic30.elf

Ciao,

ho provato il tuo esempio per la explorer 16 e non da problemi. Quando hai installato il compilatore della Microchip?

E\' probabile che se lo hai installato recentemente ci sia un problema di path. Nel senso che RT-Druid non riesce a trovare gli eseguibili del compilatore (forse).

Francesco.
by francesco
Thu May 22, 2008 9:51 am
Forum: FLEX (closed)
Topic: Flex+Scicos+Erika !!!
Replies: 20
Views: 21926

Re:Flex+Scicos+Erika !!!

Sorry, just a remark on your schematic and my last message. Try to remove the R2 in your schematic and link the pin 6 (optocoupler) directly to +5V. Link pin 5 to a resistance that goes to gnd (you can simply move R2 from the collector to the emitter). Than the V_out (pwm output) will be pin 5. Make...
by francesco
Thu May 22, 2008 9:36 am
Forum: FLEX (closed)
Topic: Flex+Scicos+Erika !!!
Replies: 20
Views: 21926

Re:Flex+Scicos+Erika !!!

Ciao, Unfortunately this is the correct use of optoisolator, a safer approach. The use of transistors is quite regular in this applications. You have to consider that voltage isolation is a critical issue. You can still use the optocoupler led drive circuit that I sent to you (the last picture that ...
by francesco
Thu May 22, 2008 9:04 am
Forum: Forum in lingua Italiana (closed)
Topic: Mancata generazione pic30.elf
Replies: 6
Views: 7569

Re:Mancata generazione pic30.elf

Ciao,

per capire meglio cosa sta succedendo, la cartella Debug viene creata?

C\'è una patch da scaricare nella sezione Download, il problema non dovrebbe dipendere da quella ma intanto iniziamo a capire.

Francesco.
by francesco
Wed May 21, 2008 12:59 pm
Forum: FLEX (closed)
Topic: Flex+Scicos+Erika !!!
Replies: 20
Views: 21926

Re:Flex+Scicos+Erika !!!

Ok, with a p-channel fet you will obtain extactly what you want. In the diagram with the bjt you can substitute the bjt with the p-channel fet (with a lowest resistance). In this case when the PWM is high the fet is like an open circuit and the optocoupler led will be off, the optocoupler output wil...
by francesco
Wed May 21, 2008 11:03 am
Forum: FLEX (closed)
Topic: Flex+Scicos+Erika !!!
Replies: 20
Views: 21926

Re:Flex+Scicos+Erika !!!

So you want an active low PWM? I mean, when the PWM is high you want that the diode is in off state and when the PWM is low you want that the diode is emitting. Unfortunately you can not drive directly the diode from the dsPIC. This is dangerous because the maximum current that you can source or dra...
by francesco
Wed May 21, 2008 10:52 am
Forum: FLEX (closed)
Topic: TCP/IP Flex Application Note.
Replies: 0
Views: 3914

TCP/IP Flex Application Note.

Hi, this is just a remark on the application note concerning the TCP/IP application note for Flex and Multibus boards. The correct jumper position in order to run the example is: JP1 = 1-2 Jp11= 1-2 JP2, JP3, JP4 = non collegati JP5, JP6, JP7, JP8, JP9, JP10 = not connected or connected to SPI2 (JP5...
by francesco
Wed May 21, 2008 8:37 am
Forum: FLEX (closed)
Topic: Flex+Scicos+Erika !!!
Replies: 20
Views: 21926

Re:Flex+Scicos+Erika !!!

You can not drive directly the diode of the optocoupler. You will need to add a transistor, BJT or MOS. The current on the led has to be 10mA but with the dsPIC you can drain maximum 4mA. Try to match the resistance values on the base and the collector (maybe on a bread board). On the BJT transistor...
by francesco
Tue May 20, 2008 2:16 pm
Forum: FLEX (closed)
Topic: Flex+Scicos+Erika !!!
Replies: 20
Views: 21926

Re:Flex+Scicos+Erika !!!

I\'ll just pilot the other optocoupler\'s pin otherwise I\'ll have a \"NOT\" PWM Not properly, I mean that you will not have the right reference voltage. The 3.3V are 3.3V for the Flex board considering GND or GND_OUT. If you take the ground reference of the power supply GND_alim, this will be GND_...
by francesco
Mon May 19, 2008 12:28 pm
Forum: FLEX (closed)
Topic: Flex+Scicos+Erika !!!
Replies: 20
Views: 21926

Re:Flex+Scicos+Erika !!!

by francesco
Mon May 19, 2008 12:25 pm
Forum: FLEX (closed)
Topic: Flex+Scicos+Erika !!!
Replies: 20
Views: 21926

Re:Flex+Scicos+Erika !!!

Sorry, this is the image...
by francesco
Mon May 19, 2008 12:22 pm
Forum: FLEX (closed)
Topic: Flex+Scicos+Erika !!!
Replies: 20
Views: 21926

Re:Flex+Scicos+Erika !!!

Even if I use the 12V as power supply for the Flex and my power curcuit separatly, can I still use the 5V and 3.3V from the Flex for my digital devices ? No, because you will have a different ground reference. Like an example, if you use the PWM output of the Flex board (0-3.3V) you will have less ...
by francesco
Mon May 19, 2008 10:09 am
Forum: FLEX (closed)
Topic: Flex+Scicos+Erika !!!
Replies: 20
Views: 21926

Re:Flex+Scicos+Erika !!!

thank you very much. I\'m gonna do a rough calculation about the current I need for the 5V devices but I think I won\'t have more than 0.1A. ... ok What about a load of 12V-3A ? Do you think I can use the V_OUT and GND_OUT pins ? Unfortunately the V_OUT passes through the rectifier diodes, so you c...