Learn how to program the $1 chip

With the entry-level boards in Raspberry Pi family costing less than $5, we’re fully conversant with the low cost of computing power. Yet if you’ve not encountered them before, the price of chips in the PIC microcontroller range from Microchip Technology might still be surprising. The fact is that an entry-level PIC chip can be bought for about 80 cents. Remarkable!

Needless to say, these chips don’t offer a lot of processing power – in fact many of them wouldn’t even be able to support an operating system. Yet in many embedded applications – that’s where the processor works invisibly in the background – the requirement for number crunching is minimal, and an operating system is unnecessary. What’s more, as we’re about to see, those cheap chips contain a lot of circuitry that you might expect to be external to the processor.

Here we introduce you to PIC microcontroller chips and show you how to program them using the MPLAB Xpress IDE and a Curiosity development board. Although real-world applications of PIC devices involve using just the chip, which you’d incorporate into your own circuit board, using a ready-made board for learning to develop code offers a simple, ready-to-go solution at low-cost.

A key thing to bear in mind about PIC chips is that they’re microcontrollers, not microprocessors. This means that they’re effectively microprocessors with the addition of on-chip RAM, flash storage, non-volatile program memory, and input/output circuitry for interfacing to real-world devices. For this reason they can be used in embedded applications with a minimum of external circuitry.

Daddy or chips?

According to manufacturer Microchip Technology, there are several official families of PIC, but to cut a long story short, eight-, 16-

Estás leyendo una vista previa, regístrate para leer más.

Más de APC

APC2 min. leídos
Microsoft Flight Simulator
$99.95 - $179.95 | PC | microsoft.com Do you ever wonder how it’d feel to take a few years away from games, and then peek back through the curtain once you’d become out of touch? Quite often, Microsoft Flight Simulator feels like that peek. In its s
APC1 min. leídosComputers
HOW TO Make Your Mac Last Longer
One of the biggest power drains on any laptop is its display; eke out a bit more life from your battery by turning its brightness down. Unlike recent iPhones, Dark Mode won’t help here: Macs use different display technology. System Prefs >= Energy
APC2 min. leídosComputers
Razer Kishi
Razer’s new Kishi Universal Controller is here to turn your smartphone into a play-anywhere system, with real buttons and joysticks. Join us as we tear down this stretchy controller to take a closer look at its inner workings. • Standard A-B-X-Y butt