KRIS -นายกิด ซอย.14
KRIS -นายกิด ซอย.14
  • 6
  • 86 113
DIY Hitbox Style Joystick Using ESP32 S2 Controller
Home made Joystick using ESP32 S2 Mini as Joystick Controller.
1 millisecond polling rate
SOCD support
You can find the source code here
github.com/kj831ca/ESP32-S2_Hitbox
มุมมอง: 562

วีดีโอ

How to use Arduino Kasa Smart Plug Library with ESP32 to control TP-Link Smart Plug Devices
มุมมอง 2.6Kปีที่แล้ว
This video will show you how to use Arduino Kasa Smart Plug Library to control TP Link Smart Plug in Local network mode. You can find the link to my Arduino Kasa Smart Plug Library here github.com/kj831ca/KasaSmartPlug
Control FX3U PLC With ESP32 Part2 (Analog Input, Stepper Motor and remote access)
มุมมอง 12K3 ปีที่แล้ว
In this video, I will show you how to control the FX3U PLC using ESP32 directly controlled through RS485 and remotely controlled from PC using UDP protocol thru port 3333. Also show you how to read the Analog Input from FX3U PLC, and how to control the stepper motor. You can get the ESP32 source code from here: github.com/kj831ca/FX3U_ESP32_Part2 You can find the Simple UDP Client software sour...
Control FX3U PLC with ESP32 Microcontroller Part1( PLC I/O Control)
มุมมอง 45K3 ปีที่แล้ว
This video will show you how to use ESP32 Microcontroller to communicate and control the FX3U PLC using the RS485 Modbus RTU protocol. Part 2 Link: th-cam.com/video/Jtce-PU6fpk/w-d-xo.html RS485 Converter www.amazon.com/Conversion-Hardware-Automatic-Distance-Transmission/dp/B07YZTGHGG/ref=sr_1_1?dchild=1&keywords=SongHe TTL to RS485 Module 485 to Serial UART Level Mutual Conversion Hardware Aut...
DIY Capacitive Water Level Sensor using ESP32 Touch Read function
มุมมอง 25K3 ปีที่แล้ว
In this video I will show you how to create the Capacitive Water Level sensors to be used with ESP32. You can find the source code for ESP32 here: github.com/kj831ca/touch_read_example and source code for Cereal Potter here: github.com/kj831ca/CerealPotter
Animated Windows Recycle Bin
มุมมอง 8584 ปีที่แล้ว
Like a lot of people, I have been working from home since when I could not remember exactly. Out of boredom, I decided to make something fun. Hope you like it.

ความคิดเห็น

  • @miltonjimenez5771
    @miltonjimenez5771 3 วันที่ผ่านมา

    I am been loocking for something like this ,I will make it and let you now my results, thanks

  • @roygubaton192
    @roygubaton192 หลายเดือนก่อน

    will it work on Fx3G plc?

  • @henrytheodoredaquinag529
    @henrytheodoredaquinag529 หลายเดือนก่อน

    some of the files for json is missing how to fix this

    • @kris-.1439
      @kris-.1439 หลายเดือนก่อน

      I'm not using any JSON file on this project.

    • @henrytheodoredaquinag529
      @henrytheodoredaquinag529 หลายเดือนก่อน

      @@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 หลายเดือนก่อน

      @@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 หลายเดือนก่อน

      @@kris-.1439 now the problem in the code is openocd is not running, how can I fix this

  • @Schroedimoto
    @Schroedimoto หลายเดือนก่อน

    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 หลายเดือนก่อน

    Can't make it work with Arduino UNO R4 WiFi

  • @armando8892
    @armando8892 หลายเดือนก่อน

    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 2 หลายเดือนก่อน

    immaculate tutorial, exactly what I was searching for, thank you

  • @drankenkorps
    @drankenkorps 3 หลายเดือนก่อน

    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 3 หลายเดือนก่อน

    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 4 หลายเดือนก่อน

    I want to ask- as depth increases, why capacitance is decreasing ? it should increase with depth right?

  • @tartoruhahomo
    @tartoruhahomo 5 หลายเดือนก่อน

    งงกับชื่อไทยเจ้าของช่อง แต่เสียงในคลิปเป็นฝรั่ง แต่ขอบคุณมากที่ทำคลิปดีๆให้ความรู้ครับ

  • @user-eg8xi2xn4k
    @user-eg8xi2xn4k 7 หลายเดือนก่อน

    hello sir can you help me to read data from PLC using esp32 and TT

  • @jandistler3570
    @jandistler3570 10 หลายเดือนก่อน

    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 10 หลายเดือนก่อน

    unfortunately it does not work on Wemos D1 mini (ESP8266)

  • @arthurkazanis4283
    @arthurkazanis4283 10 หลายเดือนก่อน

    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 หลายเดือนก่อน

      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?

  • @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 6 หลายเดือนก่อน

      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 6 หลายเดือนก่อน

      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 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 ปีที่แล้ว

      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 ปีที่แล้ว

      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 th-cam.com/video/b8V8aReSjAs/w-d-xo.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?

  • @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