Skip to main content

Posts

Showing posts from December, 2021

Latest Post

What is Industry 4.0?

  What is Industry 4.0 and what are some of the technologies that are driving it? Industry 4.0 is a term that refers to the fourth industrial revolution, which is characterized by the integration of digital technologies, such as artificial intelligence, cloud computing, big data, the internet of things, robotics, and 3D printing, into the manufacturing sector. Industry 4.0 aims to create smart factories that are more efficient, flexible, and responsive to customer needs and market changes. Some of the technologies that are enabling Industry 4.0 are: - Artificial intelligence (AI) : AI is the ability of machines to perform tasks that normally require human intelligence, such as reasoning, learning, decision-making, and problem-solving. AI can help optimize production processes, improve product quality, reduce costs, and enhance customer satisfaction. - Cloud computing: Cloud computing is delivering computing services, such as servers, storage, databases, software, and analytics, over t

Sensor Data With OLED

  Display Temperature and Humidity in the OLED Display with Arduino In this section, we’ll build a project that displays temperature and humidity readings on the OLED display. We’ll get temperature and humidity using the  DHT11 temperature and humidity sensor . Demonstration After wiring the circuit and uploading the code, the OLED display shows the temperature and humidity readings. The sensor readings are updated every five seconds. Parts required To complete this project you need the following components: 0.96 inch OLED display  Arduino UNO DHT11 or DHT22 temperature and humidity sensor  Breadboard 4.7k Ohm resistor (or 10k Ohm resistor) Jumper wires Schematic Assemble the circuit by following the next schematic diagram. Note:  if you’re using a module with a DHT sensor, it normally comes with only three pins. The pins should be labeled so that you know how to wire them. Additionally, many of these modules already come with an internal pull-up resistor, so you don’t need to add one

Text on OLED

  Write Text – OLED Display The Adafruit library for the OLED display comes with several functions to write text. In this section, you’ll learn how to write and scroll text using the library functions. “Hello, world!” OLED Display The following sketch displays  Hello, world!  message in the OLED display. for Connections Refer  this Code: #include <Wire.h> #include <Adafruit_GFX.h> #include <Adafruit_SSD1306.h> #define SCREEN_WIDTH 128 // OLED display width, in pixels #define SCREEN_HEIGHT 64 // OLED display height, in pixels // Declaration for an SSD1306 display connected to I2C (SDA, SCL pins) Adafruit_SSD1306 display ( SCREEN_WIDTH , SCREEN_HEIGHT , & Wire , - 1 ); void setup () {   Serial . begin ( 115200 );   if (! display . begin (SSD1306_SWITCHCAPVCC, 0x3C )) { // Address 0x3D for 128x64     Serial . println ( F ( "SSD1306 allocation failed" ));     for (;;);   }   delay ( 2000 );   display . clearDisplay ();   display . setTextSize ( 1 )

Interfacing OLED

 OLED The  organic light-emitting diode  (OLED) display that we’ll use in this tutorial is the SSD1306 model: a mono-color, 0.96-inch display with 128×64 pixels as shown in the following figure. The OLED display doesn’t require backlight, which results in a very nice contrast in dark environments. Additionally, its pixels consume energy only when they are on, so the OLED display consumes less power when compared with other displays. The model we’re using here has only four pins and communicates with the Arduino using I2C communication protocol. There are models that come with an extra RESET pin. There are also other OLED displays that communicate using SPI communication. Because the OLED display uses I2C communication protocol, wiring is very simple. You just need to connect to the Arduino Uno I2C pins as shown in the table below. Pin Wiring to Arduino Uno Vin 5V GND GND SCL A5 SDA A4 If you’re using a different Arduino board, make sure you check the correct I2C pins: Nano: SDA (A4); S

Log sensor data in the cloud

The Cloud  "The cloud" refers to servers that are accessed over the Internet, and the software and databases that run on those servers. Cloud servers are located in  data centers  all over the world. By using cloud computing, users and companies do not have to manage physical servers themselves or run software applications on their own machines. The cloud enables users to access the same files and applications from almost any device, because the computing and storage takes place on servers in a data center, instead of locally on the user device. This is why a user can log in to their Instagram account on a new phone after their old phone breaks and still find their old account in place, with all their photos, videos, and conversation history. It works the same way with cloud email providers like Gmail or Microsoft Office 365, and with cloud storage providers like Dropbox or Google Drive. For businesses, switching to cloud computing removes some IT costs and overhead: for inst