Bernard introduces us to the dsPIC microcontroller. He shows us his Arduino like project board for a dsPIC and gives advice on software development tools.
This article was submitted by Bernard Klinc as part of the “Hobby parts for articles” program. Bernard received a graphic LCD module for this great article. You may remember Bernard from his previous Accelerometer Based Mouse article and video.
This thing may remind you of an Arduino but it’s not, it’s not even an AVR but a dsPIC30F2012. Lots of times I want to try out something, but I’m too lazy to make the whole thing over and over on a breadboard so why not solder it together quick on a pref board so I can just stick it in. And always too lazy to put on RS232, but it’s a great debug so that’s why it’s on the board, actually it’s the only feature that’s built in to the board, because its really the only thing I need.
And what can this dsPIC do? Well it has things like:
- 24KB of flash (CPU write access)
- 2KB of RAM
- 1KB of EEPROM
- 16 Bit 30MIPS CPU
- DSP Engine
- 8 channel 12bit ADC
- 2 PWM Outputs 16 bit
- 1 UART addressable
- 1 Serial (SPI/I2C) up to 30Mbit
- Clock PLL
This is not a high end dsPIC its just a small and easy one. The better ones have 256KB of flash and 16KB RAM, faster CPUs at 40MIPS, 32 ADC channels, 4 UART, 3 serial etc …
Anyway the bigger dsPICs are quite packed with features. So what can you make with such a MCU, well microchip has made voice recognition, 12 channel EQ and other neat stuff with them. But things like the voice recognition library is not free you need to buy it.
Speaking of software costs microchip makes a official compiler for them that works in there IDE called MPLAB which is free, but on its own it can only do assembler , but they also make a C compiler that also runs inside the IDE. There are 3 C compilers that is C18 (For the PIC18F family) C30 (For all 16 bit) and C32 (For the all new 32bit family). Also MPLAB includes a simulator for testing your code and supports debuggers, obviously only the official ones made by microchip.
For more detail: Breadboard using dsPIC30F2012 microcontroller
Related projects
Voltage Measurement with A PIC Microcontroller
Voltage Measurement with PIC Microcontroller articulates a methodical framework for facilitating analog voltage measurement using the PIC18F4520, an advanced member of Microchip’s...
Development Boards & KitsUltra-Low Power: Microcontroller Standby Current to 130uA with OPEnS Power Control Board
At the OPEnS Lab, a key focus for our projects is achieving exceptionally long battery life. This was particularly true for the...
Development Boards & KitsAn Integrated Approach to Developing Applications with Microchip PIC Microcontrollers
1. Introduction In our daily lives, a variety of devices such as telephones, household appliances, and cars incorporate "smart" electronics, typically manifested...
Development Boards & KitsMicrocontroller-Driven AC Voltage Control with Soft Start Feature
1. INTRODUCTION PWM-based AC voltage controllers find extensive application in uninterruptible power supplies (UPS) and high-power flexible AC transmission systems. This variable...
Development Boards & KitsPIC Microcontroller-Based IC Tester for Efficient Integrated Circuit Verification
1. INTRODUCTION Within the electronics industry[1], as circuit complexity undergoes a drastic increase and the demand for higher reliability rises, a significant...
Development Boards & Kits · PIC16F887Hands-On Microcontroller Projects: BK300 Development Board Featuring PIC16F887 Chip Lab
1. INTRODUCTION The study of microcontroller systems is experiencing a global surge across various fields within science, engineering, and technology departments of...
