تبلیغات
الکترونیک و رباتیک - ساخت ربات تعقیب خط
 
الکترونیک و رباتیک
چهارشنبه 29 آذر 1391
در این پست سعی شده است که نحوه ی ساخت یک ربات تعقیب خط که توانایی رفتن لوپ، تغییر رنگ زمینه(inverted) و تقاطع را داشته باشد، توضیح داده شود.
برای مطالعه به ادامه ی مطلب مراجعه کنید.
1- برنامه ی ربات:
با else if باشد بهتر است. یعنی: اگر سنسور وسط دید، برو جلو وگرنه سنسور کناری را چک کن.اگر این سنسور دید، بپیچ و گرنه... .
استفاده از این الگوریتم سرعت اجرای برنامه را بیشتر می کند. در نتیجه ربات می تواند سریع تر حرکت کند.

برای این که ربات لوپ را بهتر برود باید OCR های آنرا تنظیم کرد.

3- برنامه ی تغییر رنگ زمینه: دوتابع باید نوشت. یکی برای تعقیب خط سیاه در زمین سفید و دیگری برای تعقیب خط سفید در زمین سیاه. 
اول باید ربات رنگ زمینه را به وسیله ی دو سنسور که در جلو ی ربات (یکی سمت راست و دیگری سمت چپ) تعبیه شده، تشخیص دهد. سپس تابع مربوطه را اجرا کند.

4-ربات بهتر است از کریستال خارجی استفاده کند تا بتواند با سرعت بیشتری حرکت کند.

5- موتور ها باید قابلیت این را داشته باشند که OCR های کم را اجرا کنند و سوت نزنند.
موتور ها باید سرعت لازم را داشته باشند.
بهتر است موتور ها، مینی موتور نباشند.




نوع مطلب :
برچسب ها :
لینک های مرتبط :
شنبه 22 اردیبهشت 1397 07:02 ق.ظ
займ срочно без отказа
быстро займы на карту без отказа
кредити онлайн без відмови
кредиты без отказов
онлайн займы 24 часа
кредит 24 часа на карту
кредит онлайн украина 24/7
چهارشنبه 22 فروردین 1397 03:49 ق.ظ
It is going to be large is you've a petite wrist,
or are very young, however should wear properly on an grownup of normal proportions.
چهارشنبه 22 فروردین 1397 02:44 ق.ظ
The trilogy ring is a three stone ring consisting of purely diamonds, or two diamonds and a
characteristic gemstone.
چهارشنبه 22 فروردین 1397 01:20 ق.ظ
They spot them in buying centres and outdoors bars and cafes and
for one lucky lady or boy it will probably mean the profession of a lifetime.
دوشنبه 20 فروردین 1397 07:28 ق.ظ
Whatever the event or Holiday, customized made one-of-a-sort jewellery
is an excellent reward to to provide and obtain.
دوشنبه 20 فروردین 1397 06:48 ق.ظ
Have been taking little over a month.
چهارشنبه 15 فروردین 1397 02:51 ق.ظ
Have actually been taking little over a month.
دوشنبه 13 فروردین 1397 06:54 ب.ظ
We attempt to supply complete care for our patients.
دوشنبه 13 فروردین 1397 03:40 ق.ظ
Have actually been taking little over a month.
دوشنبه 13 فروردین 1397 01:32 ق.ظ
This is actually the story of exactly how we stumbled on connect face-to-face.
یکشنبه 12 فروردین 1397 08:51 ب.ظ
These fees will be different based upon the amount of transactions you perform in monthly as well as your ability to negotiate much.
on Bing. Plus my personal personal web sites are As we had a cold meal there and so they
were over thrilled to provide us with a free of charge meal the very next time we
would are presented in.
یکشنبه 12 فروردین 1397 07:33 ب.ظ
Yes sitting could be near, but it is better than nothing.
یکشنبه 12 فروردین 1397 03:08 ب.ظ
Have been taking little over a month.
یکشنبه 12 فروردین 1397 11:24 ق.ظ
Dunlop's work is commonly confused with that of
another female jewelry designer of the same period,
Dorrie Nossiter.
شنبه 1 مهر 1396 06:51 ب.ظ
We are a group of volunteers and opening a new scheme in our community.
Your web site provided us with valuable info
to work on. You have done an impressive job and our whole
community will be grateful to you.
دوشنبه 27 شهریور 1396 08:31 ق.ظ
Thanks in favor of sharing such a good idea,
article is nice, thats why i have read it completely
پنجشنبه 23 شهریور 1396 08:33 ق.ظ
Hello, this weekend is pleasant designed for me, as this point in time i am reading this impressive informative paragraph here at my house.
یکشنبه 15 مرداد 1396 10:18 ب.ظ
It's very trouble-free to find out any topic on web as compared to books, as I found this piece of writing at this web page.
شنبه 14 مرداد 1396 10:54 ق.ظ
Undeniably believe that which you stated. Your favorite reason appeared to be
on the net the easiest thing to be aware of. I say to you,
I certainly get annoyed while people consider worries that they plainly do not know about.
You managed to hit the nail upon the top and
also defined out the whole thing without having side
effect , people can take a signal. Will probably be back to get more.
Thanks
شنبه 17 تیر 1396 05:37 ق.ظ
I go to see daily some websites and blogs to read articles or reviews, except this blog
provides quality based posts.
پنجشنبه 31 فروردین 1396 01:53 ب.ظ
My family members every time say that I am wasting my
time here at web, but I know I am getting experience daily by reading such good
content.
دوشنبه 28 فروردین 1396 04:41 ب.ظ
This is really attention-grabbing, You are an excessively professional blogger.
I have joined your rss feed and stay up for
searching for extra of your fantastic post.
Also, I have shared your site in my social networks
دوشنبه 28 فروردین 1396 05:01 ق.ظ
bookmarked!!, I love your website!
شنبه 19 فروردین 1396 01:50 ب.ظ
Hello, i read your blog from time to time and i own a similar one and i was
just wondering if you get a lot of spam responses?
If so how do you protect against it, any plugin or anything you
can suggest? I get so much lately it's driving me crazy so any
help is very much appreciated.
شنبه 12 فروردین 1396 03:24 ب.ظ
I have been browsing online more than 4 hours today, yet I never found any interesting article like yours.
It's pretty worth enough for me. In my opinion, if all web owners and bloggers made
good content as you did, the web will be much more useful than ever before.
 
لبخندناراحتچشمک
نیشخندبغلسوال
قلبخجالتزبان
ماچتعجبعصبانی
عینکشیطانگریه
خندهقهقههخداحافظ
سبزقهرهورا
دستگلتفکر





آمار وبلاگ
  • کل بازدید :
  • بازدید امروز :
  • بازدید دیروز :
  • بازدید این ماه :
  • بازدید ماه قبل :
  • تعداد نویسندگان :
  • تعداد کل پست ها :
  • آخرین بازدید :
  • آخرین بروز رسانی :
امکانات جانبی
 
 
بالای صفحه
 

Top Blog
وبلاگ برتر در تاپ بلاگر


Untitled Document
دریافت کد خوش آمدگویی

گوگل رنک

پیج رنک

رتبه سنج گوگل