Abstract

In this chapter, we learn how to create a complete realistic microcontroller project written entirely in Assembly Language. We use our RP2040 device to collect data and then provide it to a central server. Since this is a book on Assembly Language and not electronics, components built into the RP2040 are used, rather than requiring extra components beyond what we already worked with. The built-in temperature sensor will be used to collect data; then the program will communicate with a server using UART0, which we’ve been using for debugging. The assumption is that a Raspberry Pi is being used for debugging and development, so this will be used as the server, and a Python program will be written to poll the various devices connected to it for data. This gives the opportunity to build a slightly larger program that uses everything learned to show how to put it all together. The program is divided into separate modules that are presented one by one. First, the RP2040’s analog-to-digital converter and the built-in temperature sensor are presented.

Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call