Ricky


PLC-5 Timers

Introduction to PLC-5 Timers There are three types of PLC-5 Timers that we will cover in this section: TON, TOF, and RTO. Generally, the TON (Timer On Delay) instruction delays the DN (Done) bit from going true. On the other hand, the TOF (Off Delay Timer) delays the DN bit Read More »

PLC-5 Timers

Getting Started with Arduino

Introduction to Getting Started with Arduino When Getting Started with Arduino, there are a few basic components your will need. First, you need an Arduino board. Good boards to start with include the Arduino Uno, Arduino nano, or Arduino Mega. In this case, we’ll simply use an Arduino UNO, which Read More »

arduino

MAX232 for RS232 Communication

Introduction to the MAX232 for RS232 Communication In this section, we’ll set up a MAX232 for RS232 Communication. The MAX232 converts TTL, such as data from a microprocessor, to RS232. We power the MAX232 with 5V, then use charge pumps to increase the voltage for RS232. The charge pumps are Read More »

MAX232

Max485 for RS485 Networks

Introduction to Max485 for RS485 Networks Before we start taking about the Max485 for RS485 Networks, let’s talk about the RS485 network itself. RS485 is a protocol that defines the electrical (physical) characteristics of a network. Although some networks use a 4-conductor model for full duplex, most networks that I Read More »

arduino max485

LM7805 and LM1117t Voltage Regulators

Introduction to the LM7805 and LM1117t (3.3v Version) Voltage Regulators The LM7805 and LM1117t Voltage Regulators will reduce the DC Voltage in a circuit. There will be some amount of power loss in the linear regulators that will produce heat. If you produce too much heat, the regulator will go Read More »

Voltage regulator schematic

Transistor Controlled Motor

Introduction to the Transistor Controlled Motor In this post, we’ll set up a Transistor Controlled Motor. The transistor allows us to control a larger current by applying a small amount of current to the base. If we control this motor with an arduino, we wouldn’t want our control current to Read More »

transistor controlled motor

ESP32/8266 With MQTT

Introduction to ESP32/8266 With MQTT (Mosquitto) In this post we’ll use the ESP32/8266 With MQTT (Mosquitto). Furthermore, I’ll use the library EspMQTTClient.h with the SimpleMQTTClient example. MQTT is short for Message Queuing and Telemetry Transport. Basically, we just publish data to a broker that other clients connect to. Likewise, we Read More »

mqtt client

Infrared Obstacle Avoidance Sensor

Introduction to the Infrared Obstacle Avoidance Sensor The Infrared Obstacle Avoidance Sensor allows us to detect the presence of an object with no contact. For this reason, the module has very little mechanical wear. For example, if you are building a robot, you can detect the presence of an object Read More »

Infrared Object Avoidance

ESP-01 with I2C LCD 6

Introduction to ESP-01 with I2C LCD In this section we’ll discuss setting up the ESP-01 with I2C LCD. I’ll use the LiquidCrystal_I2C Library. For the Generic ESP8266, this shows up as Incompatible under examples. Nonetheless, we’ll make a few modifications for it to work with the ESP-01. By using this Read More »

i2c display

ESP-01 with TM1637

Introduction to the ESP-01 with TM1637 Using the ESP-01 with TM1637 is a very cost efficient way to make a nice display. Obviously, you can use this combination to make a clock, display a value from Mosquitto (MQTT), or any other value. In this post, I’ll be using the TM1637 Read More »

TM1637 Display