Search found 30 matches

by sygma22
Thu Sep 10, 2009 8:58 pm
Forum: Compiler
Topic: Current consumed by an motor with PWM Signal in.
Replies: 2
Views: 1811

Thanks

Thank you very much...

I will try with adc.readmedian and i will inform you the best choice.
by sygma22
Thu Sep 10, 2009 7:52 am
Forum: Compiler
Topic: Current consumed by an motor with PWM Signal in.
Replies: 2
Views: 1811

Current consumed by an motor with PWM Signal in.

reading of the current consumed by an engine crossed by a signal PWM:

Ex for has Pic18F7620 gold other 12Volts 9 Khz 50% Duty: how to use the function ADC.read or ADC.read.median….

Thank you d' avence for an answer.
by sygma22
Wed Sep 09, 2009 6:46 pm
Forum: Compiler
Topic: Motor blocked How to Read the Rise of current in the motor
Replies: 0
Views: 1616

Motor blocked How to Read the Rise of current in the motor

After having injected a frequency PWM of 9 Khz (Duty = 50 % and PIC 18F4620 For this example) to an engine. I do not know how to use ACD.read to read a difference of current the load sweats when the engine is blocked Ex: Raise pane system anti pinching. SO, How to gonfigure for this example the ADC....
by sygma22
Wed Sep 09, 2009 9:26 am
Forum: IDE
Topic: Motor blocked : how to detect the Rise of current
Replies: 1
Views: 2214

Motor blocked : how to detect the Rise of current

After having injected a frequency PWM of 9 Khz to an engine. I do not know how to use ACD.read to read a difference of current the load sweats when the engine is blocked Ex: Raise pane system anti pinching.

SO, How to gonfigure for this example the ADC.read function ?

Thanks in advance...
by sygma22
Mon Sep 07, 2009 8:18 am
Forum: Compiler
Topic: Problem with READMEAN in Interrupt
Replies: 2
Views: 1929

have tryed to put Save and restore ?

Hello, I have tryed to put Save and restore (Like page 46 of guide) with sub routine, but i have the compiler error message on line INTERRUP CLK() => Working register alocation faillure... sub MOT() ADC1 = ADC.read(0) ....for example End sub Interrupt CLK() Save(0,MOT) MOT() Restore End Interrupt
by sygma22
Sun Sep 06, 2009 3:49 pm
Forum: Compiler
Topic: Problem with READMEAN in Interrupt
Replies: 2
Views: 1929

Problem with READMEAN in Interrupt

In a Interrupt i cant Call a READMEAN because when compiled, All go wrong in my EasyPIC (No LCD Etc....).

Is anybody can Help Me.
by sygma22
Fri Feb 06, 2009 8:23 am
Forum: Compiler
Topic: Progamming EASYPIC 5 DIRECTLY With USB CONNECTION ??? &#
Replies: 2
Views: 1749

Hello !

Hello !

i Thanks you very much for your answer.
Have a good week.... :? :) :D
by sygma22
Wed Feb 04, 2009 9:32 am
Forum: Compiler
Topic: Progamming EASYPIC 5 DIRECTLY With USB CONNECTION ??? &#
Replies: 2
Views: 1749

Progamming EASYPIC 5 DIRECTLY With USB CONNECTION ??? &#

Hello,

I m would want to programming my EASYPIC 5 Board (With a 18f4620 chip) DIRECTLY from Swordfish Compiler Under USB Connection.

Can Anybody Help Me ??
Thank in advance ! :oops:
by sygma22
Wed Aug 06, 2008 1:52 pm
Forum: Modules
Topic: Calling ADC in interrupt. Block All !
Replies: 2
Views: 2372

Thanks your !

Hello, Thanks very much.

If i understand, it's force the Interrupt to Wait the include Sub....

Here Is The Simple Result :

Interrupt RTC() :)


save(0,ADC.Read)
Adc0 = ADC.Read(0)
restore

PIR1.1 = 0 ' clear interrupt flag
End Interrupt
by sygma22
Wed Aug 06, 2008 10:50 am
Forum: Modules
Topic: Calling ADC in interrupt. Block All !
Replies: 2
Views: 2372

Calling ADC in interrupt. Block All !

Hello, The program blocks completely when j' call: " Adc0 = ADC.Read (0) " in a routine d' interruption. But when I make l' call in the loop pricipale, any problem???????? for 18F4620 : Clock = 20 (PR2 = 64) -----> Int callled all the 13 us ADC.SetAcqTime(11) ADC.SetConvTime(FOSC_4) Interrupt RTC() ...
by sygma22
Sat Aug 02, 2008 10:53 pm
Forum: Modules
Topic: detection anti-pinching
Replies: 4
Views: 3242

Also Thank's, it's not have been with not courage !

Danke ![/quote]
by sygma22
Thu Jul 31, 2008 11:39 am
Forum: Modules
Topic: detection anti-pinching
Replies: 4
Views: 3242

Detection anti-pincement / sortie Moteur avec un signal PWM

Bonjour, Un signal PWM est injecté sur un moteur forcé manuellement à l'arrêt.. J'ai placé un réseau de résistance sur cette sortie moteur pour obtenir ce même PWM signal de 12 V ----> +0 - 5 Volts. Si je bloque le moteur manuellement, je dois avoir une intensité traversant la bobine du moteur (P = ...
by sygma22
Thu Jul 24, 2008 1:18 pm
Forum: Modules
Topic: detection anti-pinching
Replies: 4
Views: 3242

detection anti-pinching

Hello, J' have a problem with detection anti-pinching. A signal of 12 Volt modulated in PWM. J' placed in Parallel a small resistance network with the recovery of the tension towards the Moteur exit. I thus recover well this signal decreased with 4,7 Volts (crenels maximum) in analogical entry on A0...
by sygma22
Fri Jul 11, 2008 1:55 pm
Forum: Modules
Topic: BARGRAPH improvement.Now Easy To use every Where.........
Replies: 1
Views: 2228

Forget the Invert Function !

HEllo !

To get a DESC Bargraph Function, you just have to add at the last Parameter : MaxValue - Value sent.

For Example : Bargraph(2,1,19,Max_List,Max_List-Its) :shock: :shock:
by sygma22
Mon Jul 07, 2008 4:10 pm
Forum: Modules
Topic: BARGRAPH improvement.Now Easy To use every Where.........
Replies: 1
Views: 2228

BARGRAPH improvement.Now Easy To use every Where.........

My improvement of the help example of " Swordfish". A procedure " Baragraph " Parameterized and now easy to use: Parameters: 1) Y (ordered). 2) X (X-coordinate). 3) Resolution = Many columns. 4) Value max for Complete Bargraph. 5) Value Sent. Merry programming ..... -------------> The declaration an...