Actions

Difference between revisions of "LoRaWAN Battery Monitor"

From MakerVan Labs

(initial)
 
(parts)
Line 13: Line 13:
 
|shop        =  
 
|shop        =  
 
}}The '''LoRaWAN Battery Monitor''' is a LoRaWAN connected device based on the [[ATMega328 LoRaWAN Node]] to automatically measure the individual cell voltages of a Lithium Ion battery pack (up to 7S)
 
}}The '''LoRaWAN Battery Monitor''' is a LoRaWAN connected device based on the [[ATMega328 LoRaWAN Node]] to automatically measure the individual cell voltages of a Lithium Ion battery pack (up to 7S)
 +
 +
== Parts ==
 +
'''Note''': Antenna and LoRaWAN module are dependent on the local frequency band used for LoRaWAN. The selected items are meant for 868Mhz, which is the frequency band for Europe
 +
{| class=wikitable
 +
! Part !! Partnumber !! Amount !! Source !! Notes
 +
|-
 +
| PCB || LoRaWAN Battery Monitor PCB v0.1 || 1 || - ||
 +
|-
 +
| Microcontroller || ATMega 328P-PU || 1
 +
|[https://www.reichelt.de/8-bit-atmega-avr-mikrocontroller-32-kb-20-mhz-pdip-28-atmega-328p-pu-p119685.html?search=atmega+328 Reichelt]
 +
|
 +
|-
 +
| IC socket || 28pin || 1
 +
|[https://www.reichelt.de/ic-sockel-28-polig-doppelter-federkontakt-gs-28-s-p86281.html?&trstct=pol_1&nbc=1 Reichelt] ||
 +
|-
 +
| Quartz || 8Mhz, HC49U-S || 1 || [https://www.reichelt.de/standardquarz-grundton-8-000000-mhz-8-0000-hc49u-s-p32845.html?&trstct=pol_1&nbc=1 Reichelt] ||
 +
|-
 +
| Resistor || R4: 10k 0805 || 1 || [https://www.reichelt.de/smd-widerstand-0805-10-kohm-125-mw-1--rnd-0805-1-10k-p183251.html?search=RND+0805+1+10K Reichelt] ||
 +
|-
 +
| Capacitors || C4, C5: 22pF || 2 || [https://www.reichelt.de/smd-vielschicht-keramikkondensator-22p-5--npo-g0805-22p-p13517.html?&trstct=pol_2&nbc=1 Reichelt] ||
 +
|-
 +
| || C6, C7: 100nF || 2 || [https://www.reichelt.de/smd-vielschicht-keramikkondensator-100n-10--x7r-g0805-100n-p31879.html?&trstct=pol_0&nbc=1 Reichelt] ||
 +
|-
 +
| Reset button || SW1 || 1 || [https://www.reichelt.de/kurzhubtaster-6x6mm-hoehe-4-3mm-12v-vertikal-taster-3301-p27892.html?&trstct=pol_15&nbc=1 Reichelt] ||
 +
|-
 +
!colspan="5"| ''Measurement ''
 +
|-
 +
| Resistor || R5: 10k 0805 || 1 || [https://www.reichelt.de/smd-widerstand-0805-10-kohm-125-mw-1--rnd-0805-1-10k-p183251.html?search=RND+0805+1+10K Reichelt] ||
 +
|-
 +
|  || R6: 33k 0805 || 1 || [https://www.reichelt.de/smd-widerstand-0805-33-kohm-125-mw-1--rnd-0805-1-33k-p183263.html?search=RND+0805+1+33k Reichelt] ||
 +
|-
 +
|  || R7: 75k 0805 || 1 || [https://www.reichelt.de/smd-widerstand-0805-75-kohm-125-mw-1--rnd-0805-1-75k-p183272.html?search=0805+75k Reichelt] ||
 +
|-
 +
|  || R8: 110k 0805 || 1 || [https://www.reichelt.de/smd-widerstand-0805-110-kohm-125-mw-1--rnd-0805-1-110k-p183276.html?search=0805+110k Reichelt] ||
 +
|-
 +
|  || R9: 160k 0805 || 1 || [https://www.reichelt.de/smd-widerstand-0805-160-kohm-125-mw-1--rnd-0805-1-160k-p212715.html?search=0805+160k Reichelt] ||
 +
|-
 +
|  || R10: 200k 0805 || 1 || [https://www.reichelt.de/smd-widerstand-0805-200-kohm-125-mw-1--rnd-0805-1-200k-p183281.html?search=0805+200k Reichelt] ||
 +
|-
 +
|  || R11: 240k 0805 || 1 || [https://www.reichelt.de/smd-widerstand-0805-240-kohm-330-mw-1--rnd-155hp05-bx-p250766.html?&trstct=pol_0&nbc=1 Reichelt] ||
 +
|-
 +
|  || R12: 270k 0805 || 1 || [https://www.reichelt.de/smd-widerstand-0805-270-kohm-125-mw-1--rnd-0805-1-270k-p183284.html?&trstct=pol_0&nbc=1 Reichelt] ||
 +
|-
 +
| Multiplexer  || U4: 74HC 4051 (SO-16) || 1 || [https://www.reichelt.de/multi-demultiplexer-8-ch-2--6-v-so-16-74hc-4051d-nxp-p219248.html?&trstct=pos_2&nbc=1 Reichelt] ||
 +
|-
 +
!colspan="5"| ''Voltage regulator for >3.3V input''
 +
|-
 +
| Voltage Regulator || U3: 3.3V, LDO, TO-92 -> LP2950-3.3 || 1 || [https://www.reichelt.de/ldo-regler-fest-3-3-v-to-92-lp-2950-acz3-3-p122756.html?CCOUNTRY=445&LANGUAGE=de Reichelt] ||
 +
|-
 +
| Capacitor || C2, C3: 4,7µF Elko, >16V || 2 || [https://www.reichelt.de/elko-radial-4-7-f-100v-rm2-5-1000h-105-c-20--rad-105-4-7-100-p44857.html?&trstct=pol_1&nbc=1 Reichelt] ||
 +
|-
 +
!colspan="5"| ''LoRa Modem section''
 +
|-
 +
| Antenna || 868Mhz SMA || 1 || [https://www.digikey.com/short/z31vhd DigiKey]<br>[https://www.amazon.com/gp/product/B01K1RWAFY?ie=UTF8&tag=tiefpunkt-20&camp=1789&linkCode=xm2&creativeASIN=B01K1RWAFY Amazon US]<br>[https://www.amazon.de/gp/product/B01E564GLI?ie=UTF8&tag=tiefpunkt-21&camp=1638&linkCode=xm2&creativeASIN=B01E564GLI Amazon DE]<br>[https://www.aliexpress.com/item/32688049266.html AliExpress] ||
 +
|-
 +
| Antenna Connector || SMA Edge mount || 1
 +
| [https://www.digikey.com/short/z31vpt DigiKey]<br>[https://www.amazon.com/gp/product/B07V54598M?ie=UTF8&tag=tiefpunkt-20&camp=1789&linkCode=xm2&creativeASIN=B07V54598M Amazon US]<br>[https://www.amazon.de/gp/product/B01LY3Q486?ie=UTF8&tag=tiefpunkt-21&camp=1638&linkCode=xm2&creativeASIN=B01LY3Q486 Amazon DE]<br>[https://www.aliexpress.com/item/32815676763.html AliExpress]
 +
|
 +
|-
 +
| || u.FL surface mount || 1 || [https://www.digikey.com/product-detail/en/te-connectivity-amp-connectors/1909763-1/A118077CT-ND/4729711 DigiKey] || To connect an SMA antenna, you will need a matching pigtail
 +
|-
 +
| LoRa Module || RFM95 868Mhz || 1 || [https://www.digikey.com/short/z31vrw DigiKey]<br>[https://www.amazon.com/gp/product/B07VWV9R4S?ie=UTF8&tag=tiefpunkt-20&camp=1789&linkCode=xm2&creativeASIN=B07VWV9R4S&th=1 Amazon US]<br>[https://www.amazon.de/gp/product/B079GFD25Z?ie=UTF8&tag=tiefpunkt-21&camp=1638&linkCode=xm2&creativeASIN=B079GFD25Z Amazon DE] ||
 +
|-
 +
!colspan="5"| ''Input voltage measurement''
 +
|-
 +
| MOSFET || Q1: BSS 84 || 1 || [https://www.reichelt.de/mosfet-p-ch-60v-0-17a-0-36w-sot-23-bss-84p-smd-p41443.html?&trstct=pos_1&nbc=1 Reichelt] ||
 +
|-
 +
| Resistors || R1: 100k 0805 || 1 || [https://www.reichelt.de/smd-widerstand-0805-100-kohm-125-mw-1--rnd-0805-1-100k-p183275.html?&trstct=pol_0&nbc=1 Reichelt] ||
 +
|-
 +
| || R2: 150k 0805 || 1 || [https://www.reichelt.de/smd-widerstand-0805-150-kohm-125-mw-1--rnd-0805-1-150k-p183279.html?search=RND+0805+1+150K Reichelt] || max input voltage for this R2/R3 combination: 16V
 +
|-
 +
| || R3: 10k 0805 || 1 || [https://www.reichelt.de/smd-widerstand-0805-10-kohm-125-mw-1--rnd-0805-1-10k-p183251.html?search=RND+0805+1+10K Reichelt] ||
 +
|-
 +
| Capacitor || C1: 100nF || 1 || [https://www.reichelt.de/smd-vielschicht-keramikkondensator-100n-10--x7r-g0805-100n-p31879.html?&trstct=pol_0&nbc=1 Reichelt] ||
 +
|-
 +
!colspan="5"| ''Connectors''
 +
|-
 +
| ISP || J1: 2x3, 2.54mm || 1 || [https://www.reichelt.de/rnd-stiftleiste-8-pol-rm-2-54-mm-rnd-205-00635-p208861.html?&trstct=pol_0&nbc=1 Reihelt] || 2x4 connector is much cheaper than 2x3, but you can simply cut off one section
 +
|-
 +
| Pin headers || P3, P5, P6, P9, P10 || (many pins) || [https://www.reichelt.de/36pol-stiftleiste-gerade-rm-2-54-sl-1x36g-2-54-p19504.html?&trstct=pol_12&nbc=1 Reichelt] || Just get one long row, and cut off those you need
 +
|-
 +
| Screw terminals (Power In) || P2 (outer pins): 2 pole, 5.08mm || 1 || [https://www.reichelt.de/loetbare-schraubklemme-2-pol-rm-5-08-mm-90--rnd-205-00232-p170277.html?&trstct=pol_3&nbc=1 Reichelt] || only if using voltage regulator
 +
|-
 +
| Battery connector || J2: 14pin || 1 || [https://www.reichelt.de/pfostenstecker-16-pol-vergoldet-gerade-rnd-205-00831-p252343.html?&trstct=pol_0&nbc=1 Reichelt] ||
 +
|}
  
 
== License ==
 
== License ==

Revision as of 21:05, 11 January 2021

     
LoRaWAN Battery Monitor

Release status: experimental [box doku]

Description LiPo battery monitor to regularly check cell voltages
Last Version  0.1 (2021-01-03)
Platform  ATMega328
License  CC BY-SA 4.0

The LoRaWAN Battery Monitor is a LoRaWAN connected device based on the ATMega328 LoRaWAN Node to automatically measure the individual cell voltages of a Lithium Ion battery pack (up to 7S)

Parts

Note: Antenna and LoRaWAN module are dependent on the local frequency band used for LoRaWAN. The selected items are meant for 868Mhz, which is the frequency band for Europe

Part Partnumber Amount Source Notes
PCB LoRaWAN Battery Monitor PCB v0.1 1 -
Microcontroller ATMega 328P-PU 1 Reichelt
IC socket 28pin 1 Reichelt
Quartz 8Mhz, HC49U-S 1 Reichelt
Resistor R4: 10k 0805 1 Reichelt
Capacitors C4, C5: 22pF 2 Reichelt
C6, C7: 100nF 2 Reichelt
Reset button SW1 1 Reichelt
Measurement
Resistor R5: 10k 0805 1 Reichelt
R6: 33k 0805 1 Reichelt
R7: 75k 0805 1 Reichelt
R8: 110k 0805 1 Reichelt
R9: 160k 0805 1 Reichelt
R10: 200k 0805 1 Reichelt
R11: 240k 0805 1 Reichelt
R12: 270k 0805 1 Reichelt
Multiplexer U4: 74HC 4051 (SO-16) 1 Reichelt
Voltage regulator for >3.3V input
Voltage Regulator U3: 3.3V, LDO, TO-92 -> LP2950-3.3 1 Reichelt
Capacitor C2, C3: 4,7µF Elko, >16V 2 Reichelt
LoRa Modem section
Antenna 868Mhz SMA 1 DigiKey
Amazon US
Amazon DE
AliExpress
Antenna Connector SMA Edge mount 1 DigiKey
Amazon US
Amazon DE
AliExpress
u.FL surface mount 1 DigiKey To connect an SMA antenna, you will need a matching pigtail
LoRa Module RFM95 868Mhz 1 DigiKey
Amazon US
Amazon DE
Input voltage measurement
MOSFET Q1: BSS 84 1 Reichelt
Resistors R1: 100k 0805 1 Reichelt
R2: 150k 0805 1 Reichelt max input voltage for this R2/R3 combination: 16V
R3: 10k 0805 1 Reichelt
Capacitor C1: 100nF 1 Reichelt
Connectors
ISP J1: 2x3, 2.54mm 1 Reihelt 2x4 connector is much cheaper than 2x3, but you can simply cut off one section
Pin headers P3, P5, P6, P9, P10 (many pins) Reichelt Just get one long row, and cut off those you need
Screw terminals (Power In) P2 (outer pins): 2 pole, 5.08mm 1 Reichelt only if using voltage regulator
Battery connector J2: 14pin 1 Reichelt

License

  • Licensed under Creative Commons Attribution-ShareAlike 4.0 Unported License (CC BY-SA 4.0)