L293D (DollaTech) Motor Drive + ESP8266 ESP12E

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
Riewekooche
Normal user
Posts: 21
Joined: 21 Nov 2022, 07:40

L293D (DollaTech) Motor Drive + ESP8266 ESP12E

#1 Post by Riewekooche » 17 Feb 2023, 13:00

Hi there,

working on a project which controls a DC motor and a DC valve i would like to use the motorshield with the L293D.
This is a little board into which i stack the ESP12E.
The ESP12E works fine.

But I miss a device to control the L293D. https://www.ebay.de/itm/162774530925?var=461812461596
If there isn't one, how can i control the L293D by the GPIO-pins manually?

And is there a driver for the Sparfun Qwiic Micropressure sensor? https://www.ebay.de/itm/164220619141

Thanks

User avatar
Ath
Normal user
Posts: 3506
Joined: 10 Jun 2018, 12:06
Location: NL

Re: L293D (DollaTech) Motor Drive + ESP8266 ESP12E

#2 Post by Ath » 17 Feb 2023, 17:14

Riewekooche wrote: 17 Feb 2023, 13:00 working on a project which controls a DC motor and a DC valve i would like to use the motorshield with the L293D.
This is a little board into which i stack the ESP12E.
The ESP12E works fine.

But I miss a device to control the L293D. https://www.ebay.de/itm/162774530925?var=461812461596
If there isn't one, how can i control the L293D by the GPIO-pins manually?
We only have support for the Wemos and Lolin motor controllers, but AFAICS, that's not using that L293D chip, so most likely that won't work.
Riewekooche wrote: 17 Feb 2023, 13:00 And is there a driver for the Sparfun Qwiic Micropressure sensor? https://www.ebay.de/itm/164220619141
There is a new PR #4490 opened recently that adds support for such Honeywell pressure sensor, you could get a PR build from Github to test that.
/Ton (PayPal.me)

TD-er
Core team member
Posts: 8747
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: L293D (DollaTech) Motor Drive + ESP8266 ESP12E

#3 Post by TD-er » 17 Feb 2023, 17:16

I did have a (very) quick look at the datasheet of the chip, and it seems like it is a very simple H-bridge.
So you could have a look at the PWM motor plugin.

TD-er
Core team member
Posts: 8747
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: L293D (DollaTech) Motor Drive + ESP8266 ESP12E

#4 Post by TD-er » 17 Feb 2023, 17:20

I don't think the pressure sensor linked by Ath will work with that plugin as it seems like the one on ebay is using some HX710 chip, which is probably a bit like the HX711 used in scales to measure weight.
The Honeywell pressure sensors send out a raw ADC value and temperature via I2C and if this HX710 is a bit like the HX711, then it is probably using a rather basic protocol, not I2C.

User avatar
Ath
Normal user
Posts: 3506
Joined: 10 Jun 2018, 12:06
Location: NL

Re: L293D (DollaTech) Motor Drive + ESP8266 ESP12E

#5 Post by Ath » 17 Feb 2023, 21:51

For the pressure sensor I searched for the name given, the Sparkfun one and that's an I2C sensor, but that's indeed not the (much) cheaper clone that's linked.

Did find 2 interesting sources for this HX710x ADC:
- https://swharden.com/blog/2022-11-14-hx710b-arduino/
- https://www.electroschematics.com/press ... sor-guide/

The protocol is indeed quite similar to the HX711 as available in P067, but I don't think it's sensible to try and add this sensor there, as it already has quite a few options.

Just for fun you could try to connect it to the HX711 P067 plugin, and see if it returns somewhat sensible values. If it does, that's great, but I wouldn't expect too much of it.
/Ton (PayPal.me)

Riewekooche
Normal user
Posts: 21
Joined: 21 Nov 2022, 07:40

Re: L293D (DollaTech) Motor Drive + ESP8266 ESP12E

#6 Post by Riewekooche » 20 Feb 2023, 09:38

I tried to read the pressure sensor with its TM7711 chip by the HX711 device - and it works !! :D
It doesn't use a I2C interface. Only a Data/SCLK 2-wire protocol.

The problem with the motor shield for the ESP12E was my fault with a rule.

Now it works :D

bidrohini
Normal user
Posts: 105
Joined: 03 Nov 2022, 16:24

Re: L293D (DollaTech) Motor Drive + ESP8266 ESP12E

#7 Post by bidrohini » 20 Feb 2023, 09:53

Here is an old thread about Firmware Support for L298H Bridge Boards. This may help you a bit.
https://www.letscontrolit.com/forum/vie ... f=5&t=8809

Post Reply

Who is online

Users browsing this forum: No registered users and 37 guests