Thomas Mørch
726ee7d5ff
Unified bool "return" type (set/get) to use "byte" (uint8_t)
2015-12-19 11:41:14 +01:00
Thomas Mørch
dd48fabdbf
Merge branch 'samd' of github.com:tbowmo/Arduino into samd
2015-12-19 10:35:13 +01:00
Thomas Mørch
148dd78ca7
Added set(bool), to avoid typecasting on samd arch
2015-12-19 10:34:40 +01:00
Thomas Mørch
9e929f4247
Added set(bool), to avoid typecasting on samd arch
2015-12-19 10:33:43 +01:00
Thomas Mørch
5df6fc0af2
ar compiler pattern deprecated in arduino 1.6.6
2015-12-19 00:03:10 +01:00
Thomas Mørch
be2c89a200
snprintf_P missing in arduino core for samd, so have a local macro
2015-12-18 23:51:45 +01:00
Thomas Mørch
e7b6e636ba
Corrected sleep functions after @tekka changed definitions in MyHw.h
2015-12-10 22:08:20 +01:00
Thomas Mørch
1db2c08d12
added initializers for variables needed on AVR platform
2015-12-10 21:26:08 +01:00
Thomas Mørch
62f9d9e654
Updated core atsha204 driver for avr/samd compatability, renamed macro names in fat library
2015-12-10 17:24:58 +01:00
Thomas Mørch
e2f45251a0
Bringing back AVR specific code, for time critical operations
2015-12-10 17:11:37 +01:00
Thomas Mørch
9ba8a9ba99
Corrected port pin number for arduino pin 0
2015-12-09 22:02:33 +01:00
Thomas Mørch
396a5fe5b0
converted (fat) sha204 to use standard arduino cmds for pin handling
2015-12-08 21:12:57 +01:00
Thomas Mørch
3edde2af17
Removed dupplicate line in comment section
2015-12-07 22:44:44 +01:00
Thomas Mørch
da75b3d1be
Merge branch 'samd-rework' of github.com:tbowmo/Arduino into samd-rework
2015-12-06 23:18:10 +01:00
Thomas Mørch
5b3fac51cc
Changed HW signing (atsha204) to be SAMD compatible
2015-12-06 23:16:44 +01:00
Thomas Mørch
c62aca4125
Added ethernet module to local hardware instance, since we have to hack it a bit in order to move it to alternative SPI port
...
Removed Wire and SAMD_AnalogCorrection libraries from HW section, as we didn't change anything in those, so let's keep it to the standard ones
Modified SPI library, initializing extra SPI ports, also HW mux changes in the setup of individual SPI ports to match the GW setup
Added MyHWSAMD files so they are included in the core headers (MyConfig.h / MySensors.h)
2015-12-06 23:16:44 +01:00
Thomas Mørch
e229e21d0e
Initial commit for SAMD compatability
2015-12-06 23:16:44 +01:00
Thomas Mørch
b045b39d4a
Changed HW signing (atsha204) to be SAMD compatible
2015-12-06 23:12:58 +01:00
Thomas Mørch
4eca08c6bb
Added ethernet module to local hardware instance, since we have to hack it a bit in order to move it to alternative SPI port
...
Removed Wire and SAMD_AnalogCorrection libraries from HW section, as we didn't change anything in those, so let's keep it to the standard ones
Modified SPI library, initializing extra SPI ports, also HW mux changes in the setup of individual SPI ports to match the GW setup
Added MyHWSAMD files so they are included in the core headers (MyConfig.h / MySensors.h)
2015-12-03 22:24:05 +01:00
Thomas Mørch
4a490a1272
Initial commit for SAMD compatability
2015-11-28 21:11:11 +01:00
Thomas Mørch
359959a7aa
Added version comments to file
2015-10-18 23:13:53 +02:00
Thomas Mørch
0b985b13e2
Folowing updates done:
...
Corrected division in the code deciding whether to transmit or not, that resulted in generating an integer. Now it's generating floats as expected.
Simplified detection for OTA bootloader, now detecting if MY_OTA_FIRMWARE_FEATURE is defined. If this is defined sensebender automaticly waits 300mS after each transmission
Moved Battery status messages, so they are transmitted together with normal sensor updates (but only every 60th minute)
2015-10-18 23:08:00 +02:00
Thomas Mørch
44826580a8
Merge branch 'development' of github.com:tbowmo/Arduino into development
2015-10-03 10:40:28 +02:00
Thomas Mørch
201164f6ca
Removed warnings, when MY_OTA_FIRMWARE_FEATURE is enabled
2015-10-03 10:38:25 +02:00
Thomas Mørch
9faaf8e6f8
Initial support for SAMD device in development branch
2015-08-04 22:33:06 +02:00
Thomas Mørch
3cf4bb65af
don't scale CPU Freq, if OTA FW Updates are enabled
2015-08-03 23:02:19 +02:00
Thomas Mørch
8e73752a03
changed wait period to 300 mili seconds (@tekka recons 100-200mSeconds is enough, just want to be on the safe side, added serial debug string to indicate OTA FW updates enabled
2015-08-03 22:56:49 +02:00
Thomas Mørch
f7204cfcab
Enable OTA wait period after each transmission, if A1 is held low during bootup
2015-08-03 22:38:29 +02:00
Thomas Mørch
15e6952ae6
Merge remote-tracking branch 'upstream/master'
2015-08-03 22:16:21 +02:00
Thomas Mørch
21cf253c99
Merge remote-tracking branch 'upstream/master'
2015-07-30 22:36:12 +02:00
Thomas Mørch
668a5f649b
Better "control" for determining if humiidty changes should fire off a transmission
2015-07-30 22:34:47 +02:00
Thomas Mørch
128aaacf70
Updated platform.txt / boards.txt to reflect AVR platform target, and removed atmega1284 as GW target
2015-07-27 00:18:49 +02:00
Thomas Mørch
e23baf9d5d
Removed "sensor conditioning code" as it made one of my sensors go haywire,
...
so not the right thing to try and heat the sensor momentarily..
2015-06-23 23:20:03 +02:00
Thomas Mørch
f47ef2c248
Corrected a celcius/fahrenheit conversion, for the code that determines if it should transmit
2015-06-23 22:03:56 +02:00
Thomas Mørch
872f694ede
Updated sensebender Micro sketch, for better transmition handling (implemented thresholds on temperature / humidity measurements)
2015-06-23 21:03:37 +02:00
Thomas Mørch
05b1dc8122
Merge remote-tracking branch 'upstream/master'
2015-06-07 20:50:21 +02:00
Thomas Mørch
6288c8997e
Added possibility to add battery voltage measurements as sensor value (to log battery voltages)
2015-06-07 20:49:21 +02:00
Thomas Mørch
26d01ab0b6
Added GW device to MySensors HW profile (not complete yet!)
2015-05-14 21:12:35 +02:00
Thomas Mørch
d5becd5ca1
Corrected 1Mhz operating frequency
2015-05-12 22:14:28 +02:00
Thomas Mørch
bf7372eeac
Corrected measurement interval back to 60 seconds (had set it to 1 second in order to verify functionality)
2015-05-12 21:36:14 +02:00
Thomas Mørch
f323017dfa
Merge remote-tracking branch 'upstream/master'
2015-05-12 21:24:15 +02:00
Thomas Mørch
7fcdbb32d8
Added running average methods to determine if we should send temperature / humidity reports
2015-05-12 21:23:09 +02:00
Thomas Mørch
941afb30e9
Merge remote-tracking branch 'upstream/master'
2015-05-10 14:03:35 +02:00
Thomas Mørch
a1c71b49a7
Updated boards.txt to have to variants of sensebender micro : 1Mhz and 8Mhz
2015-05-10 14:02:33 +02:00
Thomas Mørch
4858b1859a
Merge remote-tracking branch 'upstream/master'
2015-05-05 22:03:59 +02:00
Thomas Mørch
05e6e0b4d1
Updated boards.txt to reflect sensebender name, and corrected paths in platform.txt (fixed arduino 1.6.4 warnings)
2015-05-05 22:02:16 +02:00
Thomas Mørch
2fc10438f3
Merge remote-tracking branch 'upstream/master'
2015-05-05 19:46:49 +02:00
Thomas Mørch
709d6421ba
Added dualoptiboot to mysensors hardware definitions
2015-05-05 19:46:07 +02:00
Thomas Mørch
11fabe038c
Merge remote-tracking branch 'upstream/master'
2015-04-26 21:47:44 +02:00
Thomas Mørch
bcce65a292
Small update, that ensures that we only switch to 1Mhz once
2015-04-26 21:45:43 +02:00
Thomas Mørch
a26af52b6d
Added versioning info to serial output (for production verification)
2015-04-25 22:11:38 +02:00
Thomas Mørch
5e5f979122
Updated with input from Bruce Lacey
2015-04-15 21:34:02 +02:00
Thomas Mørch
0c057e82e2
Corrected fuse settings for the micro board
2015-03-31 10:53:17 +02:00
Thomas Mørch
6ae64373f9
Added .gitignore file to ignore backup files
...
Updated MySensorsMicro sketch with comments, and rearranged code a little
2015-03-29 11:29:47 +02:00
Thomas Mørch
ff0644af58
Updated naming in the files
2015-03-29 00:51:07 +01:00
Thomas Mørch
9a7dadf5c4
Added HW definitions for mysensor micro
2015-03-29 00:48:08 +01:00
Thomas Mørch
843f0183ef
Merge remote-tracking branch 'upstream/master'
2015-03-28 23:20:03 +01:00
Thomas Mørch
b66408e3d4
Updated sketch, using Serial.flush() in test routine, instead of delay()
...
Changed name that is reported back to controler, to "MysensorMicro" instead of "EnvironmentSensor"
2015-03-28 11:17:52 +01:00
Thomas Mørch
3ab43d5ff5
Updated sketch, removed the forced testmode (used for testing)
2015-03-22 22:19:19 +01:00
Thomas Mørch
4a0c3bb6f7
Added SHA204 check routine to testmode
2015-03-19 21:47:51 +01:00
Thomas Mørch
5b9c9736c9
Merged sha204 from dev, in order to detect sha204 in MySensors Micro board (Testmode)
2015-03-19 21:27:20 +01:00
Thomas Mørch
79ab745070
Merge remote-tracking branch 'upstream/master'
2015-03-19 20:58:38 +01:00
Thomas Mørch
199b130492
Updated SPIflash to work with Arduino 1.6.x
2015-03-19 20:56:02 +01:00
Thomas Mørch
405c8fd0f2
Update testmode, after initial tests on the bench
2015-03-19 20:55:41 +01:00
Thomas Mørch
985f9c3446
Moved static strings for Serial.println() to flash storage
2015-03-14 19:13:09 +01:00
Thomas Mørch
adeca1c41c
Updated testmode, removed clearEEP function as it's not needed in production.
2015-03-14 11:01:41 +01:00
Thomas Mørch
0fed6838e5
Initial testmode implemented.
2015-03-12 20:32:51 +01:00
Thomas Mørch
c6efc23de3
Updated MysensorMicro to use combined humidity and temperature readings from Si7021, in order to save current
2015-02-23 21:32:38 +01:00
Thomas Mørch
3133a7ba0c
Updated library to use getHumidityPercentage, instead of getHumidityBasisPoints() in combined humidity/temperature reader
2015-02-23 21:31:22 +01:00
Thomas Mørch
c3e30662af
Added default mysensorMicro sketch
2015-02-05 19:17:44 +01:00
Thomas Mørch
e462bc214c
Added libraries for SPI flash, BMP180 and Si7021
2015-02-05 19:10:52 +01:00