Electronic Components Datasheet Search
  English  ▼

X  

DFR0305 Datasheet(PDF) 7 Page - DFROBOT

Part # DFR0305
Description  RoMeo BLE (SKU:DFR0305)
PDF  18 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  DFROBOT [DFROBOT]
Direct Link  https://www.dfrobot.com/
Logo DFROBOT - DFROBOT

DFR0305 Datasheet(HTML) 7 Page - DFROBOT

Back Button DFR0305 Datasheet HTML 3Page - DFROBOT DFR0305 Datasheet HTML 4Page - DFROBOT DFR0305 Datasheet HTML 5Page - DFROBOT DFR0305 Datasheet HTML 6Page - DFROBOT DFR0305 Datasheet HTML 7Page - DFROBOT DFR0305 Datasheet HTML 8Page - DFROBOT DFR0305 Datasheet HTML 9Page - DFROBOT DFR0305 Datasheet HTML 10Page - DFROBOT DFR0305 Datasheet HTML 11Page - DFROBOT Next Button
Zoom Inzoom in Zoom Outzoom out
 7 / 18 page
background image
}
Step 3: Connect the BLE-Link to the PC, and meanwhile open the RoMeo BLE. Wait a few
seconds the two bluetooth devices will automatically connect. The LINK light will be on
showing connection, indicating that the two devices are ready for wireless communication. Then
open the serial debugging assistant and send "ON" under the mode of New line. This command
is sent from the serial port, passing through the BLE-Link to RoMeo BLE. RoMeo BLE after
receiving the command will parse the Arduino program, and then open the light L. When
sending OFF under the mode of New line, RoMeo BLE turns OFF the light L.
Buttons
RoMeo BLE integrated 5 buttons, S1 to S5, which are controlled by Anolog Port 7. Switch it on
as shown in the following figure when using analog buttons.
Demo Code 1:
int potPin = 7;
int ledPin = 13;
int val = 0;
void setup() {
pinMode(ledPin, OUTPUT);
}
void loop() {
val = analogRead(potPin);
digitalWrite(ledPin, HIGH);
// Open the LED.
delay(val);
digitalWrite(ledPin, LOW);
// Close the LED.
delay(val);
}
Program function: Press buttons of S1 to S2, different frequencies of the LED flashing will be
seen. This is because different resistances are built in, leading to different voltage dispatched to
the analog ports. So do the data acquired by AD.
Demo Code 2:



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com