diff --git a/docs/_sections/_guide-primaries/getting-started/microcontroller-interface.md b/docs/_sections/_guide-primaries/getting-started/microcontroller-interface.md index 2dc5049c..abe2e0b2 100644 --- a/docs/_sections/_guide-primaries/getting-started/microcontroller-interface.md +++ b/docs/_sections/_guide-primaries/getting-started/microcontroller-interface.md @@ -25,41 +25,18 @@ Warning: Be careful to not short (connect) a power pin directly to a ground pin. {: .callout-toby} ## Powering the ESP32 -You can power your ESP32 by 2 methods: battery pack or USB connection. +You can power your ESP32 by 2 methods: battery pack or laptop USB connection. {: .highlight} Note: Do NOT power your ESP32 through its 5V pin with the battery pack while simultaneously connecting it to your computer! This may irreversibly damage your devices (only do one power connection at a time). {: .callout-toby} - +### USB Connection Power +The USB connection to your computer is necessary for uploading and debugging your code through the serial monitor. It would be easiest to keep using the USB connection until later in the competition when testing the entire system. ### External Power Source -First we will go over using an external power source for the ESP32. For this competition, you will be able to control your robot with a wireless game controller to navigate around the field (sensor challenges should be completed autonomously). It would be impractical to power your ESP32 through USB-laptop connection on the field, so you will need a battery pack. We need to reduce the voltage of the battery pack (9V) down to a level the ESP32 can safely use (5V) through the buck converter. - -Below are the steps to interface the buck converter to your microcontroller: - -1.) Connect the red wire from the battery pack to the IN+ on the buck converter and the black wire from the battery pack to the IN- on the buck converter (convention dictates that red = hot wire and black = ground) - -buck_converter_part1.png - -2.) Grab a multimeter, put it into voltage reading mode, and attach the leads to OUT+ and OUT-. Adjust the small yellow screw on the buck converter until the multimeter reads a voltage of 5V. - -buck_converter_multimeter.png - -3.) Remove the multimeter leads and attach a red wire from the buck converter's OUT+ terminal to the ESP32's 5V pin. Attach a black wire from the buck converter's OUT- terminal to the ESP32's GND pin. - -buck_converter_power.png - -### USB Connection - -The USB connection to your computer is necessary for uploading and debugging your code through the serial monitor. It would be easiest to keep using the USB connection until later in the competition when testing the full system. - -If you want to power your ESP32 while using a USB connection, **securely** place one of the battery leads to an unused row in your breadboard (like picture below). - -buck_converter_disable.png - -You should now be able use your USB connection safely! +Using the external battery pack is detailed in the [Actuators page](https://ut-ras.github.io/RobotathonESP32/sensors-and-actuators/actuators) because we will be using the motor driver's 5V output to power the ESP32. If you want to know more about any features, feel free to ask a mentor or Google for more information :) diff --git a/docs/_sections/_guide-primaries/sensors-and-actuators/actuators.md b/docs/_sections/_guide-primaries/sensors-and-actuators/actuators.md index 216a40c3..7f431ca2 100644 --- a/docs/_sections/_guide-primaries/sensors-and-actuators/actuators.md +++ b/docs/_sections/_guide-primaries/sensors-and-actuators/actuators.md @@ -10,8 +10,7 @@ nav_order: 4 The word "actuators" is just a fancy word for "devices that create motion," which can include anything ranging from hydraulic pistons to motors. In our case, electric motors will be the key to your robot's motion! In this competition, you will be dealing with servo motors. - - +Again, more detailed information about the L298N motor controllers can be [found here!](https://lastminuteengineers.com/l298n-dc-stepper-driver-arduino-tutorial/) # Servo Motors