Тёмный
KRIS -นายกิด ซอย.14
KRIS -นายกิด ซอย.14
KRIS -นายกิด ซอย.14
Подписаться
Комментарии
@theimagequestphotography
@theimagequestphotography Месяц назад
also only returns 7 plugs, I have 15
@kris-.1439
@kris-.1439 25 дней назад
I think, the UDP Receive buffer is not big enough to receive 15 devices answering UDP Boardcast all at once, and I don't know where to set the UDP receive buffer in Arduino.
@theimagequestphotography
@theimagequestphotography Месяц назад
why is it hit or miss with the kasaUtil.GetSmartPlug(); not finding plugs?
@Solitudetravel
@Solitudetravel 2 месяца назад
does anyone have an idea of how the capacitance values might change when the copper foils are stuck to inner walls of steel cylinder? I tried it and its not giving stable readings at a particular height. suggestions?
@miltonjimenez5771
@miltonjimenez5771 2 месяца назад
I am been loocking for something like this ,I will make it and let you now my results, thanks
@roygubaton192
@roygubaton192 3 месяца назад
will it work on Fx3G plc?
@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 3 месяца назад
@@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 4 месяца назад
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 4 месяца назад
Can't make it work with Arduino UNO R4 WiFi
@armando8892
@armando8892 4 месяца назад
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.
@babixillo
@babixillo 2 месяца назад
did you find it? i'm looking for exactly what you described 😅
@armando8892
@armando8892 2 месяца назад
@@babixillo not yet.
@naimakka1949
@naimakka1949 5 месяцев назад
immaculate tutorial, exactly what I was searching for, thank you
@ItisImarko
@ItisImarko 6 месяцев назад
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?
@Solitudetravel
@Solitudetravel 2 месяца назад
I am working on it. It gives increasing capacitance at a particular height. So calibration is not possible. Any thoughts?
@ItisImarko
@ItisImarko 2 месяца назад
@@Solitudetravel I assume you heve seen standard option to measure.. from light reflecting to ultrasonic.. well Have you think og mixing load cell and other option and make measurment relative to weight and hight. Offscourse that will work only on stationary objects not while on move (rv/boat).
@Solitudetravel
@Solitudetravel 2 месяца назад
@@ItisImarko i tried tof and ultrasonic. They r ok but i kinda need sub mm accuracy. I thought this touchread can give me more accurate results
@thomaschallis7360
@thomaschallis7360 6 месяцев назад
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 7 месяцев назад
I want to ask- as depth increases, why capacitance is decreasing ? it should increase with depth right?
@tartoruhahomo
@tartoruhahomo 8 месяцев назад
งงกับชื่อไทยเจ้าของช่อง แต่เสียงในคลิปเป็นฝรั่ง แต่ขอบคุณมากที่ทำคลิปดีๆให้ความรู้ครับ
@user-eg8xi2xn4k
@user-eg8xi2xn4k 10 месяцев назад
hello sir can you help me to read data from PLC using esp32 and TT
@jandistler3570
@jandistler3570 Год назад
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 Год назад
unfortunately it does not work on Wemos D1 mini (ESP8266)
@arthurkazanis4283
@arthurkazanis4283 Год назад
Nice work Kris. Got it working on a ESP32-S2 with a HS100 plug.
@saeidmi6859
@saeidmi6859 Год назад
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).
@roygubaton192
@roygubaton192 3 месяца назад
i tried using the program but it always fails. openOCD is not running when flashing the code in VS
@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 9 месяцев назад
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 9 месяцев назад
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 2 года назад
ขอบคุณมากครับ
@suwichagonnak7330
@suwichagonnak7330 Год назад
เปิด ตอร์ส สอนหรือเปล่าครับ
@ProEvilPriest
@ProEvilPriest 2 года назад
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 2 года назад
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 2 года назад
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 2 года назад
แล้วถ้าผมจะทำการ slaveตัว esp32ที่มีการวัดของเซนเซอร์ ให้เข้ากับ FX3U-14mr นี่ ต้องเขียนโค้ดเพื่อเชื่อมต่อตัว plcไหมครับ หรือเขียนแค่โค้ดของเซนเซอร์อย่างเดียว
@kris-.1439
@kris-.1439 2 года назад
ไม่เคยทำครับ แต่คิดว่าต้องเขียน PLC Code อย่างน้อยต้องเปลี่ยน Mode PLC ไปเป็น Modbus Master.
@deesimon1693
@deesimon1693 2 года назад
Can you use an arduino uno microcontroller instead of esp32 and achieve similar results?
@kris-.1439
@kris-.1439 2 года назад
I'm don't think UNO has touch read pins as ESP32.
@hernanvassallo9902
@hernanvassallo9902 2 года назад
Great experiment. I'd like to build a water level sensor with this principie.
@clasperj
@clasperj 2 года назад
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 2 года назад
Yes, I tested it and it seems working.
@wallstreet497
@wallstreet497 2 года назад
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 2 года назад
You have to make another circuit?
@oliver1978
@oliver1978 2 года назад
@@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 ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-b8V8aReSjAs.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!