Sign in to follow this  
Followers 0
0xFFFF

Goofed BT Temp, Light, Humidity sensor...

12 posts in this topic

Hi All,

 

Somehow I've made a stupid mistake with this weather thingie I put together and I can't figure out what's wrong. I need your help!

 

Project description: Weather thingie - Reports temperature, humidity and light readings via bluetooth.

Operation is simple, connect to the device and it will report something like "27 C 57 H 96 L\r\n" ~ every second. The LED on board will alternate state every second.

 

I set this up on a breadboard before making the PCB as I was not familiar with the DHT11 or and quirky requirements it might have. The project worked fine on the breadboard.

I suspect I have either a PCB design fault or defective components? Perhaps? I dunno.

 

 

TIA

 

0xFFFF

post-33401-0-17864500-1453191197_thumb.png

main.c

post-33401-0-71317900-1453240251_thumb.png

post-33401-0-38939000-1453280568_thumb.jpg

Share this post


Link to post
Share on other sites

Hi

 

maybe you can go a little bit more into detail what is working or not (on your PCB). Does the MSP power up, is the code running (= LED blinking every second). Does the BT module (which one? guessing HC05/06 from the pinout) power up (blinking, can you connect)?

 

Kind regards

0xFFFF likes this

Share this post


Link to post
Share on other sites

Thanks yosh.

Suppose I should help you help me eh? (oops :blush:)

 

I have two boards (now). Same results for both...

They power up and everything appears to function as it should BUT the MSP430 is overheating to the point where it malfunctions.

As the MSP430 heats up the regulator on board will follow shortly after due to an increase in current draw. I shutdown power to the board before any permanent damage can be done.

 

I forgot to mention that I changed the 4K7 pull-up on the reset to 0R as the MSP wasn't starting. Which I think is a bit suspicious.

 

The BT module is a BK3231 (similar to a HCxx). I can connect to it, there is nothing wrong with the BT module as far as I can tell.

I have HC modules, I'll assemble another PCB and see if there is a difference there.

I assembled another board using a HC05/06 BT module. It exhibits the same behavior as the other board but I can't connect to it. I didn't bother checking its configuration. I'll do that later after I get some sleep.

 

I have tried removing the regulator and running directly from a lab supply but the MSP430 will still heat up.

I have not tried running without the BK3231

I have not tried running without a BT module.

 

TIA

Share this post


Link to post
Share on other sites

 

I forgot to mention that I changed the 4K7 pull-up on the reset to 0R as the MSP wasn't starting. Which I think is a bit suspicious.

 

 

The resistor for reset should/must be 47k (47.000 ohm)!

Do you power the circuit with 3V3 as in your scheme?

 

Did you try to solder the board step by step and check each part, e.g. first LDO, then MSP430, ... ?

Why C1=10

Share this post


Link to post
Share on other sites

The resistor for reset should/must be 47k (47.000 ohm)!

Do you power the circuit with 3V3 as in your scheme?

 

Did you try to solder the board step by step and check each part, e.g. first LDO, then MSP430, ... ?

Why C1=10

Share this post


Link to post
Share on other sites

47k ... not 4k7 ;-)

 

Out of curiosity - where were the PCBs manufactured and what is the trace width and minimum clearance. Looking at the picture you added some traces look very close to each other or close to pads/holes. Can you check if there could be a short somewhere ? For me the layout looks very tight at some places ... but maybe it is all OK and I am definitely not as expirienced as others here.

0xFFFF likes this

Share this post


Link to post
Share on other sites

PCB manufacturer is the very capable, fast and friendly team at Fusion PCB. I'll post a picture of the PCB tonight for your reference.

Everything is within tolerances. I wanted to keep this design single-sided (I have no reason).

 

I've designed plenty of boards in the past that have pushed beyond the tolerances of this particular PCB. 

yosh likes this

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0