Logo video2dn
  • Сохранить видео с ютуба
  • Категории
    • Музыка
    • Кино и Анимация
    • Автомобили
    • Животные
    • Спорт
    • Путешествия
    • Игры
    • Люди и Блоги
    • Юмор
    • Развлечения
    • Новости и Политика
    • Howto и Стиль
    • Diy своими руками
    • Образование
    • Наука и Технологии
    • Некоммерческие Организации
  • О сайте

Скачать или смотреть Control a lamp connected to Arduino UNO via Bluetooth

  • Robotique Site
  • 2023-11-21
  • 200
Control a lamp connected to Arduino UNO via Bluetooth
  • ok logo

Скачать Control a lamp connected to Arduino UNO via Bluetooth бесплатно в качестве 4к (2к / 1080p)

У нас вы можете скачать бесплатно Control a lamp connected to Arduino UNO via Bluetooth или посмотреть видео с ютуба в максимальном доступном качестве.

Для скачивания выберите вариант из формы ниже:

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

Cкачать музыку Control a lamp connected to Arduino UNO via Bluetooth бесплатно в формате MP3:

Если иконки загрузки не отобразились, ПОЖАЛУЙСТА, НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если у вас возникли трудности с загрузкой, пожалуйста, свяжитесь с нами по контактам, указанным в нижней части страницы.
Спасибо за использование сервиса video2dn.com

Описание к видео Control a lamp connected to Arduino UNO via Bluetooth

For more details you can see this article :
https://www.robotique.site/tutorial/c...

To use the HC-06 module  and LED with the Arduin UNO, you will need a few components and connections. Here's a list of the required items:
1- Arduino UNO board
2- HC-06 Bluetooth Module 
3- Relay Module
4- Lamp (220V)
5- Power Supply for the Lamp
6- Wiring
7- Breadboard
8- Jumper wires
These wires are used to make connections between the Micro:bit, HC-06 Bluetooth Module, a lamp, a relay and breadboard.

Mounting the Arduino UNO with the HC-06 Bluetooth module , a lamp and a relay

To mount the Arduino UNO board with the KY-032 infrared sensor and an LED, you can follow these steps:
1- Connect the HC-06 Bluetooth Module to the Arduino UNO board:
Connect the VCC pin of the HC-06 Bluetooth Module to the 5V pin on the Arduino UNO board.
Connect the GND pin of the HC-06 Bluetooth Module to the GND pin on the Arduino UNO board.
Connect the TXD pin of the Bluetooth module to pin 6 of the Arduino.
Connect the RXD pin of the Bluetooth module to pin 7 of the Arduino.
2- Connect the Relay to the Arduino UNO:
Connect the relay's control pin (S) to pin 2 of Arduino UNO board.
Connect the pin (+) of relay to pin 3.3V of Arduino UNO board.
Connect the relay's ground pin (GND) to the Arduino UNO's GND.
3- Connect the Lamp and the power supply to the Relay:
Connect one of the lamp's wires to the relay's common (COM) terminal.
Connect the phase (live) wire of the power supply to the normally open (NO) terminal of the relay.
Connect the neutral wire of the power supply directly to the neutral wire of the lamp.

Turn on a lamp connected to the Arduino UNO board by a smartphone via Bluetooth with Arduino IDE and App Inventor

To control a lamp connected to an Arduino UNO board using a smartphone via Bluetooth, you can use MIT App Inventor to create a mobile application and then interface it with the Arduino code.

Step 2: Create the MIT App Inventor Mobile App:
1- Open MIT App Inventor (ai2.appinventor.mit.edu) and create a new project.
2- Drag and drop the following components onto the screen:
1 ListPicker (choose_hc06)
1 Button (control_lamp)
BluetoothClient (BluetoothClient1)
3- Add the BluetoothClient component to your project.
The "BluetoothLE1" extension indeed refers to a specific extension for MIT App Inventor which allows you to manage Bluetooth Low Energy (BLE) communication in your mobile applications. This extension facilitates the interaction between your App Inventor application and BLE devices, such as sensors, trackers, wearables, etc.
The "BluetoothClient1" extension in MIT App Inventor allows you to create mobile applications that can connect to Bluetooth devices, such as serial Bluetooth modules (eg HC-06) connected to microcontrollers, Bluetooth audio devices, etc. . This extension facilitates communication with these devices using serial Bluetooth connections.
4- Create the following blocks:
Starting with Android 12, Bluetooth permissions have been enhanced to improve security and user data protection. This is why we must declare the authorizations that your application needs in the AndroidManifest.xml file. For Bluetooth, you'll need to include ACCESS_FINE_LOCATION, BLUETOOTH_SCAN, and possibly BLUETOOTH_CONNECT permissions, depending on the features you're using.
5- When choose_hc06.AfterPicking
Call BluetoothClient1.Connect: DeviceAddress = (address of your Bluetooth module)
When control_lamp.Click (for lamp on) ,Call BluetoothClient1.SendText: Text = "on"
When control_lamp.Click (for lamp off) ,Call BluetoothClient1.SendText: Text = "off"

Step 3: Test the System:
1- Upload the Arduino code to the Arduino UNO board.
2- Pair your smartphone with the Bluetooth module on the Arduino.
3- Install and open the MIT App Inventor app on your smartphone.
4- Click the "Connect" button to establish a Bluetooth connection.
5- Click the "Control Lamp" button to light up the Lamp, and click again the "Control Lamp" button to turn it off.

With these steps, you've successfully created a mobile app that can control an Lamp connected to your Arduino UNO board via Bluetooth. This example demonstrates a basic implementation, and you can further customize and expand the functionality based on your project requirements.

Комментарии

Информация по комментариям в разработке

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

  • О нас
  • Контакты
  • Отказ от ответственности - Disclaimer
  • Условия использования сайта - TOS
  • Политика конфиденциальности

video2dn Copyright © 2023 - 2025

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