Hello,
I have 6 ultrasonic sensors which I want to fire according to the following schedule: [Table attached]
How can I implement it by using timers, interrupts, or tasks in RTOS? It's a method to prevent crosstalk between sensors by firing them in a sequence of time, not simultaneously
They will fire in groups of 2.
First period:
S1 (sensor 1) fires at 24 ms
S2 = 49 ms
S3=24 ms
S4=49 ms
S5=24 ms
S6= 49 ms
Second period:
S1= 37 ms
S2=75 ms
S3= 39 ms
S4=77 ms
S5 = 41 ms
S6 = 79 ms
That's...
How to implement this schedule to fire 6 ultrasonic sensors?
I have 6 ultrasonic sensors which I want to fire according to the following schedule: [Table attached]
How can I implement it by using timers, interrupts, or tasks in RTOS? It's a method to prevent crosstalk between sensors by firing them in a sequence of time, not simultaneously
They will fire in groups of 2.
First period:
S1 (sensor 1) fires at 24 ms
S2 = 49 ms
S3=24 ms
S4=49 ms
S5=24 ms
S6= 49 ms
Second period:
S1= 37 ms
S2=75 ms
S3= 39 ms
S4=77 ms
S5 = 41 ms
S6 = 79 ms
That's...
How to implement this schedule to fire 6 ultrasonic sensors?