BLE 112 Current Fluctuation  - Page 1
Forum section: electronics / projects

author: RoboTechEd
author_rank: Regular Contributor
timestamp: April 19, 2015, 09:48:26 pm
content: Hi All!I am designing a circuit using a BLE-112 (Bluetooth 4.0) chip and have noticed something very interesting that I was hoping people could explain. I am measuring the circuit's current and voltage, and it sits at a steady ~40mA. But if I physically move near the device I see current spikes of up to 5-6mA (I have noticed the more exhagerated the movements, the larger the spikes). The second I stop moving it settles back at the 40mA. I was curious as to what would cause this? I can reliably cause it, and can get a video if necessary.

author: mikeselectricstuff
author_rank: Super Contributor
timestamp: April 19, 2015, 10:44:19 pm
content: Floating input pin?

author: RoboTechEd
author_rank: Regular Contributor
timestamp: April 19, 2015, 10:56:19 pm
content: Quote from: evb149 on April 19, 2015, 10:44:40 pmIt is a solderless breadboard! But I cant imagine that my movements from 3 feet away for affect that. Especially considering it is on an ESD matt and I am not touching anything? I also am using solid core wire, and not those dodgy jumper wires most use. I should solder it up and see if anything changes.Quote from: mikeselectricstuff on April 19, 2015, 10:44:19 pmI don't think its cause by anything floating. The current is whats changing, not the voltage. I do have pins though that are unassigned

author: hamdi.tn
author_rank: Frequent Contributor
timestamp: April 19, 2015, 11:37:43 pm
content: Solderless breadboard is a problem for sure, floating input can cause excessive current consumption as well.40mA is way too much for the module ! did you program it with sleep mode ?

author: RoboTechEd
author_rank: Regular Contributor
timestamp: April 19, 2015, 11:49:23 pm
content: Quote from: hamdi.tn on April 19, 2015, 11:37:43 pmNo, I was just using som eexample code and not allowing it to sleep. It actually will not need to be low power consumption in the final product, so I am not concerning myself with it. I also have some LEDs, voltage regs (5 and 3), and logic level converters that are also running off of the supply, so that explains the 40mA. I just wouldn't expect those to cause the current to fluctuate based on my movement a meter away

author: RoboTechEd
author_rank: Regular Contributor
timestamp: April 20, 2015, 03:45:09 am
content: Quote from: evb149 on April 20, 2015, 12:56:31 amI will take it out and test it. I will place it in the middle of my room and see if location has an impact on it.I have no other sensors in the circuit either. It consists of an Arduino Uno (PC powered), 3.3v and 5v linear reg, logic level converters, and my bluetooth chip. No sensors (yet).Quote from: evb149 on April 20, 2015, 12:56:31 amI will have to do this! I couldnt imagine floating inputs would affect the current draw though. Im using an example program and I would assume they are all set to be pulled down/up, but I shouldn't be making assumptions - I'll checkQuote from: evb149 on April 20, 2015, 12:56:31 amAll great test scenarios, I will be sure to test them when I get a chance. I was wondering if the Bluetooth beacon was measuring its own signals reflected, and were upping the output amplitude in that direction to compensate or something? Seems pretty far-fetched and complex though for a cheap chip.

author: mikeselectricstuff
author_rank: Super Contributor
timestamp: April 20, 2015, 08:22:32 am
content: Quote from: RoboTechEd on April 20, 2015, 03:45:09 amThey absolutely will, both due to partial conduction from an intermediate logic state, as well as possibly causing unintended wake-up from wake-on-change funcitonality.QuoteDon't assume - test!A quick but often effective test is to run your finger round the pins and look for current draw changes. Mains hum will trigger floating pins.A more thorough way is to measure current that flows when each unconnected pin is connected to supply & ground respectively to check that it has a pullup/pulldown. If you get less than a few tens of microamps then the pin is at risk of floating.