DFRobot Beginner Kit for Arduino® | Project 6 Alarm [Step-by-Step Guide]
HeathenHacks
Hello, Heathens! Welcome to #HeathenHacks
If you're new to the channel, please consider subscribing.
Following up on what I've said on the #DFRobot Starter Kit for Arduino® Unboxing video, this will serve as the eighth video on the DFRobot Exclusive Playlist.
TIMESTAMPS:
00:00 - Intro + Context 00:36 - Things Needed 00:46 - How Everything Is Connected 01:26 - Sample Code 01:42 - Code Demo 01:53 - Desmos Sinewave Graph Demo (Using Degree Angle, Radians, and Sine Values) 02:14 - How The Code Works 02:30 - What is a Float Data Type 03:41 - For Statement 04:06 - How to get sinVal Formula 04:24 - Confusion 04:43 - What is sin() 05:57 - Resolution 06:05 - "This Number" 06:22 - Using for() loop to get sinVal 07:27 - Radians to Frequency Conversion 08:09 - Moving on to tone() 08:28 - What is noTone() 08:43 - Cheat Sheet 09:07 - Next Project
NECESSARY LINKS:
My Desmos Graph Demo: https://www.desmos.com/calculator/mbyhzyn9n9 Degree to Radian Conversion Formula: https://www.varsitytutors.com/hotmath/hotmath_help/topics/degree-to-radian-measure Online Tone Generator: https://www.szynalski.com/tone-generator/
Arduino References float(): https://www.arduino.cc/reference/en/language/variables/data-types/float/ Arduino References for(): https://www.arduino.cc/reference/en/language/structure/control-structure/for/ Arduino References sin(): https://www.arduino.cc/reference/en/language/functions/trigonometry/sin/ Arduino References tone(): https://www.arduino.cc/reference/en/language/functions/advanced-io/tone/ Arduino References noTone(): https://www.arduino.cc/reference/en/language/functions/advanced-io/notone/
DFRobot's Website: https://bit.ly/DFRobotWebsite DFRobot Beginner Kit for Arduino®: https://bit.ly/DFRobotStarter DFRobot Beginner Kit for Arduino® PDF: https://bit.ly/DFRobotPDF DFRobot Beginner Kit for Arduino® Sample Codes: https://bit.ly/DFRobotSampleCodes DFRobot WIKI: https://bit.ly/DFRobotWIKI DFRobot Github: https://bit.ly/DFRobotGithub
PLAYLISTS:
My Arduino Projects: https://www.youtube.com/playlist?list=PLnJ6CeayQGsXE3LPt5P663Xia_SgUwk1K
Arduino Beginner Friendly Projects: https://www.youtube.com/playlist?list=PLnJ6CeayQGsXOvOIqtfdV1R2mZ7NwrkUN
DFRobot Exclusive: https://www.youtube.com/playlist?list=PLnJ6CeayQGsXyz8CUWf-XM5yiIPVX7HAH
Tech Reviews/Unboxings: https://www.youtube.com/playlist?list=PLnJ6CeayQGsWKei0q76B0K-abl-uNfV9C
DIY Stuff: https://www.youtube.com/playlist?list=PLnJ6CeayQGsXometlrJ0e8e4h3yDLgOgT
How-To Videos: https://www.yo ... https://www.youtube.com/watch?v=UrznK1A2NiM
125385621 Bytes