Commit Graph
97 Commits
Author SHA1 Message Date
Henrik Ekblad b238a2e61e Merge branch 'master' into development
Conflicts:
	libraries/MySensors/MySensor.cpp
2015-02-10 23:38:05 +01:00
Thomas Mørch c3e30662af Added default mysensorMicro sketch 2015-02-05 19:17:44 +01:00
Henrik Ekblad 8aeaceb35f Merge branch 'master' into development
Conflicts:
	libraries/MySensors/MyGateway.cpp
	libraries/MySensors/MySensor.cpp
	libraries/MySensors/examples/EthernetGateway/EthernetGateway.ino
2015-02-03 22:50:06 +01:00
Henrik Ekblad dfd38ff3bc Removed arguments from constructor (use default). 2015-02-01 15:31:39 +01:00
Henrik Ekblad 7a54cacacf Added GizMoCuz DimmableLight example. 2015-01-30 09:06:54 +01:00
Patrick Fallberg 7d37cd9aa5 MyDriver structure renamed to MyRFDriver
The MyDriver scheme is radio specific, so it is renamed
accordingly to permit other driver schemes to coexist with it
without confusion.
2015-01-28 23:53:37 +01:00
Henrik Ekblad f1f8aec324 Change order of ethernet/radio intialization to avoid troubles. 2015-01-11 20:29:22 +01:00
Henrik Ekblad 6cb3c98014 Merge branch 'master' of https://github.com/mysensors/Arduino.git 2015-01-11 20:24:13 +01:00
Henrik Ekblad afc1e01cba Changed initialization order of radio/eth to avoid problems. 2015-01-11 20:20:56 +01:00
Piotr 021867784e Fix stupid errors from the last pull request 2015-01-02 11:09:32 +01:00
Piotr 77d5cfdb09 Limit memory usage of forecast algorithm. Now it's not running out of memory 2014-12-21 12:11:54 +01:00
Piotr 05c07cd0e0 Limit memory usage of forecast algorithm. Now it's not running out of memory 2014-12-21 12:06:03 +01:00
Henrik Ekblad 55c1fe8d01 MAX6875 Temp Sensor example 2014-12-07 10:23:41 +01:00
Henrik Ekblad 0dd6687488 Merge branch 'master' into development
Conflicts:
	libraries/MySensors/MySensor.cpp
	libraries/MySensors/examples/EthernetGateway/EthernetGateway.ino
2014-11-25 16:52:07 +01:00
Henrik Ekblad 843e163328 Update BMP085 library.
And additional pressure sensor problems repoted by @MagKas.
http://forum.mysensors.org/topic/631/pressure-sensor-arduino-low-memory
2014-11-25 16:18:40 +01:00
Henrik Ekblad ab3db8b28b Fix bug in PressureSensor. 2014-11-25 15:48:10 +01:00
Henrik Ekblad 024d6efb82 Ethernet SoftSPI
Update ethernet sketch to give correct instructions when using
W5100/SoftSPI.
2014-11-14 00:36:49 +01:00
Henrik Ekblad 8ec2ebdfce Sent startup message to controller when it connects. 2014-10-23 09:02:30 +02:00
Henrik Ekblad b0057cc152 Merge branch 'tosa' of https://github.com/ToSa27/Arduino into
ToSa27-tosa

Conflicts:
	libraries/MySensors/examples/EthernetGateway/EthernetGateway.ino
2014-10-23 00:30:01 +02:00
Henrik Ekblad 301296359b Merge branch 'master' into development
Conflicts:
	libraries/UIPEthernet/utility/uipethernet-conf.h
2014-10-22 00:15:56 +02:00
Henrik Ekblad 2fd948fc66 Add new scene controller with touch display example.
Upgraded RF24 to latest version which supports SoftSPI. 
Added DigitalIO and UTFT libraries to support the new example.
Fix problem reported in RelayWithButtonActuator example.
2014-10-17 00:01:55 +02:00
Patrick Fallberg 99b7b12856 Merge remote-tracking branch 'upstream/development' into development
Conflicts:
	libraries/MySensors/examples/EthernetGateway/EthernetGateway.ino
2014-10-11 00:00:27 +02:00
Patrick Fallberg f5ef712308 Support for WIZnet W5100 ethernet module SPI_EN
The W5100 module has a SPI_EN signal that enables or disables the SPI
bus.
A bug in the module causes MISO to be continously driven by the module
when SPI_EN is pulled high. This is described in this application note:
https://www.google.se/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&uact=8&ved=0CCAQFjAA&url=http%3A%2F%2Fwww.wiznet.co.kr%2FUpLoad_Files%2FReferenceFiles%2FW5100_AN_SPI.pdf&ei=ij84VK7uM6nNygPqvICYDw&usg=AFQjCNGz1qttBEwG1azc1Eza4j69v1rpDQ&sig2=UUUtb4Dr0F35g8ByHMsyig&bvm=bv.77161500,d.bGQ

This commit changes the Ethernet gateway sketch to drive SPI_EN high or
low, depending on which module is in use (SPI bus is shared between
Ethernet and RF modules).
The pin attached to SPI_EN is defined by W5100_SPI_EN. This define can
be commented out if SPI_EN is not needed (different module) or if the
module manages SPI_EN in hardware (some W5100 shields does this).
2014-10-10 22:39:47 +02:00
ToSa27 2647345c4d Adding defines for different board layouts in MyConfig
Adjusted all Gateway examples but only one sensor example so far
(DallasTemperature). Other sensor examples should get the same three
lines added (not mandatory but helps avoiding unnecessary debugging when
selecting the wrong setup)
2014-09-29 10:33:16 +02:00
ToSa27 39bab3dfba Split Application and Driver Layer 2014-09-29 00:24:57 +02:00
Henrik Ekblad f71ed97aaa Made Time, LiquidCrystal and RealTimeClockDisplaySensor example work in Arduino IDE 1.5.7. 2014-09-20 13:04:01 +02:00
Henrik Ekblad 82dda0fe30 Merge branch 'master' into development 2014-09-16 22:19:21 +02:00
Henrik Ekblad 26129b06a9 Upgrade UIP-library to latest. Recommend Arduino IDE 1.5.7 when compiling EtherentGateway sketch. 2014-09-16 22:17:07 +02:00
Henrik Ekblad 78b5df44b4 Remove spam from pulse sensors when gateway is unable to receive request for meter value. 2014-09-15 13:48:44 +02:00
Henrik Ekblad 86b6411280 Merge branch 'hek-gateway-rework' into development
Conflicts:
	libraries/MySensors/MySensor.cpp
	libraries/MySensors/MySensor.h
2014-09-11 09:56:30 +02:00
Henrik Ekblad bfd589455b Add new example showing RTC with LCD display. 2014-09-11 00:45:56 +02:00
Henrik Ekblad 5bb8c9b40c Bugfixes and cleanup 2014-09-09 22:33:49 +02:00
Henrik Ekblad 7fa54a6e5a Proposal to keep gateways separated. 2014-09-09 16:57:56 +02:00
Henrik Ekblad cc00bedaa1 Classify method. 2014-09-07 23:58:17 +02:00
Henrik Ekblad 6dde2e428a Need to include MySensor.h for gateway examples to work in codebender. 2014-09-07 23:58:17 +02:00
Daniel Wiegert 724567e295 Bugfixes and rewrite parts of code 2014-09-07 23:58:16 +02:00
Henrik Ekblad 6f86b8fcc7 Rename example to follw same pattern as the rest. 2014-09-07 21:31:49 +02:00
Henrik Ekblad ae9332b486 Merge pull request #31 from fallberg/development
Development
2014-09-07 19:44:36 +02:00
Patrick Fallberg c13425d15e Updated BinarySwitchSensorInt to handle two sensors
The new sleep() constructor allows for two interrupt sources
to wake device from sleep. This example is now updated to
illustrate this.
2014-09-07 17:43:51 +02:00
Henrik Ekblad dd50aa9cc2 Merge pull request #30 from fallberg/development
Implementation of interrupt driven binary switch
2014-09-04 07:19:02 +02:00
Patrick Fallberg 4ffb53b091 Implementation of interrupt driven binary switch
The difference between the interrupt driven binary switch example and
the normal binary switch example is the following:
* Interrupt example does not use debouncer because it rely on loop()
iterating over time (but it sleeps between iterations)
* Interrupt example is more power conservative because it sleeps as soon
as it has sent updated data and no activity happens on the pin
* Interrupt example is limited to only two IO pins for the sensor, due
to limitations in the Arduino HW. The example uses the preprocessor to
ensure that this is not misconfigured or sleep function can not be
expected to behave as intended.
2014-09-03 23:59:36 +02:00
Henrik Ekblad 1290c68c4a Classify method. 2014-08-27 21:53:57 +02:00
Henrik Ekblad 0022e9fd16 Merge branch 'development' of https://github.com/mysensors/Arduino into development 2014-08-27 21:24:20 +02:00
Henrik Ekblad fdcbbbac95 Need to include MySensor.h for gateway examples to work in codebender. 2014-08-27 21:24:00 +02:00
Daniel Wiegert 5e5b756160 Bugfixes and rewrite parts of code 2014-08-27 15:24:04 +02:00
Henrik Ekblad 10041114cf Clean up unused libraries 2014-08-22 20:43:29 +02:00
Henrik Ekblad e01dc2eccc Fix a few warnings in MQTTGateway.
Move all gateway examples to "examples" to work better with codebender and Arduino IDE.
Ledmode is always enabled for gateway. Still optional to connect the wires though ;)
Move MsTimer to local utility folder (no external dependencies).
2014-08-22 20:35:22 +02:00
Henrik Ekblad 2776e5fca9 Added a new RFID Lock Sensor example. 2014-08-17 23:56:53 +02:00
Henrik Ekblad 1150c4417c Removed a few decimals from pressure value. 2014-08-17 19:58:29 +02:00
Henrik Ekblad dcb0babe63 Dust sensor added. Thanks epierre. 2014-08-17 19:57:58 +02:00