Commit Graph

1653 Commits (e7fe85856ac278c7201d938edc4cb1ddff420031)

Author SHA1 Message Date
alanbjohnston bdd7926582
removed buffer clear and adde sleep 0.1 and 0.05
5 years ago
alanbjohnston dfa8d73506
typo
5 years ago
alanbjohnston 367bff5826
changed back to or
5 years ago
alanbjohnston 4527f156e5
clear sensor_payload[0] and 10 toys
5 years ago
alanbjohnston becd47406d
debugging trys
5 years ago
alanbjohnston 30d1f44038
to fix zero initial sensor readings, try 2 times to get OK
5 years ago
alanbjohnston e867afe587
added uptime back to log
5 years ago
alanbjohnston 30818cfc87
moved temp to tlm[4][A]
5 years ago
alanbjohnston 1637aadb0b
debug APRS cpuTemp
5 years ago
alanbjohnston a8235d7bff
added sleep after shutdown log
5 years ago
alanbjohnston 22ad99c181
threshold 3.5
5 years ago
alanbjohnston 94baae2f1b
turn off Tx LED for APRS
5 years ago
alanbjohnston 044ba8e7a7
removed Tx LED for FSK/BPSK back to sleep(2.3)
5 years ago
alanbjohnston a92004b265
different encoding for tlm[3][A] for 3 cell battery
5 years ago
alanbjohnston e880a5db73
changed tlm[3][A] to go negative
5 years ago
alanbjohnston 8852ba8647
got rid of 100 x lat and long
5 years ago
alanbjohnston 7f4313bc0d
added toAprsFormat to convert decimal to DMS for lat and long
5 years ago
alanbjohnston 2e453a8416
sleeping only for SSTV
5 years ago
alanbjohnston 27875e5bca
added rpitx restart
5 years ago
alanbjohnston 4054359f6c
if no arguments, set mode based on .mode character
5 years ago
alanbjohnston 8707315884
printf typo
5 years ago
alanbjohnston a7c1f8864f
typo
5 years ago
alanbjohnston 3124280207
read .mode file
5 years ago
alanbjohnston 408134210e
added log write to shutdown_log.txt before low battery shutdown
5 years ago
alanbjohnston f4c0c5b2e4
moved On and Off
5 years ago
alanbjohnston 499259b8b6
Tx try again
5 years ago
alanbjohnston 708892145e
removed extra off
5 years ago
alanbjohnston c4aeb409a4
changed AFSK Tx LED
5 years ago
alanbjohnston 15bac8ec0c
Tx LED debugging
5 years ago
alanbjohnston 0a66d348de
cleaned up threshold printf
5 years ago
alanbjohnston 888ddc34a8
added in !sim_mode for battery threshold
5 years ago
alanbjohnston 9280982067
changed Tx LED for FSK and BPSK to be off for 0.5 sec each frame
5 years ago
alanbjohnston 0a51bdde93
added current threshold test for low voltage battery shutdown
5 years ago
alanbjohnston ed0fccd41d
changed to python3 -u
5 years ago
alanbjohnston b20c693203
removed AFSK sleep(10)
5 years ago
alanbjohnston 9e7fdf8e61
added flush
5 years ago
alanbjohnston 32991f2eb7
missing "
5 years ago
alanbjohnston 4eb8abfc1c
i2c bus test printf
5 years ago
alanbjohnston 6653b61b5f
moved i2c bus testing
5 years ago
alanbjohnston 6acdf249ed
back to sleep 2 for APRS
5 years ago
alanbjohnston b428d69747
sleep 4 for APRS
5 years ago
alanbjohnston c0e0e9e2ae
added full path to ready file
5 years ago
alanbjohnston 5db33eff3b
Update telem.c
5 years ago
alanbjohnston 9be839f8fc
only print vB5 if debug
5 years ago
alanbjohnston 8d1c6122fe
added back in busString add
5 years ago
alanbjohnston f5b32bc7bb
print python command
5 years ago
alanbjohnston 2367c53517
missing }
5 years ago
alanbjohnston 20f2c1276e
extra if
5 years ago
alanbjohnston ebe2fd9fae
define typo
5 years ago
alanbjohnston be7d5b487c
added debug or d parameter to print extra info
5 years ago
alanbjohnston db5b2df604
fix Payload string printout
5 years ago
alanbjohnston a8de8a1054
added s parameter for single read of python sensor code
5 years ago
alanbjohnston b46215d614
added .h
5 years ago
alanbjohnston fc192df7c6
added open code from main.c
5 years ago
alanbjohnston 2d63c00370
Update telem.c
5 years ago
alanbjohnston e7a86fc64b
added .h
5 years ago
alanbjohnston e9e21a29a5
Update telem.c
5 years ago
alanbjohnston da3a2becd4
typo
5 years ago
alanbjohnston 09e53d0c2a
updated for new python
5 years ago
alanbjohnston cc1ff5d112
removed setting bus 3 off for sim mode
5 years ago
alanbjohnston 70392ccb9e
added sim_mode to Simulated Telemetry flag
5 years ago
alanbjohnston 56c3452f60
set bus 3 off when simulated telemetry mode
5 years ago
alanbjohnston bb6593c7d5
sim.cfg file with yes for Simulated mode
5 years ago
alanbjohnston 958279e2c6
fixed writing sim.cfg
5 years ago
alanbjohnston 2512a1259f
used strcmp
5 years ago
alanbjohnston 503e91c7f3
fixed sim_yes comparison
5 years ago
alanbjohnston b7f6b0dbff
added sim_yes to sim.cfg file
5 years ago
alanbjohnston 6e43b79a08
typos
5 years ago
alanbjohnston aed9cadb16
typo
5 years ago
alanbjohnston 66eccc997d
added sim_mode setting by sim.cfg
5 years ago
alanbjohnston 646f0457d7
added sleep(2) in place of rpitx
5 years ago
alanbjohnston d51546ca2a
replaced rpitx with touch ready to signal rpitx.py
5 years ago
alanbjohnston 5cf7779b44
minor edits
5 years ago
alanbjohnston bea0f92bb3
more log cleanup
5 years ago
alanbjohnston e82022c45e
added 10x for Humidity
5 years ago
alanbjohnston e03298b1be
Merge branch 'dev' into dev-py-test-min
5 years ago
alanbjohnston 417360ad83
removed some printfs
5 years ago
alanbjohnston 606243e601
simulated mode if i2c bus 3 not present
5 years ago
alanbjohnston 869e2da2da
added zero values if no max or min
5 years ago
alanbjohnston 0d15eb274b
removed bogus max min when no payload present
5 years ago
alanbjohnston 1d275ef56c
added fflush(stdout)
5 years ago
alanbjohnston bb29bdab7f
added flush(stderr)
5 years ago
alanbjohnston 445330ea5b
added humidity
5 years ago
alanbjohnston 8ebf3b830b
rest of sensors max min
5 years ago
alanbjohnston d543c1dc15
added last few sensors max min
5 years ago
alanbjohnston 4c3a0cc27c
Update main.c
5 years ago
alanbjohnston 06600cfea5
Update main.c
5 years ago
alanbjohnston fcd4457cd6
Update main.c
5 years ago
alanbjohnston b59c8ec0b9
Update main.c
5 years ago
alanbjohnston b8a65f4038
Update main.c
5 years ago
alanbjohnston 3dab696302
Update main.c
5 years ago
alanbjohnston 0c9c57b37a
Update main.c
5 years ago
alanbjohnston 5773a85975
Update main.c
5 years ago
alanbjohnston cbbca89a3f
Update main.c
5 years ago
alanbjohnston b93996587c
Update main.c
5 years ago
alanbjohnston 6d0e3db664
WOD printf
5 years ago
alanbjohnston ed73add48d
changed to unsigned int
5 years ago
alanbjohnston e56efcf662
wow test
5 years ago
alanbjohnston 3f009f49aa
more word
5 years ago
alanbjohnston 343592d81c
Update main.c
5 years ago
alanbjohnston 0c6083f0d6
more word
5 years ago
alanbjohnston 4fc216bc81
more wod
5 years ago
alanbjohnston 7488627d62
more word
5 years ago
alanbjohnston 4fc4ff76a9
put MAX and MIN back
5 years ago
alanbjohnston 6c37aadf01
added rest of sensors
5 years ago
alanbjohnston c33b24b1ce
switching max and min
5 years ago
alanbjohnston ccc5955c2f
wow test
5 years ago
alanbjohnston 6c3421e573
missing ) typo
5 years ago
alanbjohnston 0813b39364
Update main.c
5 years ago
alanbjohnston c514885dae
fixed current conversions
5 years ago
alanbjohnston dda78ebc6f
missing {
5 years ago
alanbjohnston 50cff5a94e
rest of battery voltages and currents
5 years ago
alanbjohnston c33ee9a02d
fixed payload order
5 years ago
alanbjohnston 1f7e208776
always send MAX Min frame BPSK
5 years ago
alanbjohnston 71b914cdb2
added payload frame checking for MAX Min
5 years ago
alanbjohnston 35c04331de
BPSK only send MAX MIN frames, just +Xv and +Yv so far
5 years ago
alanbjohnston 4654fc583c
turned on max and min frames for a test similar to dev-faster
5 years ago
alanbjohnston b82ce45442
added printf for python results
5 years ago
alanbjohnston fcef731b5e
back to sleep(2.3) for BPSK and FSK
5 years ago
alanbjohnston b40eee5ca8
sleep 1.3 for BPSK
5 years ago
alanbjohnston df7e53c0fa
sleep 4.3 for BPSK
5 years ago
alanbjohnston d836c622a8
Only sleep(2.3) for FSK
5 years ago
alanbjohnston 2cdb41f04f
removed sleep(2.3)
5 years ago
alanbjohnston 421547dd9b
removed double clearing buffer
5 years ago
alanbjohnston 7ef595e4bb
double clearing buffer
5 years ago
alanbjohnston 41fb0eab32
added test for BPSK mode for 2nd socket send
5 years ago
alanbjohnston b38e528681
changed UART to 115200
5 years ago
alanbjohnston b65770fc81
changed a printf to fprintf(stderr
5 years ago
alanbjohnston fdd5fd0fd9
printout PythonConfigStr
5 years ago
alanbjohnston 863dddbbb5
send frame twice over socket
5 years ago
alanbjohnston 0086136b2c
changed humidity to include tenths of a percent
5 years ago
alanbjohnston 4cb9a33fb3
simulated telemetry mode set by i2c bus 3 so automatically set with Lite board
5 years ago
alanbjohnston 0b885c76b1
fixed swap -X and -Y bug
5 years ago
alanbjohnston ea628fedaf
swapped -X and -Y bug
5 years ago
alanbjohnston 5b961be801
sim mode is activated by only i2c bus 1 disabled, allowing raspi-config to enable sim mode
5 years ago
alanbjohnston 278e84fcd9
change sleep(3.3) to 2.3
5 years ago
alanbjohnston d4ac2bb073
typo
5 years ago
alanbjohnston 9c8b60fa5d
fixed APRS mode python read
5 years ago
alanbjohnston 07d6e22f37
more cleanup
5 years ago
alanbjohnston d3ec5b3749
cleanup
5 years ago
alanbjohnston f4155d1f0f
trying to fix max and min
5 years ago
alanbjohnston 52652e5124
formatting
5 years ago
alanbjohnston 1f05cd054f
fix max min
5 years ago
alanbjohnston 8697d11071
investigate Imax and min
5 years ago
alanbjohnston e36e5ff678
Working pretty well, removed duplicate Sample period printf
5 years ago
alanbjohnston b5099b6cc7
turn on payload
5 years ago
alanbjohnston 5b0394d782
Working OK without cpu limit, MAX MIN not correct for FSK
5 years ago
alanbjohnston fd3f41e2ac
turn payload off
5 years ago
alanbjohnston b50723f8cf
removed python test at start
5 years ago
alanbjohnston 2b20f1170e
try turning firstTime on again
5 years ago
alanbjohnston dad7f9d139
Working, turning on payload
5 years ago
alanbjohnston 10de251683
added sleep(0.5) if resending
5 years ago
alanbjohnston d08054b8c3
socket resend not working yet
5 years ago
alanbjohnston 7059775750
added back in socket resend
5 years ago
alanbjohnston ac36259312
sleep(3.3)
5 years ago
alanbjohnston f8cf009a95
changed MAX MIN
5 years ago
alanbjohnston b53d2251c7
sleep(3.8)
5 years ago
alanbjohnston e2d9badab2
typo
5 years ago
alanbjohnston 4f2823b739
merged in sin_map from dev-faster
5 years ago
alanbjohnston 115aaeff58
Update main.c
5 years ago
alanbjohnston 2a81c4d4a5
take python read out
5 years ago
alanbjohnston 2507048f8f
reduce sleep time
5 years ago
alanbjohnston 630c6f2a0f
removed python read
5 years ago
alanbjohnston 18a2c69b2b
sleep(2.8)
5 years ago
alanbjohnston e4e148ca06
took out old file1 code
5 years ago
alanbjohnston bf44272ed2
try new sopen
5 years ago
alanbjohnston c209010fe8
stdout
5 years ago
alanbjohnston ee66bfa171
typo
5 years ago
alanbjohnston 2881b595cf
added stdin
5 years ago
alanbjohnston bad0056b37
testing python read
5 years ago
alanbjohnston f655d2f801
printf python read result
5 years ago
alanbjohnston 5279c8f36f
working with every frame, fixing telem read
5 years ago
alanbjohnston 211da494be
sleep(3.5) now with quicker python sensor reads
5 years ago
alanbjohnston 1733e4cab7
made cmdbuffer and file1 globals, keep open
5 years ago
alanbjohnston 1d2f100c74
changed to popen w
5 years ago
alanbjohnston 36706a6c81
Update main.c
5 years ago
alanbjohnston 036a850aae
Update main.c
5 years ago
alanbjohnston 1f7aa9b402
Update main.c
5 years ago
alanbjohnston 817e20da8a
try in and out
5 years ago
alanbjohnston a6a48b52a6
Update main.c
5 years ago
alanbjohnston 203f9cee90
handled errors
5 years ago
alanbjohnston 4ee4fe7847
Update main.c
5 years ago
alanbjohnston 27399f2022
Update main.c
5 years ago
alanbjohnston b8fe0cef95
Update main.c
5 years ago
alanbjohnston 100aabd8f1
bool to int
5 years ago
alanbjohnston a3e34d9ea5
Try start process
5 years ago
alanbjohnston 444ba6992d
try r+
5 years ago
alanbjohnston 6b67bf70a6
changed popen to rw
5 years ago
alanbjohnston d8cedd9f21
try new python
5 years ago
alanbjohnston 40230331b6
Update main.c
5 years ago
alanbjohnston 6c1b63be40
sleep 1.5 and python telem
5 years ago
alanbjohnston 71234ff24f
back to sleep(2.5)
5 years ago
alanbjohnston 55fbb3c52b
delay(3)
5 years ago
alanbjohnston b89ba8c0ce
Update main.c
5 years ago
alanbjohnston f081a668e0
delay
5 years ago
alanbjohnston 729fe608a0
changed to delay(2.5)
5 years ago
alanbjohnston e1ba966153
No sleep, buffer always full, almost 100% frames
5 years ago
alanbjohnston 739d111da5
removed sleep
5 years ago
alanbjohnston 41fe5ffebb
typo
5 years ago
alanbjohnston 5013b81bc0
reduced to 2.5
5 years ago

Powered by TurnKey Linux.