Previous Posts
- [Firecracker Analyser] [week 0] Project Description
- [Firecracker Analyser] [week 0] Sensor Research
- [Firecracker Analyzer] [week 1] System Design and ReDesign
- [Firecracker Analyzer]Brief update
- [Firecracker Analyzer] Messing with an I2C LCD and using the BUS PIRATE
- [Firecracker Analyzer] Another small update
I read this part a little late, but there was a document shared in the content section that said something about compulsory part. So I set out to make a custom power circuit for this project. The concept is simple. I needed a power system that could work without 'user interference'. This means I need rechargeable batteries and a way to manage them. The TI Fuel Booster Pack is one way of doing this but the parts provided do not include them and what would be the fun of a copy paste. So I set out to create a new PCB...
This post is sort of a standalone segment on designing a power sub system.
The basic design
The TI Fuel booster pack can be used as a reference and the block diagram is given below.
Now we do not want a USB in but a solar panel instead. Also I really have no need to gauge the battery either so thats out too. Instead I will use the BQ25504 to charge the Li-ion battery. In this case, we can also use a super cap like 1farad or so because the Wolverine LP really can work on that. Unfortunately, the sensors use up a lot more power so I left that part for an expansion for later. Next the buck and boost converter and for that we are using the TPS51200 and TPS62740. These generate the 5V and 3V for various parts. Each of these has an enable pin so I can shut them down too. This is our basic requirement and its quite simple. So lets start making the ckt. Eagle!!!!!
The Schematic
There are a couple of ways you can get a reference design but the application circuits in the datasheet are usually good enough. These are shown below.
Thats the BQ25504. Pretty simple...
and the TPS61200
and the TPS62740
I can use these as is but I chose to dig a little deeper. I went on to find application notes for these and the circuits were more or less the same. So I can start making the circuit in eagle? Not so fast... Eagle has a lot of parts but you will need to make these yourself. I did and there are good tutorials on how to make parts in eagle from adafruit and sparkfun. The process is a little tedious but very satisfying.
The schematic I made looks like this...
The schematic is self explanatory except for a few things. I added a connector for a sensor module which operates at 5V. Another module is used to interface a different sensor module. I probably should have added a voltage divider to the ADC but I simply missed that actually. That can be rectified but cutting the track and adding it between the connector. There is also a connector to connect it to the LaunchPad but its not a booster pack and I will explain why later.
The best laid layout
The next part is to layout the board. Everyone has a system for doing this and I have mine. When I start making the schematic, I finish a part such as the BQ25504 and its parts and jump into the layout. I don't completely layout the board but just arrange the parts together as an estimate and then place it somewhere else. The reason is that it simplifies layouts later and I used to work with Cadence OrCAD which had the facility to group components together. On the layout, keep pressing N to get the next part in the selected group for placement and thats something very nice. In eagle I just club things together since the number of parts on the PCB are usually smaller.
Before your start layout, see the datasheet for layout considerations like...
All said and done, you can even find sample layouts like the one for the HDC1000
Neat! So my final layout looks like...
Each module was laid out separately and put into place. The thoughprocess is to use the least space but make the layout work. I used the seeed studios fabhouse so they ask for PCB sizes as a multiple of 5cm so I chose the least i.e. 5cm x 5cm. I make the outline 49mm x 49mm and then placed everything in it. The standard booster pack is much larger hence that was out of the question. Another aspect is that I know I will need to make changes later so I want to reduce the cost of prototype as much as possible. And lastly I want this thing to be reusable hence the enable pins, inputs and outputs all have a connector. So I can choose to use each part alone if I want. I ordered 10 of these so they should be useful for later projects as well.
I did NOT tent vias where vias are covered by the solder mask because I usually use these as test points to save unnecessary vias. The rev number is compulsory and I prefer rounded edges. Mounting holes I again avoid for small boards and instead I add single pin connectors(1 pin burg strips) at the corners or use a hot glue gun to make standoffs.
One more trick is to upload these to OSHpark.com to see the result. I cannot use OSHPark because the shipping plus making is too much.
Thats about it. Once I get these manufactured, I will do a separate post for the pcb and parts.
Hope this helps.
Cheers
IP
Top Comments