Write non-AP mode based software control #6

Open
opened 2023-03-12 17:34:14 +00:00 by jared · 0 comments
Owner
  • Check for beacon packets from the trains
  • Notify trains of controller in the network
  • Connect to a predefined WiFi SSID/password defined in creds.h file
  • Add src/creds.h to .gitignore file
  • Copy creds.h.txt file from other repository
  • Provide endpoint with throttle and direction data from ADC
    • Use ADC for reading 10K variable resistor - center point is 0, full forwards and then full reverse for control combines to make throttle and direction for the controller. Do a deadzone in the middle of at least 10 degrees on the dial
    • Create JSON API endpoint that provides throttle and direction
{
    "throttle": 0.3,
    "direction": "forwards"
}

Valid values for direction are forward, neutral, reverse.

- [ ] Check for beacon packets from the trains - [ ] Notify trains of controller in the network - [ ] Connect to a predefined WiFi SSID/password defined in `creds.h` file - [ ] Add `src/creds.h` to `.gitignore` file - [ ] Copy `creds.h.txt` file from other repository - [ ] Provide endpoint with throttle and direction data from ADC - [ ] Use ADC for reading 10K variable resistor - center point is 0, full forwards and then full reverse for control combines to make throttle and direction for the controller. Do a deadzone in the middle of at least 10 degrees on the dial - [ ] Create JSON API endpoint that provides throttle and direction ```json { "throttle": 0.3, "direction": "forwards" } ``` Valid values for `direction` are `forward`, `neutral`, `reverse`.
jared added the
enhancement
label 2023-03-12 17:34:33 +00:00
jared self-assigned this 2023-03-12 17:34:36 +00:00
jared added this to the Software Components project 2023-03-12 17:36:48 +00:00
jared added this to the Minimum Viable Design milestone 2023-03-12 17:40:24 +00:00
Sign in to join this conversation.
No description provided.