- 29
- 158 080
Shane Mattner
เข้าร่วมเมื่อ 7 ก.ย. 2012
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
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
god i HATE Allen Bradley.
How do you exit out of the monitor mode?
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
Thanks for the feedback. I don’t do PLC programming anymore but hopefully people see this comment
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.
Nicely done. An example showing interrupt Handling by arriving character would be great.
Even a year after publishing, this video series is till being used. Thanks!
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?
Great video! How would you do debouncing? Is there a build in method for that?
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).
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!
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.
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.
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}
Thanks for the feedback!
❤
Rust + ESP32 ❤ Maybe RTIC + ESP32 next time?
I was thinking Embassy instead of RTIC
@@shanemmattner I started using RTIC on STM32 two weeks ago. It's cool. Embassy is very young.
great video and nice astrovim setup by the way
Dear Friend, thanks for your great work
You’re very welcome! I’m glad you enjoy the videos!
Thanks so much for thie series. I was completely lost without this! There arent many other well made tutorials for this.
mines crash on esp-println 0.5.0, use info instead. thx keep going!
Our biggest problem in school is compling the std project , the python error looks unsolvable
Thanks
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.
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.
neat! just as I got my new ai thinker esp32c3 kit !
Great video. I've been meaning to try out Rust.
Thanks Bill! Hopefully this video series helps you get started with embedded Rust!
I wanna make a pop-up screen when the plc gives a signal, is it possible?
Thx man
Great Video and usefull. Please upload more about HMI/PLC Tips and Tricks
Thanks this helped me out a lot!!
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.
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
Cool stuff! What are you working on now?
When I export tags the descriptions dont export
Very good but to fast, need to start it from the step 1
Thanks very much! I had the exact problem you had and couldn't figure it out. Very helpful!
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!
I'm a year late, but that is an awesome trick. Can you similarity take structured text and turn into ladder logic?
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.
Thank you very much. You solved my problem...
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.
speak up can't hear you nearly at all
Do you have a full video that hows the steps that it takes to creat a temp control program
Had the same issue. thanks for sharing.
Show us your face!
Show us your face!
Show us your face!
Show us your face!
dear, do you have any videos about tote? How to develop a totalizer?
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.
Show us your face!
Life Saver!
where i can download your treasure chest asset that you using ?
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
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 .
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 :)
Show us your face!
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?
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.
Show us your face!