EN / USD
5 Items
 Home
Blog
STM32 SPI Communication
SPI communication with STM32, SPI in polling mode, SPI in interrupt mode, SPI in DNA mode, SCLK, MOSI, SS
The SPI (Serial Peripheral Interface) protocol, or rather the SPI interface, was originally devised by Motorola (now Freescale) to support their microprocessors and microcontrollers. Unlike the I2C standard designed by Philips, the SPI interface has never been standardized; nevertheless, it has become a de-facto standard. National Semiconductor has developed a variant of the SPI under the name Microwire bus. The lack of official rules has led to the addition of many features and options that must be appropriately selected and set in order to allow proper communication between the various interconnected devices. The SPI interface describes a single Master single Slave communication and is of the synchronous and full-duplex type. The clock is transmitted with a dedicated line (not necessari ...
Blog
Write and Read an I2C EEPROM with STM32
I2C eeprom, Write and Read an EEPROM with STM32, STM32CubeMX project, Serial I2C, I2C EEPROM with STM32
EEPROMs (Electrically Erasable Programmable Read-Only Memories) allow the non-volatile storage of application data or the storage of small amounts of data in the event of a power failure. Using external memories that allow you to add storage capacity for all those applications that require data recording. We can choose many types of memories depending on the type of interface and their capacity. EEPROMs are generally classified and identified based on the type of serial bus they use. The first two digits of the code identify the serial bus used: Parallel: 28 (for example 28C512) much used in the past but now too large due to having many dedicated pins for parallel transmission Serial I2C: 24 (for example 24LC256) Serial SPI: 25 (for example 25AA080A) Serial - Microwire: 93 (for ...
Blog
Designing Logic Gates in PLC Simulator
Ladder logic contact, Normally open contact, Normally close contact, The coil, Create our very first ladder program, Creating a new project on the TIA portal, Writing the first program on the TIA portal software, Simulating the first ladder logic program, Simulating our first program, Simulating ANR, OR, and NOT logic, AND logic, OR logic, NOT logic, Enjoying simulation of the latching ladder program, Latching output, Latching ladder code simulation, Latching using set and reset, The signal edges
Hello friends, I hope you all are doing great. In today's tutorial, we are going to design logic gates in PLC Simulator. It's our 4th tutorial in Ladder Logic Programming Series. We come today to elaborate the logic gates with comprehensive details for their importance in PLC programming. you can consider logic gates as the building blocks of ladder logic programming. Like every time we start with telling what you guys are going to have after completing this session? For those who like to buy their time and calculate for feasibility, I’d like to say by completing this article, you are going to know everything about what types of logic gates, how they are designed and how they work, how you can translate the logic in your head into the logic gate a ...
Blog
Creating the First Ladder Logic Program in PLC Simulator
Ladder logic contact, Normally open contact, Normally close contact, The coil, Create our very first ladder program, Creating a new project on the TIA portal, Writing the first program on the TIA portal software, Simulating the first ladder logic program, Simulating our first program, Simulating ANR, OR, and NOT logic, AND logic, OR logic, NOT logic, Enjoying simulation of the latching ladder program, Latching output, Latching ladder code simulation, Latching using set and reset, The signal edges
Hello friends, I hope you all are doing great. In today's tutorial, I am going to create the first Ladder Logic Program in PLC Simulator. It's 3rd tutorial in our Ladder Logic Programming Series. In our previous tutorial, we have installed PLC Simulator and now we can say our lab is ready to learn and practice. So let us get to work and get familiar with the ladder logic components. After this article, you will have a complete understanding of PLC contact and coil including their types and possible causes. Because they are the building block of any rung of a ladder logic program. So let us start with ladder logic rung components. Ladder Logic Contact/Input In ladder logic programming, a contact represents the input of the system and it could b ...
Blog
Installing PLC Simulator for Ladder Logic Programming
Simulation environment setup, setup the working environment, downloading the software simulation packages, installing the programming software package, Installing the PLC simulator, Simulator setup, Checking the setup environment
Hello friends, I hope you are doing very well! In today's tutorial, we will set up a simulation environment for Ladder Logic Programming. It's our second tutorial in Ladder Logic Programming Series. In our previous tutorial, we have seen a detailed Introduction to Ladder Logic Programming and we have seen that this programming language is used for PLC controllers. As PLC is an Industrial Controller, it comes with built-in relays/transistors(with protection circuitry) and thus is quite expensive as compared to microcontrollers/microprocessors i.e. Arduino, Raspberry Pi etc. Moreover, if you are working on a real PLC, you need to do some wiring in order to operate it. So, in order to avoid these PLC issues at the beginning, instead of buying a PLC o ...