Home > On-Demand Archives > Talks >

OpenPLC: A Unique Approach to Programming Microchip Atmega328 microcontrollers

Dr. Don Wilcher - Watch Now - EOC 2022 - Duration: 36:40

OpenPLC: A Unique Approach to Programming Microchip Atmega328 microcontrollers
Dr. Don Wilcher
The traditional approach to programming a microcontroller has been with high-level languages like C or C++. Programmer Tools like compilers are used to take the high-level language code and disassemble it to a machine code format. A no-code approach can now be used to program a microcontroller using a ladder diagram programming language. In this talk, an open-source ladder diagram programming platform called OpenPLC will be discussed. OpenPLC is based on the International Electrotechnical Commission (IEC) 61131-1 Functional Programming Languages standard. Participants will learn the basics of a programmable logic controller ladder diagram and how to implement control function tasks using the OpenPLC Editor. The OpenPLC Runtime environment for programming and monitoring the control functions embedded on the microcontroller will be presented in the talk discussion. The Arduino Uno -Microchip ATMega328 based platform will be the development tool for implementing specific OpenPLC control function tasks.
M↓ MARKDOWN HELP
italicssurround text with
*asterisks*
boldsurround text with
**two asterisks**
hyperlink
[hyperlink](https://example.com)
or just a bare URL
code
surround text with
`backticks`
strikethroughsurround text with
~~two tilde characters~~
quote
prefix with
>

mrdon219@gmail.comSpeaker
Score: 0 | 3 years ago | no reply

Hi Thomas,
Thanks for the kind comments regarding the presentation. There are Function Block Diagrams (FBD) that support such microcontroller features. With these FBDs and ladder diagrams (LD) traditional microcontroller tasks can be accomplished. Further, there is an active community of developers on the forum that are creating new FBDs to expand the OpenPLC capabilities for embedded applications. I have been using OpenPLC in my Programmable Logic Controller and electronic courses with great success. My learners are engaged with various electronic control projects using OpenPLC as the software programming interface for the Arduino Uno. I hope I answered your question, Thomas.

Thomas.Schaertel
Score: 0 | 3 years ago | no reply

Hi Don, I liked your presentation although I was wondering how OpenPLC supports the various hardware features of the microcontroller (like PWM, A/D etc.). For example, how would you write a simple control loop in LD to control a motor's speed, or read an analog value? I never programmed a PLC, so maybe I'm missing something here. But your talk was inspiring, maybe this is a good start in electronic education.

OUR SPONSORS

OUR PARTNERS