====== AH5 ====== * [[https://www.ukhas.net/nodeInfo?id=133|AH5 Data]] ===== Location ===== * In window facing NW ===== Components ===== * 3* Solar panels in 3d Printed Case (in parallel) * 2* NiMh 2000mAh AA * Diode * NCP1400 3.3v Stepup * Moteino (with RFM69HW) ===== Design ===== Solar panels --> diode --> NiMh cells --> Stepup --> Moteino ===== Setup ===== * Running adapted arduino_repeater #ifdef AH5 // Solar -> diode -> NimH 2xAA 2000mAh -> 3.3v stepup -> moteino // Last flashed 27/1/15 char id[] = "AH5"; #define LOCATION_STRING "51.357,1.020" byte num_repeats = '3'; //The number of hops the message will make in the network #define BEACON_INTERVAL 30 // Beacon Interval in seconds uint8_t rfm_power = 20; // dBmW #define SENSITIVE_RX // Enables TESTLNA_SENSITIVE #define ENABLE_BATTV_SENSOR // Comment out to disable, you must also disable zombie mode #define BATTV_PIN A3 //ADC 0 - Battery Voltage, scaled to 1.1V #define BATTV_FUDGE 310 // Battery Voltage ADC Calibration Factor // Power Saving #define ENABLE_ZOMBIE_MODE // Comment this out to disable #define ZOMBIE_THRESHOLD 1.5 // Lower Voltage Threshold #define ENABLE_UART_OUTPUT // UART output of packets and rssi, used for gateways #define ENABLE_RSSI #ifdef ENABLE_BATTV_SENSOR float sampleBattv() { // External 4:1 Divider return ((float)analogRead(BATTV_PIN)/BATTV_FUDGE); //return ((float)analogRead(BATTV_PIN)); } #endif #endif