HomeExperiments
مقياس الجهد — قراءة القيم التناظرية
Robotics

مقياس الجهد — قراءة القيم التناظرية

صِل مقياس جهد (بوتنشيومتر) بالمُدخل التناظري للوحة Arduino واقرأ قيم الجهد المتغيرة من 0 إلى 1023.

25 دقيقة (الإعداد 10 دقائق)
Robotics Fundamentals

What students learn

يتعلّم الطلاب المُدخل التناظري (0-1023)، والمُخرج بتعديل عرض النبضة PWM (0-255)، والدالة map()، ومقسّمات الجهد.

The science behind this experiment

  • تحوّل analogRead() الجهد (0-5V) إلى قيمة رقمية (0-1023) باستخدام محوّل تناظري-رقمي (ADC) بدقة 10 بت
  • تستخدم analogWrite() تعديل عرض النبضة PWM (0-255) لمحاكاة مُخرج تناظري
  • تعيد map(value, fromLow, fromHigh, toLow, toHigh) تحجيم نطاق إلى نطاق آخر
  • مقياس الجهد هو مقسّم جهد متغيّر

العلاقة الأساسية: V_out = V_in × (R2 / (R1 + R2))؛ القراءة التناظرية = V_pin × 1023 / 5V

Equipment used

  • لوحة Arduino Uno R3
  • لوحة توصيل (Breadboard)
  • 1x مقياس جهد (10kΩ)
  • 1x مصباح LED
  • 1x مقاومة 220Ω
  • أسلاك توصيل

Questions for students

  • ما الفرق بين الإشارات الرقمية والإشارات التناظرية؟
  • كيف يمكنك استخدام مقياسي جهد للتحكم في مصباح LED من نوع RGB؟

What to expect

يؤدي تدوير مقياس الجهد إلى التحكم السلس في سطوع مصباح LED من الانطفاء إلى السطوع الكامل. يحوّل المُدخل التناظري (ADC) الجهود المتصلة إلى قيم رقمية. ويحاكي PWM المُخرج التناظري. وتربط الدالة map() بين نطاقات القيم المختلفة.

Run this experiment in your classroom

This experiment is part of ATP Volta — a self-contained mobile science lab that turns an ordinary classroom into a working STEM laboratory, with over 200 experiments in physics, chemistry, biology, robotics and engineering. Gali, the AI tutor built into ATP Connect, guides students through each step and answers their questions at the bench.

See the ATP Volta mobile science labTalk to our team

The full experiment library

Eighty-six guided experiments across physics, chemistry and biology — each with learning goals, equipment, background theory and questions for students. Browse the library

Physics 42
Chemistry and biology 44