Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 49329
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T16:25:11+00:00 2026-05-10T16:25:11+00:00

A battery powered (2 x AA) Arduino LilyPad should switch a BlueSmirf v2.11 Bluetooth

  • 0

A battery powered (2 x AA) Arduino LilyPad should switch a BlueSmirf v2.11 Bluetooth modem to/from command mode (see source code below). The BlueSmirf has been set to 9600 baud.

If the PC connects via Bluetooth (see source code below), the Arduino program runs fine at the beginning (sending multiple ‘ping\n’). After some time it (LilyPad/BlueSmirf) starts to also send ‘$$$’ and ‘—\n’ over the Bluetooth connection instead of switching to/from command mode.

Any ideas?

Regards, tamberg

// Arduino source code:  void setup () {   Serial.begin(9600); }  void loop () {     Serial.print('$$$');     delay(2000); // TODO: Inquiry, etc.     Serial.print('---\n');     delay(100);     Serial.print('ping\n');     delay(2000); }  // C# source code (runs on PC)  using System; using System.IO.Ports;  class Program {      static void Main () {         SerialPort p = new SerialPort(             'COM20', 9600, Parity.None, 8, StopBits.One);         using (p) {             p.Open();             while (p.IsOpen) {                 Console.Write((char) p.ReadChar());             }         }     } } 
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-10T16:25:11+00:00Added an answer on May 10, 2026 at 4:25 pm

    From the datasheet, page 6:

    NOTE1 : You can enter command mode locally over the serial port at any time when not connected. Once a connection is made, you can only enter command mode if the config timer has not expired. To enable continuous configuration, set the config timer to 255. Also, if the device is in Auto Master mode 3, you will NOT be able to enter command mode when connected over Bluetooth.

    My guess would be that the config timer is expiring.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want source code for inbuilt battery app of android, found in settings. I
Due to the battery drainage, i want to switch ON/OFF the providers programmatically that
Is there a way to get battery information from the Android SDK? Such as
There's an open source battery indicator that I greatly prefer to the default one.
Is there any way to get the status of the Battery (charging/discharging/Current Charge/Capacity/etc...) from
In order to conserve battery, I monitor location updates to see if the user
Is it possible to get the remaining battery time available from an Android phone?
Is there a way to check if battery saver mode is on, so that
Can we receive notification if phone battery is start charging? Whether power source is
How can I read the status of the battery on my MacBookPro from my

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.