# markdown sources
posts=$(patsubst %.md,build/%.html,$(wildcard blog/*.md))
# static sources
-S=img/
+S=img/ files/
all: $S build/index.html build/blog/index.html $(posts)
cp -av $S build/
I started looking around for an MPPT (maximum power point) charge controller for single cell lithium packs and found that a certain chip, the CN3163, was used in a few of them.
-As you can see below, it's pretty simple to use. You just have to be sure that you don't exceed the 6.5 V input limit. A simple zener diode can take care of spikes, or a buck converter can handle a panel that outputs higher voltages.
+As you can see below, it's pretty simple to use.
+You just have to be sure that you don't exceed the 6.5 V input limit.
+A simple zener diode can take care of spikes,
+or a buck converter can handle a panel that outputs higher voltages.
+I found the english datasheet and have it available [here][datasheet].

The best part is that it is super [cheap][lcsc] and an SOIC-8 package. So totally hand solder-able!
-[lcsc]: https://lcsc.com/product-detail/PMIC-Battery-Management_ShangHai-Consonance-Elec-CN3163_C559031.html
-
Next step would be to design a little board and make a few. Question is, do I just use headers for batter connection or make an all in one package with a battery clip?
+
+[datasheet]: ../files/cn3163-datasheet.pdf
+[lcsc]: https://lcsc.com/product-detail/PMIC-Battery-Management_ShangHai-Consonance-Elec-CN3163_C559031.html