Accel 2 click released
- srdjan.misic
- mikroElektronika team
- Posts: 296
- Joined: 11 Feb 2014 15:55
Accel 2 click released
accel 2 click released
Accel 2 click carries ST’s LIS3DSH 3-axis accelerometer.
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
Accel 2 click carries ST’s LIS3DSH 3-axis accelerometer.
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
Re: Accel 2 click released
This looks interesting! Definitely added to the to-buy list
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
Best Regards
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
Best Regards
My hobby is collecting MikroElektronika products.
Gotta catch them all!
Gotta catch them all!
- srdjan.misic
- mikroElektronika team
- Posts: 296
- Joined: 11 Feb 2014 15:55
Re: Accel 2 click released
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.
As for the power supply, well it is shown on the schematic. But good point, the sentence will be inserted.
Re: Accel 2 click released
Hello Srdjan
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
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
Best Regards
When I re-read my previous post, I think I might have sounded a bit hard, I apologize for thatsrdjan.misic wrote:We'll take note of that (about jumpers).
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
I was just trying to help by finding these typos, as in my post in the link below:srdjan.misic wrote:As for the power supply, well it is shown on the schematic. But good point, the sentence will be inserted.
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
Best Regards
My hobby is collecting MikroElektronika products.
Gotta catch them all!
Gotta catch them all!
- srdjan.misic
- mikroElektronika team
- Posts: 296
- Joined: 11 Feb 2014 15:55
Re: Accel 2 click released
Hey, you keep us on our toes. Your feedback is always appreciated.
Re: Accel 2 click released
Thanks for the kind words Srdjan
And I just found a way to deal with these SMD jumpers, but it's a mysterious secret
Keep up the amazing work
Best Regards
And I just found a way to deal with these SMD jumpers, but it's a mysterious secret
Keep up the amazing work
Best Regards
My hobby is collecting MikroElektronika products.
Gotta catch them all!
Gotta catch them all!
Re: Accel 2 click released
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.
- biljana.nedeljkovic
- mikroElektronika team
- Posts: 1043
- Joined: 30 Jun 2015 15:15
Re: Accel 2 click released
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
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
Re: Accel 2 click released
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.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
Thank you
- Attachments
-
- Accel2.rar
- (63.49 KiB) Downloaded 562 times
Re: Accel 2 click released
Rukario19 wrote: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.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
Thank you
- biljana.nedeljkovic
- mikroElektronika team
- Posts: 1043
- Joined: 30 Jun 2015 15:15
Re: Accel 2 click released
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
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
Re: Accel 2 click released
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.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
- biljana.nedeljkovic
- mikroElektronika team
- Posts: 1043
- Joined: 30 Jun 2015 15:15
Re: Accel 2 click released
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
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
Re: Accel 2 click released
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