Language Selection

English French German Italian Portuguese Spanish

Arduino and Raspberry Pi Leftovers

Filed under
Hardware
  • W5100S-EVB-Pico: A Raspberry PI Pico with Ethernet port - peppe8o

    Hands on a W5100S-EVB-Pico board. Let’s discover this microcontroller and its main features

    In this tutorial, I’m going to show you what is the W5100S-EVB-Pico microcontroller board and how to use it.

    I’ll explain the main features of this IoT board, then show a few usage examples with the basic Ping example and a Mosquitto (MTTQ) example to interface an MTTQ broker like Thingsboard.

  • Arduino data types

    When writing an Arduino code to perform a task or working on a project the data has to be classified in different types. The microcontroller understands the information in the form of 0 and 1 and it is difficult for a user to declare the number of bites for each data. To organize and categorize the data in different forms is quite helpful for programmers to understand the data given and perform the assigned task. For these different data types are used in the Arduino programing.

    There are two basic data types that are used in Arduino programming: one is variable data type and the other is constant data type.

  • Arithmetic Operators in Arduino

    Arithmetic operators in Arduino programming are used to calculate the mathematical operations taking two or more numbers as operands.The use of operators in Arduino programming plays an important role as it defines the conditions on the basis of which the program works. There are different types of arithmetic operators that are used in Arduino programming.

  • Arduino if-else statement

    In Arduino programming when there is a need to determine on which conditions the code will work, we use an if-else statement. In other words, the if-else statement determines the working flow of the Arduino program based on conditions.

  • Explain the while loop in Arduino with the help of examples

    In Arduino programming, many times we have to write a code in which a repeated cycle of execution of the code is needed, to execute it we use conditional loops, and the “while loop” is one of the conditional loops. In this write-up, we will understand what is the while loop and how it works in Arduino programming.

  • Arduino Comparison Operators

    In Arduino programming there are different types of operators. These operators play an important role in functioning of any specific task or working of a code. Most of the decisions in the code are taken on the basis of results given by these operators, in other words they have a direct influence on the output. The comparison operators are used where the conditions of the Arduino code are made for deciding the flow of the program by comparing the values.

  • Arduino Boolean Operators

    When writing an Arduino code for any specific project different operators will be needed for performing various functions, they can either be mathematical or logical operations and for each type of functions there will be specific operators. Here in this article the Boolean operators are discussed briefly.

  • Arduino Bitwise Operators

    There are multiple types of operators used in Arduino programming for making different conditions. These conditions then regulate the flow of the code designed to perform a specific task. One of the most important types of operators used in Arduino programming are bitwise operators and, in this article, bitwise operators and their types are explained briefly.

  • Arduino Compound Operators

    To determine the flow of a program or a code in Arduino Programming the compiler should understand how to perform multiple operations which can be either mathematical or logical. For this, different types of operators are used. Here in this article the compound operators will be briefly discussed.

  • Getting started with the Arduino Web Editor

    To access your work on an Arduino board from anywhere on any system Arduino Web Editor can be used.This web editor is just like the online version of the Arduino IDE used for writing, editing and compiling codes in C and C++ languages. To use the web editor, follow the given guidelines

  • Printed Circuit Bird Family Calls For Us To Consider Analog | Hackaday

    Kelly’s work takes a concept that would have many of us get the digital toolkit, and makes it wonderfully life-like using a small bouquet of simple parts. It’s a challenge to our beliefs and approaches, compelling in its grace, urging us to consider and respect analog circuits more when it comes to modelling consciousness and behaviours. If it’s this simple to model sounds and behaviour of a biological organism, a task that’d have us writing DSP and math code to replicate on a microcontroller – what else are we missing from our models?

    Kelly has more PCBs to arrive soon in preparation for her NYC exhibit in February, and will surely be posting updates on her Twitter page! We’ve covered her work before, and if you haven’t seen it yet, her Supercon 2019 talk on Electronic Naturalism would be a great place to start! Such projects tend to inspire fellow hackers to build other non-conventional projects, and this chirping pendant follows closely in Kelly’s footsteps! The direction of this venture reminds us a lot of BEAM robotics, which we’ve recently reminisced upon as something that’s impacted generations of hackers to look at electronics we create through an entirely different lens.

  • Top 5 Microcontrollers You Should Get to Know in 2022

    Microcontrollers are also known as mini-computers; they consist of a microchip on which a small CPU and other components are embedded. Microcontrollers have a wide range of applications, the most common ones are the automation of electronic equipment, robotics, and industries to control the temperature. The microcontrollers are of different types like 8-bits, 16-bits, and 32-bits.

    In the market, there are a lot of microcontrollers that are used for different purposes and have different architectures. In this article, the top microcontrollers are discussed with their architectures and applications.

  • What are the Conditional Operators in Arduino? Explain with Examples.

    Conditional operators in Arduino are used to decide the output on the basis of conditions. For different applications, conditional operators can be utilized. For example, they can be used in making the logic of street lights, such that the lights remain off during day time and on otherwise. In this write-up, we will discuss the conditional operators in Arduino and also understand its usage with the help of an example.

  • What are the Arrays in Arduino? Explain with the Examples.

    An array is a data structure used to store multiple values of the same data type in it; for example an array declared with the integer data type can store multiple integers in it. In Arduino, sometimes we have to use multiple values, for example, we are supposed to blink five LEDs, we will declare an integer array that will store the 5 pin numbers where we will attach the LEDs.

    The use of Arrays in Arduino is similar to the other programming languages so in this write-up, we will explain the arrays and the way of utilizing them in Arduino.

  • What are the Strings and String Functions in Arduino? Give Examples.

    Strings are the data types that are used to store the characters and a series of characters in them. The working of Strings in Arduino is similar to “char” in C programming. The values stored in the Arduino can be displayed on the LCD as well as on serial monitor output.

    The Strings used in Arduino are of two types which are discussed in this write-up. We will discuss the functions of Strings with the help of examples.

  • How to Generate the Pseudo-Random Numbers in Arduino

    To generate the pseudo-random numbers in Arduino, we use the built-in functions random(), first, understand why we need to generate the pseudo-random numbers? In real life, we have to generate random codes for verification purposes. Similarly, in digital gaming, we have to generate random passwords. For this purpose, we have to generate the random numbers in Arduino.

    In this article, we will discuss the techniques by which we can generate random numbers with the help of examples.

  • How to Convert String into the Int Data Type in Arduino

    In many Arduino projects, we often extract data from some devices like raspberry pi, or a web database for some arithmetic commutation, but the data is in the form of strings. There is a function in Arduino through which we can convert the strings into integers so that we can perform arithmetic operations on them.

    In this write-up, we will conversion of the string to integers in Arduino by using a built-in function toInt().

More in Tux Machines

digiKam 7.7.0 is released

After three months of active maintenance and another bug triage, the digiKam team is proud to present version 7.7.0 of its open source digital photo manager. See below the list of most important features coming with this release. Read more

Dilution and Misuse of the "Linux" Brand

Samsung, Red Hat to Work on Linux Drivers for Future Tech

The metaverse is expected to uproot system design as we know it, and Samsung is one of many hardware vendors re-imagining data center infrastructure in preparation for a parallel 3D world. Samsung is working on new memory technologies that provide faster bandwidth inside hardware for data to travel between CPUs, storage and other computing resources. The company also announced it was partnering with Red Hat to ensure these technologies have Linux compatibility. Read more

today's howtos

  • How to install go1.19beta on Ubuntu 22.04 – NextGenTips

    In this tutorial, we are going to explore how to install go on Ubuntu 22.04 Golang is an open-source programming language that is easy to learn and use. It is built-in concurrency and has a robust standard library. It is reliable, builds fast, and efficient software that scales fast. Its concurrency mechanisms make it easy to write programs that get the most out of multicore and networked machines, while its novel-type systems enable flexible and modular program constructions. Go compiles quickly to machine code and has the convenience of garbage collection and the power of run-time reflection. In this guide, we are going to learn how to install golang 1.19beta on Ubuntu 22.04. Go 1.19beta1 is not yet released. There is so much work in progress with all the documentation.

  • molecule test: failed to connect to bus in systemd container - openQA bites

    Ansible Molecule is a project to help you test your ansible roles. I’m using molecule for automatically testing the ansible roles of geekoops.

  • How To Install MongoDB on AlmaLinux 9 - idroot

    In this tutorial, we will show you how to install MongoDB on AlmaLinux 9. For those of you who didn’t know, MongoDB is a high-performance, highly scalable document-oriented NoSQL database. Unlike in SQL databases where data is stored in rows and columns inside tables, in MongoDB, data is structured in JSON-like format inside records which are referred to as documents. The open-source attribute of MongoDB as a database software makes it an ideal candidate for almost any database-related project. This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo‘ to the commands to get root privileges. I will show you the step-by-step installation of the MongoDB NoSQL database on AlmaLinux 9. You can follow the same instructions for CentOS and Rocky Linux.

  • An introduction (and how-to) to Plugin Loader for the Steam Deck. - Invidious
  • Self-host a Ghost Blog With Traefik

    Ghost is a very popular open-source content management system. Started as an alternative to WordPress and it went on to become an alternative to Substack by focusing on membership and newsletter. The creators of Ghost offer managed Pro hosting but it may not fit everyone's budget. Alternatively, you can self-host it on your own cloud servers. On Linux handbook, we already have a guide on deploying Ghost with Docker in a reverse proxy setup. Instead of Ngnix reverse proxy, you can also use another software called Traefik with Docker. It is a popular open-source cloud-native application proxy, API Gateway, Edge-router, and more. I use Traefik to secure my websites using an SSL certificate obtained from Let's Encrypt. Once deployed, Traefik can automatically manage your certificates and their renewals. In this tutorial, I'll share the necessary steps for deploying a Ghost blog with Docker and Traefik.