|Souliss and Grove Shield||Giorgio Zoppetti||7/5/13 7:44 AM|
I bought few days ago some grove module (TWIG) and a base shield. I found the system very easy and useful and I will try to use it with Souliss.
I attach one image of the module and the base shield mount on a Freakduino Chibi.
|Re: [Souliss tech mailinglist] Souliss and Grove Shield||Dario Di Maio||7/5/13 7:50 AM|
We get recently support from Seeedstudio and as soon we will receive their material we will start to develop dedicated code in Souliss.
It would be nice start to develop somenthing based on the hardware that is with you.
Have you yet an idea of what examples you will develop with Souliss and Grove?
|Re: Souliss and Grove Shield||Giorgio Zoppetti||7/6/13 4:38 AM|
I think I will test the typical for use temperature sensor and lux sensor. After this, I will try to use the PIR motion to control light with a relay shield.
Il giorno venerdì 5 luglio 2013 16:44:18 UTC+2, Giorgio Zoppetti ha scritto:
|Re: Souliss and Grove Shield||Alessandro Del Pex||7/7/13 2:19 PM|
Hi Giorgio, the temperature typical is quite new, donàt be discouraged from some possible bug. Which typical do you plan to use?
Lux sensor is quite stable, it outputs lux reading from sensor in 0-255 range. You can easily implement actions based on sensor value using app programs.
Let us know your discoveries
Il giorno sabato 6 luglio 2013 13:38:08 UTC+2, Giorgio Zoppetti ha scritto:
|Re: Souliss and Grove Shield||adrian....@jarawi.com||7/15/13 4:51 AM|
I'm Adrian and I'm really interested in grove+souliss, specially in Led strip module and temperature sensor (with digital input), I'm not so familiar with souliss now but I'm need to learn, can you give me some clue to start?
|Re: [Souliss tech mailinglist] Re: Souliss and Grove Shield||Dario Di Maio||7/15/13 1:17 PM|
In the Souliss_ex10_RGBStrip_eth1 example to drive the LED strip is generated a PWM directly at the board using;
This driver is basically a software shift register that will write for each color (R, G, B) the relevant value. Once you have done a working setup you can move to the integration with Souliss, your starting point should be Souliss_ex10_RGBStrip_eth1.ino, there is just one action to make them working, change the output methods.
Hi Adrian,Starting from the LED, the first step is build one of the examples that are coming from Seeedstudio in their wiki, this to make things working from the hardware point of view. Here there are some details about http://www.seeedstudio.com/wiki/Grove_-_LED_Strip_Driver
welcome in :D, the LED Strip Driver and Temperature Sensor will be supplied by Seeedstudio for development, are not yet in our hand, but we can work together to make them work right now with few effort.
// Use the output values to control the PWM
analogWrite(3, Souliss_Output(memory_map, LEDRED));
analogWrite(5, Souliss_Output(memory_map, LEDGREEN));
analogWrite(6, Souliss_Output(memory_map, LEDBLUE));
Using the Seeedstudio LED Strip driven it should be something like
Driver.SetColor( Souliss_Output(memory_map, LEDRED), Souliss_Output(memory_map, LEDGREEN), Souliss_Output(memory_map, LEDBLUE));
You need also to include the following statements from the SingleLEDStrip example included into the Seeedstudio drivers http://www.seeedstudio.com/wiki/File:LEDStripDriver_library.zip
#define CLK 2//pins definitions for the driver
#define DIO 3
This should give you a direct access via Android, the only note is relevant the timing, I don't know how fast it could be this drivers (looks not so heavy) and this could have impact on performance while driving you light by music.Right now we did also via I2C (using Olimex LED Driver MOD-RGB) and the performance was ok (there is a video on youtube).
This could be the first step, while moving later to temperature sensors. We are right now working on a new way to handle analog values, using half-precision (2 bytes) floating points, we are near to complete, but the old way is still working.
|Re: [Souliss tech mailinglist] Re: Souliss and Grove Shield||adrian....@jarawi.com||7/16/13 6:38 AM|
Thanks for answer, I will try it tonight and I tell you the results.
El lunes, 15 de julio de 2013 17:17:17 UTC-3, Dario Di Maio escribió:
|Re: [Souliss tech mailinglist] Re: Souliss and Grove Shield||Giorgio Zoppetti||7/17/13 2:36 AM|
I did the same things Dario write and all work perfect! Now I try to use led sensor and PIR for working with led strip.
Il giorno martedì 16 luglio 2013 15:38:38 UTC+2, adrian....@jarawi.com ha scritto:
|Re: [Souliss tech mailinglist] Re: Souliss and Grove Shield||Dario Di Maio||7/17/13 5:22 AM|
Hi Giorgio,please share your sketch.
|Re: [Souliss tech mailinglist] Re: Souliss and Grove Shield||Giorgio Zoppetti||7/17/13 7:46 AM|
I attached the sketch. I start from modbus_mygarage example and add the led strip typical.
The strip driver module is connected on the D5 connector, the D6 must be not connected.
Il giorno mercoledì 17 luglio 2013 14:22:06 UTC+2, Dario Di Maio ha scritto:
|Re: [Souliss tech mailinglist] Re: Souliss and Grove Shield||Dario Di Maio||7/23/13 2:30 PM|
have you tried it?
|Re: [Souliss tech mailinglist] Re: Souliss and Grove Shield||adrian....@jarawi.com||7/26/13 7:38 AM|
I was very busy last days, but today I can try it and it's works very well, now, I will try another things.
thanks a lot
El martes, 23 de julio de 2013 18:30:54 UTC-3, Dario Di Maio escribió: