2020-07-15 (W) InCompass

I was still looking through examples and tutorials for useful information nuggets. At the beginning of the project, when I used the M5StickC, I could check the battery level, and I saw a snippet to check with this hardware. There was still the issue of the underpowered wireless.

As an experiment, I removed the battery from right over the Bluetooth module and did some measurements to see how much it attenuated the radio signal. It turned out that it significantly reduced reception. I measured -70 to -80dBm with the battery in place and -55 to -60dBm without the battery. The effect was the same if I put the battery under the antenna. I could do even more damage if I put my hands around the module with skin touching as much possible.
Reception power

I mapped out the serial strings from the Bluefruit Connect app's controller buttons. On the Arduino side, when it recognized button two, it would boost the BT power for six seconds. Six seconds was enough time to verify the reception improved. The system also starts boosted.

Button three will request the heading, which appeared in the text window. Print requests were a change from the continuously printed values, which was messy. Button four printed the battery voltage. Zeroing the heading displayed the correction value, which was more valuable than seeing 000.00 every time.

I increased the BT boosting time from six seconds to sixty seconds. Six seconds was enough for testing when my phone was next to the controller, but in reality, I will probably want a full minute.
Screenshot of controller in Bluefruit Connect

The rest of the posts for this project have been arranged by date.
Completed projects from year 1
Completed projects from year 2
Completed projects from year 3
Completed projects from year 4
Completed projects from year 5
Completed projects from year 6
Completed projects from year 7

Disclaimer for http://24hourengineer.blogspot.com and 24HourEngineer.com

This disclaimer must be intact and whole. This disclaimer must be included if a project is distributed.

All information on this blog, or linked by this blog, is not to be taken as advice or solicitation. Anyone attempting to replicate, in whole or in part, is responsible for the outcome and procedure. Any loss of functionality, money, property, or similar, is the responsibility of those involved in the replication.

All digital communication regarding the email address 24hourengineer@gmail.com becomes the intellectual property of Brian McEvoy. Any information contained within these messages may be distributed or retained at the discretion of Brian McEvoy. Any email sent to this address, or any email account owned by  Brian McEvoy, cannot be used to claim property or assets.

Comments to the blog may be utilized or erased at the discretion of the owner. No one posting may claim property or assets based on their post.

This blog, including pictures and text, is copyright to Brian McEvoy.
2020-07-14

Comments