caramoan tour package

caramoan tour package

Author Topic: PICKIT 2 >>  (Read 2823 times)

Offline graSS

  • Lead Acid Battery
  • *******
  • Posts: 691
  • Pogi/Ganda Points: 26
  • "High"
PICKIT 2 >>
« on: September 07, 2008, 06:18:55 AM »






eto yung PICkit 2 starter kit ko in action... salamat ng marami sa tutorial ni SIR PARANZ dami ko natutunan..
mga sir ano po gagamitin na command sa Hi Tech C kc ito gus2 ko gawin: bali assign ko input isang port tapos kada pindot ng button mg.iiba iba ung output ng LED, may bibilis ang scrowling, hihina or blinking.. ELSE command po b??? TNX in advance sa sasagot hehehe  ;D "FLY HIGH NOYPI"  ;D

Philippine Electronics Forum

PICKIT 2 >>
« on: September 07, 2008, 06:18:55 AM »

Offline graSS

  • Lead Acid Battery
  • *******
  • Posts: 691
  • Pogi/Ganda Points: 26
  • "High"
PICKIT 2 >>
« Reply #1 on: September 07, 2008, 06:22:24 AM »






eto yung PICkit 2 starter kit ko in action... salamat ng marami sa tutorial ni SIR PARANZ dami ko natutunan..
mga sir ano po gagamitin na command sa Hi Tech C kc ito gus2 ko gawin: bali assign ko input isang port tapos kada pindot ng button mg.iiba iba ung output ng LED, may bibilis ang scrowling, hihina or blinking.. ELSE command po b??? TNX in advance sa sasagot hehehe   "FLY HIGH NOYPI" 

Philippine Electronics Forum

PICKIT 2 >>
« Reply #1 on: September 07, 2008, 06:22:24 AM »

Offline graSS

  • Lead Acid Battery
  • *******
  • Posts: 691
  • Pogi/Ganda Points: 26
  • "High"
PICKIT 2 >>
« Reply #2 on: September 07, 2008, 06:40:14 AM »

Philippine Electronics Forum

PICKIT 2 >>
« Reply #2 on: September 07, 2008, 06:40:14 AM »

Offline Kaizer03

  • Nuclear Reactor
  • ****
  • Posts: 4849
  • Pogi/Ganda Points: 225
  • C#<-->Android<-->Java
    • PhilRobotics
Re: PICKIT 2 >>
« Reply #3 on: September 07, 2008, 06:53:21 AM »
kainggit.. kano yan? ^_^

hehe

sir pede po ang IF-else statement pero dedepende pa rin po yan sa gusto nyong mangyari ^^

parang

while(1);
{
 PORTB=counter;

 if (PORTA.RA==0)
 {
  counter+=1;
  delayMs(50);
 }
}

ehhe tama ba?  :o parang trying hard na ako wahehhe  ;D ;D ;D

kung bibilis naman ang output or pagblink nya.. pede ka magset ng variable para sa time delay nya..

 ;D ;D ;D 
Lend a hand for those who are in need!=)

Stop Hijacking!=) More Technical Posts!=)
 ;)

Kaizer Killer EX Pre-Alpha

Philippine Electronics Forum

Re: PICKIT 2 >>
« Reply #3 on: September 07, 2008, 06:53:21 AM »

Offline graSS

  • Lead Acid Battery
  • *******
  • Posts: 691
  • Pogi/Ganda Points: 26
  • "High"
Re: PICKIT 2 >>
« Reply #4 on: September 07, 2008, 07:12:35 AM »
kainggit.. kano yan? ^_^

hehe

sir pede po ang IF-else statement pero dedepende pa rin po yan sa gusto nyong mangyari ^^

parang

while(1);
{
 PORTB=counter;

 if (PORTA.RA==0)
 {
  counter+=1;
  delayMs(50);
 }
}

ehhe tama ba?  :o parang trying hard na ako wahehhe  ;D ;D ;D

kung bibilis naman ang output or pagblink nya.. pede ka magset ng variable para sa time delay nya..

 ;D ;D ;D 



hehehe P 2,560.00  bili ko nito...  1 PIC 16F690 included.. try ko program kagabi base lng dun sa tutorial ni sir paranz bout 16F84a... effective nman... cge sir try ko yang tip mo... simulate ko rin sa proteus kng gagana..

Philippine Electronics Forum

Re: PICKIT 2 >>
« Reply #4 on: September 07, 2008, 07:12:35 AM »

Offline Kaizer03

  • Nuclear Reactor
  • ****
  • Posts: 4849
  • Pogi/Ganda Points: 225
  • C#<-->Android<-->Java
    • PhilRobotics
Re: PICKIT 2 >>
« Reply #5 on: September 07, 2008, 07:54:52 AM »
hehe kulang po yan saka counter po yan.. heheh ^_^

nagagawa ako kanina para jan sa gusto mo kaso ehehhe may gagawin pa ako eh.. sayang, naclose ko na rin proteus ko... ^_^ goodluck na lang ^^

gawa ka po ng function prototype sa delay.. para macontrol mo yung speed ng output..  ;D ;D ;D
Lend a hand for those who are in need!=)

Stop Hijacking!=) More Technical Posts!=)
 ;)

Kaizer Killer EX Pre-Alpha

Offline drx2k

  • Size D Battery
  • ******
  • Posts: 326
  • Pogi/Ganda Points: 15
  • Gender: Male
    • Drx2k Network
Re: PICKIT 2 >>
« Reply #6 on: September 07, 2008, 05:05:14 PM »


hehehe P 2,560.00  bili ko nito...  1 PIC 16F690 included.. try ko program kagabi base lng dun sa tutorial ni sir paranz bout 16F84a... effective nman... cge sir try ko yang tip mo... simulate ko rin sa proteus kng gagana..

saan nyo po nabili yung pickit2?

Offline graSS

  • Lead Acid Battery
  • *******
  • Posts: 691
  • Pogi/Ganda Points: 26
  • "High"
Re: PICKIT 2 >>
« Reply #7 on: September 07, 2008, 05:50:09 PM »
hehe kulang po yan saka counter po yan.. heheh ^_^

nagagawa ako kanina para jan sa gusto mo kaso ehehhe may gagawin pa ako eh.. sayang, naclose ko na rin proteus ko... ^_^ goodluck na lang ^^

gawa ka po ng function prototype sa delay.. para macontrol mo yung speed ng output..  ;D ;D ;D



cge sir kng may nagawa ka paturo pakipost d2 hehehe...  ;D

Offline graSS

  • Lead Acid Battery
  • *******
  • Posts: 691
  • Pogi/Ganda Points: 26
  • "High"
Re: PICKIT 2 >>
« Reply #8 on: September 07, 2008, 05:54:03 PM »
saan nyo po nabili yung pickit2?



sa nipahut ko 2 nabili... visit mo na lng link na ito http://nipahut.com.ph/

Offline Kaizer03

  • Nuclear Reactor
  • ****
  • Posts: 4849
  • Pogi/Ganda Points: 225
  • C#<-->Android<-->Java
    • PhilRobotics
Re: PICKIT 2 >>
« Reply #9 on: September 08, 2008, 03:12:26 AM »
hehe hindi ko sya natapos.. inantok na rin ako kasi kahapon eh.. hehehe

tingnan ko kung magagawa ko pa sya..  ;D ;D ;D
Lend a hand for those who are in need!=)

Stop Hijacking!=) More Technical Posts!=)
 ;)

Kaizer Killer EX Pre-Alpha

Offline graSS

  • Lead Acid Battery
  • *******
  • Posts: 691
  • Pogi/Ganda Points: 26
  • "High"
Re: PICKIT 2 >>
« Reply #10 on: September 08, 2008, 05:54:05 AM »
hehe... ok sir! gawa din ako! kelangan lng tlaga practice sa programming... @ tmang gabay hehehe  ;D

Offline maldihtah13

  • Technical People
  • Nuclear Reactor
  • *****
  • Posts: 4674
  • Pogi/Ganda Points: 120
  • Gender: Female
  • Everyday is a learning process so try to learn ;D
    • Blogspot
Re: PICKIT 2 >>
« Reply #11 on: September 08, 2008, 08:20:43 AM »
Ako sa microchipdirect bumili ng pickit2 without the development board. Sabi sa ibang thread papalitan daw ng microchip if nasira kya better safe than sory.

Offline fantom_mayonaise

  • Size D Battery
  • ******
  • Posts: 482
  • Pogi/Ganda Points: 30
Re: PICKIT 2 >>
« Reply #12 on: September 08, 2008, 09:51:01 AM »
I also got my PICKIT2 from Nipa Hut, along with the mariposa board.

Nagsisimula na ding maglaro. :D Mas maganda yung physical LEDS na nagbiblink hehehe. Ambabaw ko daw sabi ng pamangkin ko.

Offline marcelino

  • Moderator
  • Solar Power Satellite
  • *****
  • Posts: 6028
  • Pogi/Ganda Points: 258
  • ...keep moving forward! - Robinson's
Re: PICKIT 2 >>
« Reply #13 on: September 08, 2008, 10:54:43 AM »
Ako sa microchipdirect bumili ng pickit2 without the development board. Sabi sa ibang thread papalitan daw ng microchip if nasira kya better safe than sory.

may nabasa naman ako sa isang forum na di naman daw pinapalitan ang pickit2... ang sigurado ko na pinapalitan ay ang ICD2 (naprove ko na to, hehee). kahit daw, ilang beses mo masira, panay din naman ang palit nila.
pero sana, palitan din uli nila kung masira ang pickit2, kasi yung pickit2 ko, galing sa microchipdirect mismo. hehehe ;D
"Don't take life seriously. After all, no one has ever come out of it alive. -Bugs Bunny"

Offline graSS

  • Lead Acid Battery
  • *******
  • Posts: 691
  • Pogi/Ganda Points: 26
  • "High"
Re: PICKIT 2 >>
« Reply #14 on: September 08, 2008, 01:47:28 PM »
paano po ung programming ng PICf690 pra mgblink?? parehas lng din b nung sa 16f84a??? natry ko pa lng kc ung binary count 1-15 hehe...

Offline marcelino

  • Moderator
  • Solar Power Satellite
  • *****
  • Posts: 6028
  • Pogi/Ganda Points: 258
  • ...keep moving forward! - Robinson's
Re: PICKIT 2 >>
« Reply #15 on: September 08, 2008, 02:58:37 PM »
paano po ung programming ng PICf690 pra mgblink?? parehas lng din b nung sa 16f84a??? natry ko pa lng kc ung binary count 1-15 hehe...

pareho lang yan... magakakaiba lang sa mga fuses yan.
pero yung I/O setups parehas lang.
"Don't take life seriously. After all, no one has ever come out of it alive. -Bugs Bunny"

Offline graSS

  • Lead Acid Battery
  • *******
  • Posts: 691
  • Pogi/Ganda Points: 26
  • "High"
Re: PICKIT 2 >>
« Reply #16 on: September 08, 2008, 03:41:09 PM »
pareho lang yan... magakakaiba lang sa mga fuses yan.
pero yung I/O setups parehas lang.




ganun po b... kc ng try ako simulate sa Proteus ayaw mgblink nung LED hehe try ko na lng ulit.. la na b kelangan na econfigure?? ung mga PIC na may ADC kelangan pa b e configure ang port nun pra gumana at paano ung command nun??
ganda kc simulation sa Proteus 1st...

Offline maldihtah13

  • Technical People
  • Nuclear Reactor
  • *****
  • Posts: 4674
  • Pogi/Ganda Points: 120
  • Gender: Female
  • Everyday is a learning process so try to learn ;D
    • Blogspot
Re: PICKIT 2 >>
« Reply #17 on: September 08, 2008, 03:49:59 PM »


ganun po b... kc ng try ako simulate sa Proteus ayaw mgblink nung LED hehe try ko na lng ulit.. la na b kelangan na econfigure?? ung mga PIC na may ADC kelangan pa b e configure ang port nun pra gumana at paano ung command nun??
ganda kc simulation sa Proteus 1st...

ung mga may adc ksi kalimitan kailangan mo ideclare na digital lahat ng ports pra di ka mahirapan paggamit

Offline marcelino

  • Moderator
  • Solar Power Satellite
  • *****
  • Posts: 6028
  • Pogi/Ganda Points: 258
  • ...keep moving forward! - Robinson's
Re: PICKIT 2 >>
« Reply #18 on: September 08, 2008, 04:04:47 PM »

ganun po b... kc ng try ako simulate sa Proteus ayaw mgblink nung LED hehe try ko na lng ulit.. la na b kelangan na econfigure?? ung mga PIC na may ADC kelangan pa b e configure ang port nun pra gumana at paano ung command nun??
ganda kc simulation sa Proteus 1st...

sa ccs:

Code: [Select]
#include <16F690.h>


#FUSES NOWDT                    //No Watch Dog Timer
#FUSES HS                       //High speed Osc (> 4mhz for PCM/PCH) (>10mhz for PCD)
#FUSES NOPROTECT                //Code not protected from reading
#FUSES BROWNOUT                 //Reset when brownout detected
#FUSES MCLR                     //Master Clear pin enabled
#FUSES NOCPD                    //No EE protection
#FUSES NOPUT                    //No Power Up Timer
#FUSES IESO                     //Internal External Switch Over mode enabled
#FUSES FCMEN                    //Fail-safe clock monitor enabled

#use delay(clock=4000000)

void main()
{
   while(true){
      delay_ms(500);
      output_high(pin_c0);
      delay_ms(500);
      output_low(pin_c0);
   } 
}


yung pin_c0 will blink with interval of 0.5s.
"Don't take life seriously. After all, no one has ever come out of it alive. -Bugs Bunny"

Offline graSS

  • Lead Acid Battery
  • *******
  • Posts: 691
  • Pogi/Ganda Points: 26
  • "High"
Re: PICKIT 2 >>
« Reply #19 on: September 08, 2008, 04:11:57 PM »
sa ccs:

Code: [Select]
#include <16F690.h>


#FUSES NOWDT                    //No Watch Dog Timer
#FUSES HS                       //High speed Osc (> 4mhz for PCM/PCH) (>10mhz for PCD)
#FUSES NOPROTECT                //Code not protected from reading
#FUSES BROWNOUT                 //Reset when brownout detected
#FUSES MCLR                     //Master Clear pin enabled
#FUSES NOCPD                    //No EE protection
#FUSES NOPUT                    //No Power Up Timer
#FUSES IESO                     //Internal External Switch Over mode enabled
#FUSES FCMEN                    //Fail-safe clock monitor enabled

#use delay(clock=4000000)

void main()
{
   while(true){
      delay_ms(500);
      output_high(pin_c0);
      delay_ms(500);
      output_low(pin_c0);
   } 
}


yung pin_c0 will blink with interval of 0.5s.


try ko mamaya sir pg.uwi... tnx pla...  how about ung PIC na may ADC paano econfigure ang mga port nun??? pogit pt. sau sir!!

Philippine Electronics Forum

Re: PICKIT 2 >>
« Reply #19 on: September 08, 2008, 04:11:57 PM »

 

Privacy Policy

Contact Us: elabph@yahoo.com