Commit Graph

815 Commits (b51018b998bacfd52c97a2badaef5adc9801ae44)

Author SHA1 Message Date
alanbjohnston 64cff2c6c5
Update main.c
7 years ago
alanbjohnston be25eb5d88
two's c
7 years ago
alanbjohnston 854d1ca980
Update main.c
7 years ago
alanbjohnston 8a3ad9a14f
Update main.c
7 years ago
alanbjohnston aefe4c9469
3 step
7 years ago
alanbjohnston f233dfb837
Update main.c
7 years ago
alanbjohnston 51868dc739
Update main.c
7 years ago
alanbjohnston 29cd1da1c7
3 steps
7 years ago
alanbjohnston cbfa6829c4
printf in 3 values
7 years ago
alanbjohnston d40e214b39
revert
7 years ago
alanbjohnston 55d68e0b10
uint8_t
7 years ago
alanbjohnston ffcaff8c2d
another change
7 years ago
alanbjohnston 1ac88664e0
changing ints
7 years ago
alanbjohnston d8a28a9179
fixed fd in write
7 years ago
alanbjohnston 053a867ebd
added register write
7 years ago
alanbjohnston 221df1fe09
typo
7 years ago
alanbjohnston b3be894747
added printf to see values
7 years ago
alanbjohnston faa41d1c35
defined value and value2
7 years ago
alanbjohnston a5dcb9b2cb
fixed int16_t for current calc
7 years ago
alanbjohnston 7d06c94372
switched to two wiringPiI2CRead 8 bit reads instead of 16 bit read
7 years ago
alanbjohnston c23c37ac21
type in unit16_t
7 years ago
alanbjohnston d3a321fda1
added int16_t to current I2CRead
7 years ago
alanbjohnston 7d963a0c0c
added (float) to current divider and power multiplier
7 years ago
alanbjohnston 0da6174626
formatting cleanup
7 years ago
alanbjohnston b6b7cc235c
print formatting
7 years ago
alanbjohnston ed5d4844e5
fixed printf formatting
7 years ago
alanbjohnston 001eb01124
typo fix
7 years ago
alanbjohnston eb884ce0e6
cleanup of commented out code
7 years ago
alanbjohnston cb9d4609da
always get voltage and power, cleanup
7 years ago
alanbjohnston fa4850f555
added 2x multiply to fix current values
7 years ago
alanbjohnston 6816d503b5
changed data.config from Adafruit Lib
7 years ago
alanbjohnston a84d5297ee
typos
7 years ago
alanbjohnston 69d4f1a6a7
fixed typos in config function
7 years ago
alanbjohnston 589a817982
added 400mA and 2A configurations
7 years ago
alanbjohnston 86687fea6e
fixed compiler warnings
7 years ago
alanbjohnston 47e2d82e04
fixed x_fd in function call
7 years ago
alanbjohnston 8c591373ca
added sensor reading to the read_sensor_data function
7 years ago
alanbjohnston 278f79d7c8
fixed typos
7 years ago
alanbjohnston 8ea8eaffb5
fixed references to data struct
7 years ago
alanbjohnston 87332dc6a2
fixed initialization of struct
7 years ago
alanbjohnston 025e6effb7
created config structure
7 years ago
alanbjohnston 5fef435df2
Merge branch 'ina-struct' into refactor-i2c-reading-code
7 years ago
alanbjohnston 61240b40ec
changed to all sensor[] tlm
7 years ago
alanbjohnston 8db31fc5c3
commented out readcurrenty.py call
7 years ago
alanbjohnston e6fd3b3dca
changed order of current and bus reading to match old code
7 years ago
alanbjohnston f2260ebc63
commented out last of x_fd, y_fd, and z_fd
7 years ago
alanbjohnston 1171effa92
disable old code to test new code
7 years ago
Alan Johnston 3998bc3165 -X, -Y, and -Z voltage working!
7 years ago
alanbjohnston b10a98064a
fixed value type
7 years ago
alanbjohnston 6d2b7ae798
reverted bus switch, testing new busVolts calculation
7 years ago
alanbjohnston de2c89411d
turning off master code i2c-1 read as a test
7 years ago
alanbjohnston ee45b62175
switched master code from 1 to 0 to test
7 years ago
alanbjohnston 29522b3220
changed to %+4.2f for sign alignment
7 years ago
alanbjohnston 57112c38b1
Changed -1 to OFF
7 years ago
alanbjohnston eb6cff57d8
fixed x_voltage, x_power definitions
7 years ago
alanbjohnston 0427a73b1e
commented out unneeded #defines
7 years ago
alanbjohnston accfbe7747
fixed #DEBUG LOGGING of x_fd, y_fd, and z_fd
7 years ago
alanbjohnston 52a9087bf0
reconfigures power and voltage to eliminate no debug compiler warnings
7 years ago
alanbjohnston 03261b9cfe
added missing #ifdef DEBUG_LOGGING around printfs
7 years ago
alanbjohnston 09bc98a60a
got rid of "sensnsor"
7 years ago
alanbjohnston eddd071771
changed temp printf
7 years ago
alanbjohnston b9b8d7e826
fixed V printf
7 years ago
alanbjohnston e46e82f18a
cleanup of V, mA, and mW printfs
7 years ago
alanbjohnston 17d99e839b
added x_voltage, y_voltage, and z_voltage readings
7 years ago
alanbjohnston 1addf19abc
changed to all I2C telemetry
7 years ago
alanbjohnston 235fd7d6dd
removed debug ina219[] printf
7 years ago
alanbjohnston 4babd58712
fixed printf
7 years ago
alanbjohnston e87ea997f0
fixed config and x_power from master
7 years ago
alanbjohnston 6b73a5a8ee
x_calValue cleanup with code from master
7 years ago
alanbjohnston ab7e10a6d6
putting back master code for x_fd, y_fd, and z_fd
7 years ago
alanbjohnston 58eadd263e
changed printf for sensor data
7 years ago
alanbjohnston 8d5ecd3633
fixed debug loging warning
7 years ago
alanbjohnston 58419e72a4
Update main.c
7 years ago
alanbjohnston 9877a9caf1
replaced INA219_CONFIG_GAIN_8_320MV
7 years ago
alanbjohnston 9fc67b8e39
removed ina219.h since replaced by Adafruit
7 years ago
alanbjohnston 4a9c9f97c7
fixed location of Adafruit_INA219.h
7 years ago
alanbjohnston 6c495cd29c
added #include "Adafruit_INA219/Adafruit_INA219.h"
7 years ago
alanbjohnston 397ba72eaf
cleanup of x_fd printfs
7 years ago
alanbjohnston 28353dd3de
switched x_fd to wireReadRegister
7 years ago
alanbjohnston 1fd7a2f0de
Update main.c
7 years ago
alanbjohnston f7aa30efee
fixed x_fd, cleanup of rest
7 years ago
alanbjohnston c979313e9f
Compiling now, no -x, -y, or -z current; removed CALLSIGN
7 years ago
alanbjohnston ea059afeb6
Update main.c
7 years ago
alanbjohnston 9b31ba1370
commented out arduinoI2C
7 years ago
alanbjohnston 4f031fa813
commented out extra curly bracket
7 years ago
alanbjohnston ff183d7378
Update main.c
7 years ago
alanbjohnston bd5b35c784
renamed config to x_config
7 years ago
alanbjohnston 69c459d293
Update main.c
7 years ago
alanbjohnston 35701f1e01
Merge branch 'test-merge' into i2c_ina219
7 years ago
Alan Johnston 83cec35671 frequency set to 434.9 MHz
7 years ago
Alan Johnston a88e52af5a callsign added via command line argv[1]
7 years ago
alanbjohnston 2bbd6a3116
Update main.c
7 years ago
alanbjohnston b645db5d5d
Update main.c
7 years ago
alanbjohnston e06842a698
Update main.c
7 years ago
alanbjohnston 1141fe958d
Update main.c
7 years ago
alanbjohnston f308d5d4eb
added command line Callsign
7 years ago
alanbjohnston f7fdbc20cb
fixed source and dest callsign printf issue
7 years ago
alanbjohnston 3e18c22cd1
Update main.c
7 years ago
alanbjohnston 671a359432
Update main.c
7 years ago
alanbjohnston 3480dfd501
added callsign and telem printf
7 years ago
alanbjohnston 78499e72d9
removed last printf
7 years ago
alanbjohnston 568bab80e1
Fixed missing / in /dev/i2c-0
7 years ago
alanbjohnston c8db1e4f62
Added #ifdef DEBUG_LOGGING around all non-error printfs
7 years ago
alanbjohnston 799fd71444
Merge branch 'next-version' into code-cleanup
7 years ago
Jacob McLemore 2bfa17abfd Fix indentation in read_sensor_data
7 years ago
jmclemo6 73675b2f9f Change i2c sensor reading code to use the read_sensor_data function
7 years ago
jmclemo6 a59e0c3088 Add function and struct to read sensor data.
7 years ago
alanbjohnston 4bbdddddd9
Update main.c
7 years ago
alanbjohnston fbf6fa8c0c
Update main.c
7 years ago
alanbjohnston cd14848514
Update main.c
7 years ago
alanbjohnston 16cd676459
Update main.c
7 years ago
alanbjohnston f720278ce4
Update main.c
7 years ago
alanbjohnston f6a0888126
Update main.c
7 years ago
alanbjohnston ed6452ed25
Update main.c
7 years ago
alanbjohnston b24d1fcf83
Update main.c
7 years ago
alanbjohnston 0a36cc2f07
Update main.c
7 years ago
alanbjohnston 89f794331e
Update main.c
7 years ago
alanbjohnston b1f6e12f53
Update main.c
7 years ago
alanbjohnston 0c6805f1cd
Update main.c
7 years ago
alanbjohnston 0d51b46465
Update main.c
7 years ago
alanbjohnston 61c3790ad3
Update main.c
7 years ago
alanbjohnston 5d3131276e
Update main.c
7 years ago
alanbjohnston e4cbde2f88
Update main.c
7 years ago
alanbjohnston b893833d6c
Update main.c
7 years ago
alanbjohnston d6e1eceb5c
Update main.c
7 years ago
alanbjohnston 341356bf33
Update main.c
7 years ago
alanbjohnston 96d3b910a1
Update main.c
7 years ago
alanbjohnston 34481f4eb4
Update main.c
7 years ago
alanbjohnston 9e0e42617e
added calls to Adafruit_INA219 libs
7 years ago
Alan Johnston 2d8d802da5 testing c code not working
7 years ago
Alan Johnston b1ae87aa5e added CPU temp sensor to tlm
7 years ago
alanbjohnston 40c5f4ea27
Fixed callsign
7 years ago
alanbjohnston 38fcb96a03
fixed -Z telem bug
7 years ago
alanbjohnston df85a9440f
fixed -Z current bug
7 years ago
jmclemo6 3dbf81adf8 Change open calls to access
7 years ago
jmclemo6 55660e29fb Refactor afsk/main.c to have better formatting and use ifdef guards instead of commenting out logging.
7 years ago
jmclemo6 cc872f923b Change for loop to memset
7 years ago
Alan Johnston 7118098894 set channel to 0
7 years ago
Alan Johnston ba678c5625 tx_freq_hz sets frequency and tx_channel sets channel -50k step
7 years ago
Alan Johnston d81fff6df9 Arduio 4 register telemetry transmitted if present
7 years ago
Alan Johnston 7761aec9e9 started adding arduino telemetry
7 years ago
Alan Johnston 017a4b8960 fixed AX.25 header PID from 0x0f to 0xf0
7 years ago
alanbjohnston 3d4ad40a54
Changed Arduino I2C address to 0x4B
7 years ago
Alan Johnston 60e9a1da91 modified
7 years ago
alanbjohnston ab6e7b087c
turned on transmit again
7 years ago
alanbjohnston 60b548ba31
Update main.c
7 years ago
alanbjohnston cabbeb6ce3
Update main.c
7 years ago
alanbjohnston 9625b4943f
reactivated tlm
7 years ago
alanbjohnston 201ae20f67
Merge branch 'master' into i2c_ina219
7 years ago
Alan Johnston 007fada311 trying to find lockup - everything disabled
7 years ago
alanbjohnston 0b352d75ec
changed 1000 to 999 in fgets
7 years ago
Alan Johnston d9201fe636 changed 1000 to 999 on fgets
7 years ago
Alan Johnston 7918b87f2a i2c reg read from arduino payload
7 years ago
alanbjohnston a0437b6a74
Update main.c
7 years ago
alanbjohnston 66132de2f5
fixed i2c bus check for arduino
7 years ago
alanbjohnston 6bbc0ba496
check i2c-0 before using
7 years ago
Alan Johnston 43a44bccb2 Merge branch 'i2c_ina219' of http://github.com/alanbjohnston/CubeSatSim into i2c_ina219
7 years ago
Alan Johnston 91650f75ca blinking LED using WiringPi
7 years ago
alanbjohnston 725a9c4e9b
added -Z
7 years ago
Alan Johnston 8711c75523 removed sleep and readdata tab spacing:
7 years ago
Alan Johnston 9e53199bd3 updates
7 years ago
alanbjohnston 01e557a5d0
fixed current and y_current calculation
7 years ago
alanbjohnston 351ba53514
fixed y_current
7 years ago
alanbjohnston 601aa8ff10
Changed 1C, 1D, 2A, and 2B telemetry values transmitted
7 years ago
alanbjohnston b1d399ef9a
read i2c sensors
7 years ago
alanbjohnston e1f34d2480
i2c open for X- and Y-
7 years ago
alanbjohnston b2ceca87a5
added ina219.h
7 years ago
Alan Johnston bd0fcb40e9 30 second delay plus output cleanup
7 years ago
Alan Johnston 3a27d60cc0 boot autorun working with sleep
7 years ago
Alan Johnston c4bd8d09dd yellow LED blinks on transmit on charging
7 years ago
alanbjohnston c18174271b
Update main.c
7 years ago
alanbjohnston 702c2f0fd0
Update main.c
7 years ago
alanbjohnston 4e1562c894
added back MoPower telemetry reading
7 years ago
Alan Johnston 84320aa446 added callsign
7 years ago
Alan Johnston 04664c8939 changes
7 years ago
alanbjohnston 87b7189801
Update main.c
7 years ago
alanbjohnston 8eba7e9bb4
switched 1C and 1D to agree with schematic
7 years ago
Alan Johnston 51a9f8136e updates
7 years ago
Alan Johnston 5b5de2d31b detecting i2c bus
7 years ago
Alan Johnston 2e1343b8b7 tempSensor -1 check and abs(tlm[3][A]
7 years ago
alanbjohnston b4b5f02e82
Update main.c
7 years ago
alanbjohnston af9a70b244
more cleanup
7 years ago
alanbjohnston a356090fa5
cleanup
7 years ago
alanbjohnston a27b65e6ee
Now with temp sensor
7 years ago
alanbjohnston bb8694f826
Update main.c
7 years ago
alanbjohnston 889176dbde
Update main.c
7 years ago
alanbjohnston 9759c5ec0a
Update main.c
7 years ago
alanbjohnston 005e45ae55
Transmitting AFSK again!
7 years ago
alanbjohnston bed69c5ae7
Update main.c
7 years ago
alanbjohnston 51707a02b6
Update main.c
7 years ago
alanbjohnston 271f4fa6b2
Update main.c
7 years ago
alanbjohnston f5f037fec7
Update main.c
7 years ago
alanbjohnston 5c25fdf7f0
Update main.c
7 years ago
alanbjohnston 2f531c0d52
Update main.c
7 years ago
alanbjohnston 8cd330abe6
Update main.c
7 years ago
alanbjohnston bf723ccd64
Update main.c
7 years ago
alanbjohnston 9030a1e187
Update main.c
7 years ago
alanbjohnston 5c0ee8e332
Update main.c
7 years ago
alanbjohnston d8c90e6dad
Update main.c
7 years ago
alanbjohnston 3dea7e12e0
Update main.c
7 years ago
Alan Johnston a9ce6fef39 ina reading but not in tlm yet
7 years ago
alanbjohnston 2ca3ec5777
Update main.c
7 years ago
alanbjohnston 998802ab40
Update main.c
7 years ago
alanbjohnston 433ec31dc1
Update main.c
7 years ago
alanbjohnston f1b9561a7c
Update main.c
7 years ago
Alan Johnston fd0b32d23e current sensors
7 years ago
Alan Johnston 033375badb 13 channels of tlm including temperature
7 years ago
Alan Johnston f5b50cb71c 10 channels of TLM working
7 years ago
Alan Johnston 7747856f2e tlm 2c and 3a working
7 years ago
Alan Johnston 04ab418df7 sending 3a tlm
7 years ago
Alan Johnston c28d24e541 added MoPower TLM query
7 years ago
alanbjohnston b4368401e4
Update main.c
7 years ago
alanbjohnston 66f9a5fb7e
Update main.c
7 years ago
alanbjohnston 442e2d82aa
Update main.c
7 years ago
Alan Johnston bd8c49fb7f Adding my copy of AFSK 1200 X.25
7 years ago

Powered by TurnKey Linux.