Difference between revisions of "BatBoard"

From Kevin Darrah Wiki
Jump to: navigation, search
(Created page with "...Back to Projects: <!--300px--> 300px <!--300px--> = The 328 Board =...")
 
 
(4 intermediate revisions by the same user not shown)
Line 6: Line 6:
 
<!--[[File:328gerber.png|300px]]-->
 
<!--[[File:328gerber.png|300px]]-->
  
= The 328 Board =
+
= The Battery Board Board =
 
== Introduction ==
 
== Introduction ==
The 328 board is a bare bones breakout board for the ATMEGA328PNearly all of the IO has been broken out to standard 0.1" spaced through holes, which also fits nicely into one of the slots of the [[PlatformBoard | Platform Board]] or right into your breadboard.  It's also small enough to embed into your final project.
+
The battery board is a simple Lithium Battery charger and power supplyIt has an ultra low power LDO (Low DropOut Regulator) to generate 3.3V from the battery input. It works nicely with the [[PlatformBoard | Platform Board]] or right into your breadboard.
* Uses the very popular [http://www.atmel.com/images/Atmel-8271-8-bit-AVR-Microcontroller-ATmega48A-48PA-88A-88PA-168A-168PA-328-328P_datasheet_Complete.pdf ATMEGA328P] Microcontroller with 32k of Flash Memory,  2k of RAM, and 1k of Non-Volitale Memory (EEPROM)
+
* Uses the popular [http://ww1.microchip.com/downloads/en/DeviceDoc/20001984g.pdf MCP73831] to handle the battery charging
* Very Small Form Factor 0.8x1.0" or 20.32x25.4mm
+
* Ultra Low Iq (~2uA) Linear 3.3V Regulator [http://ww1.microchip.com/downloads/en/DeviceDoc/22008E.pdf MCP1702]
* Compatible with the Arduino IDE and comes pre-programmed with the Arduino Mini (ATMEGA328) boot loader.
+
* Robust Micro USB connector for charging and standard JST connector for battery connection
* Native x6 pin AVR header (ICSP) and x6 pin FTDI header both populated for a very flexible programming experience.
+
* Breaks out the USB 5V in for detection or as a separate supply, also Battery Voltage is available for fuel gauging... or again as a separate supply.
* Clocked at 16MHz with an external crystal
 
 
 
== Pinout ==
 
[[File:328diagram.png|900px]]
 
  
 
== Schematic ==
 
== Schematic ==
[[File:328sch.png|500px]]
+
[[File:BatSch.png|600px]]
  
 
== Purchase ==
 
== Purchase ==
Board is now available!! [http://mklec.com/project-kits/kd-circuits/328-board-ATMEGA328P-microcontroller-board HERE]
+
Coming soon - given to Patrons Dec 2016
  
 
== Parts ==
 
== Parts ==
The parts list can be downloaded [http://www.kevindarrah.com/wp-content/uploads/2016/10/328-board-v1_BOM.xlsx **HERE**]. This can be directly uploaded into  [https://www.digikey.com Digikey] if you'd like.   
+
The parts list can be downloaded [http://www.kevindarrah.com/wp-content/uploads/2016/12/BatBoardV1.xlsx HERE]  This can be directly uploaded into  [https://www.digikey.com Digikey] if you'd like.   
  
 
== Assembly ==
 
== Assembly ==
Here is what the board looks like when assembled - the only missing components here are the 9 pin headers and the x6 pin AVR programming header
 
 
[[File:328top.png|500px]]
 
 
And here's a video showing how I actually hand assembled this board:
 
 
{{#evt:
 
service=youtube
 
|id=https://www.youtube.com/watch?v=qqoHTKhIBRo
 
|dimensions=560x315
 
}}
 
 
I buy the stainless stencils here: http://www.electrodragon.com/product-category/new-products/pcb-service-new-products/
 
Plastic Stencils here: https://www.pololu.com/product/446
 
Hot Air Station here: https://www.amazon.com/gp/product/B00ITMPQS2/ref=oh_aui_detailpage_o04_s00?ie=UTF8&psc=1
 
Solder Paste: SMD291SNL10 (I keep mine refrigerated when not in use, then sit out for an hour or so before I need it)
 
https://www.digikey.com/product-detail/en/chip-quik-inc/SMD291SNL10/SMD291SNL10-ND/2057272
 
 
== Programming ==
 
If you want to be able to program the ATMEGA 328 from the Arduino IDE, then you'll need to first load the boot loader.  My preferred method is to use Nick Gammon's sketch running on another Arduino:
 
 
{{#evt:
 
service=youtube
 
|id=https://www.youtube.com/watch?v=dpgcBsl9D4k
 
|dimensions=560x315
 
}}
 
 
  A big thanks to Nick Gammon for putting this together:  http://www.gammon.com.au/bootloader
 
  The git hub link is here:
 
  https://github.com/nickgammon/arduino_sketches
 
  Click the Download Zip button, then pull out the Atmega Programmer folder and drop that right into your Sketches folder"
 
  Another way to do it:
 
  https://github.com/bkibby/OptiLoader
 
 
Note - from the board selection, if you're running at 16MHz, then select Arduino Mini, 328 processor.  Then you're all set to use the USB-Serial Converter with the 328 board:
 
 
[[File:328usbserial.png|500px]]
 
 
[[File:328programmed.png|400px]]
 
 
 
== Tutorials ==
 
== Tutorials ==
 
Coming soon
 
Coming soon

Latest revision as of 12:55, 30 December 2016

...Back to Projects:


Screen Shot 2016-12-06 at 12.14.29 AM.png

The Battery Board Board

Introduction

The battery board is a simple Lithium Battery charger and power supply. It has an ultra low power LDO (Low DropOut Regulator) to generate 3.3V from the battery input. It works nicely with the Platform Board or right into your breadboard.

  • Uses the popular MCP73831 to handle the battery charging
  • Ultra Low Iq (~2uA) Linear 3.3V Regulator MCP1702
  • Robust Micro USB connector for charging and standard JST connector for battery connection
  • Breaks out the USB 5V in for detection or as a separate supply, also Battery Voltage is available for fuel gauging... or again as a separate supply.

Schematic

BatSch.png

Purchase

Coming soon - given to Patrons Dec 2016

Parts

The parts list can be downloaded HERE This can be directly uploaded into Digikey if you'd like.

Assembly

Tutorials

Coming soon