Main
- Setup
- Buttons, debug LEDs
- Side sensors calibration
- Algorithm
- Communication
- Collision detection
Clara Casas Castedo & Miguel SΓ‘nchez de LeΓ³n Peque
2018-02-16
\displaystyle \begin{aligned} \overline{v_2} &= \overline{v_1} + \overline{w} \wedge \overline{r_{21}} \\ v_2 \overline{u} &= v_1 \overline{u} + (w \overline{u_z}) \wedge (2d \overline{t}) \\ v_2 &= v_1 + 2dw \\ \\ w &= \frac{v_2 - v_1}{2d} \end{aligned}
\displaystyle \begin{aligned} \overline{v_M} &= \overline{v_1} + \overline{w} \wedge \overline{r_{M1}} \\ v_M \overline{u} &= v_1 \overline{u} + (w \overline{u_z}) \wedge (d \overline{t}) \\ v_M &= v_1 + wd \\ &= v_1 + \left(\frac{v_2 - v_1}{2d}\right)d \\ \\ v_M &= \frac{v_1 + v_2}{2} \end{aligned}
Image taken from micromouseusa.com
Image taken from micromouseonline.com
Image taken from micromouseonline.com
Image taken from micromouseonline.com
Image taken from micromouseusa.com (Futura Project)
From the motion equations:
\displaystyle \begin{aligned} \dot{x} &= v_m cos \theta \\ \dot{y} &= v_m sin \theta \end{aligned}
Considering \dot{w} \equiv cte. and v_m \equiv cte.:
\displaystyle \theta = w_0 t + \frac{k}{d} t^2
Image taken from micromouseusa.com (Futura Project)
Peripheral | Use |
---|---|
ADC1 | Phototransistors |
ADC2 | Battery |
TIM1 | Sensors state machine |
TIM2 | Left motor quadrature encoder |
TIM3 | PWM signals for left and right motors |
TIM4 | Right motor quadrature encoder |
USART | Serial, Bluetooth |
GPIOS | Infrarred emitters, LEDs, buttons |
SYSTICK | Control |
\displaystyle y = e^{\frac{a}{x+b}}
More on micromouseonline.com
Who shares details about his micromice and posts many useful resources in micromouseusa.com
Who posts many useful and detailed resources in micromouseonline.com
Who shares details about his micromice and posts some useful resources