At Crownstone we are developing the first open source smart switch. With our Crownstones you can easily and affordably create your own smart home. We believe a Smart Home should blend in the background and function independently. This means a smart home should be automatic, something current ‘smart’ switches are not. Therefore they are just that: switches. But by coupling iBeacon technology and a switch we can know where you are in your house and switch the Crownstones accordingly. This opens up a whole world of possibilities!
But there is more. What if you, the users, can create their own behaviour and couple their own creations to the crownstones? One of the things that would be valuable is to run Arduino code on the Crownstone. It is possible to be Arduino compatible on a hardware level (regarding pin layout) or on a software level. This text concerns compatibility on a software level. This means that applications written with the .ino extension in the Arduino editor can run on the Crownstone itself.
Code to toggle a Crownstone device would then look for example like this:
// the setup function runs once when you press reset or power the board
void setup() {
// initialize digital pin RELAYS as an output.
pinMode(RELAYS, OUTPUT);
}
// the loop function runs over and over again forever
void loop() {
digitalWrite(RELAYS, HIGH); // turn the RELAY on (HIGH is the voltage level)
delay(60000); // wait for a minute
digitalWrite(RELAYS, LOW); // turn the RELAY off
delay(60000); // wait for a minute
}
This means the following:
Once the Arduino implementation is realised, people could start using their Crownstones to do a variety of tasks. For example:
For more inspiration about what is possible check out the Raspberry Pi CM-3 Home at interesting engineering or Guiott.
If you have no time to do an internship but would like to work on the project, feel free to go ahead as well. You can start from our open-source code base at github.
If you love to work on this, send us a message to get a discount on the shop.
There are very few open source hardware products! If you support our cause, the best way to help us, is to advocate for our products and solutions, and even better buy them yourself (shop).