Search found 22 matches
- 18 Sep 2016 10:31
- Forum: mikroBasic PRO for PIC General
- Topic: How to do I2CComunication with 3 GyroClick at the same time?
- Replies: 5
- Views: 2901
Re: How to do I2CComunication with 3 GyroClick at the same t
Hi, You can use the most two Gyro click with same I2C, but on one Gyro click you need to place jumper J4 to the GND position, on that way, these two modules will have different addresses. 3rd Gyro click you can use with I2C2. Functions in I2C2 Library work on the same way like the ones described in...
- 18 Sep 2016 10:17
- Forum: mikroBasic PRO for PIC General
- Topic: Control 2 Mikro Bus at the same time
- Replies: 7
- Views: 3990
Re: Control 2 Mikro Bus at the same time
Hi, When it comes to Gyro click, you can chose between two I2C slave addresses by setting I2C ADD jumper in certain position. Than, you can use two Gyro clicks on the same I2C. Just every time that you want to communicate to specified slave, you send it's address at the beginning of each communicat...
- 16 Aug 2016 15:53
- Forum: mikroBasic PRO for PIC General
- Topic: How to do I2CComunication with 3 GyroClick at the same time?
- Replies: 5
- Views: 2901
Re: How to do I2CComunication with 3 GyroClick at the same t
Hi, You can use MCU which has three I2C moduls or you can use some kind of I2C multiplexer chip. Best regards, Lana Thank you for your answer , I will try the first option at last resort, actually I'm working with the same I2C modul with the pic 18f45k22 i know that it has 2 i2c moduls but i see th...
- 16 Aug 2016 06:39
- Forum: mikroBasic PRO for PIC General
- Topic: How to do I2CComunication with 3 GyroClick at the same time?
- Replies: 5
- Views: 2901
How to do I2CComunication with 3 GyroClick at the same time?
Hi how are you, i'm a little bit confused, im trying to work with 3 GyroClick at the same time, but i dont have any idea how to do so? Can you help me with that? Thank you very much
- 18 Mar 2016 05:38
- Forum: mikroBasic PRO for PIC General
- Topic: Control 2 Mikro Bus at the same time
- Replies: 7
- Views: 3990
Re: Control 2 Mikro Bus at the same time
Hi, Do you use I2C, or SPI? I2C communication doesn't use chip select, it communicates with the slave using it's address. You can not establish communication in this way if you are using I2C communication. Best regards, Uros Thank you for your help, I use SPI but I want to make it in I2C, the code ...
- 16 Mar 2016 17:34
- Forum: mikroBasic PRO for PIC General
- Topic: Control 2 Mikro Bus at the same time
- Replies: 7
- Views: 3990
Re: Control 2 Mikro Bus at the same time
Hi, If I understand you right, you want to use this function for selecting desired SPI slave. From what I can see, you are only selecting specified SPI slave, but after you've done with that slave, you need to deselect it, which you are not doing with this function. I can suggest you to define two ...
- 15 Mar 2016 17:46
- Forum: mikroBasic PRO for PIC General
- Topic: Control 2 Mikro Bus at the same time
- Replies: 7
- Views: 3990
Control 2 Mikro Bus at the same time
Hi how are you, i have a dudes about how to control 2 mikro Bus at the same time, im using 2 Gyro Clicks, instead the procedure that i do works i have a dude if this is the correct way to do it, i supposed that the CS bit is the olnly one that has to change, and the other ones not, for example sub f...
- 18 Nov 2015 16:05
- Forum: Product Announcements
- Topic: Accel 2 click released
- Replies: 13
- Views: 28851
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
- 07 Sep 2015 09:41
- Forum: mikroBasic PRO for PIC General
- Topic: I Need HELP with ACCEL2 Click for PIC 18F45k22
- Replies: 1
- Views: 1063
Re: I Need HELP with ACCEL2 Click for PIC 18F45k22
Someone here can help me? I'm recently bougth an Accel2 Click, i'm testing it on EasyPicV7 and with PIC 18F45K22, i dont know what its wrong here is my code i'm only trying to get the value of the register who am i, I run the debugger and it freezes on I2C1_Repeated_Start() after it doesnt works, C...
- 07 Sep 2015 09:18
- Forum: mikroBasic PRO for PIC General
- Topic: I Need HELP with ACCEL2 Click for PIC 18F45k22
- Replies: 1
- Views: 1063
I Need HELP with ACCEL2 Click for PIC 18F45k22
Someone here can help me? I'm recently bougth an Accel2 Click, i'm testing it on EasyPicV7 and with PIC 18F45K22, i dont know what its wrong here is my code i'm only trying to get the value of the register who am i, I run the debugger and it freezes on I2C1_Repeated_Start() after it doesnt works, Ca...
- 27 Aug 2015 16:44
- Forum: Product Announcements
- Topic: Accel 2 click released
- Replies: 13
- Views: 28851
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 I used the MPU code for reference in order to use the I2C1, instead that has a Accelerometer and girosc...
- 26 Aug 2015 15:59
- Forum: Product Announcements
- Topic: Accel 2 click released
- Replies: 13
- Views: 28851
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 wi...
- 26 Aug 2015 07:15
- Forum: Product Announcements
- Topic: Accel 2 click released
- Replies: 13
- Views: 28851
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 wi...
- 18 Aug 2015 21:23
- Forum: Product Announcements
- Topic: Accel 2 click released
- Replies: 13
- Views: 28851
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....
- 18 Aug 2015 21:15
- Forum: mikroBasic PRO for PIC General
- Topic: Problem with Test Program of MPU IMU CLICK with 18f45k22
- Replies: 12
- Views: 4380
Re: Problem with Test Program of MPU IMU CLICK with 18f45k22
Hi, When the device is placed on a flat surface, it will measure 0g on the X- and Y-axes and +1g on the Z-axis. Please take a look at this datasheet for MPU-6000, page 25: http://store.invensense.com/datasheets/invensense/MPU-6050_DataSheet_V3%204.pdf Do you have good readings for ACCEL? Best regar...