Skip to content
This repository has been archived by the owner on Feb 13, 2024. It is now read-only.

Request Integrate Withrottle (Engine Drive) backend #15

Open
dlowe30971 opened this issue Feb 12, 2019 · 7 comments
Open

Request Integrate Withrottle (Engine Drive) backend #15

dlowe30971 opened this issue Feb 12, 2019 · 7 comments
Labels
enhancement New feature or request

Comments

@dlowe30971
Copy link

All, this request is to add the withrotte (Engine Driver) backend code to the ESP32 DCC++. An example is given by Vald here https://github.com/vhar/withrottle using an ESP01 and ESP8266. This would allow users to connect to the ESP32 using the Engine Driver app.

For your consideration,

@atanisoft atanisoft added the enhancement New feature or request label Feb 12, 2019
@atanisoft
Copy link
Owner

This has been on the to-do list for a while. With the integrated LCC support coming in v1.2.0 (release soon) this may get implemented via that instead.

@dlowe30971
Copy link
Author

dlowe30971 commented Feb 12, 2019 via email

@atanisoft
Copy link
Owner

Which board are you looking for?

@dlowe30971
Copy link
Author

dlowe30971 commented Feb 12, 2019 via email

@atanisoft
Copy link
Owner

Ahh, yes I have one of the Arduino Uno form factor ESP32 boards. It does work decently but the pin mapping is a bit poor, the A0 and A1 pins are not usable for analog when WiFi is active so a jumper is required to A2/A3 or A4/A5.

Are you looking to have the CS setup inside the loco or powering the track/loco? If you are looking to power the track I'd suggest using a booster on the outputs from the ESP32/L298 so you are not limited to the max of ~1.75A (development branch, on master it is ~980mA).

If you are going to have the ESP32/L298 inside the loco then it should be less of a concern as the loco by itself shouldn't go beyond the 1.75A limit under normal circumstances.

@dlowe30971
Copy link
Author

Inside the loco and powered by battery either in trailing wagon or loco itself depending on space. I have already proven ESP8266 + Uno + Motor Shield + to track (HO demo). I was able to connect and number of clients and control a number of locos. But I want to save a little more space so the ESP32 is a great option.

@atanisoft
Copy link
Owner

ok that makes sense, In that case the uno form factor with an L298 shield may work for your usecase, but a smaller esp32 with L298 may fit easier.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants