![Circuit Magic](/img/default-banner.jpg)
- 32
- 2 760 387
Circuit Magic
Registrace 25. 03. 2014
Welcome to CircuitMagic, the CZcams channel that is all about DIY electronics, circuits, robotics, and more! We cover everything from basic circuits to complex microcontrollers, as well as a variety of sensors and modules that can take your projects to the next level. Our host will guide you through each step of the process, offering easy-to-follow tutorials and project demonstrations that will help you bring your ideas to life. Whether you're interested in building a robot, creating a home automation system, or experimenting with sensors and modules, CircuitMagic has got you covered. Join our community of electronics enthusiasts and unleash your inner inventor today!
DC Motor Control with NodeMCU & Motor Driver Shield | DIY Robotics Tutorial
In this step-by-step tutorial, we'll show you how to control DC motors using a NodeMCU and a Motor Driver Shield. This beginner-friendly guide covers wiring, programming, and practical demonstrations of motor control for robotics and automation projects.
🔧 Key Steps:
Connect NodeMCU to Motor Driver Shield
Program Your NodeMCU for Motor Control
Demonstration: Forward, Backward, Turns, and More
🚗 Looking for the complete robot car project? Stay tuned for our next video where we'll integrate additional sensors for enhanced functionality. Subscribe, comment, and visit our project page for detailed instructions and code samples:
Project Page: bit.ly/NodeMCU-Shield-Motor-Control
Thanks for watching, and happy tinkering! Don't forget to hit that subscribe button to stay updated on all things tech.
🔧 Key Steps:
Connect NodeMCU to Motor Driver Shield
Program Your NodeMCU for Motor Control
Demonstration: Forward, Backward, Turns, and More
🚗 Looking for the complete robot car project? Stay tuned for our next video where we'll integrate additional sensors for enhanced functionality. Subscribe, comment, and visit our project page for detailed instructions and code samples:
Project Page: bit.ly/NodeMCU-Shield-Motor-Control
Thanks for watching, and happy tinkering! Don't forget to hit that subscribe button to stay updated on all things tech.
zhlédnutí: 2 037
Video
Using Servo Motor SG90 with Arduino
zhlédnutí 53KPřed 2 lety
This is the basic tutorial of Arduino to learn how to use Micro Servo Motor with Arduino. I am using: 1. Arduino UNO 2. Micro Servo SG90 3. Jumper Wires Project Page: coming soon
Ultrasonic Distance Sensor HC-SR04 and Arduino Tutorial
zhlédnutí 2,1KPřed 2 lety
Hi Guys, I am back once again with a new video which is on, ultrasonic distance sensor. In this video, I have demonstrated how you can connect an ultrasonic distance sensor and code Arduino to check the distance. I have used: 1. Arduino UNO 2. HC-SR04 Ultrasonic distance sensor 3. Jumper wires 4. Breadboard Project Page: coming soon
Capacitive Touch Sensor with Arduino use as a Toggle Switch
zhlédnutí 10KPřed 2 lety
In this small project, I have demonstrated, How you can use a capacitive touch sensor with an Arduino to make a toggle touch switch. For more details and code you can visit the project page link at circuitmagic.com Project Page link: coming soon I have used: 1. Arduino UNO 2. TTP22301 Touch Sensor 3. Jumper Wires 4. LED
Two Temperature Sensor Module MAX6675 with Arduino
zhlédnutí 12KPřed 4 lety
In this video you can see how I am using two K-Type temperature sensor Module MAX6675 with Arduino.
Joystick Module with Arduino to Control DC Motors for Robotic Car
zhlédnutí 35KPřed 4 lety
Joystick module Arduino tutorial to learn how to connect the module with Arduino to control DC motors along with L298N driver module. This video tutorial will explain how to control direction of dc motor and speed. Project page: Coming soon. Buy Products. Joystick Module: s.click.aliexpress.com/e/cIEuF7nw UNO R3 Board: s.click.aliexpress.com/e/C7GfDuVi Motor Driver: s.click.aliexpress.com/e/3Y8...
DIY Temperature Meter with K-Thermocouple Sensor MAX6675 - Arduino Project
zhlédnutí 6KPřed 5 lety
Hi, In this video I made Temperature meter using OLED display tempreture sensor module MAX6675 with Arduino pro mini. I used some rounded box for the meter body. I will soon upload the complete wiring diagram and arduino code on my project page at circuitmagic.com
How to Control Speed of Servo Motor - Arduino Project
zhlédnutí 121KPřed 6 lety
Hi Guys, It's all about controlling the speed of servo motor using Arduino. In this video, you can learn how to run servo motor as well as control the speed of servo. I have write some code method to make it easy. So visit my project page for Arduino code and more information Project page- coming soon!
3Amp Stepper motor Driver TB6560 with Arduino
zhlédnutí 4,6KPřed 6 lety
HI Guys, In this video I will connect the TB6560 Driver board with Arduino Mega and test the driver with 22kg stepper motor. You can find the code and wiring diagram at our project page on circuitmagic.com and You can also watch my previous video for 5Amp stepper motor driver using H-bridge circuit with Mosfets Project page:- bit.ly/TB6560-CM 5Amp driver video:- czcams.com/video/8RMHMlpLbSg/vid...
Temperature Sensor with Arduino - K-Thermocouple Sensor MAX6675 Module
zhlédnutí 74KPřed 6 lety
In this very short video, you will learn how you can measure temperature from 0 to 1024 degree Celsius by using K Type Thermocouple sensor with MAX6675 module and Arduino. You can find the complete details like code and wiring diagram of this Arduino project at circuitmagic.com Project page - coming soon!
5 Amp Stepper Motor Driver - Part 3 - 22kg Stepper motor with Arduino
zhlédnutí 9KPřed 6 lety
Hello folks, This is Part 3 and Final video of this video series of 5 Amp stepper motor driver. Well in this video I I am testing driver board with 22kg high torque stepper motor You can find all the information like component list, circuit diagram, PCB design, wiring diagra and Arduino code on our project page at circuitmagic.com www.circuitmagic.com/arduino/5-amp-stepper-motor-driver-22kg-dri...
5 Amp Stepper Motor Driver - Part 2 - Running Stepper Motor with Arduino
zhlédnutí 7KPřed 6 lety
Hi Guys, This is Part 2 video of 5 amp Stepper Motor Driver. In this video I will test my driver module first time and show you how you can connect stepper motor and Arduino with driver and run the stepper motor. You can find all the information like component list, circuit diagram, PCB design, wiring diagra and Arduino code on our project page at circuitmagic.com Please don't forget to subscri...
5 Amp Stepper Motor Driver - Part 1 - Building h-bridge circuit board
zhlédnutí 14KPřed 6 lety
5 Amp Stepper Motor Driver - Part 1 - Building h-bridge circuit board
How to Run Stepper Motor with Arduino using L298N Driver Module
zhlédnutí 61KPřed 6 lety
How to Run Stepper Motor with Arduino using L298N Driver Module
How to control DC motor with L298N driver and Arduino
zhlédnutí 432KPřed 6 lety
How to control DC motor with L298N driver and Arduino
Ultrasonic Distance sensor HC-04 with Arduino - DIY Distance Meter project
zhlédnutí 8KPřed 6 lety
Ultrasonic Distance sensor HC-04 with Arduino - DIY Distance Meter project
DIY RPM Tachometer with Arduino | RPM Counter |
zhlédnutí 153KPřed 8 lety
DIY RPM Tachometer with Arduino | RPM Counter |
OLED Display I2C 128x64 With Arduino - Tutorial
zhlédnutí 80KPřed 9 lety
OLED Display I2C 128x64 With Arduino - Tutorial
How to Run a Stepper Motor with an Arduino + L293D IC
zhlédnutí 184KPřed 9 lety
How to Run a Stepper Motor with an Arduino L293D IC
Mini Quadcopter Motor run with Arduino pro mini
zhlédnutí 68KPřed 9 lety
Mini Quadcopter Motor run with Arduino pro mini
Arduino Bluetooth Android - LED Controller Project
zhlédnutí 280KPřed 9 lety
Arduino Bluetooth Android - LED Controller Project
Free Energy Magnet Motor fan used as Free Energy Generator : Fake
zhlédnutí 3,6KPřed 10 lety
Free Energy Magnet Motor fan used as Free Energy Generator : Fake
Ultrasonic Distence Sensor HC-SR04, LCD 16x2 and Arduino
zhlédnutí 22KPřed 10 lety
Ultrasonic Distence Sensor HC-SR04, LCD 16x2 and Arduino
Weekend Project: Laser and LDR security system working prototype and circuit diagram
zhlédnutí 49KPřed 10 lety
Weekend Project: Laser and LDR security system working prototype and circuit diagram
Control DC Motor CW/CCW with MPU-6050 Gyro/Accelerometer + Arduino
zhlédnutí 70KPřed 10 lety
Control DC Motor CW/CCW with MPU-6050 Gyro/Accelerometer Arduino
GY-521 (MPU-6050) + Control DC Motor with arduino UNO + Motor driver shield
zhlédnutí 57KPřed 10 lety
GY-521 (MPU-6050) Control DC Motor with arduino UNO Motor driver shield
Drive CD-ROM Stepper Motor with Arduino + L293d shield
zhlédnutí 232KPřed 10 lety
Drive CD-ROM Stepper Motor with Arduino L293d shield
My jumper wire only have one side pin
did you use switch?
e hat nicht funktioniert DKO
Thank you so much
Here is the code: int LEDState = 0; int touchInput = 3; int LEDPin = 13; int inputState; int lastInputState = 1; int dt = 100; void setup() { // put your setup code here, to run once: Serial.begin(9600); // pinMode(LED_BUILTIN, OUTPUT); // built-in LED declaration if you want pinMode(LEDPin, OUTPUT); pinMode(touchInput, INPUT); } void loop() { // put your main code here, to run repeatedly: inputState = digitalRead(touchInput); if (lastInputState == 0 && inputState == 1) { if (LEDState == 0) { // digitalWrite(LED_BUILTIN, HIGH); // Turn on built-in LED if you want digitalWrite(LEDPin, HIGH); LEDState = 1; } else { // digitalWrite(LED_BUILTIN, LOW); // Turn off built-in LED if you want digitalWrite(LEDPin, LOW); LEDState = 0; } } lastInputState = inputState; delay(dt); } Thanks me later 🙂
Thank you 🙏
my arduino reading is going zero what can be issue
is this safe? would this break my arduino board? should i use diodes. or am i overthinking?
I REALLY GLAD THIS ONE IS JUST 1 MINUTE ITS HARD TO SEE TUTORIAL LIKE THIS really like ur video
thanks for tutor...
Please provide code Servo Motor
What about the 5v on the l298 where is it connected to on the arduino
Thank you for giving me knowledge the PIR sensor
Can someone help me what my servo motor keep rotating non stop
Something is wrong with your servo. They should only move 180 degrees.
Sorry, my mistake. There are multiple kinds. This video is for a positional servo. Yours might be a continuous servo. I stumbled on this video. czcams.com/video/XrEN1oszq_Y/video.html&ab_channel=ScienceBuddies
That's nice and all. But how is this supposed to help my hemorrhoid problem?
can i please get your contact details
#include <SPI.h> double readCelsius(uint8_t cs) { uint16_t v; digitalWrite(cs, LOW); v = SPI.transfer(0x00); v <<= 8; v |= SPI.transfer(0x00); digitalWrite(cs,HIGH); if (v & 0x4) { //uh oh, no thermocouple attached! return NAN; } v >>= 3; return v*0.25; } void setup() { SPI.begin(); pinMode(10, OUTPUT); pinMode(9, OUTPUT); digitalWrite(10, HIGH); digitalWrite(9, HIGH); Serial.begin(115200); } void loop() { Serial.print(readCelsius(10)); Serial.print(" "); Serial.println(readCelsius(9)); delay(1000); }
code : #include <Servo.h> Servo myservo; void setup() { Serial.begin(9600); myservo.attach(9); } void loop() { int val; while (Serial.available() > 0) { val = Serial.parseInt(); if (val != 0) { Serial.println(val); myservo.write(val); } } delay(5); }
I could not execute the program using windows 11
@@user_mouyad59 i dont think the problem is windows 11. It worked on my
Great video but should remove background music. It makes it difficult to hear narration
AI? Are you serious??!!?
Code: #include <Servo.h> Servo myServo; // Create a servo object to control a servo motor int servoPin = 9; // Define the pin to which the servo is connected void setup() { myServo.attach(servoPin); // Attaches the servo on pin 9 to the servo object } void loop() { // Sweep the servo from 0 to 180 degrees in steps of 1 degree for (int angle = 0; angle <= 180; angle++) { myServo.write(angle); // Set the servo position delay(15); // Wait for servo to reach the position } // Sweep the servo from 180 to 0 degrees in steps of 1 degree for (int angle = 180; angle >= 0; angle--) { myServo.write(angle); // Set the servo position delay(15); // Wait for servo to reach the position } }
thanks man , you helped me alot.
Sya dtg sbb Mariposa sruh tngk video nih
Nice work😁👍
thank you for speaking english well understand always watching
this is controling direction not Control Speed
It work in nano
Yes
so why dont you need a resistor?
Because the servo is designed to work with all 5v.
Your explanation is very high class
why not show accurate value? This value up down continuously. Why?
Great
Can you control Motor speed via tilt values on sensor? Maximum set tilt- high rpm Low set tilt-low rpm On both left and right dirwction
Thanks for the video! I have an Nema 17 hooked up to a L298n and an Arduino. I have no issues operating it, but I'm having problems powering it. If I use a 5v 1a supply, it works but torque is low. If I use a 12v 2a supply, the torque is great, but the L298n pulses ever second or so which sends power to the motor. It doesnt appear to actually turn the motor, but it makes a buzzing noise which is VERY annoying. Do you know why I'm getting this pulsing from the driver?
THANK YOU FOR SAVING MY NIGHT
Hey there, I followed your instructions, and I made it right. Only the problem is the motor vibrating, then stops and vibrates again as it's executing the code.
avrdude: ser_open(): can't set com-state for "\\.\COM3" Failed uploading: uploading error: exit status 1 what can i do?
restart your computer , its because multiple time of using it
sir which app can be used in pic 16f877A?
Please show me connect picture.....
Here is the code -- int LEDState = 0; int touchInput = 2; int inputState; int lastInputState = 1; int LEDPin = 13; // Define the LED pin void setup() { Serial.begin(9600); pinMode(LEDPin, OUTPUT); pinMode(touchInput, INPUT); } void loop() { inputState = digitalRead(touchInput); if (lastInputState == 0 && inputState == 1) { if (LEDState == 0) { digitalWrite(LEDPin, HIGH); LEDState = 1; Serial.println("Touch detected. LED turned ON."); } else { digitalWrite(LEDPin, LOW); LEDState = 0; Serial.println("Touch detected. LED turned OFF."); } } lastInputState = inputState; delay(100); // Adjust the delay as needed }
Can you share the arduino sketch code?
Mam can I use this driver with 5v DC motors are they compatible with it please reply fast I need to do that for my project
Can I please ask for the Code? Need asap
Just use a server tester
It’s cheap and super easy
Motor are not working
can the sesor mesure distance?
can we activate the motors alternatively by using this circuit but different code?
Brilliant Video! Thanks for helping me... I was in a big need.
... and with the code... even better. ;-)
Nice video. I would also love to see the circuit plan.
I miss playing with mine. I have a couple knocoff unos and nano.
Nov
Nov good