Lesson 7: Digital Read Push button, detecting magnetic field  SunFounder Kit - RJT590 @robojax
Lesson 7: Digital Read Push button, detecting magnetic field  SunFounder Kit - RJT590  @robojax
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.
Lesson 7: Digital Read Push button, detecting magnetic field  SunFounder Kit - RJT590Lesson 6: Buzzer, Driver Wheel and mini Water Pump using  Arduino SunFounder Kit- RJT589Lesson 7 of 10: Line Tracking, Cliff Detection  Calibrate Greyscale Sensor Raspberry Pi Pico CarAC Bulb with ArduinoESP32 Tutorial 25 - Measuring Temperature using NTC & LCD | SunFounders ESP32 IoT Learning kitArduino UNO and Mega Motor Shield for 4 motors #robojaxLesson 19: Measure Distance Using Ultrasonic Sensor with Arduino | SunFounder RobojaxESP32 Tutorial 18 - Detecting Tilt using ESP32 | SunFounders ESP32 IoT Learning kitLesson 4: Obstacle Avoidance with Ultrasonic on PICAR-X Raspberry Pi Smart Robot car by SunFounderRadioLink AT90 9 channel 2.GHz RC Transmitter: Assigning switches to different channelsESP32 Tutorial 55 - How to measure 12V, 24V or 100V DC voltage | SunFounders ESP32 IoT Learning kitLesson 8: PICAR-X Robot Stares at you | Raspberry Pi Smart Robot car by SunFounder
Robojax |

Lesson 7: Digital Read Push button, detecting magnetic field SunFounder Kit - RJT590

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER