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:
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.
Note: Be Aware, that this is not a professional device! And must be used only for fun purpose!
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:
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!
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
You can find the code and the full instructions on my site: https://smartbuilds.io/
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.
How to make digital clock using Python Arduino and LCD display
Requirement For This Project:
2.LCD Display 16 x2
Source Code: https://github.com/Chando0185/digital…
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
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.
Install all avr-c and all the dependencies.
$ sudo apt-get install gcc-avr binutils-avr avr-libc avrdude
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:
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
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:
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.
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
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….!
Just look at this example.
#java-programming #arduino #serial-communication #java #esp32 #sending data from esp32 (and arduino uno) to java in cmd
LED Controlling Just Using Your Voice Command in Python And Arduino
Github REPO: https://github.com/Chando0185/led_con…
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.
#arduino #raspberry-pi #iot
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
(02:10) Static Electricity
(03:37) Current Electricity
(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:17:41) The First Step into Programming
(1:19:37) Bare minimum structure of an Arduino Program
(1:21:37) White Spaces and Case Sensitivity
(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
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
Section 6.4 Remaining data types
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?
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
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