КОМЕНТАРІ
@henrytheodoredaquinag529
@henrytheodoredaquinag529 4 дні тому
some of the files for json is missing how to fix this
@kris-.1439
@kris-.1439 4 дні тому
I'm not using any JSON file on this project.
@henrytheodoredaquinag529
@henrytheodoredaquinag529 4 дні тому
@@kris-.1439 oh i see, because I'm having a hard time because of the #include is showing signs of error based on my visual studio code
@kris-.1439
@kris-.1439 3 дні тому
@@henrytheodoredaquinag529 That happened sometime on my VS Code as well. It is the path settings inside .vscode folder. Most of the time I would ignore it as long as ESP-IDF can compile.
@henrytheodoredaquinag529
@henrytheodoredaquinag529 3 дні тому
@@kris-.1439 now the problem in the code is openocd is not running, how can I fix this
@Schroedimoto
@Schroedimoto 6 днів тому
Hello, Thanks for the great video. I always thought it is necessary that the electrode (copper) touches the medium to work correctly So its okay if the electrode is completely sealed? Does this also work if i have tube in tube?
@simonecelia5950
@simonecelia5950 14 днів тому
Can't make it work with Arduino UNO R4 WiFi
@armando8892
@armando8892 24 дні тому
Is there any way to build a fightstick using a ESP32 S3 to be used wireless and wired? I mean, wireless using a battery (a powerbank) and wired when the battery goes empty.
@naimakka1949
@naimakka1949 Місяць тому
immaculate tutorial, exactly what I was searching for, thank you
@drankenkorps
@drankenkorps 2 місяці тому
I wonder if that can work for other fluids.. probably is just individual kalibrering. Second question is how it will work if you have metal tankand glue it on a side?
@thomaschallis7360
@thomaschallis7360 2 місяці тому
Hey Kris, I'm wondering how easy it would be to use an ESP8266-E12 as opposed to an ESP 32. what changes would have to be made?
@user-xg4rm7fg1y
@user-xg4rm7fg1y 3 місяці тому
I want to ask- as depth increases, why capacitance is decreasing ? it should increase with depth right?
@tartoruhahomo
@tartoruhahomo 4 місяці тому
งงกับชื่อไทยเจ้าของช่อง แต่เสียงในคลิปเป็นฝรั่ง แต่ขอบคุณมากที่ทำคลิปดีๆให้ความรู้ครับ
@user-eg8xi2xn4k
@user-eg8xi2xn4k 6 місяців тому
hello sir can you help me to read data from PLC using esp32 and TT
@jandistler3570
@jandistler3570 9 місяців тому
Hi Kris, do you think it is possible to use this library for TP-Link Tapo P110 sockets too? I tryed it, but it only finds my KP105 which I don't want to control. I want to control the P110 energy meters
@jandistler3570
@jandistler3570 9 місяців тому
unfortunately it does not work on Wemos D1 mini (ESP8266)
@arthurkazanis4283
@arthurkazanis4283 9 місяців тому
Nice work Kris. Got it working on a ESP32-S2 with a HS100 plug.
@saeidmi6859
@saeidmi6859 11 місяців тому
bro can i do the same thing with Esp8266 ?
@SeaTaj
@SeaTaj Рік тому
Sweet video!
@clamel77
@clamel77 Рік тому
Hello I'm new to this, I'm trying to learn. I see you connect B- and A+ from RS485 converter (yellow lines) to last 2 plc inputs (I suppose they are inputs). I do not understand how ESP can communicate with plc using 2 inputs..
@kris-.1439
@kris-.1439 Рік тому
The TX2 pin on ESP32 is output and RX2 pin is input.
@clamel77
@clamel77 Рік тому
@@kris-.1439 I'm sorry my question was about plc side.. in which plc pins are connected TX2 and RX2? thank you very much
@kris-.1439
@kris-.1439 Рік тому
@@clamel77 The RS485 in this video is configured as a half duplex. The A+ and B- can transmit data in both direction (ESP32 -> PLC or PLC -> ESP32). I don't have schematic for the PLC, if I guess they would use the RS485 transceiver chip to connect to PLC tx and rx pins on the CPU. For more information www.cuidevices.com/blog/rs-485-serial-interface-explained#:~:text=RS%2D485%20is%20a%20duplex,B'%20as%20a%20pair).
@stefanvasilevski8724
@stefanvasilevski8724 Рік тому
Which language do you use to write the Serial monitor?Python, C++ or another?
@kris-.1439
@kris-.1439 Рік тому
C#
@chantaratisyaarisoni9930
@chantaratisyaarisoni9930 Рік тому
hello may i know what software do u use to create the connection diagram? thank you
@kris-.1439
@kris-.1439 Рік тому
I used Microsoft Visio to create the diagram and Power Point for Animation.
@chantaratisyaarisoni9930
@chantaratisyaarisoni9930 Рік тому
@@kris-.1439 thank you, im planning to develop and add frequency control for the motor is that possible?
@kris-.1439
@kris-.1439 Рік тому
@@chantaratisyaarisoni9930 Are you trying to control servo or BLDC motor directly from PLC ? I think it is very difficult to do without using motor driver.
@BlondieSL
@BlondieSL Рік тому
This looks very interesting. I'm just now getting into ESP32 and I'm liking it a lot. I have a question, however, about the lamination thing. Have you found that after 2 years, the lamination stays waterproof? Or has water seeped in?
@kris-.1439
@kris-.1439 Рік тому
The laminated copper strip that I have in the box still look shinny. But I don't know what would happen if it is submerged in the water for 2 years.
@BlondieSL
@BlondieSL Рік тому
@@kris-.1439 If I go this route instead of using the computer ribbon cable method, I'll have to confirm that no water seeps into the laminate. Perhaps putting silicone along the edges will assure this. In my case, this is for my "humidifier" project. I need something stable to monitor and display the water level in a linear fashion. The HC-SR04 ultrasonic sensor, that I was using has failed... well, the sensor is ok, so the problem is in the wiring or the Arduino board itself. Long story. I hope to get this built shortly. Thanks for your video.
@whiteking80
@whiteking80 Рік тому
Awesome demo! May I know what freq signal injected onto the copper pad?
@kris-.1439
@kris-.1439 Рік тому
Sorry, I don't know the answer. I used the Touch sensor function call of ESP-IDF. You can find more information here: docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/peripherals/touch_pad.html
@user-sz5ne2oe4h
@user-sz5ne2oe4h Рік тому
Hi, can you give me this project? Im not so cool im programming, but i want to have my own recycle bin)
@kris-.1439
@kris-.1439 Рік тому
The code will actually delete the file or folder that you drop into, and you can't recover them from the real recycle bin. That why I don't want to release to the public.
@Leofardom
@Leofardom 5 місяців тому
nice thing that you cared thanks @@kris-.1439
@jglogau
@jglogau Рік тому
I am looking get your code working on my ESP32-S3 project, can you help. I've mostly programmed in Arduino, not Visual Study. Like you mushroom switches, funny!
@kris-.1439
@kris-.1439 Рік тому
I successfully ran the code on S2 Mini board and it worked. But never try on S3 board yet.
@ivanchen2546
@ivanchen2546 Рік тому
Nice to have this library, but can it control Kasa Smart Strip?
@leducdung123
@leducdung123 Рік тому
rất hay , đã làm và thành công. Chúc kênh ngày càng phát triển
@boyka8221
@boyka8221 5 місяців тому
Cài visual studio code rồi cài thêm phần gì để mở phần code mẫu lên test vậy bác. Tks
@michaelstreck0925
@michaelstreck0925 Рік тому
This is great! Where can i get the appropriate lwip library? Thank you!
@kris-.1439
@kris-.1439 Рік тому
I'm using Arduino 1.8.19 with ESP32 packages installed.
@akiljoko6796
@akiljoko6796 Рік тому
hi kris,thank you for sharing amazing idea, but i have problem when build and flash the program, when im trying to flash it says "Variable ${config:idf.pythonBinPathWin} can not be resolved because setting 'idf.pythonBinPathWin' not found".what should i do?
@nasserghouse9119
@nasserghouse9119 Рік тому
Hi.. I have the same problem.. I see that you have commented three months ago.. could you tell me if you found a solution to the problem ?
@suwichagonnak7330
@suwichagonnak7330 Рік тому
ขอบคุณมากครับ
@suwichagonnak7330
@suwichagonnak7330 Рік тому
เปิด ตอร์ส สอนหรือเปล่าครับ
@ProEvilPriest
@ProEvilPriest Рік тому
Great Video, i was wondering if it is possible to use the sensors with an RPI and without the ESP32 module. Do all the code in Python and connect the sensor to the GPIO Pins.
@ildarbelkin4851
@ildarbelkin4851 Рік тому
You LE3V manual says about P0-P63 pointers. Did you set it in Tool->Device/Label Automatic-Assign Settings Pointers? I has holding PLC on IF CASE operation and TON functional block without the setting.
@ildarbelkin4851
@ildarbelkin4851 Рік тому
Hello. I have the same FX3U clone. Could you help: what is the address map of Y-outputs throw Modbus( FX3U is slave) to read states? X-inputs and D-registers can be read directly (without M).
@sirsur5126
@sirsur5126 Рік тому
แล้วถ้าผมจะทำการ slaveตัว esp32ที่มีการวัดของเซนเซอร์ ให้เข้ากับ FX3U-14mr นี่ ต้องเขียนโค้ดเพื่อเชื่อมต่อตัว plcไหมครับ หรือเขียนแค่โค้ดของเซนเซอร์อย่างเดียว
@kris-.1439
@kris-.1439 Рік тому
ไม่เคยทำครับ แต่คิดว่าต้องเขียน PLC Code อย่างน้อยต้องเปลี่ยน Mode PLC ไปเป็น Modbus Master.
@deesimon1693
@deesimon1693 Рік тому
Can you use an arduino uno microcontroller instead of esp32 and achieve similar results?
@kris-.1439
@kris-.1439 Рік тому
I'm don't think UNO has touch read pins as ESP32.
@hernanvassallo9902
@hernanvassallo9902 Рік тому
Great experiment. I'd like to build a water level sensor with this principie.
@clasperj
@clasperj Рік тому
Hi Kris, thanks for the detailed and amazing tutorial. Do you think the sensor will still work well in salted or mineral water? or "grey water". I would like to apply this design to monitor the water level of a water garden
@kris-.1439
@kris-.1439 Рік тому
Yes, I tested it and it seems working.
@wallstreet497
@wallstreet497 Рік тому
The Fx3u clone is the new Arduino on steroids. Affordable with so many documented projects. I got mine for $40
@oliver1978
@oliver1978 2 роки тому
I couldn't wait to replicate your idea, Kris. I am impressed how well the thing works. I used 5mm stainless steel rods 50cm inserted into PVC pipes. The result is quite linear function. I am not friend with ESP-IDF, hence used Arduino. Each centimeter was around 1 point on the 0..50 scale.
@hernanvassallo9902
@hernanvassallo9902 Рік тому
You have to make another circuit?
@oliver1978
@oliver1978 Рік тому
@@hernanvassallo9902 yes, the circuit is different. I made a pcb for the rods and modified to have 12V supply and few other things.
@Cyruscosmo
@Cyruscosmo 2 роки тому
Would it be possible to place the copper tape on the outside of an aquarium and have it function as a water level indicator?
@kris-.1439
@kris-.1439 2 роки тому
It is hard to say because there are so many factors such as the thickness of aquarium tank and the type of material of the aquarium wall. If wall too thick, ESP32 may not be able to detect the different in capacitive change.
@purplegirl6103
@purplegirl6103 2 роки тому
Hi, can you give code of arduino ide platform
@kris-.1439
@kris-.1439 2 роки тому
Sorry I don't have it.
@mohammedhammouda2692
@mohammedhammouda2692 2 роки тому
Asalamu Alykum, please check this ukposts.info/have/v-deo/mmiHbJeJnImboqc.html the code is in the description of the video. InshAllah it helps !
@mdsukhonsarker7747
@mdsukhonsarker7747 2 роки тому
Which cable are you using to program the PLC?
@kris-.1439
@kris-.1439 2 роки тому
USB to serial port DB9 male.
@sanwomashi1751
@sanwomashi1751 2 роки тому
find FT232R (TRX1227) - USB to RS with converter and drivers ( almost all windows)
@dj1encore
@dj1encore 2 роки тому
Hello, thanks for the good example code. Have you tried other MCU, ie the RP2040 ?
@kris-.1439
@kris-.1439 2 роки тому
No, I have not tried the RP2040 yet.
@hermannsonnleitner4645
@hermannsonnleitner4645 2 роки тому
To fix the problem with the measurement error (spikes) and also to get a higher resolution, simply call the function 'touch_pad_init ()' in the setup () routine.
@hermannsonnleitner4645
@hermannsonnleitner4645 2 роки тому
correction: the 'touch_pad_init()' function needs to be executed each time before reading the cap-value.
@skinkebuen
@skinkebuen 2 роки тому
Great project. I am looking for a way to measure level in a fuel tank. Do you think it is possible to replace the strips with a tube with a rod in senter? The tube will act as a capacitor. My plan is to immerse the tube into the tank. The tank is metal, and I can not use strips on the surface og tank to make the capacitor.
@AlienRelics
@AlienRelics 2 роки тому
Concentric tubes is precisely how I added level sensing to a gas tank. If it is a fluid that is not a conductor, no insulating layer is needed. This was back in the early '80s, I used a couple of 555 timers and an LM3914 wired to show continuous level rather than just 10 steps. The outer tube is the ground and shields it from outside interference and any parasitic capacitances from the tank or things outside a nonconductive tank. I have done the same with water based fluids, in those cases I coat the tube with epoxy or polyurethane. It is important there be no flaws to allow water through.
@mohammedhammouda2692
@mohammedhammouda2692 2 роки тому
Hello, Thank you for the video. I have a question, I have no background in using this type of application. I am trying to use this as an FDC1004 contactless sensor because I cant get an FDC1004 at the moment, I only have the ESP32, do you think this will work? Thank you again.
@Trungkienelectronic
@Trungkienelectronic 2 роки тому
ESP32 is Master?
@kris-.1439
@kris-.1439 2 роки тому
Yes.
@CHXO2010
@CHXO2010 2 роки тому
Thank you, Kris, the experiences you so well shared in your video not only led me to making capacitive sensors with an iron on my desktop, but a way to achieve measuring soil moisture to provide water to maintain plants. I encountered difficulties with my python-version mess in the mac, so until I figure out the paths, I use a primary arduino code averagaing and mapping the readings (my equaly primary micropython dind't improve the readings that much), monitored wirlessly using virtuino. So, while I must hold to see the whole-grain stuff in my bowl, I found the sensors potentially functinal to operate a water supply sytem to a kitchen herb garden, so, I am much grateful to you for the spoonfull!
@banjongphuangsri6297
@banjongphuangsri6297 2 роки тому
Thank you very much for sharing
@tomsaavedra6920
@tomsaavedra6920 2 роки тому
I flashed the code on my wroom dev module. The Cereal Potter does not start at 600-700 and go down when touching the sensor. Mine starts at 0 and goes up to around 6 when touching either sensor. Any idea what's causing this?
@tomsaavedra6920
@tomsaavedra6920 2 роки тому
I had to comment out the EnableScale in app_main
@TechnicalBrainHVAC
@TechnicalBrainHVAC 2 роки тому
I am working an project i have le3u 48mr plc i am devolping a programe temperature and pressure base control but these analog inputs are not enough for me i need 10nos analog inputs is there ant module i can connect with this plc
@DavidFlores-uu6dy
@DavidFlores-uu6dy 2 роки тому
สวัสดี คุณยอดเยี่ยมมาก ฉันกำลังตรวจสอบอยู่มากแต่ให้ทำเช่นเดียวกัน แต่กับ Arduino เท่าที่ควร
@thanhat9416
@thanhat9416 2 роки тому
Hi. How to change stop bit, parity, data lenght?
@kythuattuonghoa8249
@kythuattuonghoa8249 2 роки тому
b cấu hình tring thanh ghi D8120
@thanhat9416
@thanhat9416 2 роки тому
​@Kỹ thuật tự động hóa ý mình muốn hỏi là bên con esp32 ấy. Hiện giờ nó đang cấu hình là 8N1. Để cấu hình vậy thì cũng được. Tại tò mò muốn biết thêm thoi.