BlueSMiRF_final_ver

advertisement
BLUESMIRF SILVER
BY
MICHAEL SANCHEZ
AND
HECTOR REYNA
OVERVIEW
• What is Bluetooth and how does it work?
• How to configure and use Sparkfun BlueSMiRF.
BLUETOOTH
• It is an standardized secured wireless communication
protocol.
• Utilizes 2.4 GHz frequency
HOW DOES IT WORK?
• Bluetooth networks = piconects
• Piconects are composed of:
1. Single master
2. Multiple slaves
HOW DOES IT WORK?
• Bluetooth devices all have a unique address, which is
usually presented as a 12 digit hexadecimal value.
• Number is shown has the MAC NO.
HOW TO CONNECT?
1.
Inquiry: An exchange of address.
2.
Paging: Initialization of connection.
3.
Connection: They can be in four different modes.
4.
Paired Devices
BLUETOOTH PROFILES
• Bluetooth profiles build upon the foundation of the
standard protocol.
• These profiles are defined by what is the device being
used for.
BLUETOOTH PROFILES
• Serial Port Profile (SSP)
• Human Interface Device (HID)
• Hands-Free Profile (HFP)
• Advance Audio Distribution Profile(A2DP)
• A/V Remote Control Profile(AVRCP)
SERIAL PORT PROFILE
SPARKFUN BLUESMIRF SILVER
• CTS-I
• VCC
• GND
• TX-0
• RX-I
• RTS-O
BLUESMIRF SILVER
•
CTS-I: Clear to send
•
TX-O: Serial transmit
•
RX-I: Serial receive
•
RTS-O: Request to send
BLUESMIRF SILVER
• The silver version uses RN-42. Which means that it uses
less power and can transmit/receive up to 10 meters.
• The maximum operating voltage used is 3.3 volts. Since it
has a 3.3 volt regulator you can supply up to 6 volts.
BLUESMIRF SILVER
THINGS TO KNOW
• There are two mode of operation:
1. Command mode
2. Data mode
•
Command mode: device name, baud rate, PIN code and data
rate.
•
Data mode: transmits and receives data.
DIFFERENT MODES
STEPS TO CONFIGURE THE PERIPHERAL
1. Download Tera Term.
• http://en.sourceforge.jp/projects/ttssh2/releases/
2. Establish a connection between the Module and PC.
3. Open and configure Tera Term.
TERA TERM
TERA TERM
TERA TERM
TERA TERM DEFAULT SETTING
DEFAULT SETTING OF BLUESMIRF
SILVER
LIST OF COMMANDS TO CONFIGURE
BLUESMIRF
•
•
•
•
•
•
•
•
$$$ - Enter command mode
CMD - Successfully entered command mode (return)
AOK - Valid command (return)
ERR - Invalid command (return)
? - unrecognized command (return)
h <cr> - full list of commands
x <cr> - summary of the module’s current configuration
--- <cr> - return to data mode
BLUESMIRF SETTINGS
MESSAGE RECEIVED VIA BLUESMIRF
POWER MANAGEMENT
QUESTIONS
Download