Shane Mattner
Shane Mattner
  • 29
  • 158 080
P4 - DHT11 with Rust on ESP32-C3
Read a DHT11 sensor using the [dht11-rs](github.com/plorefice/dht11-rs) crate
Github project
github.com/shanemmattner/ESP32-C3_Rust_Tutorials/tree/main/Tutorials/p4-dht11
#rust #esp32 #esp32c3 #esp_idf_hal #embedded_rust #embedded_systems #dht11
มุมมอง: 957

วีดีโอ

P7 - UART echo with Rust on ESP32-C3
มุมมอง 841ปีที่แล้ว
Example of using the UART peripheral of the ESP32-C3 to echo text back to the user. Github code: github.com/shanemmattner/ESP32-C3_Rust_Tutorials/tree/main/Tutorials/p7-uart #rust #esp32 #esp32c3 #esp_idf_hal #embedded_rust #embedded_systems #uart
P6 - SPI + uSD card with Rust on ESP32-C3
มุมมอง 879ปีที่แล้ว
Short example on using SPI peripheral to write to a uSD card Github code: github.com/shanemmattner/ESP32-C3_Rust_Tutorials/tree/main/Tutorials/p6-spi embedded_sdmmc docs.rs/embedded-sdmmc/latest/embedded_sdmmc/ #rust #esp32 #esp32c3 #esp_idf_hal #embedded_rust #embedded_systems #spi #sd_card #uSD #embedded_sdmmc
P5 - I2C + SX1509 with Rust on ESP32-C3
มุมมอง 766ปีที่แล้ว
Short example on using I2C peripheral with the SX1509 crate to configure and use a GPIO expander. Github code: github.com/shanemmattner/ESP32-C3_Rust_Tutorials/tree/main/Tutorials/p5-i2c SX1509 Rust crate github.com/wez/sx1509 #rust #esp32 #esp32c3 #esp_idf_hal #embedded_rust #embedded_systems #i2c #sx1509
P3 - ADC with Rust on ESP32-C3
มุมมอง 827ปีที่แล้ว
Short example on reading the ADC and printing out the values to the console. Link to github code: github.com/shanemmattner/ESP32-C3_Rust_Tutorials/tree/main/Tutorials/p3-adc #rust #esp32 #esp32c3 #esp_idf_hal #embedded_rust #embedded_systems #adc #analog
P2 - Threads with Rust on ESP32-C3
มุมมอง 1.6Kปีที่แล้ว
Separate blinky and button logic into separate threads. Send messages with crossbeams github.com/shanemmattner/ESP32-C3_Rust_Tutorials/tree/main/Tutorials/p2-threads #rust #esp32 #esp32c3 #esp_idf_hal #blinky #embedded_rust #embedded_systems #thread #gpio
P1 - Blinky + Button with Rust on ESP32-C3
มุมมอง 1.9Kปีที่แล้ว
Add button logic to our previous Blinky example github.com/shanemmattner/ESP32-C3_Rust_Tutorials/tree/main/Tutorials/p1-input #rust #esp32 #esp32c3 #esp-idf-hal #blinky #embedded_rust #embedded_systems #gpio
P0 - Blinky with Rust on ESP32-C3
มุมมอง 8Kปีที่แล้ว
First part in a tutorial series on creating Rust applications targeting the ESP32-C3. This is a short video on how to make a simple blinky application to turn an led on and off Link to Github: github.com/shanemmattner/ESP32-C3_Rust_Tutorials/tree/main/Tutorials/p0-output Singletons - The Embedded Rust Book docs.rust-embedded.org/book/peripherals/singletons.html Installing Rust for ESP32 Develop...
ESP32 data logger with SKiDL - part 3
มุมมอง 1202 ปีที่แล้ว
Implement the analog front end circuit based on the PlainDAQ design. Project Repo: github.com/shanemmattner/skidl_esp32_tutorials PlainDAQ: github.com/AlperenAkkuncu/PlainDAQ/
ESP32 data logger with SKiDL - Part 2
มุมมอง 1102 ปีที่แล้ว
We go further with SKiDL and develop the remaining circuitry for a bare-bones ESP32 dev board including: - ESP32 - programming circuit - USB - Voltage Regulator Many circuits taken from this video: th-cam.com/video/WWIy6a0T7WM/w-d-xo.html Project Repo: github.com/shanemmattner/skidl_esp32_tutorials
ESP32 data logger with SKiDL - part 1
มุมมอง 2752 ปีที่แล้ว
Intro to SKiDL and generating our first PCB Project Repo: github.com/shanemmattner/skidl_esp32_tutorials SKiDL official documentation: devbisme.github.io/skidl/ Jupyter book version of documentation: shanemmattner.github.io/skidl_jupyter_book/intro.html
FTVS - setting up comms with plc
มุมมอง 2197 ปีที่แล้ว
Simple steps to change your computer's IP address and connect the HMI with a PLC.
RSLogix- Mapped IO and SLC copy paste
มุมมอง 3.3K7 ปีที่แล้ว
I got through how and why you should map your PLC I/O and use SLC copy/paste to do it efficiently. I also talk about using separate data files and how to get RSLogix 500 back to the "normal" view without having to drag all the corners around.
RSLogix with Structured Text
มุมมอง 3.5K7 ปีที่แล้ว
Ladder logic is great but when we need to make many copies of the same lines of logic it's more efficient to use Structured Text. In this video I go through how to obtain the structured text for your line of logic and Use Excel/Word to repeat that logic many times over while auto-incrementing blocks.
Setting up MODBUS-TCP comms between Eaton C441 and MicroLogix 1400
มุมมอง 23K7 ปีที่แล้ว
I got through all the steps to set up MODBUS-TCP between an Eaton C441 (connected to a C440) and a MicroLogix 1400. The micrologix must be a series B. Series A does not support MODBUS-TCP
Set PLC IP address with BOOTP
มุมมอง 36K7 ปีที่แล้ว
Set PLC IP address with BOOTP
RSLogix - PID setup
มุมมอง 27K7 ปีที่แล้ว
RSLogix - PID setup
RSLogix - Hotkeys
มุมมอง 2.9K7 ปีที่แล้ว
RSLogix - Hotkeys
RSLogix- adding tags in Excel
มุมมอง 9K7 ปีที่แล้ว
RSLogix- adding tags in Excel
RSLogix - edit tags in Excel
มุมมอง 10K7 ปีที่แล้ว
RSLogix - edit tags in Excel
FTVS trending
มุมมอง 1207 ปีที่แล้ว
FTVS trending
FTVS - Tag missing
มุมมอง 1497 ปีที่แล้ว
FTVS - Tag missing
FTVS - pop up screen
มุมมอง 16K7 ปีที่แล้ว
FTVS - pop up screen
FTVS - Change date and time
มุมมอง 1197 ปีที่แล้ว
FTVS - Change date and time
Wonderware - making scripts with Excel
มุมมอง 1.2K7 ปีที่แล้ว
Wonderware - making scripts with Excel
Wonderware - Sorting Tags with Excel
มุมมอง 1.2K7 ปีที่แล้ว
Wonderware - Sorting Tags with Excel
RSLogix- Edit 80 alarm AOI blocks
มุมมอง 8947 ปีที่แล้ว
RSLogix- Edit 80 alarm AOI blocks
FTVS Alarms Setup
มุมมอง 6K7 ปีที่แล้ว
FTVS Alarms Setup
Unity 3D VR treasure chest animation
มุมมอง 1.5K7 ปีที่แล้ว
Unity 3D VR treasure chest animation

ความคิดเห็น

  • @Timmeh_The_tyrant
    @Timmeh_The_tyrant 14 วันที่ผ่านมา

    god i HATE Allen Bradley.

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

    How do you exit out of the monitor mode?

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

    it is not the only way. Better way is to export all alarms, make modifications in excel to CSV export then re-import. There is special place in hell for those programmers who designed alarm enry window in FTV ME

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

      Thanks for the feedback. I don’t do PLC programming anymore but hopefully people see this comment

  • @TheLANBeforeTime-uo9ph
    @TheLANBeforeTime-uo9ph 5 หลายเดือนก่อน

    I'm a bit lost when you say the button is on GPIO6. is it an external button you connect with the chip? I don't have any built-in button for input purpose.

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

    Nicely done. An example showing interrupt Handling by arriving character would be great.

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

    Even a year after publishing, this video series is till being used. Thanks!

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

    Awesome! i'm very insterested in learning rust for the ESP32, but i'm a newby to rust. How is the drive/libraries righ now and the program size difference is noticeable?

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

    Great video! How would you do debouncing? Is there a build in method for that?

  • @Wei-YingChen
    @Wei-YingChen 8 หลายเดือนก่อน

    Great video. By the way, I cloned the repository, and I got this error: `no AtomicU64 in sync::atomic help: a similar name exists in the module: AtomicU32`. I can't use AtomicU32 because I'm on a x86_64 OS (Ubuntu).

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

    This series is just what I needed. I found myself wanting to recreate the AI-Thinker ESP32-CAM example w/ OV2640 from the Arduino repos, and your series put me on just the right path as a newbie rust developer (though I am a professional embedded dev) to get started. The cargo generate tools have gotten a lot better since the video came out! I wasn't sure why you were using espflash instead of just cargo run, but I think it just has to do with the updates since the video was posted. Thanks again!

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

      Thank you for your kind comment. It gives me great satisfaction and encouragement to make more videos when I know they help others. I made these videos based on the process that worked for me for at the time so I may not have explored all options for flashing/debugging. Make some videos on your project! Making this series really helped me learn Rust and embedded Rust.

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

    Thanks, Shane. For anyone following this, I had to change `[target.riscv32imc-esp-espidf]` in `.cargo/config.toml` to `rustflags = ["--cfg", "espidf_time64", "--cfg", "crossbeam_no_atomic_64", "-C", "default-linker-libraries"]` to fix a missing Atomic64 type causing compile to fail.

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

    adcChannelDriver initialisation changed a bit. It now expects a constant and not a type: AdcChannelDriver::<'_, DB_11, Gpio3>::new(sensor_pin) With DB_11 being imported from esp-idf-hal: adc::{attenuation::DB_11}

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

      Thanks for the feedback!

  • @michah3956
    @michah3956 ปีที่แล้ว

  • @michah3956
    @michah3956 ปีที่แล้ว

    Rust + ESP32 ❤ Maybe RTIC + ESP32 next time?

    • @shanemmattner
      @shanemmattner ปีที่แล้ว

      I was thinking Embassy instead of RTIC

    • @michah3956
      @michah3956 ปีที่แล้ว

      @@shanemmattner I started using RTIC on STM32 two weeks ago. It's cool. Embassy is very young.

  • @ortani
    @ortani ปีที่แล้ว

    great video and nice astrovim setup by the way

  • @marcelocorrea7916
    @marcelocorrea7916 ปีที่แล้ว

    Dear Friend, thanks for your great work

    • @shanemmattner
      @shanemmattner ปีที่แล้ว

      You’re very welcome! I’m glad you enjoy the videos!

  • @konradstaniszewski
    @konradstaniszewski ปีที่แล้ว

    Thanks so much for thie series. I was completely lost without this! There arent many other well made tutorials for this.

  • @iulikdev
    @iulikdev ปีที่แล้ว

    mines crash on esp-println 0.5.0, use info instead. thx keep going!

  • @kingyuaking
    @kingyuaking ปีที่แล้ว

    Our biggest problem in school is compling the std project , the python error looks unsolvable

  • @negvorsa
    @negvorsa ปีที่แล้ว

    Thanks

  • @mafokken
    @mafokken ปีที่แล้ว

    Is there a setting I'm missing. Because I tried doing what you did with a very simple rung and when I "Paste from SLC Library", then Edit the Indexes, and then click "OK", the indexes aren't changed.

  • @baileytownsend1341
    @baileytownsend1341 ปีที่แล้ว

    Getting my board in the mail tomorrow! I was learning about UART and wondered how to write to it from an ESP32 with rust. This answer exactly that! Thank you! Keep it up excited to check out the rest of the videos.

  • @TheMlg556
    @TheMlg556 ปีที่แล้ว

    neat! just as I got my new ai thinker esp32c3 kit !

  • @billtudor1953
    @billtudor1953 ปีที่แล้ว

    Great video. I've been meaning to try out Rust.

    • @shanemmattner
      @shanemmattner ปีที่แล้ว

      Thanks Bill! Hopefully this video series helps you get started with embedded Rust!

  • @cold5199
    @cold5199 2 ปีที่แล้ว

    I wanna make a pop-up screen when the plc gives a signal, is it possible?

  • @anderyack1909
    @anderyack1909 2 ปีที่แล้ว

    Thx man

  • @syafrizal429
    @syafrizal429 2 ปีที่แล้ว

    Great Video and usefull. Please upload more about HMI/PLC Tips and Tricks

  • @klempel11
    @klempel11 3 ปีที่แล้ว

    Thanks this helped me out a lot!!

  • @shahriarshajib541
    @shahriarshajib541 3 ปีที่แล้ว

    How will I create communicate between my laptop & my SLC 5/05? Here is the scenario in my case: 1. When I connected ethernet with the SLC, signal LED of the module turned ON, but no device found in latest version of RSlinx. 2. IP address of the module is unknown. 3. I have used BOOT DHCP tool ( Version 3.05 )of rockwell using different subnet mask, while there was no any sign of Mac address of my SLC. However it showed only Mac address of my ethernet adapter whenever I connected ethernet cable to my module. 4. I have tried using both automatic & manual IP address from IP4 configuration of my ethernet adapter properties. 5. I have used one crossover cable between my laptop & module. No switch or router in between.

  • @luckschen2124
    @luckschen2124 3 ปีที่แล้ว

    if possible Could you please send me one PID control,ACD, to my email? that may be easier to look and study, thanks for you help 1995chexiao@@t

  • @CroomMusic
    @CroomMusic 3 ปีที่แล้ว

    Cool stuff! What are you working on now?

  • @DSNCB919
    @DSNCB919 4 ปีที่แล้ว

    When I export tags the descriptions dont export

  • @mrtrader4628
    @mrtrader4628 4 ปีที่แล้ว

    Very good but to fast, need to start it from the step 1

  • @kojoalmighty
    @kojoalmighty 4 ปีที่แล้ว

    Thanks very much! I had the exact problem you had and couldn't figure it out. Very helpful!

  • @whohastimeforthis
    @whohastimeforthis 5 ปีที่แล้ว

    AWESOME, I've been searching all day for this and came across this video. Once I seen your name, I knew I would get the answer. Been a subscriber for a while!

  • @leebeavers6155
    @leebeavers6155 5 ปีที่แล้ว

    I'm a year late, but that is an awesome trick. Can you similarity take structured text and turn into ladder logic?

    • @shanemmattner
      @shanemmattner 5 ปีที่แล้ว

      What I'm doing in the video is doing exactly that: taking structured text and RSLogix turns it into ladder logic. You can do the opposite by making a ladder logic rung and then copying the text generated in the top bar as I do at 1:14. For doing large control projects structured text seems to be the most efficient option. It's also portable among various PLC manufacturers.

  • @guymailhot1130
    @guymailhot1130 5 ปีที่แล้ว

    Thank you very much. You solved my problem...

  • @superxle1769
    @superxle1769 6 ปีที่แล้ว

    Hello, "SuperXLe for InTouch" This is freeware Excel add-in for InTouch and Galaxy Tag Editing. It can provide to convert from InTouch tag to IndoSoft(InTouch Machine Edition) tag , too. I hope Wonderware users in the world to use it.

  • @brianwesterhof1863
    @brianwesterhof1863 6 ปีที่แล้ว

    speak up can't hear you nearly at all

  • @roberto0302rh
    @roberto0302rh 6 ปีที่แล้ว

    Do you have a full video that hows the steps that it takes to creat a temp control program

  • @KaustubGohokar
    @KaustubGohokar 6 ปีที่แล้ว

    Had the same issue. thanks for sharing.

  • @drewwalls2302
    @drewwalls2302 6 ปีที่แล้ว

    Show us your face!

  • @drewwalls2302
    @drewwalls2302 6 ปีที่แล้ว

    Show us your face!

  • @drewwalls2302
    @drewwalls2302 6 ปีที่แล้ว

    Show us your face!

  • @drewwalls2302
    @drewwalls2302 6 ปีที่แล้ว

    Show us your face!

  • @RPBochorny
    @RPBochorny 6 ปีที่แล้ว

    dear, do you have any videos about tote? How to develop a totalizer?

    • @shanemmattner
      @shanemmattner 6 ปีที่แล้ว

      I do not, but it's straightforward: Use 1 retentive timer (RTO), which keeps track of seconds, and 2 count up blocks (CTU's), one for keeping track of minutes and another for hours . The timer starts counting when the output of interest is energized and counts up to 60 seconds (1 minute). When the RTO gets to 60 seconds set it back to zero (you'll need a separate line of logic for this) and increment the minutes counter by 1. When the first CTU gets to 60 (which means the output has run for 60 minutes, or 1 hour) then reset it to 0 and increment the second CTU (which keeps track of hours). Hope that helps.

    • @drewwalls2302
      @drewwalls2302 6 ปีที่แล้ว

      Show us your face!

  • @laurencekuo2707
    @laurencekuo2707 6 ปีที่แล้ว

    Life Saver!

  • @mynameartthememory626
    @mynameartthememory626 6 ปีที่แล้ว

    where i can download your treasure chest asset that you using ?

    • @shanemmattner
      @shanemmattner 6 ปีที่แล้ว

      It was given to me as part of Udacity's VR nano degree. You can get a free trial for signing up and I think they give you another free trial with Github

  • @mymorocco3335
    @mymorocco3335 7 ปีที่แล้ว

    Hi There, i really like your videos and i appreciate the efforts, i was just wondering if u have a video on how to creating a global object with more than one tag on factory talk view .

    • @shanemmattner
      @shanemmattner 6 ปีที่แล้ว

      Glad you enjoy them. The larger the SCADA system, the more valuable Excel proves to be. I'm sorry to say I don't have an answer for your question. I've moved to embedded control systems and don't use FTVS/RSLogix much anymore. If I had to guess I'd say make a single tag that FTVS will use for a global tag, but in RSLogix that single tag value is based on multiple logic conditions (which would normally be multiple tags). Hopefully that's in the vicinity of a decent answer :)

    • @drewwalls2302
      @drewwalls2302 6 ปีที่แล้ว

      Show us your face!

  • @gabrielcembranel9146
    @gabrielcembranel9146 7 ปีที่แล้ว

    Amigao, tenho uma duvida nao sei se voce pode me ajudar, via script VBA come que faco para dar um set no tag que busco do CLP?

    • @shanemmattner
      @shanemmattner 6 ปีที่แล้ว

      I'm using Google to translate. Estou usando o Google para traduzir. Você está tentando escrever um programa VBA para o Windows que monitora as tags de um PLC? Eu não sei como fazer isso, desculpe. Se você encontrar uma resposta à sua pergunta, envie-me um link.

    • @drewwalls2302
      @drewwalls2302 6 ปีที่แล้ว

      Show us your face!