Lesson 9 | Understanding Data Types for variables | Arduino Crash Course

preview_player
Показать описание
🤩 FREE Arduino Crash Course 👇👇

*Want to learn more? Check out our courses!*

We designed this circuit board for beginners!

SHOP OUR FAVORITE STUFF! (affiliate links)
---------------------------------------------------

Get your Free Trial of Altium PCB design Software
We use Rev Captions for our subtitles

Arduino UNO R3:

Budget Arduino Kits:

Multimeter Options:

Helping Hands:

Soldering Stations:

AFFILIATES & REFERRALS
---------------------------------------------------

FOLLOW US ELSEWHERE
---------------------------------------------------

*About Us:*
This Arduino tutorial was created by Programming Electronics Academy. We are an education company who seek to help people learn about electronics and programming through the ubiquitous Arduino development board.

*We have no affiliation whatsoever with Arduino LLC, other than we think they are cool.*
Рекомендации по теме
Комментарии
Автор

The video's are fantastic! So clearly explained step by step. Thank you so much for taking the time to put this together!

thomasnorman
Автор

Finally found an outlet to learn and bring me up to speed so I know what questions to ask.

TJenga
Автор

Your videos are very well done, thanks for the effort!!

richardwilliamjohnson
Автор

I like your calm and concise style, subscribed!
Regards Paul

pauln
Автор

Arduino data types gave me huge headaches.
I will give it another chance thanks to this awesome explanation :)

adrianTNT
Автор

That was exactly what I was looking for.
Also really well explained.
Many Thanks

berndb.
Автор

Great, didn't expect a beautiful & deeply detailed video on variable types :-)

rbmnewton
Автор

Simple, Clear And Best...Thanks a lot.

ramankumarmishra
Автор

Love your guides.

you can create a guide to tft touch display, where you show how to program and designer gui for it.

brunokc
Автор

Very good explanation, these videos are very helpful. Thank you very much.

SunnyWu
Автор

I need to find a way to capture the oscillation point of a moving object.
To visualize this, Picture a rail with a distance sensor at each end. The target would oscillate between the 2 end points with the center being 180. To the left the max measurement would be 270 and max 90 to the right. When the target moves to the right then switches direction I want to capture the farthest measurement lowest number serial data to trigger a device when the target is at a certain point on the left. Then I want to capture the oscillation point highest number on the left to in turn trigger the device at a certain point on the right. Due to changing loads on the device being triggered the oscillation points will change randomly.

Can this be done?

Below is a rough draft of comments without any code.

//Arduino uno

// vl53l0x sensors
// distance sensor1 value 181 to 270 degrees
//distance sensor2 value 179 to 90 degrees


//1 stepper Nemo 17 or 23
//Stepper full rotation 0-359 steps (clock wise count 0 north)
//Home 180, max rotation from 270 to 90 degrees.
// orientations. 270 right, 90 left.
//sensors placed at the ends of a rail with oscillating target.

//if sensor1 value oscillates set sensor1 to highvalue of oscillation
Oscillation at 172-173-172 would set value at 173

// if sensor2 lowalue is = 178
// run stepper to 183 when sensor1 reaches 182 //1degrees
// if sensor2 lowalue is =177
// run stepper to 184 when sensor1 reaches 183
// if sensor2 lowalue is =176
// run stepper to 185 when sensor1 reaches 184
// if sensor2 lowalue is = 175
// run stepper to 186 when sensor1 reaches 185
// if sensor2 lowalue is =174
// run stepper to 187 when sensor1 reaches 186
// if sensor2 lowalue is =173
// run stepper to 188 when sensor1 reaches 187
// if sensor2 lowalue is = 172
// run stepper to 189 when sensor1 reaches 188
// if sensor2 lowalue is =171
// run stepper to 189 when sensor1 reaches 188
to lowvalue of 90
//use < at end max run to 270

//If sensor 2 value oscillates set sensor2 to lowvalue of oscillation
Ocilation at 186 - 185 - 186 would set value at 185

// if sensor1 highvalue is 182
// run stepper to 177 when sensor2 reaches 178
// if sensor1 highvalue is 183
// run stepper to 176 when sensor2 reaches 177
// if sensor1 highvalue is 184
// run stepper to 175 when sensor2 reaches 176
// if sensor1 highvalue is 185
// run stepper to 174 when sensor2 reaches 175
highvalue of
//use > at end max run to 90.

jameselliott
Автор

Dude, you are fuckin awesome at this

ToTheMaxWorld
Автор

this was excellent video.
you re superb.

mediverse
Автор

Sometimes I see codes where characters are unsigned, for instance (unsigned char x = 'a') or something like that, how does this differ than a char data type ?!

abdelrahmangamalmahdy
Автор

hey guys i have problem with my arduino when i am trying to dump a program in it the ide is showing an error like cannot open the device avrdude: ser_open(): can't open device "\\.\COM1": Access is denied. and my tx led is glowing continously from the time it gets powered up(ie., . first the normal procedure starts like the L led glows 3 times then tx and tx glows before that and after all these TX glows continuously )

when i put in com7 port also the same is being repeated i dont know what to do ? some one sugget me something

srikarsana
Автор

Think for a moment about the word "couple". You'll realize that it synonymous to "pair" and not to "few", as most people use it.

Gundesalf
Автор

I had a sketch error because of the word "byte".

jimscobie
visit shbcf.ru