Hello, I've changed the IR setting to 0x32 * 1ms (=50ms) on the XBee Series 2. I couldn't find TX IT setting in the xctung XBee configuration application, so I don't know how to increase the samples per packet.
Instead, I've implemented logic so that 20 packets are collected, mimicking the ~20 samples per packet Lady Ada was collecting. Her logic is here:
Code: Select all
sensor_reading: {'analog_samples': [[1023, 1023], [462, 1023], [1023, 890], [634, 1023], [1023, 902], [1023, 1023], [852, 1023], [1023, 1023], [466, 1023], [1023, 851], [831, 1023], [1023, 955], [1023, 1023], [722, 1023], [1023, 1016], [658, 1023], [1023, 872], [1021, 1023], [1023, 1020], [1023, 1023]], 'avgwatt': 19090.239089184062, 'avgamp': 35.80265654648957}
sensor_reading: {'analog_samples': [[579, 1023], [1023, 1023], [615, 1023], [1023, 877], [1023, 1023], [603, 1023], [1023, 1023], [471, 1023], [1023, 858], [1022, 1023], [1023, 1013], [1023, 1023], [633, 1023], [1023, 1023], [547, 1023], [1023, 864], [1023, 1023], [770, 1023], [1023, 1023], [467, 1023]], 'avgwatt': 19027.388994307403, 'avgamp': 36.46679316888045}
sensor_reading: {'analog_samples': [[1023, 881], [743, 1023], [1023, 908], [1023, 1023], [1023, 1023], [1023, 1023], [696, 1023], [1023, 1023], [467, 1023], [1023, 917], [608, 1023], [1023, 947], [1023, 1023], [930, 1023], [1023, 1023], [466, 1023], [1023, 856], [1023, 1023], [899, 1023], [1023, 1023]], 'avgwatt': 19899.370018975336, 'avgamp': 36.52751423149905}
sensor_reading: {'analog_samples': [[488, 1023], [1023, 858], [1023, 1023], [785, 1023], [1023, 1023], [626, 1023], [1023, 873], [998, 1023], [1023, 1013], [1023, 1023], [597, 1023], [1023, 952], [780, 1023], [1023, 936], [1023, 1023], [630, 1023], [1023, 1023], [544, 1023], [1023, 847], [1023, 1023]], 'avgwatt': 22829.965844402283, 'avgamp': 35.78747628083491}
sensor_reading: {'analog_samples': [[999, 1023], [1023, 1023], [526, 1023], [1023, 970], [692, 1023], [1023, 896], [1023, 1023], [903, 1023], [1023, 1023], [508, 1023], [1023, 865], [861, 1023], [1023, 943], [1023, 1023], [550, 1023], [1023, 1023], [500, 1023], [1023, 844], [1023, 1023], [910, 1023]], 'avgwatt': 20366.106261859582, 'avgamp': 36.022770398481974}
sensor_reading: {'analog_samples': [[1023, 1023], [469, 1023], [1023, 956], [594, 1023], [1023, 871], [1023, 1023], [952, 1023], [1023, 1023], [592, 1023], [1023, 967], [568, 1023], [1023, 929], [1023, 1023], [631, 1023], [1023, 963], [745, 1023], [1023, 1019], [1023, 1023], [614, 1023], [1023, 1023]], 'avgwatt': 19248.43263757116, 'avgamp': 36.64516129032258}
sensor_reading: {'analog_samples': [[468, 1023], [1023, 859], [960, 1023], [1023, 1005], [1023, 1023], [667, 1023], [1023, 1023], [467, 1023], [1023, 893], [651, 1023], [1023, 885], [1023, 1023], [707, 1023], [1023, 1023], [454, 1023], [1023, 910], [590, 1023], [1023, 862], [1023, 1023], [900, 1017]], 'avgwatt': 18341.878557874763, 'avgamp': 35.51802656546489}
sensor_reading: {'analog_samples': [[1023, 1023], [482, 1023], [1023, 943], [796, 1023], [1023, 1009], [1023, 1023], [775, 1023], [1023, 1023], [457, 1023], [1023, 864], [943, 1023], [1023, 979], [1023, 1023], [832, 1023], [1023, 1023], [464, 1023], [1023, 877], [1023, 1023], [831, 1023], [1023, 1023]], 'avgwatt': 19325.085388994303, 'avgamp': 36.60721062618595}
sensor_reading: {'analog_samples': [[456, 1023], [1023, 865], [865, 1023], [995, 1023], [1023, 1023], [685, 1023], [1023, 970], [574, 1023], [1023, 986], [1023, 1023], [715, 1023], [1023, 1023], [460, 1023], [1023, 916], [816, 1023], [1023, 965], [1023, 1023], [785, 1023], [1023, 1023], [607, 1023]], 'avgwatt': 19368.12144212524, 'avgamp': 36.72106261859582}