Saturday, January 11, 2025

1.2: first microcontroller use

This week we also tried out using a microcontroller for the first time (an Adafruit circuit playground, though we'll be using Arduinos hereafter), and performed some simple programming tasks in the Arduino software with the board.

Some steps we followed:

1. Add device to IDE (integrated development environment) by searching the Adafruit board and adding it on the "board" tab of the menu bar.

2. Use the libraries tab of the menu bar to add extra language specific to the additional features of the circuit playground.

3. Every library comes with simple examples, so we tried out the led light and accelerometer ones to get used to uploading programs to the microcontroller.


Other misc. notes:

    void: a function that doesn't give you anything back

        other function types do return data

    baud rate (low end is 9600): the speed at which the microcontroller communicates through the USB

    we are working with Asynchronous Serial Connections when we use the microcontroller

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.

14.1 project 2 prototypes/planning

I began prototyping this week by mapping out all the individual elements I need to construct for my seed growing lamp, which has become some...