From 16b569c49d720736a478aa5e58beee5eb3e654ab Mon Sep 17 00:00:00 2001 From: Sam Hos Date: Wed, 23 Apr 2025 13:27:51 +0200 Subject: [PATCH] docs --- docs/Assignments/week_12_machine_building/machine_building.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/Assignments/week_12_machine_building/machine_building.md b/docs/Assignments/week_12_machine_building/machine_building.md index 16333d2..80c5435 100644 --- a/docs/Assignments/week_12_machine_building/machine_building.md +++ b/docs/Assignments/week_12_machine_building/machine_building.md @@ -505,6 +505,10 @@ So the main MCU would do all the thinking and readings from the sensors and the So now I could send commands to the motors over Serial and see the motors spin in realtime. The command is structured like this. `1,500` Where 1 is the motor number and 500 is the speed of the motor. So like this I could control every motor separately. +## Using an ESPC6 +Since we couldn't use the Arduino for any logic stuff we needed something else to talk to the arduino that's where the ESP came in to play. I only attached the Esp Tx to the Rx of the arduino because these 2 mcu's work on different logic levels and I was concerned that the arduino may fry the the ESP if it send anything back. +//TODO: add more docs + ## Getting ultrasonic sensors to work (Again) On the last day I tried to connect everything together. I first started out with one ultrasonic sensor but I noticed I wasn't getting any data from it. So I started debugging and only running the code necessary to get the sensor running but that also didn't work