IEEE RAS Arduino Bluetooth Workshop.pptx

adaiy 8 views 9 slides Oct 08, 2024
Slide 1
Slide 1 of 9
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9

About This Presentation

This is a presentation that was shared on a basic Arduino and robotics session.


Slide Content

Introduction to Bluetooth Module Workshop on Arduino and Basic Robotics IEEE RAS IUT Student Branch Chapter Presented by, Ahnaf Daiyan

Enable / Key This pin is used to toggle between Data Mode (set low) and AT command mode (set high). By default it is in Data mode Vcc Powers the module. Connect to +5V Supply voltage Ground Ground pin of module, connect to system ground. TX Transmitter Transmits Serial Data. Everything received via Bluetooth will be given out by this pin as serial data. (gives Data to Arduino) RX Receiver Receive Serial Data. Every serial data given to this pin will be broadcasted via Bluetooth (takes Data from Arduino) State The state pin is connected to on board LED, it can be used as a feedback to check if Bluetooth is working properly.

TRANSMITTING DEVICE (MOBILE PHONE) INSTRUCTION Bluetooth Channel HC 05 Bluetooth Module TX RX Arduino RX TX Based on the received instructions, Decisions are taken

Turn on LED if ‘1’ is received. Turn OFF LED of ‘0’ is received .

Using Bluetooth Module for Controlling a motor 1. Define the pins. 2. Configure a specific pin to behave either as an input or an output. 3. Look for stored bytes that are available for reading. Is serial data available or not? 4 . Read the incoming serial data in the Arduino. 5. Perform actions based on the input.

1. Defining the pins

# Look for stored bytes that are available for reading. # Read the incoming serial data in the Arduino.

# Stop # Clockwise rotation