My journey creating a robotic arm
To create a robotic arm with 4 Degrees of Freedom (3 Planar + 1 Rotation at the base)
- Root Directory: contains CMake files for building and
.iocfile from STM32CubeMx. The.ioccontains configuration used by STM32CubeMx for its code generation. Core/: contains the code generated by STM32CubeMx. Also containsmain.c, in which we redirect the control flow to our own inApplication/Application/: contains code specific to the application. I.e. hardware control, inverse kinematics, etc.Drivers/: generated by STM32CubeMxThirdParty/FreeRTOS: contains FreeRTOS and importantlyFreeRTOSConfig.h
TODO: sketch
TODO:
TODO: maths
- SG90 Servo, positioned using 5V PWM signal
- Level Shifter for shifting PWM signal from 3.3V board level to 5V servo level
- TODO: stm32 board description
TODO: More detailed steps
Cross-Compile using CMake for ARM using: arm-none-eabi-gcc toolchain
On-board Debugging can be done using OpenOCD using the config st_nucleo_f4.cfg in the root directory