diff --git a/_pages/electrical.md b/_pages/electrical.md index de0b7de..ce2c850 100644 --- a/_pages/electrical.md +++ b/_pages/electrical.md @@ -29,11 +29,23 @@ Our robot was powered by two 7V2 battery packs attached in a series configuratio - One 12V regulator to the Arduino Uno - One 5V regulator to the Servos +
+
+ {% include figure.liquid path="assets/img/power_distribution.jpg" title="Power Distribution Electronics" class="img-fluid rounded z-depth-1" %} +
+
+ The 12V regulator used was the L7812, and the 5V regulator was the M1084. All were attached to the 14V4 supply; however, a potential improvement here to reduce wasted energy would be to supply the 5V regulator with a single 7V2 battery to reduce the voltage drop. ### Drive Train The drive train electronics were run off the L289N motor driver with a 12V power supply. Logic supply was taken from the Uno at 5V. Two 12V Greartisan DC Motors were selected for the drive train, and a the 100RPM configuration was chosen as this provided a good balance between maximum speed and speed range. Initially we selected the 200RPM configuration, but ultimately found that the minimum loaded speed was too high to enable precise turning. Luckily, this vendor has many different options with the same motor geometry, making it easy to iterate without redesigning the motor mount assembly. +
+
+ {% include figure.liquid path="assets/img/L298.jpg" title="L298N Motor Driver" class="img-fluid rounded z-depth-1" %} +
+
+ Both motors were driven by a PWM signal to the enable pins for speed control. The pins used were specifically chosen to be on the same hardware timer (ITimer2) to improve consistency between the motor behavior. ### Swivel & Deposit Servos @@ -43,4 +55,12 @@ Both motors were driven by a PWM signal to the enable pins for speed control. Th ### Line Sensing ### Inertial Measurement Unit +The IMU selected was the MPU6050. This IMU is powered off of a 3V3 supply from the Uno and communicates with the Uno via the I2C communication protocal. This unit hosts three acceleratometers and gyroscopes to measure accelerations and angular velocities respectively. However, the only sensor that was actively used in the software was the +Z gyro, which allowed us to measure the robot's rotation rate. + +
+
+ {% include figure.liquid path="assets/img/imu.jpg" title="MPU6050 Inertial Measurement Unit" class="img-fluid rounded z-depth-1" %} +
+
+The IMU was provided with its own hardware timer (ITimer1) to ensure that its measurements could be processed and integrated with the highest available precision. More information on how the IMU measurements were used in the software it provided in the software section. \ No newline at end of file diff --git a/assets/img/L298.jpg b/assets/img/L298.jpg new file mode 100644 index 0000000..6f41894 Binary files /dev/null and b/assets/img/L298.jpg differ diff --git a/assets/img/imu.jpg b/assets/img/imu.jpg new file mode 100644 index 0000000..fdc3cdb Binary files /dev/null and b/assets/img/imu.jpg differ diff --git a/assets/img/power_distribution.jpg b/assets/img/power_distribution.jpg new file mode 100644 index 0000000..762213a Binary files /dev/null and b/assets/img/power_distribution.jpg differ