Uploaded December 2022 | Updated September 2026, 3 weeks ago
In this lesson we have 3 project using DigitalRead. Fist we learn why we need push button with Arduino, then we use reed switch to detect magnetic field, then we learn INPUT_PULLUP a feature of Arduino so we don't need to use a resistor with push buttons. We will also look at problem if we don't use a resistor.
Purchase this kit from SunFounder website robojax.com/L/?id=367
This lecture is part of Robojax Arduino Course based on SunFounder kit with lesson 1 starts here: bit.ly/sunfouder
The best thank you for me is to not to skip ads and Subscribe 🔔 to my channel, like 👍 the video It is greatly appreciated. 🔔 😊.
I will reply to all Subscriber's 🔔 questions. So make sure to Subscribe.😊 .
**** Purchase this SunFounder Arduino Learning kit from Affiliated Stores ***
Amazon USA:amzn.to/3iAYIh7
Amazon Canada:amzn.to/3Fm76cV
Amazon Germany :amzn.to/3UtVOYG
Amazon UK: amzn.to/3VuRNV1
Amazon France: amzn.to/3iCKfko
Amazon Spain: amzn.to/3Vu7uvA
Amazon Italy: amzn.to/3EYGu0v
Amazon Japan: amzn.to/3h0nbf1
SunFounder website: robojax.com/L/?id=367
eBay: ebay.us/xYb1lT
AliExpress: https://s.click.aliexpress.com/e/_DlS0a0F
Review of Kaywiets Multimeter youtu.be/yFtRjurzH5E
Download Arduino Code: docs.sunfounder.com/projects/3in1-kit/en/latest
📚⬇️ Download and resource page for this video robojax.com/RJT590
Use Chapters from timeline or click on the time
00:00 Introduction
1:33 Digital Read and Switch
2:45 Reading Push button
5:17 Push button wiring
8:19 Push button code explained
10:53 Push button: Demonstration
12:37 Detecting magnetic field using Reed Switch
14:38 Reed Switch: Wiring Explained
16:44 Reed Switch: Code explained and demonstration
19:43 Push button without a resistor
20:19 What's the problem if we don't use a resistor with a switch
21:17 Code explained
#SunFounder #robojaxSunFounder #robojax_Push_Button
Tutorial by Ahmad Shamshiri form Canada
If you found this tutorial helpful, please support me so I can continue creating contents like this. Here is PayPal link bit.ly/donate-robojax
Power Supply I use:
DC 30V 60A Power supply: https://s.click.aliexpress.com/e/_98Ah5c
DC 60V 30A Power supply: https://s.click.aliexpress.com/e/_APyPJ0
If you found this tutorial helpful, please support me so I can continue creating contents like this. (PayPal): 🔥paypal.me/robojaxTV
Follow me on Facebook fb.me/robojaxTV
Follow me on TikTok tiktok.com/@robojaxtv
Follow me on Twitter: twitter.com/robojaxTV
Follow me on Instagram: instagram.com/robojax
Get other projects code ⬇️
🔥robojax.com
**** AFFILIATE PROGRAM ****
We are a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for us to earn fees by linking to Amazon.com and affiliated sites.
In this lesson we have 3 project using DigitalRead. Fist we learn why we need push button with Arduino, then we use reed switch to detect magnetic field, then we learn INPUT_PULLUP a feature of Arduino so we don't need to use a resistor with push buttons. We will also look at problem if we don't use a resistor.
Purchase this kit from SunFounder website robojax.com/L/?id=367
This lecture is part of Robojax Arduino Course based on SunFounder kit with lesson 1 starts here: bit.ly/sunfouder
The best thank you for me is to not to skip ads and Subscribe 🔔 to my channel, like 👍 the video It is greatly appreciated. 🔔 😊.
I will reply to all Subscriber's 🔔 questions. So make sure to Subscribe.😊 .
**** Purchase this SunFounder Arduino Learning kit from Affiliated Stores ***
Amazon USA:amzn.to/3iAYIh7
Amazon Canada:amzn.to/3Fm76cV
Amazon Germany :amzn.to/3UtVOYG
Amazon UK: amzn.to/3VuRNV1
Amazon France: amzn.to/3iCKfko
Amazon Spain: amzn.to/3Vu7uvA
Amazon Italy: amzn.to/3EYGu0v
Amazon Japan: amzn.to/3h0nbf1
SunFounder website: robojax.com/L/?id=367
eBay: ebay.us/xYb1lT
AliExpress: https://s.click.aliexpress.com/e/_DlS0a0F
Review of Kaywiets Multimeter youtu.be/yFtRjurzH5E
Download Arduino Code: docs.sunfounder.com/projects/3in1-kit/en/latest
📚⬇️ Download and resource page for this video robojax.com/RJT590
Use Chapters from timeline or click on the time
00:00 Introduction
1:33 Digital Read and Switch
2:45 Reading Push button
5:17 Push button wiring
8:19 Push button code explained
10:53 Push button: Demonstration
12:37 Detecting magnetic field using Reed Switch
14:38 Reed Switch: Wiring Explained
16:44 Reed Switch: Code explained and demonstration
19:43 Push button without a resistor
20:19 What's the problem if we don't use a resistor with a switch
21:17 Code explained
#SunFounder #robojaxSunFounder #robojax_Push_Button
Tutorial by Ahmad Shamshiri form Canada
If you found this tutorial helpful, please support me so I can continue creating contents like this. Here is PayPal link bit.ly/donate-robojax
Power Supply I use:
DC 30V 60A Power supply: https://s.click.aliexpress.com/e/_98Ah5c
DC 60V 30A Power supply: https://s.click.aliexpress.com/e/_APyPJ0
If you found this tutorial helpful, please support me so I can continue creating contents like this. (PayPal): 🔥paypal.me/robojaxTV
Follow me on Facebook fb.me/robojaxTV
Follow me on TikTok tiktok.com/@robojaxtv
Follow me on Twitter: twitter.com/robojaxTV
Follow me on Instagram: instagram.com/robojax
Get other projects code ⬇️
🔥robojax.com
**** AFFILIATE PROGRAM ****
We are a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for us to earn fees by linking to Amazon.com and affiliated sites.










