1 / 30

Welcome to: Fun with EASY-PIC 05

Welcome to: Fun with EASY-PIC 05. DSPTC - PIC Development. ---- Fun With Easy-Pic ---- Objective: Let PIC Project Make Easy . 2 Days course: 1 st Day 1) Introduction 2) Hardware 3) Software

tocho
Download Presentation

Welcome to: Fun with EASY-PIC 05

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Welcome to: Fun with EASY-PIC 05 DSPTC - PIC Development

  2. ---- Fun With Easy-Pic ---- Objective: Let PIC Project Make Easy . 2 Days course: 1st Day 1) Introduction 2) Hardware 3) Software a) FPP Installation & Run b) C2C installation & Run 4) Write your first Hello.c

  3. 2nd Day: • Objective: Build your Easy-PIC Project . • 2 to 3 person in one team. • Material Given: • 1) LED: Red, Green, Yellow. • 2) Pizo sounder • 3) Wire • 4) Card Board • Project recommendation: • Xmas Tree • advertisement • Name Tag • scanner display • Music box • Etc.

  4. Power Point for Easy-Pic: 1) Easy-Pic introduction 2) Easy-Pic Fabrication 3) FPP 4) SourceBoot

  5. Introduction of Pic

  6. What is PIC stand for ? P eripheral I nterface C ontroller

  7. Robot Washing Machine Micro wave Oven Where is PIC ?

  8. How CPU & PIC relayed ? • PIC is an one-chip microprocessor with • peripheral interface. • When comparing to the human being, the • brain is the main CPU and the PIC shares the • part of which is equivalent to the autonomic • nervous. Make control easy

  9. What are PICs look like ? PIC's are low-cost, easy to use microcontrollers from Microchip.  The 12F, 16F and 18F series, both having flash memory and the ability to be programmed "in-circuit", allows designs to be tested during the creation of the program. The examples are: 16F877, 16F876, 16F628, 16F84, 18F452, 12F675 and 12F629 12Fxx (8pins) 16Fxx (18pins) 18Fxx (20pins)

  10. Auto control Data logging Etc What can PIC do ? Games Communication Timer

  11. Eg. 16F84A Easy-Pic Use for 1st Target Easy to handle Free Software Many examples On the Web. In Circuit Serial Programming cheap

  12. 16F84A Vcc: 2 to 6V I/O Source And sink 25mA

  13. RA0 To RA4RA is a bidirectional port.  That is, it can be configured as an input or an output.  The number following RA is the bit number (0 to 4).  So, we have one 5-bit directional port where each bit can be configured as Input or Output. RB0 To RB7RB is a second bidirectional port.  It behaves in exactly the same way as RA, except there are 8 - bits involved. VSS And VDDThese are the power supply pins.  VDD is the positive supply, and VSS is the negative supply, or 0V.  The maximum supply voltage that you can use is 6V, and the minimum is 2V OSC1/CLK IN And OSC2/CLKOUTThese pins is where we connect an external clock, so that the microcontroller has some kind of timing. MCLRThis pin is used to erase the memory locations inside the PIC (i.e. when we want to re-program it).  In normal use it is connected to the positive supply rail. INTThis is an input pin which can be monitored.  If the pin goes high, we can cause the program to restart, stop or any other single function we desire.  We won't be using this one much. T0CK1This is another clock input, which operates an internal timer.  It operates in isolation to the main clock.  Again, we won't be using this one much either. Special features Watchdog timer, power-up timer, sleep mode.

  14. Introduction of the Easy Pic

  15. Mini ICSP Training / PD Kit Use in circuit serial programming. Use Microchip PIC IC 16F84A. Test Board ready. On board 5v power supply ready. Pins and header ready.

  16. In circuit programmer Test board Target board Consists of :

  17. Robot Easy-Pic Easy-Pic with Test board Easy-Pic with breadboard Easy-Pic with keyboard Easy-Pic with display board

  18. SCHOOL SCIENCE PROJECT

  19. Software: Serial Cable from Com port 1.Source boost ( C2C) In circuit serial programmer 2.FPP ( Hex ) Test board + _ DC 12-18V input 16F84 Target board

  20. Comparison Conventional IC Programmer In circuit serial programmer

  21. Pins and header ready for bread-boarding. On board 5v power supply ready.

  22. Target board 16F84A • IO Ports: • RA : 5 i/o • RB : 8 i/o In Circuit Serial Programming inputs. Pushing switch for Prog / Run

  23. Target-Board Schematic

  24. All are active Low Test Board Leds in series with 7 segments. 4 Tack Switches. 1 pizo sounder.

  25. Test-Board Schematic

  26. The End Note : All interfaces are active low. RB 7 to 0 connected to Led A to * RA 0 connected to Pizo sounder RA 1 to 4 connected to S1 to S4

  27. PIC Interest Group

  28. PIC 84 X'mas Tree

  29. Future Development

  30. 16F88 4K memory 10 bit x 7 ADC PWN (CCP) 16F88 USART 2 x 8 bit timer Etc….

More Related