JDTucker-5696 / HA-Demos

Demo code for the Raspberry Pi Pico

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Demo Code for the Raspberry Pi Pico

What are these demos?

This is a collection of RP2040 examples created and assembled for ECE 4760 at Cornell. ECE 4760 students are asked to clone this repository and add their own lab assignments and projects. Some links to course materials are provided below.

  • Course website
  • Lab 1: Cricket Chirp Synthesis and Synchronization
  • Lab 2: Modeling Decision Making in Animal Groups on the Move
  • Lab 3: PID Control of an Inverted Pendulum with a Reaction Wheel

This repository is modeled off of the pico-examples repository from Raspberry Pi. To build the examples in this repository, please install the RP2040 toolchain and SDK as described in the Getting Started with Raspberry Pi Pico document. The two pages linked below provide explicit instructions for Windows and Mac users. For Linux users, setup is easy (see chapters 1 and 2 of the Getting Started document linked previously).

If you are an ECE 4760 student, please note that the toolchain is already installed on the lab PC's in Phillips 238. You may still find the above links useful for installation on your own computer.

How do I use them?

If you are an ECE 4760 student, you will clone this repository into the same directory which contains your copy of the pico sdk.

For Lab 1, you'll add a folder to the Lab_1 directory. For Lab 2, you'll add a folder to the Lab_2 directory. And for Lab 3, you'll add a folder to the Lab_3 directory. Each of those folders contains the demos from which you should start each lab. The Lab_1_Incremental directory contains a sequence of demos that incrementally builds to the starting demos from which you start Lab 1. This is provided to help you build an understanding of the Lab 1 demo code, and to help me introduce the Lab 1 content in class.

For your final project, you will add a folder to the root directory.

About

Demo code for the Raspberry Pi Pico


Languages

Language:C 97.4%Language:CMake 2.6%