I2C bus

157 views
Skip to first unread message

Endthere

unread,
Apr 16, 2012, 1:46:39 PM4/16/12
to pingui...@googlegroups.com
Hi folks,

I would like to use accelerometer card in my project. This accelerometer card has to communicate (via I2C bus) with the microcontrollers so that output values can be read. Is there anyone who uses I2C bus in pinguino?

walterleonardo

unread,
Apr 16, 2012, 4:56:46 PM4/16/12
to pingui...@googlegroups.com
On Apr 16, 2012, at 7:46 PM, Endthere wrote:

Hi folks,

I would like to use accelerometer card in my project. This accelerometer card has to communicate (via I2C bus) with the microcontrollers so that output values can be read. Is there anyone who uses I2C bus in pinguino?

--
Vous recevez ce message, car vous êtes abonné au groupe Google Groupes Pinguino.
Cette discussion peut être lue sur le Web à l'adresse https://groups.google.com/d/msg/pinguinocard/-/9cQoAtO2PvoJ.
Pour envoyer un message à ce groupe, adressez un e-mail à pingui...@googlegroups.com.
Pour vous désabonner de ce groupe, envoyez un e-mail à l'adresse pinguinocard...@googlegroups.com.
Pour plus d'options, consultez la page de ce groupe : http://groups.google.com/group/pinguinocard?hl=fr

Alexis Sanchez

unread,
Apr 16, 2012, 11:00:46 PM4/16/12
to pingui...@googlegroups.com
ADXL345?

2012/4/16 walterleonardo <walterl...@gmail.com>:

--
Alexis Sanchez
0416-2584008
Linux Counter User: 484046
http://about.me/aasanchez
Ubuntu 11.10 & Kernel: 3.0.0-16-generic
Twitter: @aasanchez
facebook: facebook.com/aasanchez

Ender

unread,
Apr 16, 2012, 5:18:57 PM4/16/12
to pingui...@googlegroups.com
That's okay but i want to measure tilt angle not angular velocity

On 16.04.2012 23:56, walterleonardo wrote:
> http://wiki.pinguino.cc/index.php/With-wii-motion%2B
>
>
>
>
> On Apr 16, 2012, at 7:46 PM, Endthere wrote:
>
>> Hi folks,
>>
>> I would like to use accelerometer card in my project. This
>> accelerometer card has to communicate (via I2C bus) with the
>> microcontrollers so that output values can be read. Is there anyone
>> who uses I2C bus in pinguino?
>>
>> --

>> Vous recevez ce message, car vous �tes abonn� au groupe Google
>> Groupes Pinguino.
>> Cette discussion peut �tre lue sur le Web � l'adresse
>> https://groups.google.com/d/msg/pinguinocard/-/9cQoAtO2PvoJ.
>> Pour envoyer un message � ce groupe, adressez un e-mail
>> � pingui...@googlegroups.com.
>> Pour vous d�sabonner de ce groupe, envoyez un e-mail � l'adresse

>> pinguinocard...@googlegroups.com.
>> Pour plus d'options, consultez la page de ce groupe :
>> http://groups.google.com/group/pinguinocard?hl=fr
>

> --
> Vous recevez ce message, car vous �tes abonn� au groupe Google
> Groupes Pinguino.
> Pour envoyer un message � ce groupe, adressez un e-mail
> � pingui...@googlegroups.com.
> Pour vous d�sabonner de ce groupe, envoyez un e-mail � l'adresse

walterleonardo

unread,
Apr 17, 2012, 3:07:41 AM4/17/12
to pingui...@googlegroups.com
mmmm.... sorry but (angular velocity * time) = angle... :-)


On Apr 16, 2012, at 11:18 PM, Ender wrote:

> That's okay but i want to measure tilt angle not angular velocity
>
> On 16.04.2012 23:56, walterleonardo wrote:
>> http://wiki.pinguino.cc/index.php/With-wii-motion%2B
>>
>>
>>
>>
>> On Apr 16, 2012, at 7:46 PM, Endthere wrote:
>>
>>> Hi folks,
>>>
>>> I would like to use accelerometer card in my project. This accelerometer card has to communicate (via I2C bus) with the microcontrollers so that output values can be read. Is there anyone who uses I2C bus in pinguino?
>>>
>>> --

>>> Vous recevez ce message, car vous êtes abonné au groupe Google Groupes Pinguino.


>>> Cette discussion peut être lue sur le Web à l'adresse https://groups.google.com/d/msg/pinguinocard/-/9cQoAtO2PvoJ.
>>> Pour envoyer un message à ce groupe, adressez un e-mail à pingui...@googlegroups.com.

>>> Pour vous désabonner de ce groupe, envoyez un e-mail à l'adresse pinguinocard...@googlegroups.com.


>>> Pour plus d'options, consultez la page de ce groupe : http://groups.google.com/group/pinguinocard?hl=fr
>>
>> --

>> Vous recevez ce message, car vous êtes abonné au groupe Google Groupes Pinguino.


>> Pour envoyer un message à ce groupe, adressez un e-mail à pingui...@googlegroups.com.

>> Pour vous désabonner de ce groupe, envoyez un e-mail à l'adresse pinguinocard...@googlegroups.com.


>> Pour plus d'options, consultez la page de ce groupe : http://groups.google.com/group/pinguinocard?hl=fr
>
> --

> Vous recevez ce message, car vous êtes abonné au groupe Google Groupes Pinguino.


> Pour envoyer un message à ce groupe, adressez un e-mail à pingui...@googlegroups.com.

> Pour vous désabonner de ce groupe, envoyez un e-mail à l'adresse pinguinocard...@googlegroups.com.

Ender Cetin

unread,
Apr 17, 2012, 5:25:54 AM4/17/12
to pingui...@googlegroups.com

Ok, i know how to measure angle. It is not necessary to use gyro. The angle can be obtained by using gravity in accelerometer. Thank you all

Alexis Sanchez

unread,
Apr 17, 2012, 1:47:58 PM4/17/12
to pingui...@googlegroups.com
now i working with a inverted pendulum, and to get the angle i use the
arctan.... with acc X and acc Z... more info

http://www.x-firm.com/?page_id=189

2012/4/17 Ender Cetin <leop...@gmail.com>:

--

Ender

unread,
Apr 17, 2012, 4:43:19 PM4/17/12
to pingui...@googlegroups.com
Thank you sanchez. I think that this angle system will be helpfull, i
will work on it.


On 17.04.2012 20:47, Alexis Sanchez wrote:
> now i working with a inverted pendulum, and to get the angle i use the
> arctan.... with acc X and acc Z... more info
>
> http://www.x-firm.com/?page_id=189
>
> 2012/4/17 Ender Cetin<leop...@gmail.com>:
>> Ok, i know how to measure angle. It is not necessary to use gyro. The angle
>> can be obtained by using gravity in accelerometer. Thank you all
>>
>> On Apr 17, 2012 10:07 AM, "walterleonardo"<walterl...@gmail.com> wrote:
>>> mmmm.... sorry but (angular velocity * time) = angle... :-)
>>>
>>>
>>>
>>>
>>> On Apr 16, 2012, at 11:18 PM, Ender wrote:
>>>
>>>> That's okay but i want to measure tilt angle not angular velocity
>>>>
>>>> On 16.04.2012 23:56, walterleonardo wrote:
>>>>> http://wiki.pinguino.cc/index.php/With-wii-motion%2B
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> On Apr 16, 2012, at 7:46 PM, Endthere wrote:
>>>>>
>>>>>> Hi folks,
>>>>>>
>>>>>> I would like to use accelerometer card in my project. This
>>>>>> accelerometer card has to communicate (via I2C bus) with the
>>>>>> microcontrollers so that output values can be read. Is there anyone who uses
>>>>>> I2C bus in pinguino?
>>>>>>
>>>>>> --

>>>>>> Vous recevez ce message, car vous �tes abonn� au groupe Google Groupes
>>>>>> Pinguino.
>>>>>> Cette discussion peut �tre lue sur le Web � l'adresse
>>>>>> https://groups.google.com/d/msg/pinguinocard/-/9cQoAtO2PvoJ.
>>>>>> Pour envoyer un message � ce groupe, adressez un e-mail �
>>>>>> pingui...@googlegroups.com.
>>>>>> Pour vous d�sabonner de ce groupe, envoyez un e-mail � l'adresse


>>>>>> pinguinocard...@googlegroups.com.
>>>>>> Pour plus d'options, consultez la page de ce groupe :
>>>>>> http://groups.google.com/group/pinguinocard?hl=fr
>>>>> --

>>>>> Vous recevez ce message, car vous �tes abonn� au groupe Google Groupes
>>>>> Pinguino.
>>>>> Pour envoyer un message � ce groupe, adressez un e-mail �
>>>>> pingui...@googlegroups.com.
>>>>> Pour vous d�sabonner de ce groupe, envoyez un e-mail � l'adresse


>>>>> pinguinocard...@googlegroups.com.
>>>>> Pour plus d'options, consultez la page de ce groupe :
>>>>> http://groups.google.com/group/pinguinocard?hl=fr
>>>> --

>>>> Vous recevez ce message, car vous �tes abonn� au groupe Google Groupes
>>>> Pinguino.
>>>> Pour envoyer un message � ce groupe, adressez un e-mail �
>>>> pingui...@googlegroups.com.
>>>> Pour vous d�sabonner de ce groupe, envoyez un e-mail � l'adresse


>>>> pinguinocard...@googlegroups.com.
>>>> Pour plus d'options, consultez la page de ce groupe :
>>>> http://groups.google.com/group/pinguinocard?hl=fr
>>>>
>>> --

>>> Vous recevez ce message, car vous �tes abonn� au groupe Google
>>> Groupes Pinguino.
>>> Pour envoyer un message � ce groupe, adressez un e-mail
>>> � pingui...@googlegroups.com.
>>> Pour vous d�sabonner de ce groupe, envoyez un e-mail � l'adresse


>>> pinguinocard...@googlegroups.com.
>>> Pour plus d'options, consultez la page de ce groupe :
>>> http://groups.google.com/group/pinguinocard?hl=fr
>>>
>> --

>> Vous recevez ce message, car vous �tes abonn� au groupe Google
>> Groupes Pinguino.
>> Pour envoyer un message � ce groupe, adressez un e-mail
>> � pingui...@googlegroups.com.
>> Pour vous d�sabonner de ce groupe, envoyez un e-mail � l'adresse

Reply all
Reply to author
Forward
0 new messages