> For the complete documentation index, see [llms.txt](https://minormakerslab.gitbook.io/students-1920/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://minormakerslab.gitbook.io/students-1920/andrei/daniel/week-8-interfaces-and-algorithmic-bias.md).

# Week 8: Interfaces & Algorithmic Bias

For this week I wanted to use the DC motor to program a microcontroller and design a&#x20;

I started with learning how a DC motor is connected to a circuit. Luckily, Micky provided us with a good tutorial on how to hook it up!

The DC motor tutorial: <https://learn.adafruit.com/adafruit-arduino-lesson-13-dc-motors>

I simply recreated this circuit and copied the code from this tutorial into Arduino, exported it to the NodeMCU and voila: it worked!

![Breadboard setup for the DC motor. Made by: Daniël van Kesteren](/files/-M4CDWOwwYEkNShX_zFp)

![The DC motor working as desired. Made by: Daniël van Kesteren](/files/-M4CDefzv8i3RRm34OY9)

The next step would be to connect the DC motor to the velostat sensor I created in week 6. I ran into an issue, however. I noticed that, if I removed the resistor and the wire that connects the D1 pin to the resistor, the DC motor would still run when connected. I thought this was strange, considering how I followed the tutorial. NOT FINISHED


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://minormakerslab.gitbook.io/students-1920/andrei/daniel/week-8-interfaces-and-algorithmic-bias.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
