to our new beginner’s course on Raspberry Pi. This course is appropriate for anyone using either a traditional Raspberry Pi board or the new Raspberry Pi 400 board that includes an integrated keyboard and display. Learning how to code, building robots, and doing plenty of other strange and exciting things are all possible with this low-cost computer setup. The Raspberry Pi can do everything a computer can do, from surfing the web to viewing movies and music, and playing video games. Libraries Raspberry Pi Simulation Libraries Raspberry Pi boards: Pico · Pico W · Pico 2 W · Pico 2 · Pico W MicroPython · Pi Model B · Pi 1 B+ · Pi 2 Model B · Pi 3 Model B · Pi 3 Model B+ · Pi 3 Model A+ · Pi 4 Model B · Pi 5 · Pi Zero W · Pi Zero 2 W · Pi 400 · Pi 500 · Pi CM4 · Pi 2 · Pi 3 · Pi 4 · Zero W Helping Tools Raspberry Pi is much more than a modern computer. It`s created to educate young people on how to program in languages such as Scratch and Python, and it comes with all of the major programming languages pre-installed. The world is in desperate need of programmers now more than ever, and Raspberry Pi has sparked a new generation's interest in computer science and technology. Raspberry Pi is used by people of all ages to build intriguing projects ranging from old-school gaming systems to internet-connected weather equipment. In this course, we'll learn how to make games, build robots, or hack all kinds of fantastic projects. The Raspberry Pi 4 Model B will be covered in this ...
Welcome to the next lesson of our python programming class. In the last session, we looked at the use of If-else statements and created simple programs to demonstrate the concept. While loops are another type of conditional statement, and in this tutorial, we'll look at how they're used. In this article, you'll learn how to prematurely exit a while loop, a Python control structure for endless iteration. You will also learn how to write conditions in a single line to produce short and readable code. The term "iteration" refers to the practice of repeatedly running the same piece of code. A loop is a type of programming structure that implements iteration. Both indefinite and definite iterations are recognized as valid programming constructs. Infinite iteration doesn't specify how many times the loop will be executed. As long as a condition is met, the chosen block will be executed again. An iteration that uses a definite iteration specifies how many times it will run the selected block. While Loops are used to iterate over the same code block for an unlimited couple of iterations until a condition is met. While Loops are used to repeat the same code block indefinitely until a condition is met, if a given Boolean condition is completed at the end of the block, the "do while" loop will continue to run a provided block of code, or it will not. Only one statement is required for the Do While Loop to terminate. However, the While loop may terminate with no statements executed, ...
Internet of Things is a system of multiple inter-related computing devices. The factor ‘thing’ in IoT is designated to an entity capable of communicating data over a network (IOT), which can be a digital machine, sensor, human being, animals etc. Each component that is included in IoT network is assigned with an unique identity called UID and the ability to communicate data over IoT network without any external human or computer intervention. Hello readers, I hope you all are doing great. In our previous tutorial, we discussed how to upload data to Firebase Real-time Database using ESP32. In this tutorial, we will learn how to read the data stored on the Firebase Database with ESP32. We can access the data stored in Firebase database from anywhere in the world, which makes this preferable in IoT applications. In our previous tutorial, we learnt how to upload an integer value (for demonstration) to Firebase real-time database. So, in this tutorial we will learn how to fetch or receive those integer values from Firebase database. To access real-time data, we are using two ESP boards where one is used to upload/store the real-time data to the Firebase database and another to read the data stored on the firebase. Although, it is not required to use two ESP boards, we can also access the previously saved data on the Firebase database with only a single ESP32/ESP8266 board. We can use the same code for both ESP32 and ESP8266 but we need to make some changes like some of the ...
Welcome to the fifteenth chapter of this python course. Python lists and tuples were studied extensively in the last session, and we learned how to manipulate the data contained in these types of structures. You've only experienced sequential execution up to this point, where each statement is performed sequentially in the order they appear in the code. However, the real world is frequently more nuanced. Sometimes, a program must skip over certain statements, run a set of statements repetitively, or pick between other sets of statements to execute. This is called "conditional branching." That's when control structures come into play, which controls the sequence in which statements in a program are executed. The if statement is the first control structure you'll encounter in Python. Real-world situations frequently need us to examine the information around us and then make a decision based on what we've observed. As an illustration; Unless it's raining, I'll be mowing the yard. It's correct to say that if it's pouring or snowing, I won't be mowing the lawn. This type of decision-making is performed in Python programs using the if statement. If an expression has a certain value, and that value is known, a statement or set of statements can be executed. Let`s get started. We'll begin with the simplest form of an if statement. This is how it appears in its most basic form: As you can see: Execution of the statement occurs when the expression evaluates to a "truthy" value. No ...
Welcome to the fourteenth chapter of our python tutorial course. In the last lesson, we looked at sets and operations done to sets, including union and intersection. In this tutorial, we'll take a closer look at lists and tuples to see how they're used. Python's most versatile and useful data types are lists and tuples. A non-trivial Python application will nearly always have these. Lists and tuples have a number of significant features that you'll learn about. In this course, you'll understand the definitions and applications of these terms. By the time you're done, you'll know when and how to employ different Python object kinds. In other words, Lists are similar to arrays in many other programming languages because they allow you to store any number of arbitrary elements within them. For a list to exist in Python, an object sequence must be enclosed in square brackets ([]) as seen in the example below: In other words, a list is more than a collection of things. Collections of things are organized in this way. Lists are defined by the order in which their elements are listed, and this order is maintained throughout the life of the list itself. For more information on Python data types, check the dictionaries tutorial (coming soon). A comparison of two lists that contain the same contents but are organized differently is impossible: A list can be made up of any number of items. A list can have all of its elements of the same type: Different kinds of elements can be used. ...
Hello readers, I hope you all are doing great. In this tutorial, we will learn how to access Firebase (a real-time database) to store and read values or data with ESP32. It is Google’s mobile application development platform that can be used to can access, monitor and control ESP32 from anywhere in the world with its (firebase) real-time database. Firebase real-time database is a development platform provided by Google which included multiple services to manage and authenticate data. Firebase is basically a mobile and web app development platform I as works great with Android APIs) that includes features like firebase cloud, real-time data and Firebase authentication etc. As per Firebase’s official documentation ( https://firebase.google.com/docs/database), whenever a user creates a cross-platform application like with Android, or Apple, JavaScript SDKs, all the clients share a single. Fig. 1 Firebase Real-time database and ESP32 The main features of the Firebase Real-time database are: The IoT or Internet of Things is the interconnection of physical objects or devices with sensors and software accessing capabilities to communicate data or information over the internet. To build an IoT network, we need an interface medium that can fetch, control, and communicate data between sender and receiver electronics devices or servers. Firebase real-time database provides a platform to store data collected from sensors at the level device. Firebase works great with Android APIs. ...
Hello readers, I hope you all are doing great. In this tutorial, we will learn how to interface the BMP280 sensor with the ES32 module to get temperature, pressure and altitude readings. Later, in this tutorial, we will also discuss how to upload these sensor readings to a web server. BMP280 or Barometric pressure sensor is a module used to measure temperature pressure and altitude. The small size and low power consumption feature of this sensor makes it feasible for battery-powered devices, GPS modules and mobile applications etc. Fig. 1 BMP280 Sensor The BMP280 is the product of BOSCH which is based on Bosch’s proven Piezo-resistive pressure sensor technology featured with high accuracy, long term stability, linearity and high EMC robustness. BMP280 is the successor of the BMP180 sensor and offers high performance in all the areas that require precise temperature and pressure measurements. Emerging applications like fitness, indoor navigation, GPS refinement requires relative accuracy and BMP280 is perfect for such applications. Very low TCO (Temperature coefficient of Offset) makes this module preferable over other available modules for temperature measurements. We can also use a DHT11/DHT22 sensor for temperature and humidity measurements but the BMP280 sensor provides better accuracy (i.e., 0.01°C) than DHT sensors. There are two methods of interfacing BMP280 sensor with ESP32 module: In the bMP280 Sensor module, there are six interfacing pins including VCC and GND. Fig. ...
Hello everyone. Today is a great day that we are going to put our focus on another type of PCB. So far in the previous articles, we have looked at high speed, metalcore, high density interconnect and the ceramic types of PCBs. In this article, we are going to introduce another type of PCB that might find great use in your day-to-day interaction with the printed circuit boards. it is very important for a designer to take note of how PCBs have evolved and how they have become an important aspect in the design of successful electronic devices. It has become hardly difficult to come across any time of an electronic device that does not involve the use of printed circuit boards. In PCB boards you come across LEDs fixed in them, and due to the evolving world of technology, things are changing so first leading to the crafting of new technologies that have led to changes in the LED areas. The LED case is an area that has involved the combination of two methods of technologies in order to come up with something else that is more efficient when it comes to solving the intended purpose. This LED PCB comes with advantages of longevity and durability. This is a type of PCB that is used for the purpose of lighting in the lighting appliances like modern LED bulbs. The material used in the process of making this board currently is the metal copper clad that has a very good heat-dissipating function. In general, we should note that the single layer LED PCB is made up of three layers namely ...
This is the next lesson in our Python course. Previously, we looked at an overview of the different data types in python such as dictionaries, Boolean and sets. This tutorial will focus on Python sets to get a deeper understanding of this data type, so let's get started. During your schooling, there is a good chance you learned about sets and set theory. Venn diagrams may even be familiar to you: Don't worry if you don't recognize this! You should still be able to access this tutorial without any problems. Rigidly defining a set in mathematics can be both abstract and difficult to understand. A set is thought of as a well-defined group of unique objects, which are sometimes called "elements." Python's built-in set type facilitates the grouping of items into sets, which is important in programming as well. Unique actions that can be done on a set separate it from other object types. Using Python, you learn how to create set objects and learn about the various activities they can be used for. We've covered lists and dictionaries in previous tutorials, so you should be familiar with when a set is the right tool for the job. You'll also look at "frozen sets," which are similar to sets but differ in one significant way. The following features describe the built-in set type in Python: Let us explore what all that entails, and how you can interact with sets in Python. Iter> is an iterable (imagine a list or tuple for now) that generates a list of items to be included in the set. ...
Hi Friends! Glad to have you on board. Thank you for clicking this read. In this post today, I’ll walk you through Edge Computing vs Cloud Computing. Cloud computing has been around for many years while edge computing, on the other hand, has just become the prime topic of mainstream organizations. But what is the key difference between both edge computing and cloud computing, how do they work, can we implement both in the IT model of any business? These are the main questions that arise every time someone tries to get a hold of these terms. Don’t worry. We’ll discuss them in detail so you know when to pick a cloud model and when to choose edge computing. Keep reading. Before we go further to describe the comparison between edge and cloud, know that, both these infrastructures are independent of each other and companies separately employ these models based on their business needs and requirements. Edge computing favors the IT model of the company at times, while cloud computing is the answer to handle some issues. Edge computing is a distributed and decentralized computing infrastructure that brings computing power and storage near the edge of the network. Simply put, the data is handled or stored near the location where it’s produced. This reduces the bandwidth and removes the latency issues (latency is a time delay between actual action and processed action), requiring fewer data to be stored with improved quality. This phenomenon is ideally suited for applications that are ...