Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
dTub
Скачать

6 ARDUINO ANALOG analogReference

Автор: ENGRTUTOR

Загружено: 2022-05-03

Просмотров: 10131

Описание:

analogReference() function is not necessary for majority of the sensors you will see but it is a good idea to know when to use it.

Recall that the analogRead() function will read in a voltage value between 0-5V and convert that to 0-1023 using the ADC (analog-to-digital converter) hardware that is inside the Arduino processor. Now, what if the sensor you picked used +3.3V instead of +5V?
There are two possible answers to this question:
1) Nothing wire the sensor with a 3.3V power, the readings will be between 0-3.3V so when you read it from the analog port, the values will go from 0-676 instead of 0-1023.
2) IF however you want to use the full 0-1023 range, we could use analogReference() function. analogReference() function can be used to map the 0-1023 values to the 0-3.3V range. To do this, 3.3V must also be connected to the AREF pin (just above Digital pin 13). analogReference(EXTERNAL); should then be added to the setup() portion of the code.

6 ARDUINO ANALOG analogReference

Поделиться в:

Доступные форматы для скачивания:

Скачать видео mp4

  • Информация по загрузке:

Скачать аудио mp3

Похожие видео

5 Arduino ANALOG analogWrite

5 Arduino ANALOG analogWrite

STM32F4 Bare Metal Programming - Timers:  Output Compare

STM32F4 Bare Metal Programming - Timers: Output Compare

Utilizing the Arduino ADC Internal Reference

Utilizing the Arduino ADC Internal Reference

Развлечения с транзисторами

Развлечения с транзисторами

Measure DC Voltage and Current with Arduino

Measure DC Voltage and Current with Arduino

درس 504 من دورة الاردوينو --  تعرف على لوحة الأردوينو أونو

درس 504 من دورة الاردوينو -- تعرف على لوحة الأردوينو أونو

Но что такое нейронная сеть? | Глава 1. Глубокое обучение

Но что такое нейронная сеть? | Глава 1. Глубокое обучение

AXI and MIO GPIO Vivado to SDK design

AXI and MIO GPIO Vivado to SDK design

FreeCAD для 3D-печати – Проект 01 из 40 | Прочный настенный крюк | Пошаговое руководство по модел...

FreeCAD для 3D-печати – Проект 01 из 40 | Прочный настенный крюк | Пошаговое руководство по модел...

Схемы в TinkerCAD

Схемы в TinkerCAD

Stepper Motors and Arduino - The Ultimate Guide

Stepper Motors and Arduino - The Ultimate Guide

2 Arduino ANALOG Review of Voltage Divider

2 Arduino ANALOG Review of Voltage Divider

#340 How good are the ADCs inside Arduinos, ESP8266, and ESP32? And external ADCs (ADS1115)

#340 How good are the ADCs inside Arduinos, ESP8266, and ESP32? And external ADCs (ADS1115)

Exploring Keil uVision project and simple code for GPIO using HAL GPIO functions

Exploring Keil uVision project and simple code for GPIO using HAL GPIO functions

4-20mA Industrial Pressure Sensor, Arduino IoT

4-20mA Industrial Pressure Sensor, Arduino IoT

Учебник Arduino для начинающих 2023 года 01 — Введение

Учебник Arduino для начинающих 2023 года 01 — Введение

Hack Pack – Введение в Arduino

Hack Pack – Введение в Arduino

LLM и GPT - как работают большие языковые модели? Визуальное введение в трансформеры

LLM и GPT - как работают большие языковые модели? Визуальное введение в трансформеры

Arduino Programming Series - Tutorial 09 | Analog Input/Output Functions [in Hindi]

Arduino Programming Series - Tutorial 09 | Analog Input/Output Functions [in Hindi]

#1 Как работает электричество? Курс по электронике - от первой схемы до Arduino и готового проекта

#1 Как работает электричество? Курс по электронике - от первой схемы до Arduino и готового проекта

© 2025 dtub. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: [email protected]