Summary of CSCI 255 Lab using pic-microcontroller
This article outlines the preparation and initial steps for building a PIC prototype board, focusing on modifying an existing 3.3V power supply. It details connecting a wall transformer, installing a power switch, adding a fuse, and attaching a 6-pin header to integrate the system with a breadboard environment.Parts used in the PIC Prototype Board:
- Multimeter
- PIC 24HJ32GP202 chip
- Alligator clip leads (2)
- LED
- 1K Ohm resistor
- 2 K or 2.2 K Ohm resistor
- 10 micro Farad capacitor
- 1 micro Farad capacitors (2)
- Pushbutton switch
- Power switch (single-pole double-throw slide switch)
- 6 pin header
- FTDI TTL-232R-3.3V USB-to-serial cable
- 6V wall transformer
- Power connector
- Single-strand wire
- Fuse
Preparation
In addition to the power supply that you created on your breadboard in Lab 2, you will need the following equipment/components to complete your PIC prototype board:
- (1) multimeter
- (1) PIC 24HJ32GP202 chip
- (2) alligator clip leads
- (1) LED
- (1) 1K Ohm resistor
- (1) 2 K or 2.2 K Ohm resistor
- (1) 10 micro Farad capacitor
- (2) 1 micro Farad capacitors
- (1) pushbutton switch
- (1) power switch
- (1) 6 pin header
- (1) FTDI TTL-232R-3.3V USB-to-serial cable
- (1) 6V wall transformer
- (1) power connector
- single-strand wire as needed
Part 0: Background
In this lab, you will build a prototype PIC system on your breadboard and test it. You'll begin by modifying the 3.3V power supply that you built on your breadboard in Lab 2.
Part 1: Modifying your 3.3V Power Supply
The circuit that you built in lab 2 is depicted below. Make sure that you note any deviations between the schematic below and your breadboard. For example, several of you may have "lost" your fuse and have replaced it with a wire. It's important replace the fuse, and any missing components, in the final PIC system created today. Also make sure that your resistor and capacitors match the specifications stated below.
The power connector and wall transformer
Locate the power connector and wall transformer shown below.
Plug the power connector into the wall transformer and use your multimeter to determine which two pins on the power connector provide +6 V and ground as shown below. Each power connector has three leads, but only two are used.
SOLDER wires to the power connector, and connect this to the power/ground posts on the breadboard as shown below. The ground post is connected to the ground rail, but the +6 V power post connects to the input power switch which will be installed next.
Use the multimeter to verify that you are receiving 6 Volts of power at the connections to the breadboard before proceeding.
The input power switch
The input power switch allows you to isolate your system from the wall transformer without disconnecting wires. Our switch is a single-pole double-throw slide switch, which in simple English means that the center pin (the pole) is always connected to one of the two outer pins, and that connection is determined by the position of the slide on the top of the switch.
Connect the input power (from the power connector) to one of the outer pins of the switch, and the fuse to the pole. Verify your connection by properly positioning the switch and seeing that your power light illunimates.
The 6-pin header
As our final modification to the power supply, we'll connect a 6-pin header to the board and wire it to the power switch and to ground as shown below. The figure below represents our complete board layout up to this point.
For more detail: CSCI 255 Lab
Quick Solutions to Questions related to PIC Prototype Board:
-
What is the first step in modifying the power supply?
You must modify the 3.3V power supply built on your breadboard in Lab 2. -
How do you determine the correct pins on the power connector?
Use a multimeter to identify which two of the three leads provide +6 V and ground. -
Where should the +6 V power post connect?
The +6 V power post connects to the input power switch. -
Which component must be replaced if it was lost during previous labs?
The fuse must be replaced if it was lost or replaced with a wire previously. -
What type of switch is used as the input power switch?
A single-pole double-throw slide switch is used. -
How many pins does the final header have on the board?
A 6-pin header is connected to the board. -
What voltage should be verified before proceeding with the build?
You must verify that you are receiving 6 Volts of power at the connections to the breadboard. -
Can a wire be used instead of a fuse permanently?
No, it is important to replace the fuse in the final PIC system created today.
Related projects
Determine capacitance by measuring the charging time using PIC16F688
When TEST botton is pressed, RA3 pin is set to "1". R2 and R3 are divide the voltage to 1/2 Vra3 which...
Meters & Test InstrumentsFrequency Meter Using Microcontroller
This tutorial simply states how to calculate frequency of a pulse source using a microcontroller. Story https://youtu.be/NAoj-HLRIro This tutorial simply states how...
Meters & Test Instruments · PIC16F84ADigital thermometer with PIC16F84 circuit
This electronic project is a very simple thermometer that is based on the PIC16F84A microcontroller, designed by Microchip. Why to use a...
Meters & Test InstrumentsProjects on Speed Checker To Detect Rash Driving On Highways
While driving on highways, drivers should not exceed the maximum speed limit permitted for their vehicle. However, accidents keep on occurring due...
Meters & Test InstrumentsDigital Ammeter circuit using pic microcontroller
In this project we have a tendency to design a circuit to build an electronic voltmeter while not making use of any...
Meters & Test InstrumentsTampered Energy Meter Monitoring Conveyed to Control Room by GSM with User Programmable Number Features
The main concept of this project is to reduce the power theft by using an integrated energy meter such that whenever an...

