From 6e9a9c1c6f35eadd466e9b88fbb222079ac50053 Mon Sep 17 00:00:00 2001 From: joshr120 <120012174+joshr120@users.noreply.github.com> Date: Sat, 26 Oct 2024 16:38:12 +1300 Subject: [PATCH] Update Software README.md --- Software/README.md | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/Software/README.md b/Software/README.md index d41fcab..9d2bd6f 100644 --- a/Software/README.md +++ b/Software/README.md @@ -10,19 +10,8 @@ USB CDC on Boot should be set to "Enabled" ![upload settings](https://github.com/joshr120/PD-Stepper/assets/120012174/f002548a-ec56-4bae-93c7-10ec5e83b6d1) - ## ESPHome: ## The current ESPHome .yaml config file treats the TMC2209 as a a4988 driver as there is no TMC2209 intergration yet. The microsteps and PD voltage are set at startup by GPIO pins and the motor is driven via the STEP and DIR pins. A future intergration could allow for advanced TMC2209 features such as sensorless homing (Could also manually talk to the TMC2209 with the [UART Bus component](https://esphome.io/components/uart.html)) Other interfaces exposed to ESPHOME include the POWER GOOD signal, this is a signal indicating the PD Stepper is getting the requested voltage from the USB power supply. The 3 buttons on the side are also set up is binary sensors and the encoder position is read using the [AS5600 component](https://esphome.io/components/sensor/as5600.html). - -## Arduino Serial Bug: HAS BEEN FIXED## -**This has been fixed but will leave it here for reference** - -There was a software bug which did not allow serial communication over USB to work at the same time as programming. A program would fail to upload if Serial.begin() has previously been called. - -There are a couple of work arounds for this; -- You can manaully enter bootloader mode by holding the BOOT button, pressing and releasing the RST button and then releasing the BOOT button. -- Alternatively software can be set up such Serial.begin() is only called on startup if a button is held at boot. This will allow USB serial commication on this power cycle but not programming (This was done in all example sketches previously). Could also be implemented the opposite way if you plan on using serial comms more often than uploading. -- This bug is not present when using ESPHome.