Commit Graph

1077 Commits (pico-v0.37-esp32)

Author SHA1 Message Date
alanbjohnston 4cf9c1e400
changed i2c1 to i2c0
3 years ago
alanbjohnston 863d1d471b
added i2c1 - 8 flags
3 years ago
alanbjohnston 2ea0913396
add back program_radio in setup
3 years ago
alanbjohnston d6356ab2a0
don't program
3 years ago
alanbjohnston 9b89414d6a
add back program_radio in setup
3 years ago
alanbjohnston 20a178308b
remove program_radio
3 years ago
alanbjohnston 370b93bcec
added program_radio print
3 years ago
alanbjohnston d23334987d
put program_radio back in for config_radio
3 years ago
alanbjohnston 81ca078eb7
changed to v0.30
3 years ago
alanbjohnston 7b1f68a149
removed address from bme.begin
3 years ago
alanbjohnston c38148d6bc
turn off bus 1 0x45 (old 5V INA219 sensor)
3 years ago
alanbjohnston 2872d23ef5
only program radio on startup each time
3 years ago
alanbjohnston bb63a41c70
added clockgen prints
3 years ago
alanbjohnston 0f7ce6892f
changed !clockgen to clockgen
3 years ago
alanbjohnston aab9eda7f7
typo
3 years ago
alanbjohnston 57164d49fa
changed to start_clockgen
3 years ago
alanbjohnston ac056f45cf
back to 434.9
3 years ago
alanbjohnston 3850c08d11
added 5 times for other clockgen commands
3 years ago
alanbjohnston 5d339c870c
!
3 years ago
alanbjohnston 9d7184dcce
use while
3 years ago
alanbjohnston 8bca060fa0
disable outputs up to 5 times
3 years ago
alanbjohnston 1b6cb2f36a
don't configure clocks in start_clockgen
3 years ago
alanbjohnston ed91f37e73
transmit_on not used at end of transmit_callsign
3 years ago
alanbjohnston 78a41c030f
missing {}
3 years ago
alanbjohnston 033e260c5a
added config radio print
3 years ago
alanbjohnston c292ac4ed8
clock prints
3 years ago
alanbjohnston a1a60d95f7
changed camera to camera_detected in fox tlm
3 years ago
alanbjohnston 7f5d8cf855
detect camera each time
3 years ago
alanbjohnston 368f09f27f
Update cubesatsim.ino
3 years ago
alanbjohnston 04edceb86d
changed to 434.91 MHz
3 years ago
alanbjohnston 3a5a259bca
removed BPSK ns delay, R and r prints
3 years ago
alanbjohnston 43e892aae6
added payload code back in
3 years ago
alanbjohnston 4b6c08cb0b
remove prints
3 years ago
alanbjohnston 642ea2a6e7
remove buffSize
3 years ago
alanbjohnston 8a658b6dbd
set ctr = 0 in FoxTelem
3 years ago
alanbjohnston b09c9b29d6
print str
3 years ago
alanbjohnston 2dc8b8e199
print
3 years ago
alanbjohnston 528c2f581a
missing )
3 years ago
alanbjohnston 0afa248b49
% 5 not 6
3 years ago
alanbjohnston 2c8a8cd325
fixed ()
3 years ago
alanbjohnston ec981d18bc
missing ;
3 years ago
alanbjohnston 270e28cff6
added timer_counter modulo 6 for FSK
3 years ago
alanbjohnston bfd56c8c5f
Update cubesatsim.ino
3 years ago
alanbjohnston 30da6e411a
Update cubesatsim.ino
3 years ago
alanbjohnston 2051f9f1aa
RPI_PICO_ISR_Timer::
3 years ago
alanbjohnston 619fd1fef6
added ITimer0::
3 years ago
alanbjohnston bcf94b33d2
Update cubesatsim.ino
3 years ago
alanbjohnston d6469b03fd
RPI_PICO_ISR_Timer
3 years ago
alanbjohnston 447839a905
added ITimer0 or 2
3 years ago
alanbjohnston 7316204870
enable and disable timer0 and timer2
3 years ago
alanbjohnston 4dc8a9cd90
added ITimer2 for FSK
3 years ago
alanbjohnston 57edfc8ed3
added setInterval for ISR when change between FSK and BPSK modes
3 years ago
alanbjohnston cbe388a787
frameTime sleep reduced to 0.01 to increase accuracy
3 years ago
alanbjohnston ccdf01d0a1
0us
3 years ago
alanbjohnston 54802c1df1
10 us
3 years ago
alanbjohnston 55518089ae
2 us no signal between bits
3 years ago
alanbjohnston d244ed7f1b
don't read payload
3 years ago
alanbjohnston 6dfcb0a9e3
print frameTime
3 years ago
alanbjohnston 18dd0df225
fixed FSK bit in other place
3 years ago
alanbjohnston 47a7c1c0eb
fixed FSK bit encoding
3 years ago
alanbjohnston b85196b27e
setClockFSK
3 years ago
alanbjohnston 4e839aaa4a
bufLen 970
3 years ago
alanbjohnston 660115e9e3
add RR
3 years ago
alanbjohnston 999f9e1148
bufLen 2000
3 years ago
alanbjohnston a72c4ff9d4
print ctr reset
3 years ago
alanbjohnston 6cf63a6a22
switch controls back
3 years ago
alanbjohnston 724a82222b
print bufLen
3 years ago
alanbjohnston 97af49c67c
switch order of switch control
3 years ago
alanbjohnston fa25ff9161
remove prints in handler
3 years ago
alanbjohnston 6e6d1153bf
move start_isr
3 years ago
alanbjohnston f58966f384
print in handler
3 years ago
alanbjohnston 3dd49a5501
print buffer
3 years ago
alanbjohnston df8f45fd30
fixed print
3 years ago
alanbjohnston 5a33d279cd
add serial config FSK
3 years ago
alanbjohnston 4f7e20d436
print phase
3 years ago
alanbjohnston 33c9d85f16
print delay_time
3 years ago
alanbjohnston dec58808c9
= instead of ==
3 years ago
alanbjohnston ad63516a3d
updated for setClockFSK and BPSK
3 years ago
alanbjohnston 9540e24458
added back FSK
3 years ago
alanbjohnston 1b4000fa9d
removed b: print
3 years ago
alanbjohnston a92fc9c092
reverted back one
3 years ago
alanbjohnston b29749cf51
removed b printout
3 years ago
alanbjohnston 5060aa3cf6
fixed phase to byte conversion
3 years ago
alanbjohnston 7ffb0a8134
print buffer
3 years ago
alanbjohnston 2ae7b3067b
wav_position modulo instead of - length
3 years ago
alanbjohnston e4ccc61094
fixed buffer error
3 years ago
alanbjohnston 1a05730fcf
Update cubesatsim.ino
3 years ago
alanbjohnston b010b82a82
removed -_ prints
3 years ago
alanbjohnston a6a0a29e5b
back to 800us
3 years ago
alanbjohnston bf37b72bbd
clockgen signals now controlled through analog switches
3 years ago
alanbjohnston 2a37b56ce1
back to 400
3 years ago
alanbjohnston ca1a97f928
try 100
3 years ago
alanbjohnston 69884aab4a
prints and 400us
3 years ago
alanbjohnston 3654affdc1
prints
3 years ago
alanbjohnston 959ecb98ae
Update cubesatsim.ino
3 years ago
alanbjohnston b85e408a0b
transmit_off disable clock outputs
3 years ago
alanbjohnston 9d34c3e296
added clockgen instead of PWM
3 years ago
alanbjohnston 47d8782d9a
Merge branch 'pico-rotate' into pico-v0.23
3 years ago
alanbjohnston 63daa1f540
allow camera detection
3 years ago
alanbjohnston 068907fe28
PTT off, telem display upper case only
3 years ago
alanbjohnston 98d2a98b1f
force no camera
3 years ago
alanbjohnston 74986c322c
added PD High and PTT low to program_radio
3 years ago
alanbjohnston 75e308d475
don't delete cam.bin
3 years ago
alanbjohnston bf922baa7c
delete cam.bin
3 years ago
alanbjohnston 51eb3f1301
dir
3 years ago
alanbjohnston 091f6fc58f
Update cubesatsim.ino
3 years ago
alanbjohnston 546760144b
rotate_image files must be different, cam2.bin and cam.bin
3 years ago
alanbjohnston 0e511c526a
fully removed sstv image 2
3 years ago
alanbjohnston b07af3a1a0
removed sstv2.h
3 years ago
alanbjohnston 1280379e72
Update cubesatsim.ino
3 years ago
alanbjohnston 591cff4b0d
fixed write_wave
3 years ago
alanbjohnston 09a3219592
removed all wifi code
3 years ago
alanbjohnston ac8d1e69af
fixed rotate
3 years ago
alanbjohnston fa46a12bf7
skip first time for SSTV
3 years ago
alanbjohnston 4b5d51d0ef
back to overlap on BPSK
3 years ago
alanbjohnston 683c0296af
2 us
3 years ago
alanbjohnston e58601341a
added 1 us delay in BPSK
3 years ago
alanbjohnston a38731763d
removed BPSK overlap
3 years ago
alanbjohnston 669d62b564
fixed transmit on/off for BPSK
3 years ago
alanbjohnston 980527f3dc
better start_camera
3 years ago
alanbjohnston 5fb8a3efd8
minor edits
3 years ago
alanbjohnston fe2334dfa2
stop SSTV if need to prompt, print config file with help, log callsign in CW
3 years ago
alanbjohnston 962d465959
added back pushbutton isr
3 years ago
alanbjohnston 3f5b03d4bf
removed extras
3 years ago
alanbjohnston 887e74c00b
added busy_wait_at_least_cycles(65) for 500 ns
3 years ago
alanbjohnston a169ced6af
missing {
3 years ago
alanbjohnston f7742ade0f
only print R if > 835, 833 for other
3 years ago
alanbjohnston 5312fdcbf1
don't print R Micros
3 years ago
alanbjohnston 38fbb4e02f
don't start button isr
3 years ago
alanbjohnston 79fd8135dc
only print when > 833
3 years ago
alanbjohnston 68c30d45a7
print micro 2
3 years ago
alanbjohnston dc744185af
moved while
3 years ago
alanbjohnston 9b7eb98a9b
changed to 832
3 years ago
alanbjohnston c0301f8f43
loop for micro_timer2 < 833
3 years ago
alanbjohnston 569eb56e26
removed R'
3 years ago
alanbjohnston 85666423ca
800
3 years ago
alanbjohnston c09e9cd6f3
819 to make less than 833
3 years ago
alanbjohnston debb5fbc47
added micro2 timer
3 years ago
alanbjohnston 138047a8b5
825
3 years ago
alanbjohnston 32e2cd9c2e
824
3 years ago
alanbjohnston 66788b4601
820 instead of 828
3 years ago
alanbjohnston ca22b1aa90
Always print R Micros in float
3 years ago
alanbjohnston 96a88a5b64
added v0.22
3 years ago
alanbjohnston 831735e372
remove PB prints
3 years ago
alanbjohnston ad595cf2e5
print pushbutton
3 years ago
alanbjohnston 104332deaa
write mode before CW ID
3 years ago
alanbjohnston c7afb2bffb
move all gpio pin config to config_gpio
3 years ago
alanbjohnston 9cf1643224
turn transmit off and on around transmit_callsign
3 years ago
alanbjohnston ab03f3a3aa
changed order in setup callsign then config
3 years ago
alanbjohnston 305416596d
v0.21 print
3 years ago
alanbjohnston f550fcd907
add prompt reset at start of reset
3 years ago
alanbjohnston d9b46c4b9e
added restart
3 years ago
alanbjohnston 0ff1fedb70
removed extra aprs prints
3 years ago
alanbjohnston 91aaaf1c5c
fixed AMSAT callsign rewrite
3 years ago
alanbjohnston 3ed34a33a0
changed mic=6
3 years ago
alanbjohnston 987318bac6
add prompt in the middle of CW
3 years ago
alanbjohnston 044113705c
added print for CW mode
3 years ago
alanbjohnston 35907a0c77
display temp
3 years ago
alanbjohnston 3d06e6bc7a
added diode temp prompt
3 years ago
alanbjohnston d2d69d17f8
added littlefs begin, serial begin
3 years ago
alanbjohnston 2999187b23
read_mode prints
3 years ago
alanbjohnston 3e5eff6d64
fixed create mode file
3 years ago
alanbjohnston 7f9b25dd8e
Update cubesatsim.ino
3 years ago
alanbjohnston 5db9ca8724
missing void
3 years ago
alanbjohnston ae9863da69
added read_mode and write_mode
3 years ago
alanbjohnston a6d541b01b
write after reading config file
3 years ago
alanbjohnston 172c6e0ba2
lots of fixes
3 years ago
alanbjohnston b470bcc9f2
added other config settings
3 years ago
alanbjohnston f89718926e
fixed callsign read
3 years ago
alanbjohnston f9405e69b8
fixed lat lon read
3 years ago
alanbjohnston 16955603c8
missing ;
3 years ago
alanbjohnston 919562174f
fixed callsign
3 years ago
alanbjohnston 10ca9c5950
create write_config_file and call for callsign
3 years ago
alanbjohnston 0ce13ef189
more file stuff
3 years ago
alanbjohnston 572d020605
file typos
3 years ago
alanbjohnston ed3fb1a343
added void read_config_file()
3 years ago
alanbjohnston 3fc4d13da6
try mic = 3
3 years ago
alanbjohnston 5a825eaa4a
set freq at 432.250 and mic=8
3 years ago
alanbjohnston 46b4b05686
skip PB
3 years ago
alanbjohnston ad5a1b3c10
typo )
3 years ago
alanbjohnston a686856bd7
increase ISR period for BPSK, print aprs packet
3 years ago
alanbjohnston 1ada1425de
added debug_mode test in CW mode
3 years ago
alanbjohnston 046400777c
added cw_stop = false in transmit_string to reset it
3 years ago
alanbjohnston 85c09e27c7
typo /
3 years ago
alanbjohnston 97835a5298
removed extra 3.3V pin write
3 years ago
alanbjohnston 6c3a06d5bc
force INA219 powering up
3 years ago
alanbjohnston de9deceddd
print PI_3V3 pin
3 years ago
alanbjohnston 440a939c0f
start of v0.2 for Pico v0.2 hardware
3 years ago
alanbjohnston 122d5ea64b
missing } at end
3 years ago
alanbjohnston 884749b406
added program_radio and also config radio for CW
3 years ago
alanbjohnston 4ef476272b
reset sample time after mode change. built in LED on/off for SSTV mode
3 years ago
alanbjohnston 3696b597c3
transmit LED on/off for CW ID
3 years ago
alanbjohnston 7a268c9dca
added payload reset
3 years ago
alanbjohnston e493eeac06
don't check 3.3V on Pico 0.1 board
3 years ago
alanbjohnston c2749f0e9e
print nothing if reading ina219 sensors with nothing there
3 years ago
alanbjohnston feb5b430ce
stray 3
3 years ago
alanbjohnston 6d6395a5b3
force 3.3V high
3 years ago
alanbjohnston 6c031e8227
Update cubesatsim.ino
3 years ago
alanbjohnston 2c6ca1ef60
force GPIO 9 high for ina219 read
3 years ago
alanbjohnston 8f4470d9e8
prints
3 years ago
alanbjohnston 7904c2a2f9
moved PICO_0V1 defines to .h
3 years ago
alanbjohnston f3a17a5760
cleanup
3 years ago
alanbjohnston 1c99305a21
start ina219 when simulated telemetry is turned off
3 years ago
alanbjohnston 4a9e7a1e44
added voltage_read for v prompt
3 years ago
alanbjohnston aa2c929ed2
typo in PICO_0V1
3 years ago
alanbjohnston 3847899e0e
added PICO_0V1 flag for v0.1 hardware
3 years ago
alanbjohnston 6e12443363
fix help menu
3 years ago
alanbjohnston 92fbdcd5d5
cleanup
3 years ago
alanbjohnston 04df085036
print input menu at start
3 years ago
alanbjohnston 2e0fd719aa
typo {
3 years ago
alanbjohnston cc64cef990
added camera_detected
3 years ago
alanbjohnston 8e30de7a53
changed to get_camera_image
3 years ago
alanbjohnston dabecd1238
get_image_file debugging
3 years ago
alanbjohnston b623059d34
Update cubesatsim.ino
3 years ago
alanbjohnston d90fcac9a6
removed .h
3 years ago
alanbjohnston 5718e5691f
Update cubesatsim.ino
3 years ago
alanbjohnston dacb6083eb
Update cubesatsim.ino
3 years ago
alanbjohnston 31269fb0cb
set filename to cam.jpg
3 years ago
alanbjohnston 56283ca0a8
added get_image_file();
3 years ago
alanbjohnston 2d03e67ff0
changed back to v0.2 hardware, added include for pico-get-jpeg-serial
3 years ago
alanbjohnston f1606a9e7a
test with v0.1 hardware
3 years ago
alanbjohnston 2470790976
added debug_mode to sstv
3 years ago
alanbjohnston 606c9f0bc6
debug mode sstv
3 years ago
alanbjohnston 85774ce5b3
fix destination
3 years ago
alanbjohnston c708e43110
changed debug to debug_mode
3 years ago
alanbjohnston 2bb650dcbb
added destination APCSS and debug for send_packet
3 years ago
alanbjohnston b3d335d5d1
missing )
3 years ago
alanbjohnston 70c992e70f
change debug to debug_mode
3 years ago
alanbjohnston f29764d1af
added v read ina219 sensors
3 years ago
alanbjohnston a1d870f3c6
config simulated telem when change, payload query
3 years ago
alanbjohnston 85d95b1508
implemented reset count
3 years ago
alanbjohnston 287cc59810
implemented debug mode
3 years ago
alanbjohnston 741cf588f0
misplaced }
3 years ago
alanbjohnston f493369050
added debug_mode and reset
3 years ago
alanbjohnston 3659bca574
\ typo
3 years ago
alanbjohnston 790d9310b9
changed icon
3 years ago
alanbjohnston 2d05f1b5dd
added 0 in lat sprintf
3 years ago
alanbjohnston e7f409a504
added set_lat_lon()
3 years ago
alanbjohnston 73a22cf889
added lat and lon to aprs
3 years ago
alanbjohnston 35eded0065
clear serial input buffer for multiple prompts
3 years ago
alanbjohnston f5d1665ba9
added longitude
3 years ago
alanbjohnston 9b54ddba7c
fixed variable initialization in case
3 years ago
alanbjohnston f058f585d3
missing }
3 years ago
alanbjohnston 933b146d5d
typo on float
3 years ago
alanbjohnston 6d21812e72
added latitude update
3 years ago
alanbjohnston c24ab5d0de
turned serial input on
3 years ago
alanbjohnston 354537bf2c
typos
3 years ago
alanbjohnston 46b6b20cd0
fixed (
3 years ago
alanbjohnston ec7b907148
fixed serial_string
3 years ago
alanbjohnston 4691e08843
again
3 years ago
alanbjohnston 1719241318
missing ;
3 years ago
alanbjohnston 9acdb2e472
added get_serial_char and simulated telemetry prompt
3 years ago
alanbjohnston a58a4f9a22
Merge pull request #180 from alanbjohnston/pico-camera-read-input-cw
3 years ago
alanbjohnston 4a94d0b83c
added CW mode change in serial input
3 years ago
alanbjohnston 2aa19f5104
AFSK TYPO
3 years ago
alanbjohnston e90129c802
set callsign immediately if in APRS mode
3 years ago
alanbjohnston 382d59163d
Merge branch 'pico-camera-read-input-cw' into pico-v0.11
3 years ago
alanbjohnston bf96672065
set callsign in APRS and rename send_packet to send_aprs_packet
3 years ago
alanbjohnston c74ce72f88
moved help out of isr
3 years ago
alanbjohnston 46e8523752
CW fixes to make input work reliably
3 years ago
alanbjohnston 8028a28252
take out serial_input query
3 years ago
alanbjohnston cfa24efd83
timeout 20 seconds
3 years ago
alanbjohnston a93341ba41
don't add /n or /r to string
3 years ago
alanbjohnston e7856f9b6a
move start button isr
3 years ago
alanbjohnston 8d02c152dc
fix strlen
3 years ago
alanbjohnston 7603e30bdb
removed sleep(5.0) after callsign
3 years ago
alanbjohnston 87d5c0cad2
only update callsign if length > 0
3 years ago
alanbjohnston 10280b4f88
print current callsign correctly
3 years ago
alanbjohnston b3d07b5f10
typo
3 years ago
alanbjohnston e836a2887b
print serial_string
3 years ago
alanbjohnston 98c1439a48
clear serial input buffer before prompt, change print to write
3 years ago
alanbjohnston 6b96b2c02f
try prompt == false
3 years ago
alanbjohnston b328e8398b
don't check for serial in isr if prompting for input
3 years ago
alanbjohnston 6a01186521
changed serial_input to serial_string
3 years ago
alanbjohnston 73a5bfc42c
add 0 to serial input string, fix strcpy
3 years ago
alanbjohnston 3e25f6e9fc
changed call to callsign
3 years ago
alanbjohnston b242ab6980
added get_serial_string
3 years ago
alanbjohnston ed20a2def8
added transmit_off when changing mode via serial input
3 years ago
alanbjohnston c378dba485
changed to if prompt
3 years ago
alanbjohnston 8567b9667b
change modes with input on AFSK, BPSK, SSTV
3 years ago
alanbjohnston 89db5d6d2a
changed prompt test
3 years ago
alanbjohnston b1d00dbd0f
added prompt variable
3 years ago
alanbjohnston d3547dd1f5
even shorter
3 years ago
alanbjohnston 810f69b043
shorter
3 years ago
alanbjohnston 4193d35f42
changed ISR back, made text shorter
3 years ago
alanbjohnston 1895b5f755
changed pushbutton ISR from 10 ms to 100 ms
3 years ago
alanbjohnston 194cf481de
shortened and removed blink
3 years ago
alanbjohnston 4ea2923e58
shorten text
3 years ago
alanbjohnston 7718a93ec0
added help
3 years ago
alanbjohnston 83bb75f9bb
ignore \n and \r inputs
3 years ago
alanbjohnston fc56806d4e
change serial to 115200
3 years ago
alanbjohnston b6885404cf
missing }
3 years ago
alanbjohnston 4ef6e132da
typo
3 years ago
alanbjohnston 2d9f0a03ee
syntax
3 years ago
alanbjohnston 008c0889e0
added serial_input() and switch
3 years ago
alanbjohnston 3c4388a5fe
serial1 typo
3 years ago
alanbjohnston 0f28427e49
added serial.read in TimerHandler1
3 years ago
alanbjohnston 0f559e6167
took out Pico W again
3 years ago
alanbjohnston 9592578b74
try W again
3 years ago
alanbjohnston 16bb549c5b
don't turn transmit_on for SSTV, turn blue LED on/off
3 years ago

Powered by TurnKey Linux.