{"guid":"f8f37696-675c-4b8a-946e-9380e728c765","title":"MicroPython on the RP2040","subtitle":null,"slug":"sps22-4239-micropython-on-the-rp2040","link":"https://c3voc.de","description":"RP2040 is the Raspberry Pi Foundation's take on the microcontroller. It is fast, cheap and has some very neat features. MicroPython is a software implementation of a subset of the Python3 programming language, optimized to run on microcontrollers and in constrained environments. After a short introduction of both technologies, we will present notable features and particularities of the RP2040, and how they can be easily accessed using MicroPython. This includes dual-core technology, PIO (programmable in-out) and DMA (direct memory access). Moreover, we will illustrate how some some of those features are used in real-world use cases, including a live demonstration. The talk will end with a discussion on the limits of the MicroPython approach with respect to the C/C++ SDK, and a question and answer session.\n\nRP2040 is the Raspberry Pi Foundation's take on the microcontroller. It is fast, cheap and has some very neat features. MicroPython is a software implementation of a subset of the Python3 programming language, optimized to run on microcontrollers and in constrained environments. After a short introduction of both technologies, we will present notable features and particularities of the RP2040, and how they can be easily accessed using MicroPython. This includes dual-core technology, PIO (programmable in-out) and DMA (direct memory access). Moreover, we will illustrate how some some of those features are used in real-world use cases, including a live demonstration. The talk will end with a discussion on the limits of the MicroPython approach with respect to the C/C++ SDK, and a question and answer session.","original_language":"eng","persons":["Tobias Gresch"],"tags":["import","4239","2022","Main"],"view_count":203,"promoted":false,"date":"2022-09-22T17:45:00.000+02:00","release_date":"2022-10-30T00:00:00.000+02:00","updated_at":"2026-01-06T00:00:20.591+01:00","length":2044,"duration":2044,"thumb_url":"https://static.media.ccc.de/media/conferences/sps22/4239-f8f37696-675c-4b8a-946e-9380e728c765.jpg","poster_url":"https://static.media.ccc.de/media/conferences/sps22/4239-f8f37696-675c-4b8a-946e-9380e728c765_preview.jpg","timeline_url":"https://static.media.ccc.de/media/conferences/sps22/4239-f8f37696-675c-4b8a-946e-9380e728c765.timeline.jpg","thumbnails_url":"https://static.media.ccc.de/media/conferences/sps22/4239-f8f37696-675c-4b8a-946e-9380e728c765.thumbnails.vtt","frontend_link":"https://media.ccc.de/v/sps22-4239-micropython-on-the-rp2040","url":"https://api.media.ccc.de/public/events/f8f37696-675c-4b8a-946e-9380e728c765","conference_title":"Swiss Python Summit 2022","conference_url":"https://api.media.ccc.de/public/conferences/sps22","related":[],"recordings":[{"size":249,"length":2044,"mime_type":"video/webm","language":"eng","filename":"import-4239-eng-MicroPython_on_the_RP2040_webm-hd.webm","state":"new","folder":"webm-hd","high_quality":true,"width":1920,"height":1080,"updated_at":"2022-10-30T06:35:03.207+01:00","recording_url":"https://cdn.media.ccc.de/events/sps22/webm-hd/import-4239-eng-MicroPython_on_the_RP2040_webm-hd.webm","url":"https://api.media.ccc.de/public/recordings/63236","event_url":"https://api.media.ccc.de/public/events/f8f37696-675c-4b8a-946e-9380e728c765","conference_url":"https://api.media.ccc.de/public/conferences/sps22"},{"size":87,"length":2044,"mime_type":"video/webm","language":"eng","filename":"import-4239-eng-MicroPython_on_the_RP2040_webm-sd.webm","state":"new","folder":"webm-sd","high_quality":false,"width":720,"height":576,"updated_at":"2022-10-30T05:17:05.740+01:00","recording_url":"https://cdn.media.ccc.de/events/sps22/webm-sd/import-4239-eng-MicroPython_on_the_RP2040_webm-sd.webm","url":"https://api.media.ccc.de/public/recordings/63225","event_url":"https://api.media.ccc.de/public/events/f8f37696-675c-4b8a-946e-9380e728c765","conference_url":"https://api.media.ccc.de/public/conferences/sps22"},{"size":69,"length":2044,"mime_type":"video/mp4","language":"eng","filename":"import-4239-eng-MicroPython_on_the_RP2040_sd.mp4","state":"new","folder":"h264-sd","high_quality":false,"width":720,"height":576,"updated_at":"2022-10-30T04:52:06.072+01:00","recording_url":"https://cdn.media.ccc.de/events/sps22/h264-sd/import-4239-eng-MicroPython_on_the_RP2040_sd.mp4","url":"https://api.media.ccc.de/public/recordings/63221","event_url":"https://api.media.ccc.de/public/events/f8f37696-675c-4b8a-946e-9380e728c765","conference_url":"https://api.media.ccc.de/public/conferences/sps22"},{"size":20,"length":2044,"mime_type":"audio/opus","language":"eng","filename":"import-4239-eng-MicroPython_on_the_RP2040_opus.opus","state":"new","folder":"opus","high_quality":false,"width":0,"height":0,"updated_at":"2022-10-30T04:46:04.163+01:00","recording_url":"https://cdn.media.ccc.de/events/sps22/opus/import-4239-eng-MicroPython_on_the_RP2040_opus.opus","url":"https://api.media.ccc.de/public/recordings/63220","event_url":"https://api.media.ccc.de/public/events/f8f37696-675c-4b8a-946e-9380e728c765","conference_url":"https://api.media.ccc.de/public/conferences/sps22"},{"size":31,"length":2044,"mime_type":"audio/mpeg","language":"eng","filename":"import-4239-eng-MicroPython_on_the_RP2040_mp3.mp3","state":"new","folder":"mp3","high_quality":false,"width":0,"height":0,"updated_at":"2022-10-30T04:43:29.945+01:00","recording_url":"https://cdn.media.ccc.de/events/sps22/mp3/import-4239-eng-MicroPython_on_the_RP2040_mp3.mp3","url":"https://api.media.ccc.de/public/recordings/63219","event_url":"https://api.media.ccc.de/public/events/f8f37696-675c-4b8a-946e-9380e728c765","conference_url":"https://api.media.ccc.de/public/conferences/sps22"},{"size":183,"length":2044,"mime_type":"video/mp4","language":"eng","filename":"import-4239-eng-MicroPython_on_the_RP2040_hd.mp4","state":"new","folder":"h264-hd","high_quality":true,"width":1920,"height":1080,"updated_at":"2022-10-30T03:25:55.320+01:00","recording_url":"https://cdn.media.ccc.de/events/sps22/h264-hd/import-4239-eng-MicroPython_on_the_RP2040_hd.mp4","url":"https://api.media.ccc.de/public/recordings/63196","event_url":"https://api.media.ccc.de/public/events/f8f37696-675c-4b8a-946e-9380e728c765","conference_url":"https://api.media.ccc.de/public/conferences/sps22"}]}