Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

First PIC Microcontroller Program

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
8,668
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Feb 12, 2009

This is my first time using a microcontroller, I just got the Pic Kit 3. I use the Pic18F45K20 controller demo board to animate LED lights. I also use a separate pin out to control a Piezoelectric buzzer harvested from an old dial up modem. The buzzer is driven with a digital square wave: on (time delay) off (time delay).

Please let me know if I am doing anything terribly wrong. I have no idea why I need to have the Vpp/CTRL pin at V+ to make this run.

  • likes, 1 dislikes

Link to this comment:

Share to:
see all

All Comments (5)

Sign In or Sign Up now to post a comment!
  • Unlike the Pickit2 the Pickit 3 power has got to be turned on in the programmer settings, just tick the checbox and apply.

  • Vpp is also the MCLR and MCLR bit has to be high for the demo board to work... Have been trying to power the demoboard without using a breadboard but not able to.. just wondering what have you connected pin 1 to???

  • If I'm not mistaken that's a PIC24F on the Dev board that comes with the PICkit 3. I believe the Vpp pin is peripheral power, isn't it?

  • lvp is probably enabled which it is by default... It can be disabled in the configuration bits.... Look at page 313 of the datasheet

  • you'll have to clear MCLR (MCLRE)bit in config register so you wont have to power the Vpp pin to run, had me bugged too, good luck

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more