Accel 2 click released

Here you can find latest news on mikroElektronika products.
Post Reply
Author
Message
User avatar
srdjan.misic
mikroElektronika team
Posts: 296
Joined: 11 Feb 2014 15:55

Accel 2 click released

#1 Post by srdjan.misic » 28 Jul 2015 19:57

accel 2 click released

Accel 2 click carries ST’s LIS3DSH 3-axis accelerometer.

Image

Let's zoom inside the LIS3DSH chip, Discovery-channel style. Inside it are these
microscopic suspended silicon structures that are attached to a substrate by a few
anchors, and are therefore free to move in the direction of acceleration. This causes an
imbalance in capaticance, and that’s how the chip digitally quantifies its own motion.

Those X, Y, Z values are communicated to the target board MCU either through mikroBUS™
SPI or I2C
interfaces. You determine which one it is by soldering the onboard jumpers in
the appropriate position.

But the LIS3DSH chip can do more. Having two state machines built-in, it can send
interrupt signals when it recognizes user-defined motion patterns
(shaking, double
shaking, turning upside down, thinks like that). Thus, it’s great for designing
motion-based user interfaces.

It also integrates a FIFO buffer (firs in, first out), which means that the target
board MCU doesn’t have to constantly read data from the sensor in real time — thus
lowering power consumption.

Check out the details on the product page. Also, the Libstock example is ready.

Yours sincerely,
MikroElektronika

MaGiK
Posts: 897
Joined: 19 Apr 2013 10:00

Re: Accel 2 click released

#2 Post by MaGiK » 29 Jul 2015 09:21

This looks interesting! Definitely added to the to-buy list :D
Gotta be honest though, I hate those SMD jumpers :(
Ohhh ..., and the manual doesn't contain the power supply which this Click board works with :wink:

Best Regards
My hobby is collecting MikroElektronika products.
Gotta catch them all!

User avatar
srdjan.misic
mikroElektronika team
Posts: 296
Joined: 11 Feb 2014 15:55

Re: Accel 2 click released

#3 Post by srdjan.misic » 29 Jul 2015 13:28

We'll take note of that (about jumpers).

As for the power supply, well it is shown on the schematic. But good point, the sentence will be inserted.

MaGiK
Posts: 897
Joined: 19 Apr 2013 10:00

Re: Accel 2 click released

#4 Post by MaGiK » 29 Jul 2015 14:30

Hello Srdjan :D
srdjan.misic wrote:We'll take note of that (about jumpers).
When I re-read my previous post, I think I might have sounded a bit hard, I apologize for that :(
It's just that my soldering skills isn't exactly great, and I sometimes screw up when I have to solder the two male headers that we get with each Click boards, let alone tiny SMD jumpers :(
srdjan.misic wrote:As for the power supply, well it is shown on the schematic. But good point, the sentence will be inserted.
I was just trying to help by finding these typos, as in my post in the link below:
http://www.mikroe.com/forum/viewtopic.p ... 84#p260384

As you can tell, I've got lots of free time these days, so please don't hesitate to ask for anything you think might help MikroElektronika :D

Best Regards
My hobby is collecting MikroElektronika products.
Gotta catch them all!

User avatar
srdjan.misic
mikroElektronika team
Posts: 296
Joined: 11 Feb 2014 15:55

Re: Accel 2 click released

#5 Post by srdjan.misic » 29 Jul 2015 17:07

Hey, you keep us on our toes. Your feedback is always appreciated.

MaGiK
Posts: 897
Joined: 19 Apr 2013 10:00

Re: Accel 2 click released

#6 Post by MaGiK » 30 Jul 2015 06:46

Thanks for the kind words Srdjan :D
And I just found a way to deal with these SMD jumpers, but it's a mysterious secret :lol:

Keep up the amazing work :wink:
Best Regards :D
My hobby is collecting MikroElektronika products.
Gotta catch them all!

Rukario19
Posts: 22
Joined: 28 Jul 2015 17:40

Re: Accel 2 click released

#7 Post by Rukario19 » 18 Aug 2015 21:23

Hi i have one Accel 2 Click, i want help to test it, in the library they have test program working only in mikrobasik ARM, i tried to testit with a PIC18F45K22 in a board EasyPIC7, im trying to comunicate with the device and i cant get any anser, im using I2C1 Start at 40000 like the program in ARM. Could anyone please help me with this problem with a little library for get the values of LIS3DSH, i trying to get the value of WHO AM I and its like the program doesnt work.

User avatar
biljana.nedeljkovic
mikroElektronika team
Posts: 1043
Joined: 30 Jun 2015 15:15

Re: Accel 2 click released

#8 Post by biljana.nedeljkovic » 21 Aug 2015 10:24

Hello,

can you attach the project in zipped file so we can test it?
What are the exact problems that you are experiencing, can you explain further what do you mean by "no answer"?
I suggest to go through debug, and detect what is causing the problem.

But if you attach your project I can help you with it.

Best regards,
Biljana

Rukario19
Posts: 22
Joined: 28 Jul 2015 17:40

Re: Accel 2 click released

#9 Post by Rukario19 » 26 Aug 2015 07:15

biljana.nedeljkovic wrote:Hello,

can you attach the project in zipped file so we can test it?
What are the exact problems that you are experiencing, can you explain further what do you mean by "no answer"?
I suggest to go through debug, and detect what is causing the problem.

But if you attach your project I can help you with it.

Best regards,
Biljana
Well, i cant read values, for example, i tried to do a function that reads the ID of the device from the register WHO AM I, but i dont get any answer in the usart Terminal, in my easypic7 i have all the switch in middle posittion , except RC4 and RC3 that are used forI2C Comunication, i tried touse the debug but sincerely i dont understand how to use it. i will add you my code here, i hope that you can help me to find my error.

Thank you
Attachments
Accel2.rar
(63.49 KiB) Downloaded 557 times

Rukario19
Posts: 22
Joined: 28 Jul 2015 17:40

Re: Accel 2 click released

#10 Post by Rukario19 » 26 Aug 2015 15:59

Rukario19 wrote:
biljana.nedeljkovic wrote:Hello,

can you attach the project in zipped file so we can test it?
What are the exact problems that you are experiencing, can you explain further what do you mean by "no answer"?
I suggest to go through debug, and detect what is causing the problem.

But if you attach your project I can help you with it.

Best regards,
Biljana
Well, i cant read values, for example, i tried to do a function that reads the ID of the device from the register WHO AM I, i try to use the function that was made for amr and adapt it to 18f45k22 but i dont get any answer in the usart Terminal, in my easypic7 i have all the switch in middle posittion , except RC4 and RC3 that are used forI2C Comunication, i tried touse the debug but sincerely i dont understand how to use it. i will add you my code here, i hope that you can help me to find my error.

Thank you

User avatar
biljana.nedeljkovic
mikroElektronika team
Posts: 1043
Joined: 30 Jun 2015 15:15

Re: Accel 2 click released

#11 Post by biljana.nedeljkovic » 27 Aug 2015 15:23

Hello,

are you sure you set the right I2C slave address?
I will try to translate this example code for PIC. You used the code for MPU IMU Click, but it needs to be modified.

Best regards,
Biljana

Rukario19
Posts: 22
Joined: 28 Jul 2015 17:40

Re: Accel 2 click released

#12 Post by Rukario19 » 27 Aug 2015 16:44

biljana.nedeljkovic wrote:Hello,

are you sure you set the right I2C slave address?
I will try to translate this example code for PIC. You used the code for MPU IMU Click, but it needs to be modified.

Best regards,
Biljana
I used the MPU code for reference in order to use the I2C1, instead that has a Accelerometer and giroscope, and i Used the reference of the ACCEL2 program in order for gent te map registers, and salve address, i know that it needs to be modified, but in that program i only use read and write program, i'm beggining, im not using the other functions, i m working in it, if this code works i will let you know. I will be waiting the traslate of the example code for pic. Thanks for your help.

User avatar
biljana.nedeljkovic
mikroElektronika team
Posts: 1043
Joined: 30 Jun 2015 15:15

Re: Accel 2 click released

#13 Post by biljana.nedeljkovic » 30 Sep 2015 13:51

Hello,

you can check the Libstock and example code from other user, if it can be helpful to you for the reference
http://www.libstock.com/projects/view/1531/accel2-click

Best regards

Rukario19
Posts: 22
Joined: 28 Jul 2015 17:40

Re: Accel 2 click released

#14 Post by Rukario19 » 18 Nov 2015 16:05

biljana.nedeljkovic wrote:Hello,

you can check the Libstock and example code from other user, if it can be helpful to you for the reference
http://www.libstock.com/projects/view/1531/accel2-click

Best regards

Thank you, that program its mine jejeje i solve the problem a long time ago, thank you for your help

Post Reply

Return to “Product Announcements”