Commit graph

218 commits

Author SHA1 Message Date
1a39c5902e Start switching over to simple-mqtt-client, but it's not finished yet 2019-07-04 20:53:00 +01:00
e3a667cb69 Implement the ttn client connection, but it throws a syntax error. 2019-07-04 17:18:38 +01:00
4cff3cea91 Remove settings.toml from git repo.
It was committed by accident.
2019-07-04 16:24:41 +01:00
135c7694f8 Default to a frame counter of 0 2019-07-02 14:07:11 +01:00
3251a1d4a2 Print transmit frame sequence counter to serial console 2019-07-02 13:06:27 +01:00
c7012c621d Persist the frame counters in EEPROM
....but we don't initialise it to a value if it hasn't been written to 
yet.
2019-07-02 12:58:55 +01:00
6763a5e66e Split housing & lid for easier 3d printing 2019-07-01 17:49:04 +01:00
5e39b0e9c4 Update .gitignore 2019-07-01 15:49:51 +01:00
1fbd864af8 Merge branch 'master' of git.starbeamrainbowlabs.com:sbrl/Msc-Summer-Project 2019-07-01 15:05:03 +01:00
d65462b8aa Adjust the housing based on expert feedback from Mike 2019-07-01 15:04:45 +01:00
97a89ebf02 Add small debug message 2019-07-01 12:33:57 +01:00
a24fd9894c Add todo note 2019-06-28 14:11:25 +01:00
eb3f377d28 Make ENABLE_RADIO debug symbol actually do something 2019-06-28 14:04:21 +01:00
1bbb1fe535 Comment out ram monitoring code with macro 2019-06-28 14:02:44 +01:00
40f4e9130b Rewrite to use TinyGPS instead of TinyGPS++, but it's still not small enough! 2019-06-28 13:57:39 +01:00
04cc89ea50 Build the raw byte message ahead of transmitting it 2019-06-28 13:34:30 +01:00
34bee82abe Add TinyGPS as it's got a smaller program size then TinyGPS++
The intent is to switch TinyGPS++ out for TinyGPS (it's predecessor)
2019-06-28 13:34:13 +01:00
35b2dd447c Add automatic library configuration to build setup task 2019-06-28 13:33:16 +01:00
3e3f0b6bb3 microSD card writing is now functional. Hooray :D 2019-06-27 17:26:22 +01:00
4e6da5604e Don't use gps.time unless we're in debug mode 2019-06-27 16:28:28 +01:00
5b4b36ddad Refactor gps a teeny bit 2019-06-27 16:27:33 +01:00
bbf12da323 Fix compilation warnings 2019-06-27 15:58:01 +01:00
18342c55fc Finish SdFat refactor, but it's untested. 2019-06-27 15:49:39 +01:00
151b9544f2 Add todo note 2019-06-26 19:34:29 +01:00
cf2af7668e Start replacing SD with SdFat, but it's not finished yet 2019-06-26 18:08:42 +01:00
a29fba2fa2 It's the SD card library that's using all our RAM! 2019-06-26 16:28:35 +01:00
35995fda3a Refactor gps system again to save memory 2019-06-26 15:59:49 +01:00
bdf9d4dd16 Extensively refactor to reduce resource usage.
Looks like LMIC is still an issue though :-/
2019-06-26 15:46:07 +01:00
130697395b Fill out the rest of the data management plan thingy 2019-06-26 11:43:57 +01:00
159a87db17 Reduce memory usage 2019-06-24 15:47:00 +01:00
b779d16690 Weave LMIC into the main sketch, but its now made it too big :-/ 2019-06-24 15:43:04 +01:00
6c6d210ed1 Write initial data management plan 2019-06-24 15:32:26 +01:00
1cf542adcd Fix seriously nasty linking errors 2019-06-24 14:47:14 +01:00
6a203233fd Fix compilation errors 2019-06-24 14:31:33 +01:00
18ba73c99b [iot/main] Fix compilation errors 2019-06-24 14:27:22 +01:00
b9122f99f0 Rename test program 2019-06-24 14:12:04 +01:00
b0f4b56c32 Create moar lmic test programs 2019-06-24 14:11:31 +01:00
cda73e37ce Start working on integrating LMIC into the main program, but there are lots of bugs. 2019-06-24 13:52:33 +01:00
31a372e641 Add explicit chip select thingy 2019-06-24 11:58:59 +01:00
9c65f1e588 Add example ttn test config file 2019-06-21 17:11:44 +01:00
bfbcde4619 Add old lmic library 2019-06-21 17:08:34 +01:00
1591011e33 Remove new lmic library submodule 2019-06-21 17:07:55 +01:00
74d09eac05 Update TTN LoRaWAN test script 2019-06-21 17:04:48 +01:00
1fc4257110 Create LoRaWAN TTN ABP test program, but it needs some debugging. 2019-06-21 14:59:57 +01:00
a4f8ad6138 Start working on a debug program to test battery life, but it's not finished yet 2019-06-20 13:56:08 +01:00
79adeef737 Implement initial power management functions.
Next up, we need to test it to see how long it'll last on a battery.
2019-06-20 12:23:09 +01:00
6a0b3b8a48 Revise ethics form thingy again based on feedback from John Dixon 2019-06-19 16:54:28 +01:00
cb635c92f0 Export circuit diagram to png 2019-06-18 16:27:31 +01:00
c19bc7a0db Model lid 2019-06-18 16:27:13 +01:00
921f6479aa Move circuit diagram to centre-ish of page 2019-06-18 16:26:17 +01:00