الفريق العربي للبرمجةأرشيف المنتديات · 2000 – 2023
نسخة أرشيفية للقراءة فقط — التسجيل والمشاركة مغلقان، والمحتوى محفوظ كما كان.

التحكم ب AVR® microcontroller عن طريق USB

مشاركة: واتساب X فيسبوك تيليجرام
#1 صاحب الموضوع

يعد منفذ USB الاكثر شيوعا واستخداما اليوم، ومع ان المنافذ القديمة مثل LPT اصبحت غير مجدية، بل ان بعض الاجهزة لا تدعمها ... نجد -مع الاسف- الشروح والمواضيع المكتوبة بالعربية لا تتم الا عليها ...

هنا، ساحاول عرض ما اتعلمه من:

vusb-teaser.png

وهو برنامج يتيح التحكم بـ متحكم AVR ... بدون اي متحكمات او قطع اضافية ...

البرنامج متاح مجاناً برخصة GNU/GPL ... كما يمكن شرائه للاستخدام التجاري ...

ويكفيه لعرض عضلاته، قائمة الاجهزة التي قامت به من هنا

مميزات البرنامج:

* Fully USB 1.1 compliant low-speed device, except handling of communication errors and electrical specifications.

* Example projects demonstrate device and host driver implementations on Linux, Mac OS X and Windows.

* Supports multiple endpoints: one control endpoint, two interrupt/bulk-in endpoints and up to 7 interrupt/bulk-out endpoints. (Bulk endpoints are forbidden for low speed devices by the USB standard.)

* Transfer sizes up to 254 bytes by default, more as configuration option.

* Comes with freely usable USB identifiers (Vendor-ID and Product-ID pairs).

* Runs on any AVR microcontroller with at least 2 kB of Flash memory, 128 bytes RAM and a clock rate of at least 12 MHz.

* No UART, timer, input capture unit or other special hardware is required (except one edge triggered interrupt).

* Can be clocked with 12 Mhz, 15 MHz, 16 MHz or 20 MHz crystal or from a 12.8 MHz or 16.5 MHz internal RC oscillator.

* High level functionality is written in C and is well commented.

* Only about 1150 to 1400 bytes code size.

* You can choose the License: Open Source or commercial. Click here for details.

وهذه خريطة وصلها بـ المتحكم

circuit-zoomed.gif

موقع البرنامج

ستكون لي عودة ان شاء الله

تم تعديل هذه المشاركة بواسطة Mohammed-Saeed في 5 مارس 2010 في 23:54

1
#2

هل ممكن كتابة البرنامج الذي يتم حرقه على micro with C language

−1
#3

نعم يمكن الكتابة بالسى

موقع البرنامج

مبارك لشعب تونس photo-thumb-42837.png

#4

if i wanna connect 4 switches on 40 pins micro controller in port A

and i wanna get the output from port B

and connect portB to pc through USB

what should be the program in C language?

and should i use the same components you used in this model??

−1
#5

جزاك الله خيراً ..

هل هذا البرنامج يخص فقط المتحكمات التي لا تدعم اليو إس بي بداخلها مثل الATMEGA32 ؟؟ و ما موقفه من المتحكمات التي تدعم اليو إس بي مثل ATTINY ؟؟

مواضيع مشابهة