DIY data collection (with link to working code for Arduino and Bluetooth )

1235»

Comments

  • @DrMotor

    greetings! I really appreciate the help provided. I was testing with an esp32 wroom and it connects perfectly to racechrono but I couldn't see the values ​​of the potentiometers either in the app or in the Arduino serial port. Will there be any difference other than the esp32-s3? I'm going to wait for the S3 to arrive and try again. thank you so much

  • Hi May675, I only tested that it sends something from ESP32-S3, but that "something" is not necessarily correct or useful. I used a "Serial WiFi Terminal 1.31" (a freeware app on the phone, instead of RaceChrono) to see all the $RC3 messages as they arrive. One can also enable time-stamps in the terminal to check the timing jitter.
  • Hello greetings! My esp32-s3 has arrived, everything works perfectly, for the esp32 wroom I was testing and it worked at 5hz. very grateful for all the help provided.@DrMotor

  • Greeting @DrMotor ,
    I'm using your latest code in github with WeAct BlackPill STM32F411 board? i tried to compile it in CubeMX but have couple of errors.

    ERROR 1:-
    ============
    void RaceTemp_ADC_isr()
    {
    static uint chan = 0;
    uint16_t ADC_raw = LL_ADC_REG_ReadConversionData12(ADC1);
    switch ( ++chan )
    {
    case 1:
    NTC_raw = ADC_raw;
    chan = 0; // only one channel is configured
    break;


    ERROR 2:-
    =============
    send_string( CWSAP ); // <---- EDIT this in pass.h
    delay(1.0);
    send_string( "ATE0\r\n" ); // Echo off
    delay(0.1);


    These error preventing me to compile the project. Not sure what am i doing wrong here..

    Thanks
  • edited June 2024
    Hi @lilted86,
    #1 fix: change "static uint" into "static unsigned int". I pushed this change to github.
    #2: no fix needed -- what error message do you get? If you use UARTtoWiFi (on ESP32), then you can delete all ESP8266-related code, including the section giving you this error.

    I downloaded the current/latest IDE and MX today and the project compiled OK after the #1 fix. Only 3 warnings for unused variables.
Sign In or Register to comment.