Compare commits

..

14 commits

Author SHA1 Message Date
Justin Lewis Salmon
f59f562b53 Merge pull request #3 from jlsalmon/master
Rename packet variables to be human-readable
2016-05-10 16:38:46 +02:00
Justin Lewis Salmon
fc797e1dda Removed unnecessary packets 2016-05-09 23:58:05 +02:00
Justin Lewis Salmon
63b5a38302 Updated documentation 2016-05-09 23:55:22 +02:00
Justin Lewis Salmon
b12b953106 Rename packet variables to be human-readable 2016-05-09 23:45:10 +02:00
Justin Lewis Salmon
71d58103f1 Update README.md 2016-05-06 19:34:36 +02:00
e47a1fe05b Renamed geo_cosmic_pi.ino -> cosmicpi-arduino.ino, removed python code that now lives in the cosmicpi-daq repo 2016-05-06 19:30:22 +02:00
Justin Lewis Salmon
9d19a102b7 Update README.md 2016-05-06 19:26:18 +02:00
Justin Lewis Salmon
a27f481795 Create README.md 2016-05-06 19:24:01 +02:00
Justin Lewis Salmon
e4682e8aac Delete pi-server.py 2016-05-06 19:20:41 +02:00
Julian Lewis
d36099db37 Added this file, you need it. GPS check 2016-05-06 19:12:03 +02:00
Julian Lewis
af3e44c522 Added GPS check 2016-05-06 19:11:10 +02:00
d18a147ba5 Create pinout.text
pinouts for arudino
2016-05-06 18:55:57 +02:00
198021db5a updated files for main arduino programme, uses new SerialUSB method.
Still porting functionality from Julian's code
Needs more work and testing!
2016-04-24 21:38:25 +02:00
a3a422fd41 Updated the event timing functionality to remove the need for a diode.
Summary of new functionality:
Upon event interrupt, the current value of the TC0 counter is pushed to the counter buffer.
The TC2 status (interrupt unlatch) is reset at the end of the interrupt call.
Running it to test the GPS accuracy, we've got a fixed offset of 54 clock counts, variation up to +2 counts.
2016-04-23 17:02:48 +02:00
6 changed files with 2213 additions and 357 deletions

View file

@ -24,7 +24,7 @@
#include "Adafruit_10DOF.h"
//#define PI (3.14159265F);
#define PI (3.14159265F);
/***************************************************************************
PRIVATE FUNCTIONS

6
README.md Normal file
View file

@ -0,0 +1,6 @@
# cosmicpi-arduino
The firmware must be in a file called `cosmicpi-arduino.ino` in this directory in order to
make the Arduino IDE happy.
The Adafruit libraries here have been modified.

1107
cosmicpi-arduino.bak Normal file

File diff suppressed because it is too large Load diff

View file

@ -1 +0,0 @@
cosmicpi-arduino.ino

File diff suppressed because it is too large Load diff

35
pinout.text Normal file
View file

@ -0,0 +1,35 @@
Accelerometer:
VIN > 5V
GND > GND
SCL > SCL 21
SDA > SDA 20
GINT> Digital 10
GPS:
FIX > Digital 2 if there is no GPS coverage
TX > RX1 19
RX > TX1 18
GND > GND
VIN > 5V
PPS > Digital 2 if there is GPS coverage
Humidity:
VIN > 5V
GND > GND
SDA > SDA1
SCL > SCL1
Maxim evaluation board:
VIN > 3.3V
GND > GND
CL > N/C
DIN > SPI 4 (dot is 1, counting left to right)
SCLK> SPI 3
CS > Digital 52
ADC in:
CHA > Analog 6
CHB > Analog 7
Trigger:
TRG > Digital 5 (can be connected to PPS or FIX if there is no trigger signal available)