LCD PIC based Dual Voltmetar Ampermetar 0-40 V 0-4 A

Instrumenti

Moderators: stojke369, pedja089, [eDo], trax

LCD PIC based Dual Voltmetar Ampermetar 0-40 V 0-4 A

Postby Khaderah » 07-12-2012, 20:51

Još jedan od panel metara
Baziran na PIC 16F887
s linka
http://kentar.net63.net/pic--voltmeter-ammeter-.html
pločica malo obrađena

Image
Image
Image
Image
Image
Image
Image
Image
User avatar
Khaderah
 
Posts: 919
Joined: 17-04-2012, 16:10
Location: Zagreb, Hrvatska

Re: LCD PIC based Dual Voltmetar Ampermetar 0-40 V 0-4 A


Re: LCD PIC based Dual Voltmetar Ampermetar 0-40 V 0-4 A

Postby LordZi » 08-12-2012, 10:46

Super si to napravio, uzdravlje da se sluzis... :wink:
Zanimaju me nekoliko stvari - kakva je preciznost merenja, dali je prikazivanje stabilno, t.j. dali brojke igraju gore-dole, posebno na ampermetru?
Pitam jer sam pravio nesto veoma slicno ovome samo sa 16F877 i prikazivanje struje iznad 0,5-0,6A je bilo nestabilno, brojke su se celo vreme vrtele oko neke srednje vrednosti, ispod toga je bilo OK...
LordZi
 
Posts: 31
Joined: 06-05-2010, 10:54

Re: LCD PIC based Dual Voltmetar Ampermetar 0-40 V 0-4 A

Postby Khaderah » 08-12-2012, 10:53

Pokazivanje je dosta stabilno, nema skakanja brojki, točnost je ok
ustalom za podešenja imaš 10K trimere samo trebaš dobar instrument za kalibraciju
po mogučnosti analogni, na slikama sam spojio malu bušilicu
napravim još testova pa postam
User avatar
Khaderah
 
Posts: 919
Joined: 17-04-2012, 16:10
Location: Zagreb, Hrvatska

Re: LCD PIC based Dual Voltmetar Ampermetar 0-40 V 0-4 A

Postby baltazar » 11-12-2012, 12:04

Da li meri i negativne napone, tj. da li moze da se koristi u simetricnim izvorima napajanja.
User avatar
baltazar
 
Posts: 22
Joined: 10-05-2009, 11:55

Re: LCD PIC based Dual Voltmetar Ampermetar 0-40 V 0-4 A

Postby Khaderah » 11-12-2012, 12:54

Čim stigne TLV
http://www.ruggedcircuits.com/html/circuit__14.html

isprobam jednu granu složiti za mjerenje negativnog napona
pošto je autor ustupio source code
User avatar
Khaderah
 
Posts: 919
Joined: 17-04-2012, 16:10
Location: Zagreb, Hrvatska

Re: LCD PIC based Dual Voltmetar Ampermetar 0-40 V 0-4 A

Postby Khaderah » 14-12-2012, 08:47

Testovi s ref izvorom.

Image
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image
User avatar
Khaderah
 
Posts: 919
Joined: 17-04-2012, 16:10
Location: Zagreb, Hrvatska

Re: LCD PIC based Dual Voltmetar Ampermetar 0-40 V 0-4 A

Postby Maki » 14-12-2012, 09:34

Bok !
Imam jedno pitanje . A to je vidim kako na prvim slikama ispod napona prikazuje struju dok na ovim novim prikazuje unakrsno tj. gore lijevo napon a dolje desno struju . Dal se to moze birat il ? Inace plocica ti je ispala super , nikak da i ja krenem u izradu takvog projekta ...
Maki
 
Posts: 766
Joined: 02-07-2012, 12:54

Re: LCD PIC based Dual Voltmetar Ampermetar 0-40 V 0-4 A

Postby Khaderah » 14-12-2012, 09:47

Svaki ulaz je neovisan, možeš spajati kako ti odgovara , ja sam spojio tako jer su mi žice bile prekratke :ohno:
User avatar
Khaderah
 
Posts: 919
Joined: 17-04-2012, 16:10
Location: Zagreb, Hrvatska

Re: LCD PIC based Dual Voltmetar Ampermetar 0-40 V 0-4 A

Postby LordZi » 15-06-2013, 19:08

@Khaderah,
mozes li mi molim te skicirati kako si vezao potrosac da bi merio napon i struju istovremeno, prikazivanje napona radi super, ali za struju mi daje 10 puta umanjenu vrednost, pr. za 1,5A na displeju se ispisuje 0,15A. Otpornici u krugu LM358 su ispravnih vrednosti, proverio sam, potrosac je vezan prema slici:

Image

Interesantno je sto kad vezem izvor direktno kao na sledecoj slici (znaci sa obrnutim polaritetom) i nista nije prikljuceno na ulaz za napon, tacno prikazuje struju kratkog spoja:

Image

Isto tako cemu sluzi jumper (prepostavljam da je jumper) obelezen belim krugom na slikama ...?
LordZi
 
Posts: 31
Joined: 06-05-2010, 10:54

Re: LCD PIC based Dual Voltmetar Ampermetar 0-40 V 0-4 A

Postby Khaderah » 16-06-2013, 19:39

Shema spoja obrati pozornost na polaritet
Attachments
meter.jpg
meter.jpg (11.99 KiB) Viewed 5601 times
User avatar
Khaderah
 
Posts: 919
Joined: 17-04-2012, 16:10
Location: Zagreb, Hrvatska

Re: Re: LCD PIC based Dual Voltmetar Ampermetar 0-40 V 0-4 A


Re: LCD PIC based Dual Voltmetar Ampermetar 0-40 V 0-4 A

Postby Khaderah » 17-06-2013, 06:47

Sad sam vidio drugi dio pitanja , to nije jumper već kond. RC za oscilator

Even though the microcontroller has a built-in oscillator, it cannot operate without external components which stabilize its operation and determine its frequency (operating speed of the microcontroller). Depending on elements in use as well as their frequencies, the oscillator can be run in four different modes:

LP - Low Power Crystal;
XT - Crystal / Resonator;
HS - High speed Crystal / Resonator; and
RC - Resistor / Capacitor.


RC mode. In RC mode, the RC circuit is connected to the OSC1 pin as shown in figure. The OSC2 pin outputs the RC oscillator frequency divided by 4. This signal may be used for calibration, synchronization or other application requirements.

Fig. 8-9 RC Mode


RCIO mode
RCIO mode. Similar to the previous case, the RC circuit is connected to the OSC1 pin. This time, the available OSC2 pin is used as additional general purpose I/O pin.

Fig. 8-10 RCIO Mode

In both cases, it is recommended to use components as shown in figure.
The frequency of such oscillator is calculated according to the formula f = 1/T in which:
f = frequency [Hz]
T = R*C = time constant [s]
R = resistor resistance [Ω]
C = capacitor capacity [F]

http://www.mikroe.com/chapters/view/9/c ... -circuits/
http://share.pdfonline.com/1aac8ca665db ... (exaamples).htm
Attachments
RC.png
RC.png (47.82 KiB) Viewed 5577 times
User avatar
Khaderah
 
Posts: 919
Joined: 17-04-2012, 16:10
Location: Zagreb, Hrvatska

Re: LCD PIC based Dual Voltmetar Ampermetar 0-40 V 0-4 A

Postby Khaderah » 17-06-2013, 06:53

Primjer

8MHz Oscillator


The EASY8051A development system has built-in oscillator used as a clock signal generator. The frequency of this oscillator is stabilized by 8Hz quartz crystal. Besides, it is also possible to select internal RC oscillator during chip programming,.
Attachments
15.gif
15.gif (21.24 KiB) Viewed 5575 times
User avatar
Khaderah
 
Posts: 919
Joined: 17-04-2012, 16:10
Location: Zagreb, Hrvatska

Re: LCD PIC based Dual Voltmetar Ampermetar 0-40 V 0-4 A

Postby LordZi » 17-06-2013, 09:05

Hm, kod mene radi i bez tog kondenzatora, napon meri super precizno na oba ulaza, a kad sam povezao potrosac prema tvojoj shemi tacno prikazuje i struju, jedino sto na displeju drugog kanala na kome nema nista povezano prikazuje neku malu struju reda 0,05A...
Koju vrednost kondenzatora si ti stavio...?
LordZi
 
Posts: 31
Joined: 06-05-2010, 10:54

Re: LCD PIC based Dual Voltmetar Ampermetar 0-40 V 0-4 A

Postby Khaderah » 17-06-2013, 09:10

Vrijednost 100 nF ( All caps 0,1) piše na pločici
Za preciznije mjerenje sam upotrijebio 0,22 Ohm/5W umjesto 0,1 Ohm/5W i podesio trimerima
Ako ulaz nije spojen , trimerom spusti na 0
User avatar
Khaderah
 
Posts: 919
Joined: 17-04-2012, 16:10
Location: Zagreb, Hrvatska

Re: LCD PIC based Dual Voltmetar Ampermetar 0-40 V 0-4 A

Postby Khaderah » 17-06-2013, 10:20

ma raditi će i bez toga kond.
ja sam ga stavio radi stabilnosti
tu inače možeš staviti push button
kao što je u postu s primjeru
User avatar
Khaderah
 
Posts: 919
Joined: 17-04-2012, 16:10
Location: Zagreb, Hrvatska


Return to Instrumenti

Who is online

Users browsing this forum: No registered users and 2 guests

GOOGLE