Read battery percentage using Arduino
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....
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.!!
@kowshik1729 Thank you ..
Python Method vs function
Method is called by its name, but it is associated to an object (dependent).
A method is implicitly passed the object on which it is invoked.
It may or may not return any data.
A method can operate on the data (instance variables) that is contained by the corresponding class
Function is block of code that is also called by its name. (independent)
The function can have different parameters or may not have any at all. If any data (parameters) are passed, they are passed explicitly.
It may or may not return any data.
Function does not deal with Class and its instance concept.
I think not all parameters are the same, all according to their respective functions in use, it's just that certain needs and comfort are needed
I need help in programming for my startup project hardware completion
Recently, I got a chance to work work the SeeedStudio T1000 tracker and I made a tracker and data logger with it. It comes with a LoRa module to transmit the data and has an inbuilt temperature and light sensor. The device is very easy to set up and get-started and I can say the experience of switching from different LoRa network servers is very pleasant and straightforward, same for the integration. I chose Ubidots to visualise the data captured.
I also like the mobile application very much, it’s so easy to pair and change the tracker configuration on the go. I love it.
I will experiment more and share my insights here. let me know if you want to know any specific details about the SenseCAP T1000.
It’s live on Kickstarter and you can pledge for $29 for single T1000 tracker, you will get 1 piece T1000 with 3 months of free trial service on the SenseCAP platform. Take a look : https://www.kickstarter.com/projects/seeed/sensecap-t1000-track-what-you-care-with-no-boundaries
@dipu_varghese Hi, How does it go? Would like to know about the updates or anything I can do to help you.
@zainmuhammed Oh that's cool. Let me also take a look at the stability analysis of a drone and get back to you.