Exact match. Not showing close matches.
PICList
Thread
'[PIC] PIC16F684 circuit for blinking an LED using '
2009\03\16@113059
by
Fredric Dorothy
|
Hello,
I am completely new to microcontrollers, so sorry if my question is
really obvious.
I bought a PICKit2 from microchip, which came with a programmer board
and a PIC16F684. The programmer board had some LEDs on it so I set
out to write a program to flash the LEDs on and off. I was able to do
this, and the LEDs flash on and off.
After patting myself on the back, I decided to build my own circuit
(completely outside of the programmer board) that just uses the
PIC16F684 to flash an LED on and off. I was able to pick out pieces
of information online about how to do this, but I am still unsure how
the circuit should look.
So I was wondering if anyone who has experience with the chip could
tell me what the bare minimum circuit would be for getting an LED to
flash on and off using the PIC16F684. Are there any good tutorials
online for that chip?
Thanks,
Fredric
2009\03\16@115500
by
Tamas Rudnai
Hi Fredric,
There is a very good online book for PIC micro:
http://www.mikroe.com/en/books
you should read the chapter about I/O
http://www.mikroe.com/en/books/picmcubook/ch3/
and also there is an example chapter which I believe helps you (find the LED
examples in that page)
http://www.mikroe.com/en/books/picmcubook/appb/
Regards,
Tamas
On Mon, Mar 16, 2009 at 3:30 PM, Fredric Dorothy <spam_OUTfdorothyTakeThisOuT
uab.edu> wrote:
{Quote hidden}> Hello,
>
> I am completely new to microcontrollers, so sorry if my question is
> really obvious.
>
> I bought a PICKit2 from microchip, which came with a programmer board
> and a PIC16F684. The programmer board had some LEDs on it so I set
> out to write a program to flash the LEDs on and off. I was able to do
> this, and the LEDs flash on and off.
>
> After patting myself on the back, I decided to build my own circuit
> (completely outside of the programmer board) that just uses the
> PIC16F684 to flash an LED on and off. I was able to pick out pieces
> of information online about how to do this, but I am still unsure how
> the circuit should look.
>
> So I was wondering if anyone who has experience with the chip could
> tell me what the bare minimum circuit would be for getting an LED to
> flash on and off using the PIC16F684. Are there any good tutorials
> online for that chip?
>
> Thanks,
> Fredric
> -
2009\03\16@120148
by
Jan-Erik Soderholm
Fredric Dorothy wrote:
> So I was wondering if anyone who has experience with the chip could
> tell me what the bare minimum circuit would be for getting an LED to
> flash on and off using the PIC16F684. Are there any good tutorials
> online for that chip?
Check : http://www.voti.nl/blink/n_index.html
684 might not be specificaly mentioned, but use a similar...
2009\03\16@121251
by
Mark Rages
On Mon, Mar 16, 2009 at 10:30 AM, Fredric Dorothy <.....fdorothyKILLspam
@spam@uab.edu> wrote:
{Quote hidden}> Hello,
>
> I am completely new to microcontrollers, so sorry if my question is
> really obvious.
>
> I bought a PICKit2 from microchip, which came with a programmer board
> and a PIC16F684. The programmer board had some LEDs on it so I set
> out to write a program to flash the LEDs on and off. I was able to do
> this, and the LEDs flash on and off.
>
> After patting myself on the back, I decided to build my own circuit
> (completely outside of the programmer board) that just uses the
> PIC16F684 to flash an LED on and off. I was able to pick out pieces
> of information online about how to do this, but I am still unsure how
> the circuit should look.
>
> So I was wondering if anyone who has experience with the chip could
> tell me what the bare minimum circuit would be for getting an LED to
> flash on and off using the PIC16F684. Are there any good tutorials
> online for that chip?
>
> Thanks,
> Fredric
Start by duplicating the demo board. Look in the manual for the
schematic. The same code should work to blink the LED.
Next, read the datasheet for the '684.
Regards,
Mark
markrages@gmail
--
Mark Rages, Engineer
Midwest Telecine LLC
markrages
KILLspammidwesttelecine.com
2009\03\16@125905
by
Jon Chandler
Rentron has a lot of well-explained simple projects. They are oriented
towards the various flavors of PIC Basics, but include pretty good
schematics and an explanation of the hardware. Start here:
http://www.rentron.com/PicBasic1.htm
Jon
2009\03\16@140949
by
Wouter van Ooijen
> So I was wondering if anyone who has experience with the chip could
> tell me what the bare minimum circuit would be for getting an LED to
> flash on and off using the PIC16F684. Are there any good tutorials
> online for that chip?
The chip, the LED, the series resistor, and a 100nF power decoupling
capacitor. Like this http://www.voti.nl/blink/pics/b-630i-150.gif , the
elco and diode are not mandatory, and the connector to the right is for
connecting the programmer.
--
Wouter van Ooijen
-- -------------------------------------------
Van Ooijen Technische Informatica: http://www.voti.nl
consultancy, development, PICmicro products
docent Hogeschool van Utrecht: http://www.voti.nl/hvu
2009\03\16@141909
by
olin piclist
Fredric Dorothy wrote:
> So I was wondering if anyone who has experience with the chip could
> tell me what the bare minimum circuit would be for getting an LED to
> flash on and off using the PIC16F684.
Power, ground, bypass cap, 20Kohm or so pullup on MCLR, ICSP connections to
get the bits in, and use the internal oscillator.
********************************************************************
Embed Inc, Littleton Massachusetts, http://www.embedinc.com/products
(978) 742-9014. Gold level PIC consultants since 2000.
2009\03\16@144716
by
peter green
> So I was wondering if anyone who has experience with the chip could
> tell me what the bare minimum circuit would be for getting an LED to
> flash on and off using the PIC16F684.
Very little, you need a source of 5V power, and a decoupling capacitors
accross the pair of power pins on the IC. Then you will obviously need
the LED itself and a series resistor.
2009\03\16@151450
by
Benjamin Grant
yes... you literally just need to power the pic(using decoupling capacitors
as mentioned) have a resistor that puts the current in the proper range for
your led connected to an output pin on your PIC... then the resistor
connected to the led then connected to ground. If using batteries perhaps a
5 V regulator would be nice too.
On Mon, Mar 16, 2009 at 2:47 PM, peter green <.....plugwashKILLspam
.....p10link.net> wrote:
>
> > So I was wondering if anyone who has experience with the chip could
> > tell me what the bare minimum circuit would be for getting an LED to
> > flash on and off using the PIC16F684.
> Very little, you need a source of 5V power, and a decoupling capacitors
> accross the pair of power pins on the IC. Then you will obviously need
> the LED itself and a series resistor.
> -
2009\03\16@154552
by
Fredric Dorothy
That sounds a lot easier than I was making it out to be. Thanks for
the comments and links, I think I will be able to get this working
now.
-Fredric
More... (looser matching)
- Last day of these posts
- In 2009
, 2010 only
- Today
- New search...