/ESE519_lab2B

ESE519_lab2B

Primary LanguageMakefile

ESE519_lab2B

Contributor: Xingqi Pan, Yuxuan Li, Yuxin Wang

LED

The following link is the LED gif of our breadboard in action:

https://media.giphy.com/media/joMgdCdvrxvvOjSpzw/giphy.gif

More detialed please check the following code

#include <stdio.h>
#include <stdlib.h>
#include "pico/stdlib.h"
#define SDA_PIN 22

int main(){
    stdio_init_all();
    gpio_init(SDA_PIN);
    gpio_set_dir(SDA_PIN, GPIO_OUT);
    while(1){
        gpio_put(SDA_PIN,1);
        sleep_ms(2000);
        gpio_put(SDA_PIN,0);
        sleep_ms(2000);
    }
    return 0;
}

PROPOSAL: Balanced Board

  • An outline of what you plan to build, and why you think it’s cool.

    • What we gonna do: Using IMU to detect the title of the board and reflect it by the luminance of the LED located at 4 directions(corners).

    • Why we do this: This is the fundamental part of the drone, we plan to use it to keep the drone balance and measuring the degree of balance of the drone.

  • Components requested from Detkin (after confirming availability).

    • Servo: Micro servo SD-90 servo

    • Display: 128*32 OLED SSD1306 Display

    • IMU:

  • Any questions about your design or component selection.

    • RP2040 only has two I2C ports (one on the QT connector, one on the breakout pads), but what if the final project we want to build needs more I2C or GPIO ports?