MakerGram Logo

    MakerGram

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Tags
    • Users
    • Groups

    Read battery percentage using Arduino

    General Discussion
    arduino bluetooth
    2
    3
    418
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • V
      vijayvarghese last edited by

      Is it possible to read battery info of an Android with an Arduino via Bluetooth without an external app on the Android side .

      For example . Bluetooth connection to a cars media player shows battery life , signal strength ,etc....

      1 Reply Last reply Reply Quote 1
      • kowshik1729
        kowshik1729 last edited by

        @vijayvarghese The answer is "NO". If my guess is correct, you might have misunderstood the working of Classic Bluetooth and Bluetooth Low Energy(BLE). You cannot acquire battery percentages, RAM usage directly just by connecting HC-05 to Arduino and connecting it to mobile phones. Because our mobile phones don't share any characteristics to outside just through Bluetooth.

        The example of car which you have stated is just applicable to the automobile field. If you are able to read the battery percentage, signal strength kind of parameters that means that the car's BLE has been programmed with those characteristics to be displayed. To be simple, it means that the Bluetooth inside the car has been given permission to display those. It depends upon the BLE configuration used and security levels. You cannot access any parameters from mobile phone just with Arduino and HC-05 Bluetooth module.

        If you want to learn more about this please read the post in makergram named "Automatic pairing of ESP32 using BLE" where @salmanfaris has given a detailed explanation of how BLE works. If you want to work out how BLE's work, try connecting your MI Band(Or any smart wrist bands) to the nRF Connect Mobile app(Can be found in play store for free). Try seeing what parameters are displayed. please write back in case of queries.!!

        V 1 Reply Last reply Reply Quote 2
        • V
          vijayvarghese @kowshik1729 last edited by

          @kowshik1729 Thank you ..

          1 Reply Last reply Reply Quote 2
          • First post
            Last post

          Recent Posts

          • Hi @Vipin-I-V ,

            This seems to be an interesting project.

            Please share the development here...

            I was thinking of something similar, but not for gaming. Won't it be cool to have the Ctrl, Cmd & Alt keys as pedals? Please share your thoughts & insights.

            • read more
          • Hi @mkgrmAbhinand ,

            Did your issue resolve?

            • read more
          • @mkgrmabhinand Hi, It Looks like you didn't install the NodeJS on your computer, or didn't add the PATH correctly in the environment variables.

            Could you confirm that you installed the Node JS in your computer from the .exe or .msi installation files?

            If not and if you want to run Node-RED, you need to install recommended NodeJS version 14.x and you can download the version here .

            • read more
          • 2022-10-09 (1).png

            • read more
          • Thanks for sharing @rafitc99 . Glad to know that it was solved.

            • read more
          By MakerGram | A XiStart Initiative | Built with ♥ NodeBB
          Copyright © 2021 MakerGram, All rights reserved.
          Privacy Policy | Terms & Conditions | Disclaimer | Code of Conduct