No matter how stable your mouse runs in maze, it always comes with the risk to crash during either search run or speed run. If it crashes at search ru[……]
Category Archives: STM32
update: Finalized Design for Green Giant V4.1 Lite, PCB design submitted.
After times and times of changes on my newly coming mouse: Green Giant V4.1 Lite, I finally have chance to make a detailed review and had all the deci[……]
How to use FLASH in STM32 to save explored maze instead of using EEPROM
As we all know, STM32 doesn’t build in EEPROM in the package. When I was designing my current mouse, I added a external I2C interface EEPROM to save e[……]
an easy PID function
As what I promised, I will post my simply PID(PD) controller code here:
void PID(void)
{
if((leftSensor > hasLeftWall &&[……]
always the first function to test when mouse is constructed
I got my mouse constructed recently, everything were fine except the external crystal wasn’t oscillating, so I used internal crystal instead.
Get Native 32Bit resolution for your encoder on STM32F4
For those who use STM32 F10x as the MCU for Micromouse must remember all general purpose timers are 16bits that gave you 65535 max resolution. Since t[……]
a easier way to use pulse control for IR sensor
Since pulse controlled are getting pretty popular these days, emitter need to be turned on with a current higher than forward current at a relatively[……]
a smarter way to write micros()
For those who use arduino before must know the function micros() returns system time in microseconds. AVR based arduinos use TIMER0 in MCU(such as ATM[……]
How to config interrupts priorities for STM32
I am testing nested interrupt recently on my STM32 dev board in order to ensure the relationships between nested interrupts are clear for me. I’ve rea[……]
how to make a simple auto download circuit for STM32
For those who know successfully downloaded code to STM32 through built in ISP must remember that you have to hold boot0 button(assume boot1 is already[……]