Raspberry pi Zero Triple SD and Audio board

This is a public release of this design, created in KiCad. This board will plug on top of a Pi Zero and provide 3 SD cards (1x SDIO, 2x SPI) and an audio output DAC with headphone driver. This was originally designed for a prototype Audio player / streaming setup. This is a cutdown version omitting some power and misc components that are no longer required. The board could be re-routed to be smaller, however I feel releasing the tested version is a better idea. ...

May 20, 2017 · 1 min · Ben V. Brown

AFE for BMS Design 2

AFE for BMS Design 2 - Schematic Capture In part one of this series I looked at the inital concept of what an AFE is and a basic outline. In the previous post I presented the follow ideas for the design of the system : 9-15S LiPo battery (BQ76940) 100mA balance current 40A continuous duty current shunt, 50A peak PCB area less than 10x10cm panel LED SOC indication Ability to communicate to an external display to show detailed information Temperature sensing inside the battery pack Track the health of the pack Looking at this design, I selected to use a companion controller to work with the AFE for the inital design of this BMS. This is not technically required, and if you wish to impliment your own the schematic is almost identical except swapping the companion controller out for your selected device. ...

March 10, 2017 · 2 min · Ben V. Brown

AFE for BMS Design 1

Getting Started with AFE’s for BMS design. Analog Front End IC’s are becoming more popular from major IC manufacturers. These chips are designed to wrap all the analogue circuitry required for the design and operation of a BMS system up into a small package. Reducing design and programming time for the designer(s). This forfill a useful segment of the market where the application may want different design parameters to a normal BMS design, or even just for learning the operation modes of a BMS. Texas Instruments makes a series of chips in the BQ769x0 line. These 3 forms of the chip cover usage cases for 3 to 15 series cells in the battery pack. However other manufacturers have created similar devices. Some, like TI, integrate the ADC and voltage reference on the same IC. For other brands a separate external ADC is required, this allows for higher accuracy at the cost of increased circuit complexity. ...

March 8, 2017 · 7 min · Ben V. Brown

Tivaware on GCC (GNU)

Setting up Tivaware with GCC under CCS6 For a upcoming project I have designed in a TI TM4C123GH6PM, which is part of the Tiva lineup of ARM core processors. Naturally i would prefer to develop with the GCC compiler toolchain rather than the TI compiler, so this is a rough guide with notes for how i converted the given USB Device example code to use the GCC compiler instead. Compiler settings First, as normal, import the example project into CCS and build and test to ensure it works on the TI compiler first. Right click on the project and goto project settings Click on the General tab, and make sure that your chosen device is chosen. Change the Compiler version to the newest GNU compiler Click OK, and CCS will prompt you to create a new Debug__GNU configuration automatically, choose OK to continue. Now open the projects properties again and move to the (Build->GNU Compiler->Runtime) The defaults are all correct here except for the floating point version used, where the default libraries were compiled for soft floating point. Thus you need to change the floating point option (-mfloat-abi) to softfp Next move down to the settings, setting these as shown (All of these settings can also be copied from the TI compiler settings by changing the configuration option at the top and just going back and forth) GNU Compiler ...

June 9, 2016 · 2 min · Ben V. Brown