APC

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-

You’re reading a preview, subscribe to read more.

More from APC

APC8 min readIntelligence (AI) & Semantics
Working With Robots: Will It Make Us Lazy?
We explore the trends and technologies that are set to shape the future Robots make us lazy. Not because Roombas are vacuuming our houses, but because humans have a habit of slacking off when sharing tasks. That’s according to recent research that h
APC2 min read
Reviews
35 Asus Zenbook 14 OLED 36 Acer Helios Neo 18 37 Samsung 990 Evo 38 MSI MPG 321URX QD-OLED 39 Samsung Odyssey G9 OLED 40 Benq XL2546X 41 Thermaltake Tower 300 Micro Case 42 Sapphire 7600 XT 43 Sapphire Nitro+ RX 7900 GRE 45 XP Pen Artist Pro 16 44 Wa
APC3 min read
Asus Zenbook 14 OLED (UX3405)
PRICE $2,399 WEB asus.com/au Asus has been putting out some cracking laptops in recent years, and while the Zenbook 14 OLED isn’t perfect, it offers a compelling range of features for a quite reasonable price. The UX3405 sits in the diverse Zenbook

Related