Using FreeRTOS Semaphores in Arduino IDE

by Phillip Stevens

  • 13,604 views
  • 9 comments
  • 22 respects

Using FreeRTOS multi-tasking in Arduino

by Phillip Stevens

  • 131,002 views
  • 45 comments
  • 132 respects


Replicated projects 0

 Phillip Stevens hasn't replicated any projects yet.

Respected projects 0

 Phillip Stevens hasn't respected any projects yet.
  • Using FreeRTOS multi-tasking in Arduino 23 days ago

    The best place to look is on the FreeRTOS web pages.
    https://www.freertos.org/Embedded-RTOS-Queues.html
    And, use Internet search engines to get some additional code examples and tutorials.

  • XBee Walkie Talkie 25 days ago

    Yes. You can. use that shield. You may need to configure it differently than I've suggested, depending on which Xbee modules you use, but essentially it will be similar.

  • Using FreeRTOS multi-tasking in Arduino 5 months ago

    Yes. I agree that the best way to get accurate timing is with an output ping-pong and an oscilloscope. I've used this method previously to measure the time taken in an interrupt (where there was a limited time budget).

    Any other method substantially disturbs the system, and specifically in this project the Watchdog Timer used to drive the FreeRTOS scheduler only has an inaccurate 15ms cycle, so trying to measure anything less than (say) half a second is going to be quite inaccurate.

    The code example you sent (in email) looks like it will be done in 5 ms or so. The time it will take to execute will be constant and the same with and without the scheduler. Unless the scheduler interrupts the task, and then you'll get quite a different (much longer) time probably in excess of 15ms before the task is scheduled to run again.

Add projectSign up / Login