رفتن به نوشته‌ها

Tag: برنامه نویسی آردوینو

نکات برنامه نویسی آردوینو

  •  خواندن مقداری از پتانسیومتر متصل به پایه آنالوگ و Map کردن آن بین بازه مثبت.

uint8_t PtnTemp = map(analogRead(PinPtnTemp), 0, 1023, 102, 202);

از متغییر نوع uint8_t برای کاهش حجم کدها استفاده شود. ضمن اینکه اگر بازه مثبت هست (در اینجا ۱۰۲ تا ۲۰۲ ) حتمن نوع متغییر بدون علامت (U) ذکر شود؛ چراکه ممکن هست مقدار مپ شده منفی نیز باشد. یعنی نصف پتانسیومتر بچرخانید عدد مثبت درست نمایش داده میشود و از نصف به بعد اعداد خوانده شده منفی میشوند.

برنامه نویسی آردوینو- برد کنترلر رباتها

  محیط برنامه نویسی آردوینو محیط برنامه نویسی آردوینو شامل یک ویرایشگر متنی جهت نوشتن کد، یک ناحیه پیام، یک کنسول متن، یک جعبه ابزار با دکمه هایی جهت عملیات مشترک، و یک سری منو می باشد. این محیط به سخت افزار آردوینو متصل می شود تا برنامه ها را آپلود کرده و با آنها ارتباط برقرار کند. نوشتن برنامه های آردوینو نرم افزاری که با استفاده از آردوینو نوشته می شود، اسکچ خوانده می شود. این اسکچ ها در ویرایشگر متن نوشته می شوند و با پسوند .ino ذخیره می شوند. این مسئله قابلیت هایی را برای cut/paste و…

دانلود کتاب یادگیری الکترونیک با بردهای آردینو – Learn Electronics with Arduino

Name : Learn Electronics with Arduino Author : Don Wilcher Publication : Apress Size : 21 mb Pages : 280 Have you ever wondered how electronic gadgets are created? Do you have an idea for a new proof-of-concept tech device or electronic toy but have no way of testing the feasibility of the device? Have you accumulated a junk box of electronic parts and …. دانلود

دانلود کتاب شروع کار با بردهای آردینو – Getting Started with Arduino

Name : Getting Started with Arduino, 2nd Edition Author : Massimo Banzi Publication : O’Reilly Media Size : 6.8 mb Pages : 130 Arduino is the open-source electronics prototyping platform that’s taken the design and hobbyist world by storm. This thorough introduction, updated for Arduino 1.0, gives you lots of ideas for projects and helps you work with them right away. From g…. دانلود

دانلود کتاب ساخت ربات با برد آردینو – Arduino Robotics

Name : Arduino Robotics Author : John-David Warren, Josh Adams, Harald Molle Publication : Apress Size : 21.9 mb Pages : 628 This book will show you how to use your Arduino to control a variety of different robots, while providing step-by-step instructions on the entire robot building process. You’ll learn Arduino basics as well as the characteristics of different types of…. دانلود

دانلود کتاب پروژه های آردینو – Arduino Projects to Save the World

Name : Arduino Projects to Save the World Author : Emery Premeaux, Brian Evans Publication : Apress Size : 28.7 mb Pages : 256 Arduino Projects to Save the World shows that it takes little more than a few tools, a few wires and sensors, an Arduino board, and a bit of gumption to build devices that lower energy bills, help you grow our own food, monitor pollution in the air a…. دانلود