Difference between revisions of "Helios"

From Randomdata wiki
Jump to: navigation, search
m (Helios)
m (Better Library's)
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
[[File:Helios3.jpg|400px]]
 +
 
= Summary =
 
= Summary =
At the [http://www.eabeurs.nl/nl-en/ Electronics&Automation] event in de Jaarbeurs in Utrecht they had a new gadget. <BR>  
+
At the [http://www.eabeurs.nl/nl-en/ Electronics&Automation] event in the Jaarbeurs in Utrecht they had a new gadget. <BR>  
 
It's more common these days that technological events  have eventgadgets. You have to walk past some company's in order to gather the components. So company's get people to sell their stuff to and the visitor gets a gadget. <BR>
 
It's more common these days that technological events  have eventgadgets. You have to walk past some company's in order to gather the components. So company's get people to sell their stuff to and the visitor gets a gadget. <BR>
 
At the E&A event you could gather a Helios gadget. <BR>
 
At the E&A event you could gather a Helios gadget. <BR>
Even better, for the electro geeks. The build them at the event. There was a whole production line for making the gadget at the event. <BR>
+
Even better, for the electro geeks. They build them at the event. There was a whole production line for making the gadget at the event. <BR>
Due to the publicity all the Helios gadgets where reserved. They even needed to produce 500 pieces on the event itself to get all visitors happy. <BR>
+
Due to the publicity all the Helios gadgets where reserved they even needed to produce 500 pieces on the event itself to get all visitors happy. <BR>
  
== Helios ==  
+
= Helios =  
 
What is a [http://www.heliosgadget.nl/ Helios]. Well basically it is an:  
 
What is a [http://www.heliosgadget.nl/ Helios]. Well basically it is an:  
 
* [http://www.arduino.cc/ Arduino] with a:  
 
* [http://www.arduino.cc/ Arduino] with a:  
Line 32: Line 34:
 
== Applications ==
 
== Applications ==
 
Actually legions of possibility's are within grasp. But maybe this is a nice tool for enhancing our space-automation.
 
Actually legions of possibility's are within grasp. But maybe this is a nice tool for enhancing our space-automation.
 +
 +
== Starting Problems ==
 +
As in every project there are startup failures. In this case I got compile errors from my Arduino IDE:
 +
<pre>
 +
Helios_EEPROM_24AA014.cpp:27:21: error: arduino.h: No such file or directory
 +
</pre>
 +
 +
So after thinking a lot and investigating my own machine, because that's where are problems start I decided to take a better look at the program code. Because the default blinky programs worked on a normal Arduino Uno. <BR>
 +
So when I compared some .cpp files I noticed that a ''#include'' statement was including a file with lowercase chars. And the file I had on my system in ''/usr/share/arduino/hardware/arduino/cores/arduino'' started with a capital char 'A'.
 +
So it had to be
 +
<pre>
 +
#include "Arduino.h"
 +
</pre>
 +
 +
To make sure I did a recursive grep in the library directory to the files which belong to the Helios device with the following command:
 +
<pre>
 +
$ grep -R "arduino.h" ./
 +
</pre>
 +
As a result I got these files:
 +
* '''Helios_EEPROM_24AA014.cpp'''
 +
* '''Helios_Temperature_Sensor_TMP006.cpp'''
 +
* '''BEURS_Colour_Sensor.TCS3414.cpp'''
 +
* '''Helios.cpp'''
 +
* '''Helios_Colour_Sensor.TCS3414.cpp '''
 +
After changing those particular files, which wasn't that hard, the compile errors disappeared.  <BR>
 +
To commit something to the community I placed a post on the Helios website as well, which is documented in Dutch --> [http://www.heliosgadget.nl/forum/viewtopic.php?f=5&t=14 HeliosGadget - Forum ''Linux !! klein probleempje'']. <BR>
 +
But after all the work we've got it working, as proof I placed a small video on [http://youtu.be/awj1E0XuZFk youtube].
 +
 +
=WiFi=
 +
After some problems with the WiFi library's I placed a post on the Helios forum with my possible solution. But someone had actually read the datasheets and told me that the WiFly module is connected to the ''Serial1''. The post I mentioned can be read [http://www.heliosgadget.nl/forum/viewtopic.php?f=7&t=24 here]. <br>
 +
 +
Short, this is the solution to it:
 +
Change this
 +
<pre>
 +
WiFly wifly(2, 3);
 +
</pre>
 +
into this:
 +
<pre>
 +
WiFly wifly(&Serial1);
 +
</pre>
 +
And place this in the setup()
 +
<pre>
 +
Serial1.begin(9600);
 +
</pre>
 +
== Better Library's==
 +
For better WiFly library's look at these. These are the ones I used for updating and prototyping. https://github.com/kasperkamperman/WiFly_communicator <br>
 +
 +
= Reference =
 +
* Electronics & Automation event - 2013 http://www.eabeurs.nl/nl-en/
 +
* Helios gadget - website http://www.heliosgadget.nl/
 +
* Helios gadget - wiki http://www.heliosgadget.nl/wiki/Hoofdpagina
 +
* Helios gadget - forum post http://www.heliosgadget.nl/forum/viewtopic.php?f=5&t=14
 +
* Arduino - Homepage http://www.arduino.cc/
 +
* Youtube - Proof of working RTC http://youtu.be/awj1E0XuZFk
 +
 +
= Photo's =
 +
{| class="wikitable"
 +
|-
 +
| [[File:Helios1.jpg|300px]] <br> [[File:Helios2.jpg|300px]] <br> [[File:Helios4.jpg|300px]]  <br> 
 +
|Serial output from a read_EEPROM program <BR><BR> [[File:Helios5.png|210px]]
 +
|-
 +
|}

Latest revision as of 23:12, 4 June 2013

Helios3.jpg

Summary

At the Electronics&Automation event in the Jaarbeurs in Utrecht they had a new gadget.
It's more common these days that technological events have eventgadgets. You have to walk past some company's in order to gather the components. So company's get people to sell their stuff to and the visitor gets a gadget.
At the E&A event you could gather a Helios gadget.
Even better, for the electro geeks. They build them at the event. There was a whole production line for making the gadget at the event.
Due to the publicity all the Helios gadgets where reserved they even needed to produce 500 pieces on the event itself to get all visitors happy.

Helios

What is a Helios. Well basically it is an:

  • Arduino with a:
    • WiFly module
    • LED matrix
    • RGB LED
    • high power LED's
    • color sensor
    • light sensor on board


So worth at least $60 of components for free, or like we Dutch people always see: "is gratis" (everywhere I come I hear this).

What's in the pack

When gathering this gadget this is what you get:

  • Battery's
  • USB A -> USB micro cable (standard)
  • Gadget itself, loaded with:
    • a software sketch which broadcasts a SSID
    • tested in front of you
    • calibrated at the event

Support

Because of its popularity all the company's who worked on the Helios decided to make a support site where you can read (in dutch only) some information. At the moment of writing there is not that much data available but it will come in the future. Even for a n00b haxx0r Arduino is good place to begin so it couldn't be that difficult.

Applications

Actually legions of possibility's are within grasp. But maybe this is a nice tool for enhancing our space-automation.

Starting Problems

As in every project there are startup failures. In this case I got compile errors from my Arduino IDE:

Helios_EEPROM_24AA014.cpp:27:21: error: arduino.h: No such file or directory

So after thinking a lot and investigating my own machine, because that's where are problems start I decided to take a better look at the program code. Because the default blinky programs worked on a normal Arduino Uno.
So when I compared some .cpp files I noticed that a #include statement was including a file with lowercase chars. And the file I had on my system in /usr/share/arduino/hardware/arduino/cores/arduino started with a capital char 'A'. So it had to be

#include "Arduino.h"

To make sure I did a recursive grep in the library directory to the files which belong to the Helios device with the following command:

$ grep -R "arduino.h" ./

As a result I got these files:

  • Helios_EEPROM_24AA014.cpp
  • Helios_Temperature_Sensor_TMP006.cpp
  • BEURS_Colour_Sensor.TCS3414.cpp
  • Helios.cpp
  • Helios_Colour_Sensor.TCS3414.cpp

After changing those particular files, which wasn't that hard, the compile errors disappeared.
To commit something to the community I placed a post on the Helios website as well, which is documented in Dutch --> HeliosGadget - Forum Linux !! klein probleempje.
But after all the work we've got it working, as proof I placed a small video on youtube.

WiFi

After some problems with the WiFi library's I placed a post on the Helios forum with my possible solution. But someone had actually read the datasheets and told me that the WiFly module is connected to the Serial1. The post I mentioned can be read here.

Short, this is the solution to it: Change this

WiFly wifly(2, 3);

into this:

WiFly wifly(&Serial1);

And place this in the setup()

Serial1.begin(9600);

Better Library's

For better WiFly library's look at these. These are the ones I used for updating and prototyping. https://github.com/kasperkamperman/WiFly_communicator

Reference

Photo's

Helios1.jpg
Helios2.jpg
Helios4.jpg
Serial output from a read_EEPROM program

Helios5.png