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

Android Leftovers

Programming Leftovers

  • css vs webgl cubes

    I wanted to conduct a little experiment, and it turned into a few experiments in one. I was watching a youtube video about creating 3D scenes purely in CSS. At first, it seems pretty ridiculous. Surely this has to be too much effort, but then as it came together, it wasn’t that difficult. CSS has more potential as a lightweight 3D rendering language than I may have suspected.

    So I figured what we need is a side by side comparison. I could just watch more videos, or look at some demos, but it’s helpful to retype things and change them around a little bit for more understanding.

  • A Brutally Simple Site

    I teased last week that I’ve been working on a new brutalist design for this website. Well, this is the result.

  • Perl Weekly Challenge 165: Scalable Vector Graphics

    These are some answers to the Week 165 of the Perl Weekly Challenge organized by Mohammad S. Anwar. This week, Task 1 and part of Task 2 relate to Scalable Vector Graphics (SVG). I’d been using SVG a very long time ago and certainly didn’t remember any of the details. So, in my first blog relating to PWC 165, I stated that I didn’t have time for that and covered only the part of the challenge not related to SVG. I also said that, in the event that I find some time over the weekend, I might come back and fulfill the SVG part. I thought at the time that this was rather unlikely, but I was finally able to cover the SVG part, at least in Raku.

  • Getting a Bourne shell "here document" into a shell variable

    Suppose, for reasons to be discussed in a later entry, you would like to write a shell script that turns an embedded here document into a shell variable (ie, an unexported environment variable). As a preview, one reason to want to do this is that here documents allow almost arbitrary contents, while other forms of getting things into environment variables or command line arguments may block using certain characters or require awkward quoting.

  • LibreSSL updated to 3.5.3

    LibreSSL 3.5.3 was released on May 18th, 2022.

8 Best Free and Open Source Survey Tools

Surveys are one of the most effective tools for obtaining customer feedback. However, creating and distributing them can be very challenging. Without the right software, you can spend days, even weeks, trying to create a perfect survey. And even then the quality and formatting of the survey may fall short of industry standards. You may therefore need a survey creation tool that can help set up an effective feedback loop. The software featured here lets you build fully-customizable surveys, forms and quizzes. Here’s our verdict captured in a legendary LinuxLinks chart. Only free and open source software is included. Each application can be self-hosted on your own server. Read more

Open Source developments in Bratislava

The City of Bratislava is currently building a whole new ecosystem of open source digital services under the leadership of its CIO Petra Dzurovčinová. These services will be tested in Bratislava and then ate planned to be expanded to other cities in Slovakia with a goal of limiting the existing vendor lock-in and improving public services for the residents.

According to Petra, choosing open source solutions for the digital transformation of the city is based not only on the long-term economic incentive, but more importantly, on the quality of services to be provided for the citizens. The digitisation team in Bratislava took on the task by first identifying and understanding the needs of the citizens through iterative processes involving interviews, co-creation and cooperating with other cities. A large part of the work has been done internally in the conceptualisation phase to steer the next steps of developing technological solutions and ensure achieving the planned objectives.

Read more