We will use for our examples STM32CubeIDE released by ST and completely free. STM32CubeIDE is a development tool and supports multi operative system (SO), which is part of the STM32Cube software ecosystem. STM32CubeIDE allows using a single platform to configure peripherals, to generate/compile/debug the code for STM32 microcontrollers and microprocessors. The framework used is Eclipse®/CDT, as tool-chain for the development is used GCC toolchain and GDB for the debugging.
To start the project, you must first select the MCU and then initialize and configure the peripherals the user wants to use. At this point, the initialization code is generated. At any time, the user can go back and change initializations and configurations, without affecting t ...
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.
What will you learn?
The if statement ...
Deep learning has applications in multiple industries, and this has made it an important and attractive topic for researchers. The interest of researchers has resulted in multiple types of neural networks we have been discussing in this series so far. Today, we are talking about generative advertising neural networks (GAN). This algorithm performs the unsupervised learning task and is used in different fields of life such as education, medicine, computer vision, natural language processing (NLP), etc.
In this article, we will discuss the basic introduction of GAN and will see the working mechanism of this neural network, After that, we will see some important applications of GANs and discuss some real-life examples to understand the concept. So let’s move towards the introduction of GANs ...
Hey pupils! Welcome to the new tutorial on deep learning, where we are in the section on Python learning. In the previous lecture, we were discussing the tuple data type, which is a sub-class of sequences. In the present lecture, the discussion will be about the byte sequence and byte array. The whole discussion is cleared with the help of practical implementation in TensorFlow by using simple and easy codes. If you understand the concepts of list and tuple, then this lecture will be easy for you. Yet, before going into the details of this topic, you must know the highlights of the content discussed in this lecture:
What is the byte method in Python?
How can you use byte in TensorFlow?
What are some examples of bytes?
Give examples of error handling in bytes.
How can you convert in ...
Our next step in the Raspberry Pi training program is to get zero tiers up and run on a Raspberry Pi 4. How to utilize a Raspberry Pi to measure internet speed and store the results in Grafana or Onedrive was the topic of the last piece. During the project, you will discover how to install ZeroTier on a Raspberry Pi and get it up and running. We will also learn how to set up a firewall to secure our network.
Components
Raspberry pi 4
Power supply
Ethernet or wifi
What is zeroTier
ZeroTier is a software that provides a streamlined web-based interface for constructing virtual networks connecting various gadgets. Somewhat akin to configuring a virtual private network on a Raspberry Pi, these networks exist only in cyberspace. The process o ...
Welcome to the next tutorial of our Raspberry Pi programming course. Our previous tutorial looked at how to Interface DS18B20 with Raspberry Pi 4. This tutorial will teach us how to create a time-lapse video with still images and understand how phototimer and FFmpeg work.
What is time-lapse?
When photographing something over a lengthy period, "time-lapse" comes to mind. A video can be created by mixing the still photos. Plant development may be tracked with time-lapse movies, as can the changing of the seasons. They can also be utilized as low-resolution security cameras.
Components
Raspberry pi 4B
Pi camera
Connect to the Raspberry Pi
Cameras that can be used with the Raspberry Pi are a bit limi ...
Cryptocurrency trading is a popular way to get started with cryptocurrency. It's also a great way to multiply your funds if you're an experienced trader. In this post, we'll give you the basics of how cryptocurrency exchanges work and help you choose an exchange.
What is Cryptocurrency Trading?
Cryptocurrency trading is the process of buying and selling cryptocurrency on an exchange. Cryptocurrencies are digital assets that can be exchanged for other cryptocurrencies, for example, you can exchange eth for sol
, or for fiat currency (US dollars).
You can use a cryptocurrency exchange to trade your coins, or you can buy them directly from another person. Some exchanges offer both options: they allow users who want to trade coins with one another and also serve as platforms where people ...
Hey, peep! This is a connected tutorial from the previous one where we saw the detail of numeric data types. This time, we are moving forward with the other data types in Python. We are understanding all these concepts with the help of examples and practising the little but understandable codes in TensorFlow. Different types of operations are also performed on these data types so that you may have an idea of why we are differentiating all these data types and how we can categorize all of them into different groups. Keep in mind that all of these concepts are for deep learning, and we want to make sure that we will not face any problems in the complex work of deep learning; therefore, we are moving slowly and steadily in Python. So, have a look at the content you are learning in this ...
Hello students! Welcome to the next episode of NumPy, where we are working more on arrays in detail. NumPy is an important library for Python, and for concepts like integer arrays, it has many useful built-in functions that help programmers a lot. In the previous lecture, the installation and basic functions were discussed and this time, our focus is on the general operations and types of arrays that usually the programmers need during the coding. It is an interesting and basic lecture, and you will learn the following concepts in this lecture:
What are some important types of arrays?
Why are we using NumPy for arrays?
What are zero arrays?
What is the random array?
How can we use the ones array using NumPy?
Is it easy to perform the identity array in Numpy?
Practically perform the ...
Hey peeps! Welcome to the new lecture on the sequence data type, where we are discussing the range data type. We are interested in working on deep learning, and for this, we are learning the Python programming language from scratch. If we talk about the previous episode, we saw the byte and byte array methods that were amazing for converting the different data types into bytes. The current lecture will discuss the range data type, which is slightly different from the other types of sequences, so students will learn new and interesting concepts in the lecture; however, before we get into the details of our topic, take a look at today's highlights:
What is the range function?
How can you elaborate on the syntax of the range function in detail?
What are the three types of range functions ...