No video

Arduino - What is a Pulse and How to Use the pulseIn() Function (with example)

  Рет қаралды 23,114

Robotics Back-End

Robotics Back-End

Күн бұрын

Пікірлер: 11
@thedoctor5036
@thedoctor5036 2 жыл бұрын
why aren't you up the trend of youtube ? you deserve it bro! keep up :D
@RoboticsBackEnd
@RoboticsBackEnd 2 жыл бұрын
Thanks Doctor! Consider subscribing and liking the video to help me reach higher numbers ;)
@jimmym2719
@jimmym2719 Жыл бұрын
Good explanations thank you for teaching 💕
@yousaftoki1599
@yousaftoki1599 Жыл бұрын
Awesome knowledge sir..
@SaintNicholas322
@SaintNicholas322 2 жыл бұрын
Good video thanks for making this, very helpful!
@Europayacht
@Europayacht 2 жыл бұрын
Very comprehensive - thank you!
@subhashkendole3005
@subhashkendole3005 7 ай бұрын
i am trying to compile for Attiny402 device, but Arduino gives error " error compiling for board Attiny41/402/212/202" please advise
@Daminski_Elevator
@Daminski_Elevator 10 ай бұрын
Thanks for video! I try to do PWM switch (ON/OFF) with pulseIn() function like in your video. But there is no reaction. Could you help me to fix this problem?
@lastchance045
@lastchance045 7 ай бұрын
My results do not match yours - will you please tell me why #define buttonPin 2 void setup () { Serial.begin (9600); pinMode(buttonPin, INPUT); } void loop() { unsigned long duration = pulseIn(buttonPin, HIGH, 10000000); Serial.println (duration); } i pressed the button several times : 2sec ,2 sec, 2sec, 6 sec these results were shown on serial monitor 60 61 41 995942 64 0 42 0 0
@garymitchell4543
@garymitchell4543 Жыл бұрын
hi would this work if i was to count the pulses that come off a 24 v coin mechanism? My coin mech sends a pulse each time a quarter is deposited?
@RoboticsBackEnd
@RoboticsBackEnd Жыл бұрын
You'd need to use a relay to convert 24V into 5V so you can plug it into the Arduino.
How to use millis() function to multitask in arduino code.
10:34
Mario's Ideas
Рет қаралды 60 М.
Can This Bubble Save My Life? 😱
00:55
Topper Guild
Рет қаралды 85 МЛН
Уроки Ардуино #16 - аппаратные прерывания
8:05
Заметки Ардуинщика
Рет қаралды 241 М.
How to Use Arduino Interrupts The Easy Way
33:28
Rachel De Barros
Рет қаралды 82 М.
Arduino - How to Save a String into EEPROM
11:31
Robotics Back-End
Рет қаралды 16 М.
Level Up Your Arduino Code: Timer Interrupts
17:22
SparkFun Electronics
Рет қаралды 228 М.
Doing multiple timed things with Arduino: Unleash the millis()!
12:25
Programming Electronics Academy
Рет қаралды 123 М.
You can learn Arduino in 15 minutes.
16:34
Afrotechmods
Рет қаралды 10 МЛН
How to create very fast square pulses with Arduino ( up to 4 MHz with Arduino NANO, UNO, & MEGA2560
18:03
Using EEPROM with Arduino - Internal & External
31:54
DroneBot Workshop
Рет қаралды 195 М.
How to use the Arduino map() function
6:15
Circuit Crush
Рет қаралды 5 М.
Arduino Basics 102: Control Structures, Variables, Interrupts
7:38