Navigation

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    1. Home
    2. Amin
    3. Posts
    • Profile
    • More
      • Following
      • Followers
      • Topics
      • Posts
      • Best
      • Groups

    Posts made by Amin

    Read out protection on openIMU300ZI

    Dear Support team,

    I have a question about read out protection level of openIMU300ZI mcu.
    is it possible to lock its read out? I plan to change it from 0 to 1 or maybe 2, is openIMU300ZI working after changing read out protection level or is it possible to stop it? I guess the level 2 of protection will restrict the program accessing the flash of mcu, what I am asking is " is it still working after changing read out protection level to level 1 or 2 ? " this sensor is a part of my project, I would like to protect my project even this sensor which I made some modification to the codes coming from the factory.
    if I am misunderstanding read out protection level please correct me.

    Best regards,
    Amin.

    posted in The OpenIMU Family •
    RE: openIMU on the boat

    Dear cek,

    Please let me know what is related to the staring moment, the acceleration ? The angular rate? Or anything else? So , please let me know how to modify the source code to fix the problem

    Regards,
    Amin

    posted in The OpenIMU Family •
    openIMU on the boat

    Hi,

    I have a project to control a boat, I am using openIMU300za in my project, I have a question about the starting angle of the IMU, I am using AHRS code, when the openIMU300za powers up, the default roll and pitch angle will be the position of the starting moment of the sensor, for example when there are waves in the water, the sensor will not show me the correct angle because it started with a wrong angle as zero, how can I start my openIMU300za in any sensor angle but follow real positions?

    is there any way in the source code to fix start position in the algorithm ?

    Regards,
    Amin.

    posted in The OpenIMU Family •
    RE: External Magnetometer Sensor

    Thank you so much, I need to know about algorithm . Please explanation the method.

    Best regards
    Amin

    posted in The OpenIMU Family •
    RE: External Magnetometer Sensor

    Hello again, It seems that there are two method for magnetometer calibration, 3D and 2D , please explanation 2D method for calculation soft and hard iron and transformation matrix.

    Best regards
    Amin

    posted in The OpenIMU Family •
    External Magnetometer Sensor

    Hello, I want to use an external magnetometer in my project, how can I calibration my external magnetometer sensor? Please explanation a method or offer me, I want to using attitude from openimu300zi and use an external magnetometer sensor .
    Your method for calibration magnetometer is only rotate in z axis for 1 or 2 minutes and final output is coefficients of hard and soft iron , and it seems that your transformation matrix is a matrix 2x2, is it right? If so , please explanation how to calculate coefficients and bias vector?
    images.png

    In this figure, the magnetometer sensor rotate in x,y,z axis and It has a 3x3 transformation matrix and 3 bias ...

    Best regards
    Amin

    posted in The OpenIMU Family •
    RE: INS401

    Hello again, is it open source too?

    Best regards
    Amin

    posted in General Discussion •
    INS401

    Hello , how much is INS401 ?
    Best regards
    Amin

    posted in General Discussion •
    RE: OpenIMU300ZI orientation

    Hi, it's easyScreenshot_20220107-160843_Gallery.jpg

    posted in The OpenIMU Family •
    RE: OpenIMU330BI Bypass Capacitors

    Hi, since you need to use the regulator , you have to using some capacitors ... there is no problem.

    posted in The OpenIMU Family •
    RE: Why the factory don't do the magnetometer calibration before openimu300 unit release to customer? How to do the openimu300 unit magnetometer calibration?

    Hi,

    How to use setUserMagAlignParams() ? how to calibrate magnetometer manually and compute hardIron_X , hardIron_Y , softIron_Ratio and softIron_Angle to use with setUserMagAlignParams()? what is your calibration algorithm? please give me an article about your calibration method. the source code of ProcessMagAlignCmds is not available, can you please show me the source code of ProcessMagAlignCmds function?

    I was sent start mag align with autoend command to the sensor, I then rotate the sensor in z axis more than 720 degrees, I can confirm that its working but the accept and save to eeprom command is not working. after sending accept and save to eeprom command ( 55 55 6D 61 01 05 A1 8B – Accept Mag-Align Results (write to eeprom) ) it will not save to eeprom, after restart it will start with default values.

    please help me to calibrate my openIMU300ZI.

    Regards,
    Amin.

    posted in The OpenIMU Family •
    RE: Why the factory don't do the magnetometer calibration before openimu300 unit release to customer? How to do the openimu300 unit magnetometer calibration?

    Hi,

    I have to calibrate my openIMU300ZI sensor follow the instructions, I have sent Start Mag - Align with auto end command ( byte array 55 55 6D 61 01 01 E1 0F ) to the sensor via user port on baud rate 115200 , but there are no responses on debug port, I have changed debug port's baud rate to 115200 and already tested on baud rate of 230400 with no success. I was add a Hello world message using DebugPrintString((char*)"HelloWorld\r\n"); in main.c just after DebugInterfaceInit(); and before osKernelStart(); to make sure the debug port is okay and working, I can see the HelloWorld message on my debug port.

    I have sent byte array from a simple program written in Delphi by myself.

    The application is VG-AHRS and version is 200211-193813-VG_AHRS.

    do I need to change anything to be able to calibrate magnetometers?

    Regards,
    Amin.

    posted in The OpenIMU Family •
    RE: openIMU300ZI SPI mode

    Hi, thank you for reply.
    Do I need to pullup spi pins with 10k resistors? ( miso , mosi , clk , nss)

    Best regards
    Amin

    posted in The OpenIMU Family •
    openIMU300ZI SPI mode

    Hi,

    I have to read data from my openIMU300ZI sensor through SPI connection, I have set up connections with correct wiring, SPI mode 3, with clock frequency 1Mhz.

    I have a question about Data ready pin, is it only for selecting UART or SPI peripheral or it can be use as real data ready signal to tel master MCU there are data available to read? ( in burst mode 0x3E00 )

    I planned to implement external interrupt on my master MCU and connect Data Ready pin to that, so by this way I can read data when ready to read. am I right or I am misunderstood ?

    Please explain the correct way to read data in burst mode on SPI.

    Regards,
    Amin.

    posted in The OpenIMU Family •
    RE: Debug port

    Hello, I'm waiting your answer, I need to calibrating heading for my project.

    Best regards
    Amin

    posted in The OpenIMU Family •
    RE: Debug port

    the code is 20011-193813-VG_AHRS I did not updated it recently.

    the only change to the original code was:

    in main.c file

    and a hello world message in main.c file before freertos kernel start

    // Apply factory configuration
    platformInitConfigureUnit(); 
    
    // Apply user-chosen configuration
    userInitConfigureUnit(); 
    
    // Initialize OS and create required tasks
    CreateTasks();
    
    // Initialize the DEBUG serial port
    DebugInterfaceInit();
    DebugPrintString((char*)"HelloWorld\r\n"); // <----- here is a hello world message on debug port, but nothing shows up on debug port
    
    //InitTimer_Watchdog( ENABLE );
    
    // Start Running the tasks...
     // Start scheduler
    

    osKernelStart();

    void DebugInterfaceInit(void)
    {
    char status[100];

    if(fSPI && fGPS){
        return;         // no resources 
    }
    
    int debugChannel = platformGetSerialChannel(DEBUG_SERIAL_PORT);
    
    if(debugChannel == UART_CHANNEL_NONE){
        //nothing to do
        return;
    }
    
    // Initialize the DEBUG USART (serial) port
    InitDebugSerialCommunication(230400); // debug_usart.c // <---- I was changed the baudrate of debug port to 115200 here
    DebugPrintString((char*)"from debug port\r\n");
    
    BoardGetResetStatus(status, sizeof(status));
    

    // ERROR_STRING(status);
    }

    I was sent 0x55 0x55 0x6D 0x61 0x01 0x07 0x81 0xC9 bytes on user port ( the port that receiving output data through that ), I expected to receive some information on the debug port, but nothing. I am sure that its not wiring problem.
    I'm using this pins ( 17 , 19 )

    debug.jpg

    posted in The OpenIMU Family •
    Debug port

    Dear friends,

    I have a problem on my openimu300zi , there is no output on debug port at 230400bps baudrate , I have changed the debug port's baudrate to 115200bps in source code too but no difference.

    Do I need to enable debug outputs in source code or its already enabled, I have to calibrate my magnet but there is no output on debug port.

    Please let me know if I need to do anything in the source code.
    I am using vg/ahrs app.

    Regards,
    Amin.

    posted in The OpenIMU Family •
    External magnetometer on openIMU300ZI

    Hi,

    I need to increase the accuracy of HEADING on my system, I am using openIMU300ZI, may I use an external magnetometer sensor such as RM3100 or HMC2003??? openIMU's output is attitude, I want to use an external magnetometer sensor separately with openIMU on my system to combine calibrated magnetometer's data with openIMU's quaternion (VG mode). could you please advise an algorithm to combine these data together, or at least an article.

    magnet.png

    Best regards,
    Amin.

    posted in The OpenIMU Family •
    RE: OpenIMU300za external crystal

    Hi,

    Thanks for the reply, I am trying to learn extended kalman filter using your library, currently I am using your ahrs app on my openimu module.

    Regards,
    Amin.

    posted in The OpenIMU Family •
    OpenIMU300za external crystal

    Dear support team,

    Can you please let me know what is the external crystal connected to stm32f405? The frequency please?

    Best regards,
    Amin.

    posted in The OpenIMU Family •