mkrasselt1 / esp32-mdb-master

5 stars 2 forks source link

VIDEO TUTORIAL #3

Closed tomeroto closed 1 month ago

tomeroto commented 4 months ago

hi friend,

can you provide picture or video tutorials, im very beginner. THanks.

mkrasselt1 commented 4 months ago

Hello :) On what part exactly? The build environment, the board or the software(integration?) what do you have already and what do you want to do with it?

tomeroto commented 4 months ago

thank you for your response. I use Arduino Uno. But I'm having trouble finding a module for integration with the MDB protocol. I want to create a master and slave, but for now I need a master first. I have difficulty reading schematics. If you have a photo of the PCB board that has been formed it might be very helpful. And photos of how to connect it to Arduino Uno.

Is your source code suitable for Arduino Uno?

mkrasselt1 commented 4 months ago

Sadly no, as the name states - this is for esp32 only as it used a signal generator function only present in esp32 processor. And you can't easly port it either. You should check out: https://github.com/LanguidSmartass/mdb-arduino-cashless That is more suited and has nessecary documentation

mkrasselt1 commented 4 months ago

Ad there are no available modules AFAIK - but it only needs 4 conpontents attached to two (serial) gpio pins

tomeroto commented 4 months ago

Ok I will try using ESP32. I try connected all lines like this picture below.

MDB-Master-Interface

that is correct?

mkrasselt1 commented 4 months ago

Almost yeah :) Except that pins are Mdb_tx.gpio_num = GPIO_NUM_32; Mdb_rx.gpio_num = GPIO_NUM_35;

tomeroto commented 4 months ago

Ok I try like this picture:

MDB-Master-Interface PNG

But still not working. :( May be you have simple source code for ESP32 using Arduino IDE with function how much money inserted to BV. Thanks.

mkrasselt1 commented 4 months ago

You are still using the wrong gpio - read my previous post again

tomeroto commented 4 months ago

Ups sorry, okay I was follow like this picture:

MDB-Master-Interface PNG

But not working :( found this messages:

Changer paused, caused by too many errors

Cashless Device #1 paused, caused by too many errors

mkrasselt1 commented 4 months ago

Great, that provides at least a little feedback. Did you try switching rx and TX pins in the esp32? And you are you provide some pictures of the setup and components used?

tomeroto commented 4 months ago

do you have alternative component for SI2301 and SI2302 non SMD?

mkrasselt1 commented 4 months ago

Just use any fast enough mosfet with Fast Switching Speed: Rise Time (tr) of 36ns and low resistance

tomeroto commented 4 months ago

I was try and with all components according to the circuits that you give. But its not working, may be I have wrong in joining components or different components version. Thats why is good if you have picture or video to show me how its look.

mkrasselt1 commented 4 months ago

It's all under /pcb Master and slave as well and it is working. What devices if which brands do you use and what does your circuit look like?