PIC+Projects

toc

= Introduction = = Why PIC and not PICAXE = Here at Sha Tin College - Hong Kong we can easily access PICs, particularly PIC16F627 and PIC16F628, we previously as a school invested in PIC Logicator and the Economatics hardware such as the programmer, though it is serial port we have bought USB adapters and the Yenka programming flowcharts work really well. On the other hand the PICAXE chips need to be imported and the lead time is 2-4 weeks plus extortionate postage costs and I have not consistently been able to upload programmes to the PICAXE chips successfully. = Types of PICs = = = = PIC and Yenka = media type="custom" key="11899670" []

= Project 1 - ** PIC Biscuit Tin **=

**Design Brief** You are going to design an alarm circuit for a a biscuit tin to protect the contents from being taken without your permission. There sould be an audable sound which would deter the would be thief from stealing your favourite biscuits. **Design Analysis** Your circuit is going to use a PIC 16F628 to PROCESS the information. So you will be creating a circuit and programme using Yenka. **Specifications** You should consider what other specification details you may need and note them down. Here are some basic headings:  Make a design portfolio using A4 Sheets landscape, using Docs, or a Google Sites, or a Presentation.  **Tasks**  **1. Investigating the design opportunity**  Start with the first sheet an this should include the brief, analysis and specifications. Conduct some research into biscuit tin alarms and similar products and circuits, add images and links to your A4 Landscape portfolio. Create a programme using Yenka and the PIC 16F628 for your Biscuit Tin Alarm - when this is working take screen shots of the screen working and a screen capture video of the Yenka simulation model working. Add images and video links to your A4 Landscape portfolio. Describe what the system is, list the parts in the system, and carry out a systems analysis - by identifying the inputs, processes, and outputs. Add to your A4 Landscape portfolio. Breadboard your circuit and test this prototype. Record using photographs and video - include annotation at each stage of testing and modifications. Add images and video links to your A4 Landscape portfolio. Program your PIC chip (using the programmer select Revolution Programmer and COMM 4) Explain why it is important to compare design ideas to the design needs of the target market, and compare your designs with the design specifications. Add to your A4 Landscape portfolio. Using Yenka/Real PCB then open a new file just using the PIC16F628 and then add in the remaining components yourself and add all the track, remember you cannot cross the track over, but you can have track going through the middle of a component. Make track and pads as thick as possible, this helps when soldering. When you have finished your track save the circuit as a native RealPCB. Save (screen capture) and add to your A4 Landscape portfolio the standard view, the artwork view and the real view and annotate, you will also need to printout the artwork and the real view in order to manufacture your PCB.
 * Form
 * Function
 * <span style="background-color: initial; font-family: Arial,Verdana,Helvetica,sans-serif; font-size: 10pt;">User requirement
 * <span style="background-color: initial; font-family: Arial,Verdana,Helvetica,sans-serif; font-size: 10pt;">Performance requirements
 * <span style="background-color: initial; font-family: Arial,Verdana,Helvetica,sans-serif; font-size: 10pt;">Material and component requirements
 * <span style="background-color: initial; font-family: Arial,Verdana,Helvetica,sans-serif; font-size: 10pt;">Scale of production
 * <span style="background-color: initial; font-family: Arial,Verdana,Helvetica,sans-serif; font-size: 10pt;">Sustainability
 * <span style="background-color: initial; font-family: Arial,Verdana,Helvetica,sans-serif; font-size: 10pt;">Target Market
 * 2. Research - Biscuit Tin Alarms **
 * 3. Designs**
 * <span style="font-family: Arial,Verdana,Helvetica,sans-serif;">4. Systems Analysis **
 * <span style="font-family: Arial,Verdana,Helvetica,sans-serif;">5. Modelling **
 * <span style="font-family: Arial,Verdana,Helvetica,sans-serif;">6. Evaluate your design **
 * <span style="font-family: Arial,Verdana,Helvetica,sans-serif;">7. Design your PCB **
 * <span style="font-family: Arial,Verdana,Helvetica,sans-serif;">You should label important components using copper text (its mirrored automatically for printing)
 * <span style="font-family: Arial,Verdana,Helvetica,sans-serif;">Add your name (initials) and the name of the circuit

= Links = http://nutsvolts.texterity.com/nutsvolts/200712?pg=90&search_term=pic16f#pg90 @http://www.pictutorials.com/what_is_microcontroller.htm http://talkingelectronics.com [] = Project Resources = http://picprojects.org.uk || Fireflies || http://www.coolcircuit.com || http://www.electronics-lab.com || http://www.electronics-lab.com ||  ||
 * [[image:http://picprojects.org.uk/projects/ledchaser/const4T.jpg]]
 * [[image:http://www.electronics-lab.com/blog/wp-content/uploads/2010/10/Portable-Led-Game-System.jpg width="200" height="146"]]

@http://engknowledge.com/microcontroller_interfacing_keyboard.aspx

= Books =