Skip to content

Commit d6bdabb

Browse files
committed
altos: Add pyro voltage divider values to boards with them
EasyMega and TeleMega have separate measurement circuits for pyro battery voltages, provide the resistor values. Signed-off-by: Keith Packard <[email protected]>
1 parent 7048177 commit d6bdabb

File tree

10 files changed

+60
-0
lines changed

10 files changed

+60
-0
lines changed

src/easymega-v1.0/ao_pins.h

+6
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,12 @@ struct ao_adc {
263263
#define AO_BATTERY_DIV_PLUS 56 /* 5.6k */
264264
#define AO_BATTERY_DIV_MINUS 100 /* 10k */
265265

266+
/*
267+
* Voltage divider on ADC pyro battery sampler
268+
*/
269+
#define AO_PYRO_BATTERY_DIV_PLUS 100 /* 100k */
270+
#define AO_PYRO_BATTERY_DIV_MINUS 27 /* 27k */
271+
266272
/*
267273
* Voltage divider on ADC igniter samplers
268274
*/

src/easymega-v2.0/ao_pins.h

+6
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,12 @@ struct ao_adc {
258258
#define AO_BATTERY_DIV_PLUS 56 /* 5.6k */
259259
#define AO_BATTERY_DIV_MINUS 100 /* 10k */
260260

261+
/*
262+
* Voltage divider on ADC pyro battery sampler
263+
*/
264+
#define AO_PYRO_BATTERY_DIV_PLUS 100 /* 100k */
265+
#define AO_PYRO_BATTERY_DIV_MINUS 27 /* 27k */
266+
261267
/*
262268
* Voltage divider on ADC igniter samplers
263269
*/

src/easymega-v3.0/ao_pins.h

+6
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,12 @@ struct ao_adc {
258258
#define AO_BATTERY_DIV_PLUS 56 /* 5.6k */
259259
#define AO_BATTERY_DIV_MINUS 100 /* 10k */
260260

261+
/*
262+
* Voltage divider on ADC pyro battery sampler
263+
*/
264+
#define AO_PYRO_BATTERY_DIV_PLUS 100 /* 100k */
265+
#define AO_PYRO_BATTERY_DIV_MINUS 27 /* 27k */
266+
261267
/*
262268
* Voltage divider on ADC igniter samplers
263269
*/

src/telemega-v0.1/ao_pins.h

+6
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,12 @@ struct ao_adc {
263263
#define AO_BATTERY_DIV_PLUS 56 /* 5.6k */
264264
#define AO_BATTERY_DIV_MINUS 100 /* 10k */
265265

266+
/*
267+
* Voltage divider on ADC pyro battery sampler
268+
*/
269+
#define AO_PYRO_BATTERY_DIV_PLUS 100 /* 100k */
270+
#define AO_PYRO_BATTERY_DIV_MINUS 27 /* 27k */
271+
266272
/*
267273
* Voltage divider on ADC igniter samplers
268274
*/

src/telemega-v1.0/ao_pins.h

+6
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,12 @@ struct ao_adc {
263263
#define AO_BATTERY_DIV_PLUS 56 /* 5.6k */
264264
#define AO_BATTERY_DIV_MINUS 100 /* 10k */
265265

266+
/*
267+
* Voltage divider on ADC pyro battery sampler
268+
*/
269+
#define AO_PYRO_BATTERY_DIV_PLUS 100 /* 100k */
270+
#define AO_PYRO_BATTERY_DIV_MINUS 27 /* 27k */
271+
266272
/*
267273
* Voltage divider on ADC igniter samplers
268274
*/

src/telemega-v2.0/ao_pins.h

+6
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,12 @@ struct ao_adc {
263263
#define AO_BATTERY_DIV_PLUS 56 /* 5.6k */
264264
#define AO_BATTERY_DIV_MINUS 100 /* 10k */
265265

266+
/*
267+
* Voltage divider on ADC pyro battery sampler
268+
*/
269+
#define AO_PYRO_BATTERY_DIV_PLUS 100 /* 100k */
270+
#define AO_PYRO_BATTERY_DIV_MINUS 27 /* 27k */
271+
266272
/*
267273
* Voltage divider on ADC igniter samplers
268274
*/

src/telemega-v3.0/ao_pins.h

+6
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,12 @@ struct ao_adc {
263263
#define AO_BATTERY_DIV_PLUS 56 /* 5.6k */
264264
#define AO_BATTERY_DIV_MINUS 100 /* 10k */
265265

266+
/*
267+
* Voltage divider on ADC pyro battery sampler
268+
*/
269+
#define AO_PYRO_BATTERY_DIV_PLUS 100 /* 100k */
270+
#define AO_PYRO_BATTERY_DIV_MINUS 27 /* 27k */
271+
266272
/*
267273
* Voltage divider on ADC igniter samplers
268274
*/

src/telemega-v4.0/ao_pins.h

+6
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,12 @@ struct ao_adc {
258258
#define AO_BATTERY_DIV_PLUS 56 /* 5.6k */
259259
#define AO_BATTERY_DIV_MINUS 100 /* 10k */
260260

261+
/*
262+
* Voltage divider on ADC pyro battery sampler
263+
*/
264+
#define AO_PYRO_BATTERY_DIV_PLUS 100 /* 100k */
265+
#define AO_PYRO_BATTERY_DIV_MINUS 27 /* 27k */
266+
261267
/*
262268
* Voltage divider on ADC igniter samplers
263269
*/

src/telemega-v5.0/ao_pins.h

+6
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,12 @@ struct ao_adc {
268268
#define AO_BATTERY_DIV_PLUS 56 /* 5.6k */
269269
#define AO_BATTERY_DIV_MINUS 100 /* 10k */
270270

271+
/*
272+
* Voltage divider on ADC pyro battery sampler
273+
*/
274+
#define AO_PYRO_BATTERY_DIV_PLUS 100 /* 100k */
275+
#define AO_PYRO_BATTERY_DIV_MINUS 27 /* 27k */
276+
271277
/*
272278
* Voltage divider on ADC igniter samplers
273279
*/

src/telemega-v6.0/ao_pins.h

+6
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,12 @@ struct ao_adc {
265265
#define AO_BATTERY_DIV_PLUS 56 /* 5.6k */
266266
#define AO_BATTERY_DIV_MINUS 100 /* 10k */
267267

268+
/*
269+
* Voltage divider on ADC pyro battery sampler
270+
*/
271+
#define AO_PYRO_BATTERY_DIV_PLUS 100 /* 100k */
272+
#define AO_PYRO_BATTERY_DIV_MINUS 27 /* 27k */
273+
268274
/*
269275
* Voltage divider on ADC igniter samplers
270276
*/

0 commit comments

Comments
 (0)