ESP32 and Its Pin Description

Saba Hilal
Updated on 18-Apr-2023 13:56:15

17K+ Views

For IoT projects, we need to use a microcontroller. ESP32 is one such microcontroller that can be used to start learning IOT and making IOT circuits. It is therefore important to learn about its pins layout and also what is the purpose of each pin and how it can be used. In this article, first, the layout of pins available in ESP32 Wroom 30-pin microcontroller is specified. Then the different types of pins that are available in ESP32 are described. ESP32 is used for a variety of applications including the use of wifi, transmitters, and receiver devices, Serial Peripheral Interfaces, ... Read More

Using the WiFi Mode with ESP32

Saba Hilal
Updated on 18-Apr-2023 13:55:11

2K+ Views

ESP32 microcontroller can connect to the internet and use the wifi. It can be used to see the network details of the available networks. It can also be used for advanced functions such as changing the MAC address of ESP32. In this article, using three different examples, the programs using the wifi with ESP32 are given. In example 1, a C program is used to scan the wifi networks available and the details are displayed. In example 2, the wifi connection is established by giving the SSID details, and in example 3, the current Mac address of ESP32 is seen ... Read More

Using NoSQL Database with IoT

Saba Hilal
Updated on 18-Apr-2023 13:54:22

1K+ Views

NoSql databases are those databases that do not store the data as data is stored in relational databases. Most of the data that is used in real life is often unstructured. These NoSQL databases provide an easy way to store this unstructured data by using key-value pairs. In this article, a NoSQL database called Firebase is used with a C program that controls the IOT circuit. The article presents the writing of the values to the firebase and getting the values from the firebase in real time and using those for controlling the circuit components. Connecting the Firebase, Wifi, C ... Read More

Go vs Java

Sabid Ansari
Updated on 18-Apr-2023 13:03:29

343 Views

Go and Java are two popular programming languages used for developing different types of applications. While both languages have their unique features and advantages, there are some key differences between them that developers should consider when deciding which language to use for their projects. In this article, we'll explore the differences between Go and Java in terms of syntax, performance, concurrency, and more. Go Java Syntax Go has a simpler and more concise syntax compared to Java. Go has fewer keywords and syntax rules, making it easier for developers to read, write and maintain code. ... Read More

Golang Program to Remove Duplicates Ignoring Order

Siva Sai
Updated on 18-Apr-2023 12:55:53

149 Views

When working with slices in Golang, it's common to need to remove duplicate elements from the slice. While there are many ways to do this, one approach that can be particularly useful is to remove duplicates while ignoring the order of the elements. This can be useful, for example, when you want to compare two slices for equality without caring about the order of the elements. In this article, we'll explore a simple Golang program that removes duplicates from a slice while ignoring the order of the elements. We'll break down the program step by step to explain how it ... Read More

Hashing Passwords in Python with Bcrypt

Atharva Shah
Updated on 18-Apr-2023 12:42:33

12K+ Views

Password hashing is a technique used to store passwords securely. It involves converting plain text passwords into a hashed format that cannot be easily reversed or decrypted. By hashing passwords, even if a hacker gains access to the password database, they will not be able to decipher the passwords. BCrypt is a password hashing algorithm that is considered one of the most secure algorithms for password hashing in Python. BCrypt is designed to be slow, which makes it more difficult for hackers to crack the hashed passwords. In this post, we will explain the syntax, code algorithm, and Python ... Read More

Things Needed to Start IoT

Saba Hilal
Updated on 18-Apr-2023 12:42:12

251 Views

IOT ie. The Internet of Things refers to all those devices that can communicate over the Internet and can be made accessible or connectable by anybody and from anywhere in the world. IoT is already being used or has been seen implemented in different forms such as in Smart cars and watches, Smart homes, Smart irrigation systems, Smart cities, etc. To start learning IOT, first, it is important to learn about the things that are needed to make circuits. There are some simulators available to make the beginner of IOT learn these concepts without even having the IOT devices available. ... Read More

Formatting Containers Using format() in Python

Atharva Shah
Updated on 18-Apr-2023 12:41:33

274 Views

When using Python, container style can be a useful means of enhancing the readability and maintainability of code. You can style lists, tuples, dictionaries, sets, and even classes quickly and simply using this method. You can adjust how your data is presented by aligning columns, adding padding, and setting accuracy by using the built-in format() method. In this article, we'll take a deep dive into container formatting using format() in Python, including various types of containers and how to use them with the format() function. Container Formatting with format() Assuming we have a list of numbers that we want ... Read More

Emulating Numeric Types in Python

Atharva Shah
Updated on 18-Apr-2023 12:39:18

683 Views

Python includes built-in mathematical data structures like complex numbers, floating-point numbers, and integers. But occasionally we might want to develop our own custom-behaved number classes. Here, the idea of imitating number classes is put into use. We can create objects that can be used in the same way as native numeric classes by simulating them. We will look at how to simulate numeric classes in Python in this article. Example 1: Emulating Addition class MyNumber: def __init__(self, x): self.x = x def __add__(self, other): ... Read More

Element-wise Concatenation of Two Numpy Arrays of String

Atharva Shah
Updated on 18-Apr-2023 12:36:48

440 Views

Python's element-wise union of two NumPy string arrays is a potent method with a wide range of uses. This blog article will go over NumPy's setup and implementation procedures, the syntax for joining two NumPy string arrays together element-wise in Python, and the underlying method. Element-wise concatenation, for instance, is commonly used in data manipulation tasks to combine two data sets. Installation and Setup Simply use pip or conda. NumPy is a powerful library that provides support for mathematical operations and arrays. Once installed, you can import it into your Python script using the following command − import numpy ... Read More

Advertisements