Commit Graph

1470 Commits (dev)

Author SHA1 Message Date
alanbjohnston 985f3aca4d
try 19200 serial to UART
5 years ago
alanbjohnston 29247884a1
Try \n? again
5 years ago
alanbjohnston c4d90f8ba2
Try \n? query
5 years ago
alanbjohnston a39eafbfc2
Accel to floats
5 years ago
alanbjohnston a714ed69cc
typo
5 years ago
alanbjohnston b4087cefe5
sensor3 typo
5 years ago
alanbjohnston 2c4dfd489c
sensor fixup
5 years ago
alanbjohnston b66743491f
fixed encoding of BME280
5 years ago
alanbjohnston 535ffd5576
changed BME280 variables to float
5 years ago
alanbjohnston 8a59a54a5f
corrected token read of sensor data
5 years ago
alanbjohnston 8ffe4ff249
Normal mode failure if battery < 3.5 V
5 years ago
alanbjohnston d79b308c7e
fixed accel telem
5 years ago
alanbjohnston 30f1abd698
fixed BME280temperature
5 years ago
alanbjohnston 248490a82f
moved tx and rx antennas to globals
5 years ago
alanbjohnston 50bd27f92a
typo
5 years ago
alanbjohnston 3a0cc30e07
BME280temperature, spin, and txAntennaDeployed set by variables
5 years ago
alanbjohnston d66e9b51e1
typos
5 years ago
alanbjohnston dccf20dba7
added all BME280 and MPU6050 sensor fields
5 years ago
alanbjohnston 8ca33c8767
Rssi typo
5 years ago
alanbjohnston 92c619ee00
Rssi typo
5 years ago
alanbjohnston cc437da16e
Resets typo
5 years ago
alanbjohnston d172b7d4e1
added Resets and Rssi
5 years ago
alanbjohnston 9c141cc09b
camera status working
5 years ago
alanbjohnston f5aaf74124
Update main.c
5 years ago
alanbjohnston 150ca64110
Update main.c
5 years ago
alanbjohnston 1e8a049954
Update main.c
5 years ago
alanbjohnston f7c380fe62
zeroed all sensors
5 years ago
alanbjohnston c92919f696
camera testing
5 years ago
alanbjohnston 992e0bc6bf
testing PayloadFailure
5 years ago
alanbjohnston ab5484645b
Update main.c
5 years ago
alanbjohnston b85e680873
camera test, added PayloadFailure 1 and 2 status
5 years ago
alanbjohnston 0489f68f20
testing
5 years ago
alanbjohnston 9b23cf1766
Update main.c
5 years ago
alanbjohnston 23bc5d8173
testing
5 years ago
alanbjohnston c5d89e8e39
all 1's in status bits
5 years ago
alanbjohnston 71618fd3f2
Update main.c
5 years ago
alanbjohnston e774df3e72
testing camera status
5 years ago
alanbjohnston 57e229a80b
reversed conditional
5 years ago
alanbjohnston 87c501483c
added camera conditional
5 years ago
alanbjohnston 3e16f41339
typo
5 years ago
alanbjohnston 1d53b14af0
typo
5 years ago
alanbjohnston e22eeb5d28
try strstr
5 years ago
alanbjohnston d6608a7147
typo
5 years ago
alanbjohnston 1ba3318886
fixed conditional
5 years ago
alanbjohnston ae5641aa42
cleanup of camera test
5 years ago
alanbjohnston 9e896213d1
changed && to &
5 years ago
alanbjohnston ed4afd95bc
try strchr
5 years ago
alanbjohnston 28c241c9b4
added string compare
5 years ago
alanbjohnston e454eacc8e
typo
5 years ago
alanbjohnston 835162f1b1
typo
5 years ago
alanbjohnston 81000bdc9c
typo
5 years ago
alanbjohnston f9e8aaf3ea
testing
5 years ago
alanbjohnston 7fe9ea0b53
right location in string
5 years ago
alanbjohnston 38791d07d9
typo
5 years ago
alanbjohnston c59311b5f4
typo
5 years ago
alanbjohnston f934cdd10e
camera conditional
5 years ago
alanbjohnston e1c22a1a48
added camera test
5 years ago
alanbjohnston 138c41f590
added camera to telem
5 years ago
alanbjohnston 9afe0f8057
changed i2c bus on to off, testing
5 years ago
alanbjohnston 00d74b8e43
added i2c bus status in telemetry
5 years ago
alanbjohnston 5d1c7f6644
removed printfs
5 years ago
alanbjohnston cc2a1fbfe2
added i2c bus status debug printf
5 years ago
alanbjohnston a82fd8f5be
added sim_mode variable, set when i2c bus 1 and 3 are off
5 years ago
alanbjohnston 5e3612e569
changed range to 150 to 300 mA
5 years ago
alanbjohnston b2c78e14e8
increased current to 220 to 300 mA
5 years ago
alanbjohnston 7c18d2017c
added average amps with +/- 25 for each panel
5 years ago
alanbjohnston 8611f11846
increased lower limit for bus voltage
5 years ago
alanbjohnston 1383cd69ee
used batt in charging calc
5 years ago
alanbjohnston 19aa4f4d7b
debugging charging
5 years ago
alanbjohnston cd3a72f206
fixing battery current
5 years ago
alanbjohnston 0e4385c073
Removed .95 in charging current
5 years ago
alanbjohnston 8e03232946
increase battery discharge
5 years ago
alanbjohnston 9803b26f93
increased battery initial voltage limit from 3.5 to 3.9
5 years ago
alanbjohnston bca12b971d
reduced battery discharge rate by 2
5 years ago
alanbjohnston bf2120736b
added fabs for charging
5 years ago
alanbjohnston 87710596b3
Update main.c
5 years ago
alanbjohnston 46e001acc4
Update main.c
5 years ago
alanbjohnston b9b6af7db0
added limits of 3 to 4.5V for batt
5 years ago
alanbjohnston f122c5b8ec
scaled up battery current
5 years ago
alanbjohnston b5042f0106
put randomness back in currents
5 years ago
alanbjohnston cfd56bb49c
Update main.c
5 years ago
alanbjohnston 20f8ad4ab6
fixed eclipse_time
5 years ago
alanbjohnston ef3122248c
Update main.c
5 years ago
alanbjohnston 86bfbd01a4
time() typo
5 years ago
alanbjohnston bcb87788dc
types
5 years ago
alanbjohnston c7fecd956c
typo in time
5 years ago
alanbjohnston 0190540dc6
fixed eclipse timing and charging simplified
5 years ago
alanbjohnston 5f5743e087
added back in random temp reading
5 years ago
alanbjohnston f44281ede9
Update main.c
5 years ago
alanbjohnston e36f92b1d6
tempS change
5 years ago
alanbjohnston f0dcad278a
debug temp
5 years ago
alanbjohnston 690deef164
fixed IHUcpuTemp
5 years ago
alanbjohnston 2f966de3f8
removed changes to atan, set 0 to 0.001 on axis
5 years ago
alanbjohnston 956df272c6
changed atan to avoid divide by 0
5 years ago
alanbjohnston acd2bcb199
trying atan changes
5 years ago
alanbjohnston 0ce342a5b1
fixed atan divide by 0 Nan error
5 years ago
alanbjohnston cbad3c1357
changed /100 to /10 for temp
5 years ago
alanbjohnston aa1e6c96c5
Update main.c
5 years ago
alanbjohnston a1e8c54313
trying to find charging current variation
5 years ago
alanbjohnston fbd4e6ce55
removed i^2, reduced temp swing,
5 years ago
alanbjohnston 2c1ca3a52f
fixed temp
5 years ago
alanbjohnston f49c47a963
made temp change more rapidly
5 years ago
alanbjohnston 28d2b86386
moved battery voltage setting so simulated value won't be used for threshold
5 years ago
alanbjohnston be535b308a
increased charging and discharging rate again
5 years ago
alanbjohnston 04b87e81a7
axis back to +/- reduced current, increased solar current
5 years ago
alanbjohnston 08dd6be76a
reduced batt discharge rate by 10
5 years ago
alanbjohnston b438e5a752
simulated batt doen't trigger shutdown
5 years ago
alanbjohnston 1e3ed1055a
batt current typo
5 years ago
alanbjohnston 29f112cc77
added PSU and batt and temp simulations, changed eclipse to 1/4 at initialization
5 years ago
alanbjohnston 6820736eb9
fixed array dimension
5 years ago
alanbjohnston 8e32b65fe9
Update main.c
5 years ago
alanbjohnston d6e4ee82b8
added fabs to sin^2
5 years ago
alanbjohnston fab4b53b9c
tried sin^2 for i
5 years ago
alanbjohnston 6f4bbd11d7
investigate Z currents and add 2x for voltage
5 years ago
alanbjohnston 667432edcc
fixed Zv
5 years ago
alanbjohnston 35f0822dda
fixed neg v bug
5 years ago
alanbjohnston 02b379e53a
find out why -Xv goes to 40
5 years ago
alanbjohnston d88973438e
Update main.c
5 years ago
alanbjohnston 7485205448
made x and y axis only positive for now
5 years ago
alanbjohnston c7f627cedc
added display of values
5 years ago
alanbjohnston 40411aa44c
Update main.c
5 years ago
alanbjohnston 5549e7951c
fixed Xv typo
5 years ago
alanbjohnston a9dec99736
converting doubles to floats
5 years ago
alanbjohnston c9f8753e22
Update main.c
5 years ago
alanbjohnston a7cce53061
typos
5 years ago
alanbjohnston 578a692479
added set of sim voltages, currents, and temp
5 years ago
alanbjohnston 395d9ed630
1/2 speed
5 years ago
alanbjohnston c9d16166ca
+/- 10% noise
5 years ago
alanbjohnston b7318cae23
typo
5 years ago
alanbjohnston a67a8f7ec0
0.5 noise
5 years ago
alanbjohnston 01fd089aea
now with +/- 0.1 noise
5 years ago
alanbjohnston db32addc30
angle 0.2 0.2 1
5 years ago
alanbjohnston 7a5bf8ff47
now fixed
5 years ago
alanbjohnston 3d3fa8fd6a
now correct values
5 years ago
alanbjohnston c6918cb635
Update main.c
5 years ago
alanbjohnston 5bf8d27895
Update main.c
5 years ago
alanbjohnston f77cda0bd6
added printf
5 years ago
alanbjohnston 68100c5676
typo
5 years ago
alanbjohnston 46119b7313
typo in conditional expression
5 years ago
alanbjohnston e454c8cd84
encode simulated X, Y, Z current
5 years ago
alanbjohnston 26fca73d99
typo
5 years ago
alanbjohnston 6a52ba19d5
double
5 years ago
alanbjohnston 16c1401aa0
print typo
5 years ago
alanbjohnston b015eb558a
fixed sin()
5 years ago
alanbjohnston 1264342dc7
changed time to millis
5 years ago
alanbjohnston 1f07352ea6
added posXi calc test
5 years ago
alanbjohnston c4ece650a9
testing rnd
5 years ago
alanbjohnston d7c1e02a05
stray characters
5 years ago
alanbjohnston db78f62eb1
typo
5 years ago
alanbjohnston 0692df38fa
added random float generator
5 years ago
alanbjohnston a2309c00a7
swapped -X and +Z mapping
5 years ago
alanbjohnston 7698dbb6eb
swapped -X and +Z for vB5
5 years ago
alanbjohnston c429ae441e
back to type 1 again
5 years ago
alanbjohnston dd7e8a9feb
test type 3
5 years ago
alanbjohnston 20ef9f3f90
testing type 2
5 years ago
alanbjohnston 1a490d7ba5
back to frame type 1
5 years ago
alanbjohnston 5175f5df3a
test payload type 3
5 years ago
alanbjohnston 1845d78d5a
added rounding in integer conversion for currents
5 years ago
alanbjohnston dc71a9b9c5
frame type 2
5 years ago
alanbjohnston 2fb646bedb
testing frame type 3
5 years ago
alanbjohnston f97d863948
changed to frame_type 2 to test max, min
5 years ago
alanbjohnston e9ed60b3d4
fixed angular velocity
5 years ago
alanbjohnston 6aa8800f6e
more testing
5 years ago
alanbjohnston 2641e3a01d
testing Angular Velocity
5 years ago
alanbjohnston be0ad9844b
changed antenna failure to antenna deploy
5 years ago
alanbjohnston 01f8be893d
typo in antenna failure
5 years ago
alanbjohnston 102ebd6d43
encoding for failures and antenna deployment and ground command count
5 years ago
alanbjohnston 01b090441d
testing all flags
5 years ago
alanbjohnston b51018b998
turning on all four status bits
5 years ago
alanbjohnston 26e0019d23
still testing
5 years ago
alanbjohnston 9464d69471
testing again
5 years ago
alanbjohnston b64fd61631
fixed lookup value
5 years ago
alanbjohnston 2bdc2a00ea
testing sensor3
5 years ago
alanbjohnston db951ef4a7
More testing
5 years ago
alanbjohnston 5557f06577
trying STEM Board Failure
5 years ago
alanbjohnston 84562e9d19
testing NormalModeFail
5 years ago
alanbjohnston 5eb8dbc109
Added NormalModeFailure and test RXAntenna and TXAntenna
5 years ago
alanbjohnston c13bf27698
try Normal Mode FAIL
5 years ago
alanbjohnston beb0194e5c
test accel values
5 years ago
alanbjohnston 53c5ff2edf
fixed sensor2
5 years ago
alanbjohnston 0d69a8e72e
added sensor1 and sensor 2 values
5 years ago
alanbjohnston 98d6d22040
added back in linear angular velocity
5 years ago
alanbjohnston bc58348441
fixed new variables for pressure, temp, alt, and accel
5 years ago
alanbjohnston eb630a80ae
partial add of STEM Payload sensors, missing rotation linear changes
5 years ago
alanbjohnston 3708d103b9
latitude typo
5 years ago
alanbjohnston a2587b0a7f
set lat and long if valid coords in sim.cfg
5 years ago
alanbjohnston 6a2fddd578
used fabs
5 years ago
alanbjohnston 42a59f991d
added test of lat and long from sim.cfg
5 years ago
alanbjohnston d8567fa259
typo in file read
5 years ago
alanbjohnston 3d30eec185
Update main.c
5 years ago
alanbjohnston ca8b68b0fa
Update main.c
5 years ago
alanbjohnston 37514dc716
added lat and long to sim.cfg
5 years ago
alanbjohnston da367b5d8d
added condition for N or S latitude, E or W long
5 years ago
alanbjohnston a6cce7b690
added back missing S
5 years ago
alanbjohnston a0f9f5e267
lat and long * 100
5 years ago
alanbjohnston f3b3aa7041
added latitude and longitude variables
5 years ago
alanbjohnston 3be9083010
// to get /
5 years ago
alanbjohnston b007b16194
try double escaping \
5 years ago
alanbjohnston 1c844c2599
hex for \
5 years ago
alanbjohnston e11daa157c
adding APRS string to tlm
5 years ago
alanbjohnston f2942054bc
typos
5 years ago
alanbjohnston c1074e66f9
Update main.c
5 years ago
alanbjohnston 7f521e7f4f
start adding APRS latt and long with "\"
5 years ago
alanbjohnston 478d246e97
\\ to escape \
5 years ago
alanbjohnston 8b5f4b5d6a
escaping with ASCII
5 years ago
alanbjohnston ffe7d6409e
escaped backslash
5 years ago
alanbjohnston a52d02b4f8
different icon
5 years ago
alanbjohnston c76a1321c7
escaped \ in APRS string
5 years ago
alanbjohnston 48c6fe3631
satellite APRS icon
5 years ago
alanbjohnston 26471725e3
another symbol
5 years ago
alanbjohnston 95a925a84a
change APRS symbol
5 years ago
alanbjohnston 203befc34f
APRS typo
5 years ago
alanbjohnston d96114de57
added coords to AFSK
5 years ago
alanbjohnston af9ec8d2c2
don't check for payload if vB3 with TFB present
5 years ago
alanbjohnston a8573dd9a9
Merge pull request #59 from alanbjohnston/dev
5 years ago
Alan Johnston 45d0927a0c Added APRS formatting to tlm displayed as Comment
5 years ago
alanbjohnston 6ea3717745
fixed bug in vB5 i2c bus selection
5 years ago
alanbjohnston c085835d0d
Merge pull request #57 from alanbjohnston/dev
5 years ago
alanbjohnston 3531a33718
added bus test for vB3
5 years ago
alanbjohnston 313c439cde
fixed error text
5 years ago
alanbjohnston f4e1b433db
Added test_i2c_bus, sets bus to -1 if not present
5 years ago
alanbjohnston 9d786f3db8
added rest
5 years ago
alanbjohnston 2b4f9b19f3
Update telem.c
5 years ago
alanbjohnston 5d6275af10
use snprintf
5 years ago
alanbjohnston 8795900a03
added test for bus 3 and 11
5 years ago
alanbjohnston d84d1de3d1
Update telem.c
5 years ago
alanbjohnston 3cba4929b0
fixing string errors
5 years ago
alanbjohnston 16c705173c
Update telem.c
5 years ago
alanbjohnston ffa70811ce
Update telem.c
5 years ago
alanbjohnston 654de9f30a
Update telem.c
5 years ago
alanbjohnston 0ba842108b
Update telem.c
5 years ago
alanbjohnston 7a72f6edbc
Update telem.c
5 years ago
alanbjohnston 5d588a1715
fixed string cat
5 years ago
alanbjohnston 83bbc1ec24
added bus string determination
5 years ago
alanbjohnston c6bc354f65
Update telem.c
5 years ago
alanbjohnston 1c2aa10540
Update telem.c
5 years ago
alanbjohnston 0435bd54cc
Update telem.c
5 years ago
alanbjohnston 9dbf7927db
Update telem.c
5 years ago
alanbjohnston 235231c744
typo
5 years ago
alanbjohnston 6259ff62f0
typo
5 years ago
alanbjohnston a2f01d7c61
typo
5 years ago
alanbjohnston 4c0a2118db
added test_i2c_bus function
5 years ago
alanbjohnston bb3924055e
typo
5 years ago
alanbjohnston 41d274bc52
typo
5 years ago
alanbjohnston a25d4daf9b
added bus tests 0
5 years ago
alanbjohnston 70e25e0d02
put -1 for bad i2c bus
5 years ago
alanbjohnston 2e64a1df96
added test to bus 11 or 3 to make sure it has pullup resistors
5 years ago
alanbjohnston 920b51604c
added RXTemperature to FoxTelem FSK
5 years ago
alanbjohnston e28e5d58f8
Update main.c
5 years ago
alanbjohnston d6480d9dbb
Update main.c
5 years ago
alanbjohnston 48d2192f32
Update main.c
5 years ago
alanbjohnston e2444b7035
Update main.c
5 years ago
alanbjohnston ace16f6f9f
Update main.c
5 years ago
alanbjohnston 004d7f8e20
Update main.c
5 years ago
alanbjohnston dba9388249
Update main.c
5 years ago
alanbjohnston 884c4905c3
Update main.c
5 years ago
alanbjohnston 9f3e782ee7
Added RXTemperature from the BME280 sensor reading
5 years ago
alanbjohnston dad41bf31d
cleanup
5 years ago
alanbjohnston 37168ce579
removed rest of voltage and current logging
5 years ago
alanbjohnston 2308e5b6f0
removed Parities and voltage and current logging
5 years ago
alanbjohnston e17ae7ab4c
Merge branch 'master' into dev-py
5 years ago
alanbjohnston 628b450805
removed ina219 .h
5 years ago
alanbjohnston 0a3d4b3436
Delete Adafruit_INA219.h
5 years ago
alanbjohnston a54ebe7a51
Delete send_afsk.h
5 years ago
alanbjohnston ef2be21013
Delete send_afsk.c
5 years ago
alanbjohnston 28e2fdaba7
Delete ina219.h
5 years ago
alanbjohnston 61752931ad
Create TelemEncoding.h
5 years ago
alanbjohnston de783bcf8d
added TelemEncoding.h
5 years ago
alanbjohnston 9d2be29edb
Update main.c
5 years ago
alanbjohnston 60a25ae547
Update main.c
5 years ago
alanbjohnston 8cb6d2b26e
removed unneeded .h files
5 years ago
alanbjohnston 2086431e24
Delete main_old.c
5 years ago
alanbjohnston fa10e3d978
Delete make_wav.h
5 years ago
alanbjohnston a784d1c35c
Delete main_not_working.c
5 years ago
alanbjohnston f9f50a88b5
Delete main_memcpy.c
5 years ago
alanbjohnston f50e5bfdd2
Delete main4.c
5 years ago
alanbjohnston aa3ee9244e
Delete main3.c
5 years ago
alanbjohnston 959acb6975
Delete main2.c
5 years ago
alanbjohnston a416c3c7cd
Delete main.c.bk
5 years ago
alanbjohnston a13e3cbceb
cleanup
5 years ago
alanbjohnston af3c8b1bd0
cleanup
5 years ago
alanbjohnston 5ee28dbbb1
fixed -0 display
5 years ago
alanbjohnston 53b4f870a4
Update telem.c
5 years ago
alanbjohnston 9b5fc5619c
Update telem.c
5 years ago
alanbjohnston d6c3cfab59
Update telem.c
5 years ago
alanbjohnston c0337aa11b
Update telem.c
5 years ago
alanbjohnston 8579fe6216
updated to use python voltcurrent.py
5 years ago
alanbjohnston c9311b1499
Update telem.c
5 years ago
alanbjohnston cc776b3cf7
print all values
5 years ago
alanbjohnston 807bf54311
Update telem.c
5 years ago
alanbjohnston aa2a3b71fd
Update telem.c
5 years ago
alanbjohnston 552b28de25
Update telem.c
5 years ago
alanbjohnston 4a29e547c4
Update telem.c
5 years ago
alanbjohnston 02ff418e3e
switching to python start
5 years ago
alanbjohnston 95a297ad81
removed old sensor and rpitx code that was commented out
5 years ago
alanbjohnston abfbb5db89
set map array back to 8 values
6 years ago
alanbjohnston 1aa6351106
Update main.c
6 years ago
alanbjohnston 00b13bf51b
2.5
6 years ago
alanbjohnston 48bc9dc6a4
increase time
6 years ago
alanbjohnston 16800022d5
reduce BPSK sleep time to reduce sample time to 3 s
6 years ago

Powered by TurnKey Linux.