Arduino

Arduino

Arduino is an open-source platform used for building electronics projects. Arduino consists of both a physical programmable circuit board (often referred to as a microcontroller) and a piece of software, or IDE (Integrated Development Environment) that runs on your computer, used to write and upload computer code to the physical board.

Arduino Robot with PS2 controller (PlayStation 2 joystick)

In this tutorial I’ll show you how to use a wireless Playstation 2 (PS2) joystick to pilot a robotic tank. An Arduino Uno board was used at the core of this project. It receives commands from the wireless controller and sets the speed of the motors.

Full instructions at:

https://www.instructables.com/id/Ardu…

Subscribe: https://www.youtube.com/c/IgorFonsecaAlbuquerque/featured

#arduino

Arduino Robot with PS2 controller (PlayStation 2 joystick)

Arduino Audiometric Device using Arduino Nano

Today I will explain how I built an audiometric device using, Arduino Nano and a few other components.
To make it work, you need to plug the headset in your left year and then start increasing the volume until you hear a sound. When you hear the sound, you need to press the knob that will allow you to check on the next frequency.
The display will help you and give all the info required.

After checking the left ear, you will need to check the right one.
The red color represents the left ear, while the blue color represents the right one.
At the end of the sequence, you will see a graphical view of both ears. This will tell you the quality of you hearing at each frequency.

The electrical diagram and the sketch, are available to whoever request it from my YouTube chat.

Components:

  • 1 Unicorn Hat Adafruit (#UnicornHat)
  • 1 #Arduino #ArduinoNano
  • 1 Rotary encoder with push button
  • 1 push button normally open
  • 1 knob
  • 1Pin Jack email connector
  • 1 disused earphones
  • 1 OLED display 128x32
  • 1 Electric Junction Box

Note: Be Aware, that this is not a professional device! And must be used only for fun purpose!

Subscribe: https://www.youtube.com/c/CarloStramaglia/featured

#arduino

Arduino Audiometric Device using Arduino Nano

Arduino Smart Coffee Maker with Bluetooth and Smartphone control (with Tutorial)

Intelligent Coffee Machine with Bluetooth and on-screen Graph. Developed on Arduino Nano (Atmel Atmega 328P), uses ST7920 display, HC-05 Bluetooth adapter, Dallas DS18B20 temperature sensor, relay to control the heater coil.

Full tutorial, code and schem of this Arduino Project for beginners:

https://www.hackster.io/gyula-osi/sma…

Subscribe: https://www.youtube.com/user/YoshiEnterprises/featured

#arduino

Arduino Smart Coffee Maker with Bluetooth and Smartphone control (with Tutorial)

DIY Arduino Robot Arm - Controlled by Hand Gestures | Full Tutorial

This video is a tutorial on how to build a DIY Robotic Arm controlled by hand gestures. The Robotic arm is able to be controlled wirelessly from a distance as well as perform basic functions on its own. If you like more content like this hit the subscribe button!

Timestamps:
0:00 The Intro
2:25 Part List
3:41 How it Works
5:26 Assembly of Parts: Robotic Arm
8:33: Robotic Arm Arduino Wiring
13:24 Assembly of Parts: Robotic Glove
19:29 Programming
23:04 Performance

You can find the code and the full instructions on my site: https://smartbuilds.io/

Subscribe: https://www.youtube.com/c/EbenKouao/featured

#arduino

DIY Arduino Robot Arm - Controlled by Hand Gestures | Full Tutorial

Make An Arduino Tic Tac Toe Game With An AI Opponent

In this video, we’re going to be building a Tic Tac Toe or Noughts and Crosses shield for an Arduino. The code allows for three game modes, one for turn-by-turn two-player games and then two different levels of difficulty when playing against an AI opponent. The AI uses a minimax algorithm to evaluate the state of the game board and then select the best move to play in order to minimise the opponent’s chance of winning the game.

Subscribe: https://www.youtube.com/c/MichaelKlements/featured

#arduino

Make An Arduino Tic Tac Toe Game With An AI Opponent

Nestor Arcila

1625197889

How to Make Digital Clock Using Arduino, LCD Display and Python

How to make digital clock using Python Arduino and LCD display

Requirement For This Project:
1.Arduino UNO
2.LCD Display 16 x2
3.Bread Board
4.Potentiometer
5.Jumper Wire

Source Code: https://github.com/Chando0185/digital…

Subscribe: https://www.youtube.com/channel/UCwlhFburhQNOsfgeGOyRujg/featured

#python #arduino

How to Make Digital Clock Using Arduino, LCD Display and Python
Saad  Kassam

Saad Kassam

1624871446

GPS Modules with Arduino and Raspberry Pi

Learn how satellite positions systems like GPS work, how to use GPS modules with Arduino and Raspberry Pi, and build a GPS position logger which can display results on Google Maps.

The Global Positioning System, or GPS, is one of several satellite positioning systems that we can use to determine our location, altitude and the exact time - from anywhere in the world.

Thanks to these systems, and the availability of low-cost receiver modules, we can easily add GPS functionality to any project.

Today I’ll explain how these positioning systems work, what kind of data we can get out of them, and how we can use these popular modules with both the Arduino and Raspberry Pi.

And, as a fun experiment, I’ll show you how to build a simple Arduino-based GPS logger that saves your position onto a microSD card, using a file format that can be imported into Google Maps. I took a walk in the park with it to give it a test.

Here is what you’ll see in today’s video:

00:00 - Introduction
01:25 - Satellite-Based Navigation Systems
08:00 - Look at GPS Modules
10:34 - Basic GPS Operation with SoftwareSerial
15:28 - GPS Libraries - TinyGPS++
19:55 - Beitian 880 with HMC5883 magnetometer
25:48 - Adafruit Ultimate GPS with Raspberry Pi
32:19 - Build a GPS Position Logger
47:52 - Conclusion

Subscribe: https://www.youtube.com/c/Dronebotworkshop1/featured

#raspberry #arduino

GPS Modules with Arduino and Raspberry Pi
Cyril  Parisian

Cyril Parisian

1624690320

Avr-c for Arduino-uno

Arduino libraries are wrappers on top of libc functions. They abstract a lot of internal workings to allow an average user to run their project in Arduino boards without having to worry about implementation. For an average programmer, it’s better to stick with it. Cause venturing into Avr-c without a basic foundation in C and electronics will be confusing. But once you get past the learning curve, it will help you grow to appreciate the system and the effort that went into it.

We will dive head on into basic coding in this article. Keeping theory only as much as required. With that in mind, lets start with installing the dependencies.

Installation

Install all avr-c and all the dependencies.

$ sudo apt-get install gcc-avr binutils-avr avr-libc avrdude

Reference

When you start coding, You have to refer to Atmel data sheet one for two hundred times. For quick reference you can see the pin mapping that will help you start.

mcu to arduino pin mapping

Before we start with the first project. Lets start with building some terminology. DDRB is a data direction register for port B. In Arduino uno, there are 3 port registers:

  • B (bitmap for digital pins from 8 to 13)
  • C (analog input pins)
  • D (bitmap for digital pins from 0 to 7)

They control if the given pin is input or output by setting the corresponding bit as 0 or 1. If the bit is high its output and you can write to the pin, if the bit is low it acts as input and you can only read from the pins… By default all the values in the DDRB is set to 0x00, i.e. they are all input.

The current state of all the pins can be read using PINB. And if you want to set the bits to high or low you will perform operation in PORTB.

DDRB is 8 bit, with the lowest bit at PB0 represents digital pin 8 in Arduino board. Dot led is connected to pin 13. In DDRB is its bit 5 (PB5). For this we have to set DDRB = b’00010000’

#diy #c-programming #avr #arduino-uno #arduino

Avr-c for Arduino-uno
Wasswa  Meagan

Wasswa Meagan

1624480680

Orbitron: Reinventing the wheels and its control algorithm

Being a heavy Sci-fi fan myself, I always wondered: how would those spherical wheels from Tron and I-Robot work in real life? And this simple thought began the 6-month journey of Project Orbitron.

Now, this project consisted of two major goals upon start:

  • Building a vehicle with spherical wheels that implement a 4 wheel independent steering/driving (4WIS/D) system using Arduino
  • Developing an intuitive control algorithm for 4WIS/D vehicle in Mathematica

This article will showcase my vehicle prototype Orbitron along with a short story behind the building scene. Then, I’ll introduce you to the highlight: a clever algorithm I built to control Orbitron seamlessly.

You can also check out this maker portfolio video I made for my college application or check out the GitHub repo containing the full code.

ORBITRON

As I mentioned above, ORBITRON is a vehicle with spherical wheels, hence the name ‘ORB’itron. Unfortunately, I was a bit under-qualified to suspend wheels in mid-air with electromagnets, as many sci-fi movies suggested. Instead, I implemented a 4 Wheel Independent Steering/Driving (4WIS/D) system: a steering system for a four-wheeled vehicle that allows for separate speed and direction controls for each wheel.

#arduino #robotics #algorithms #programming #orbitron

Orbitron: Reinventing the wheels and its control algorithm
Samanta  Moore

Samanta Moore

1623834540

Serial Talk- Sending data from ESP32 (and Arduino Uno) to Java in cmd

Communication is an important thing that is widely being used to share information. We, humans, are communicating with each other using various mediums. Not only us, everything in the universe have a way to communicate and transmit data from one place to another.

Most of the people who are in love with ESP32 or Arduino things are just preferring Processing to create GUI. There, you can handle almost all the things without** editing** your Arduino sketch.

What for Java people? Even though** Java people** use various IDE to create various magnificent things, should they get defeated by this communication issue?

Hey wait, are you kidding me? Processing and Java, are they different? When you are using Processing, at your right top corner, you can see mode selection, and most probably you can see Java. Then your face will probably shine and start coding public class bla bla and so on….!

Yes?

Hell no.

Just look at this example.

#java-programming #arduino #serial-communication #java #esp32 #sending data from esp32 (and arduino uno) to java in cmd

Serial Talk- Sending data from ESP32 (and Arduino Uno) to Java in cmd
Anil  Sakhiya

Anil Sakhiya

1623162267

Arduino vs Raspberry Pi | Which is better for IOT Projects | IOT Project Board

Today’s video discusses the difference between Arduino vs Rasberry Pi, and also talks about which of the two is better for IoT projects! Internet of Things, popularly abbreviated as IoT, is a system of interrelated objects connected by the internet that can collect as well as transfer data wirelessly without any human intervention. IoT can be understood as the network of physical objects that are embedded with sensors and processors for the purpose of collecting, exchanging, and connecting data with other devices and systems over the Internet.

Great Learning brings you this explanatory video on Arduino vs Rasberry Pi, to help you understand which is better for IoT Projects and getting started on the journey to learn about them well. This video starts with an introduction to Arduino and Raspberry Pi, followed by understanding their build, usage, expansion and other characteristics. Following this, we will understand which of the two is better for IoT projects. This video explains Arduino vs Rasberry Pi in-depth and lets you understand which of the either will prove to be better for IoT projects.

  • 00:00:00 Introduction
  • 00:01:56 Agenda
  • 00:02:56 Introduction to Arduino and Raspberry Pi
  • 00:07:14 Arduino vs Raspberry Pi
  • 00:07:51 Build
  • 00:08:57 Usage
  • 00:10:09 Expansion
  • 00:12:08 Connectivity
  • 00:12:46 Power supply
  • 00:13:55 Storage
  • 00:15:05 Programming
  • 00:16:42 Expandability
  • 00:18:08 Cost
  • 00:20:18 Which one to choose?
  • 00:23:55 Summary

#arduino #raspberry-pi #iot

Arduino vs Raspberry Pi | Which is better for IOT Projects | IOT Project Board
Code  Camp

Code Camp

1623161323

Arduino Course for Beginners - Open-Source Electronics Platform

Learn how to use Arduino hardware and software in this full course for beginners. Arduino is an easy-to-use, open-source electronics platform Arduino boards are able to read inputs - light on a sensor, a finger on a button, or a Twitter message - and turn it into an output - activating a motor, turning on an LED, publishing something online. You can tell your board what to do by sending a set of instructions to the microcontroller on the board.

No hardware is required for to follow along with this course!

✏️ Course developed by Ashish Bansal.

⭐️Course Contents ⭐️
Section 1: Objective of the course

  • (0:00) Course Introduction

  • (01:21) Section 2: Foundation of Electronics

  • (01:36) Electricity

  • (02:10) Static Electricity

  • (03:37) Current Electricity

  • (04:12) Voltage

  • (06:09) Current

  • (08:45) Resistance

  • (10:05) Ohm’s Law

  • (11:55) Ohm’s Law Example

  • (13:46) Resistances in Series and Parallel

  • (26:03) Resistance Color Coding

  • (28:26) Section 3: Intro to Arduino Board

  • (28:46) What is Microcontroller and Microprocessor

  • (31:16) What category Arduino falls into?

  • (31:33) Different Types of Arduino Boards

  • (32:03) About Arduino

  • (33:04) Parts of Arduino Uno

  • (35:52) Technical Specifications of Arduino Uno

  • Section 4: Intro to Arduino IDE

  • (38:58) What is IDE?

  • (40:14) Downloading and Installing the official IDE

  • (41:51) Preparing your computer

  • (43:08) Testing the Arduino.

  • (44:22) What if you don’t have an Arduino board?

  • (46:34) Section 5: Before we move ahead

  • (47:04) What is breadboard?

  • (49:16) How to make connections in breadboard?

  • (1:00:10) Some safety instructions and Do’s and Don’ts

  • (1:01:53) Input & Output

  • (1:08:47) Analog & Digital

  • (1:14:04) Bit & Byte

  • (1:16:26) Section 6: Arduino Programming

  • (1:16:46) Introduction

  • (1:17:41) The First Step into Programming

  • (1:19:37) Bare minimum structure of an Arduino Program

  • (1:20:21) Comments

  • (1:21:37) White Spaces and Case Sensitivity

  • (1:24:06) pinMode

  • (1:26:44) digitalWrite and delay

  • (1:29:51) Camel casing

  • Section 6.1 Introduction to Variables and Data Types

  • (1:30:51) What are variables and data types

  • (1:31:31) Int data type

  • (1:35:11) Arithmetic operators

  • (1:41:51) Incrementing and Decrementing our variables

  • (1:44:14) Float data type

  • (1:46:48) Bool/Boolean data type

  • (1:49:24) Byte data type

  • (1:50:27) Char data type

  • (1:52:46) Conclusion

  • Section 6.2 Variable Scope and Qualifiers

  • (1:53:19) What is Scope? Global and Local Variables

  • (1:57:59) What are Qualifiers, starting with const qualifier

  • (1:59:51) Alternative to const qualifier: #define

  • (2:01:55) Static Qualifier

  • Section 6.2 Comparison and Logical Operators

  • (2:04:25) What are comparison operators?

  • (2:08:58) What are Logical Operators?

  • (2:13:16) Section 6.3 Control Structures

  • (2:14:21) if statement

  • (2:20:47) else statement

  • (2:24:24) A joke :P

  • (2:25:10) if - else Simulation

  • (2:29:27) Introduction to loop control structures

  • (2:30:52) For loop

  • (2:41:02) While loop

  • (2:45:49) do…while loop

  • (2:50:16) break

  • (2:52:24) continue

  • (2:55:05) return

  • (2:56:41) switch…case

  • Section 6.4 Remaining data types

  • (3:01:30) Arrays

  • (3:09:34) Strings

  • Section 6.5 Functions

  • (3:15:14) What are functions?

  • (3:19:03) Create your own functions

  • Section 6.6 Arduino Built-in Functions and related concepts

  • (3:35:20) digitalRead & digitalWrite

  • (3:41:49) analogRead and Analog to Digital Converter (ADC)

  • (3:47:50) analogWrite and Pulse Width Modulation (PWM)

  • Section 6.7 Libraries

  • (3:56:25) What are Libraries?

  • (3:59:22) How to add Libraries in Arduino IDE

  • (4:02:30) What next?

#arduino #developer

Arduino Course for Beginners - Open-Source Electronics Platform
Edmond  Herzog

Edmond Herzog

1622856883

Unboxing the Piunora: Raspberry Pi for Arduino Lovers

We recently interviewed Timon Skerutsch about his Arduino Uno-shaped carrier board for the Raspberry Pi Compute Module 4, dubbed the Piunora. It was fully funded on Crowd Supply, and we received a beta unit to play with. Alex Glow takes a grand tour of the board.

Available for preorder now: https://www.crowdsupply.com/diodes-delight/piunora

#raspberry-pi #arduino

Unboxing the Piunora: Raspberry Pi for Arduino Lovers
Saad  Kassam

Saad Kassam

1622706657

Arduino Nano RP2040 Connect - Arduino meets Raspberry Pi

Let’s get started with the new Arduino Nano RP2040 Connect, an Arduino board with a Raspberry Pi RP2040 MCU.

The highly-anticipated fusion between Arduino And Raspberry Pi has finally arrived!

The Arduino Nano RP2040 Connect board fuses a Raspberry Pi RP2040 MCU with an ESP32-based WiFi & Bluetooth Module, a MEMS Microphone, an IMU with Machine Learning capabilities, extra Flash memory, and a Cryptographic Coprocessor. All in the same form-factor and pinout as the original Arduino Nano.

This powerful little board brings the power of the new RP2040 microcontroller to the Arduino ecosystem. And with the addition of WiFi and Bluetooth, along with a number of advanced onboard peripherals, this little board is certain to find a myriad of uses.

Today we will take a first look at the Arduino Nano RP2040.

After examining the board’s many advanced features we will set up our Arduino IDE to work with our new microcontroller. Linux users will want to make note of a possible bug in the installation process, but don’t worry, I have a simple fix for that.

Once we have the IDE up and running and have tested out the board with the usual Blink sketch we will run a few Arduino-supplied experiments to get a feel for using some of the Nano RP2040’s advanced features.

The Arduino Nano RP2040 Connect has an onboard RGB LED, and in our first experiment we will create a WiFi Access Point with a web page that will allow us to control the Red, Green, and Blue segments. You can use this simple sketch as the basis for more advanced remote control applications.

Next, we will put the 6-axis IMU (Inertial Measurement Unit) to the test by exploiting one of its most unique features - built-in Machine Learning. We will use this to build a motion sensor that can determine whether we are stationary, walking, jogging, cycling, or driving. As I’m doing this in the confines of my workshop I’ll just have to shake the board to simulate walking and jogging!

And finally, we will use the onboard MEMS Microphone to control the blue segment of the RGB LED by clapping - similar to the old “Clapper” device from the 1980s!

Here is the Table of Contents for today’s video:

00:00 - Introduction
01:55 - Arduino Nano RP2040 Connect Intro
06:12 - Look at Nano RP2040
08:48 - Installing the Boards Manager
09:39 - Linux Post Install
12:58 - Blink Test
15:00 - Web Server AP Mode Demo
22:01 - IMU Machine Learning Core Demo
29:31 - Reading Microphone Data Demo (“Clapper”)
35:59 - Conclusion

Subscribe: https://www.youtube.com/c/Dronebotworkshop1/featured

#arduino #raspberry

Arduino Nano RP2040 Connect - Arduino meets Raspberry Pi