PIC microcontroller, manufactured by Microchip. At present, it has many types of microcontrollers, and domestic microcontrollers with the same alternatives include Yingruien's EN series. But here only PIC18F452 is taken as an example, so let's make some brief introduction to PIC18F452.
PIC18F452 is a 40-pin microcontroller. Each pin has its own function, which will not be described here.
So let's say I want to create a project about blinking an LED. This is one of the simplest projects for PIC microcontrollers, so it might be a very simple and straightforward way to introduce the PIC18F452.
First, I need the following so that I can use them to work with the PIC. In another article, the engineers at Inruien Microcontroller discussed some other features available in the PIC18F452 microcontroller, which you can check out.
1. MPLAB
MPLAB is a software that you can download from the official website of Microsoft, it is an open source software. In MPLAB, you will use assembly and C language for programming.
PIC Programmer
There are many PIC programmers available in the market. You have to connect this programmer with the PC through the serial port (Parallel port and USB port PIC programmers are also available) and put the PIC microcontroller in the 40 pin socket.
3. PICpgm software and PICKit software
This software is used to burn programs in PIC microcontrollers, just like burning movies on DVD. You can open the software and browse to the program you made in MPLAB, and then burn the PIC program to the chip.
4. PIC basic circuit
To get the PIC microcontroller running, we have to add a simple circuit to make it work. The following figure shows a simple PIC circuit. This is not difficult to do and you can solder it on a simple soldering board. The circuit is as follows:
Now remove the PIC microcontroller from the programmer and add it to the hardware circuit. You can check the result of programming the PIC microcontroller.
Previous article:Microchip's urinary nature, MPLAB Win32 Classic version stopped updating after the bug
Next article:Simple clap switch using PIC single chip mechanism
- Popular Resources
- Popular amplifiers
- Learn ARM development(16)
- Learn ARM development(17)
- Learn ARM development(18)
- Embedded system debugging simulation tool
- A small question that has been bothering me recently has finally been solved~~
- Learn ARM development (1)
- Learn ARM development (2)
- Learn ARM development (4)
- Learn ARM development (6)
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- LED chemical incompatibility test to see which chemicals LEDs can be used with
- Application of ARM9 hardware coprocessor on WinCE embedded motherboard
- What are the key points for selecting rotor flowmeter?
- LM317 high power charger circuit
- A brief analysis of Embest's application and development of embedded medical devices
- Single-phase RC protection circuit
- stm32 PVD programmable voltage monitor
- Introduction and measurement of edge trigger and level trigger of 51 single chip microcomputer
- Improved design of Linux system software shell protection technology
- What to do if the ABB robot protection device stops
- Analysis of the application of several common contact parts in high-voltage connectors of new energy vehicles
- Wiring harness durability test and contact voltage drop test method
- From probes to power supplies, Tektronix is leading the way in comprehensive innovation in power electronics testing
- From probes to power supplies, Tektronix is leading the way in comprehensive innovation in power electronics testing
- Sn-doped CuO nanostructure-based ethanol gas sensor for real-time drunk driving detection in vehicles
- Design considerations for automotive battery wiring harness
- Do you know all the various motors commonly used in automotive electronics?
- What are the functions of the Internet of Vehicles? What are the uses and benefits of the Internet of Vehicles?
- Power Inverter - A critical safety system for electric vehicles
- Analysis of the information security mechanism of AUTOSAR, the automotive embedded software framework
- Programming Techniques in FPGA Design
- MSP430: Introduction to the method of programming long data to Flash
- Use TI-RTOS real-time operating system to enable low power mode and external wake-up function
- Common causes of RF interference in mobile communication systems
- Design of high-precision multi-channel time-to-digital converter based on FPGA
- Design ideas for lithium battery protection circuit and charging scheme
- Are there any recommendations for 5V boost switching chips?
- [ESP32-Audio-Kit Audio Development Board Review] Comparison of Voice Recognition Development Boards
- CircuitPython now runs on over 116 development boards
- Excellent materials, no points required: Album of previous competition questions of the National Undergraduate Electronic Design Competition