|
KiCADKicad
|
Programming and Development Board for PIC uC
Programmer and development board for PIC microcontrollers
This application is, in addition to a means of practicing practical electronics, a hobby, a way to obtain your own multifunctional board for microcontrollers and a way to use original software (PROGPIC2). This circuit is a multifunctional programmer for the PIC microcontroller family from Microchip. Among the types of uC PIC can be programmed (from those with 8 pins to those with 28 pins). A group of 6 LEDs and 4 push buttons with normally open contact, facilitates the uC testing programmed directly in the socket in the programmer. PIC microcontrollers of another type (over 28 pins, for example PiC16F877) or those packaged in a different type of capsule than the DIP, can be programmed directly in the circuit, through the ICSP connector on the board.
The programming software is called PICPROG2.
It is noted the use of only discrete components, practically without any specialized integrated circuit; this aspect makes this application even more interesting. The conversion of RS232 format signals into TTL (0-5V) signals is performed with general purpose transistors, configured as inverters. This is the case of transistors T1, T2, T3 or T4. The serial port lines, RTS and DTR (pins 7 and 4), from SK2, are used as
clock and data (for uC programming pins, respectively PGC and PGD), and Tx (3), CTS (8) and RI (9) to check and / or control the programming operation.
The entire circuit is powered by at least 15V through connector SK1. The programming value, high value (VPP) of approximately 13.5V (and which is applied on the MCLR / Vpp pin of uC) is obtained from the VR1 controller (L7812). It is mounted in series with the pin reference, to ground, diodes D2 and D3, Thus, at its output, the voltage increases from 12V to 13.5V. From the voltage of 13.5V, there is also the supply voltage of uC, 5V, for the VDD pin, through the VR2 L7805 stabilizer. By switching the jumpers of the SW5 it is possible to choose the working mode: programming, stand-by or testing a program written in uC. Without a jumper, the uC can be inserted into the socket without risk, the programming voltage and the supply voltage do not apply to the uC pins. On the PGM position at SW5A1 it allows the application of the 5V supply voltage (which is signaled by the LD9 LED). The section from SW5B1 at the same time switches the programming voltage of 13.5V to the MCLR pin of the uC. Thus, uC can be programmed with the data arriving from the PC on the DTR line, data that are synchronized with the clock signal on the RTS line. The LD8 LED signals, by activating it, that uC is being programmed. With SW5A1 switched to RUN, uC is normally powered by 5V at the VDD pin and the application registered after programming can be run and tested (viewing the status of the ports defined as LED outputs and / or applying commands from push buttons, on the port line defined as inputs).
For example, when testing an application, the lines defined as outputs (for D1 .... D6) on the board are:
- GP2 and GP4 for 8-pin CPU;
- RC0 ... RC4 for 14-pin CPU;
- RB0 ... RB5 for 18-pin uC;
- RA0 ... RA5 for 28-pin CPU.
As inputs, we use:
- SW1 for GP5 at 8-pin uC;
- SW1 and SW2 for RC5 and RB2 for 14-pin uC;
- pins RA0 ... RA3 at uC with 18 pins for the 4 push buttons;
- for the same 4 switches SW1 ... SW3, pins RB0 ... RB4 from uC with 28 pins.
Applications can be tested with internal or external oscillator (4MHz quartz). The operation is facilitated by jumpers JP1 to P6. The 'Reset' button is also identified on the board. For 8-pin CPU it is not possible to use the external oscillator with quartz crystal. As mentioned above, the SK3 connector facilitates microcontroller programming
mounted in the circuit, without removing or detaching it from the board on which it is mounted. The universally valid programming pins are: VPP, DATA, VDD, CLK and GND.
Note: I am not the original author of this circuit.
Programming and Development Board for PIC uC
*PCBWay community is a sharing platform. We are not responsible for any design issues and parameter issues (board thickness, surface finish, etc.) you choose.
- Comments(0)
- Likes(0)
- 0 USER VOTES
- YOUR VOTE 0.00 0.00
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
More by Cristian Pitigoi
- LEDs Stars Hello everyone! I'm signing up for this competition with a small project designed to attract your a...
- Audio amplifier with LM386 (and BASS boost) Audio amplifier with LM386 (and BASS boost)Hello everyone!Circuit descriptionThe LM386 is quite a ve...
- Audio amplifier 25W TDA2030 Audio amplifier 25W TDA2030A fairly well-known and interesting montagePresentationThe presented audi...
- Raspberry Pi Pico Expansion Board Hello everyone!This is my new PCB design. I wanted to share it with you on this platform.This is an ...
- Adjustable voltage power supply Among the most important electronic devices in the electronics laboratory is the voltage source. Thi...
- Digital Clock with AT89C2051 Circuit OperationShort SW2 presses cycle through displaying the current time in HH:MM and MM:SS form...
- Switch based light sensor Hi!The circuit shown can be used to turn on the light in the garden, or some light panels / advertis...
- LM3909 flashing indicator I present to you a circuit which is a little outdated, but quite pleasant for some, I saw that this ...
- The use of IoT technology for monitoring specific electrical parameters of autonomous power systems Hello everyone!A brief introduction of this project.What you see presented here is a home made (or D...
- ESP32 Expansion Board Expansion board for ESP32Hello everyone!This is my new PCB design. I wanted to share it with you on ...
- 4 Digits 7 Segments CC Display Module with 74HC595 Hello! This time I want to present an 7-segment four digit display controlled by two 74HC595.The LED...
- Adjustable voltage power supply Adjustable voltage power supplyAmong the most important electronic devices in the electronics labora...
- ARDUINO LCD 1602 SHIELD + KEYBOARD ARDUINO LCD 1602 SHIELD + KEYBOARDThe LCD1602 shield can be mounted together with an Arduino Nano de...
- Double voltage source Circuit presentationDouble voltage source + 15V / -15V and + 5V / -5V stabilizedThis circuit offers ...
- Monitor for 12V batteries Monitor for equal voltage at the terminals of two 12V batteries.Circuit presentation Most 24V back-u...
- Variable stabilizer for low voltages Variable stabilizer for low voltagesThe presented circuit allows to obtain stabilized voltages betwe...
- Simple Temperature Regulator Simple temperature regulatorCircuit descriptionThe temperature controller uses as a temperature tran...
- Audio balance indicator Technical data: - supply voltage 12-15V; - minimum level of the audible signal applied at the input&...
-
-
-
-
-
-
3D printed Enclosure Backplate for Riden RD60xx power supplies
154 1 1 -
-