By Samson Chau
After this training you should understand the basics of:
- The use of Git
- C++ programing (MCU)
- Able to create an application of Mbed
- Understand the basic IOs and communication protocal we use
- Have a brief understand of PID
- Understand the command electronic compoenent we use.
- Basic soldering
- Electronic Rapid Prototyping & Basic Testing
- Passive compoents and system wiring
- Diodes && fuse
- yet to update
-
Mbed environment
-
BasiC
-
Extra_Advanced_C
-
Basic IO
-
pwm
-
uart
-
CAN
-
PID
- Git Basic
- Git Gud
In Polyu Robocon the task of this year for junior will list as follow:
Description: We will need a CAN BUS interface MCU to receive the command of the Master controller and control the SMC solinoid with Relay.
The module should be able to satisfly the requirement:
- Can Receive the CAN BUS command (id 0x50, 1M Bps)
- Can control different combination in 16 channel relay (GPIOs) with a single command
- A manual debug button and a state Led to display the state of the module.
- the extact command can be customize your self
Platform: Arduino IDE
Software material:
CAN BUS Module library:https://github.com/autowp/arduino-mcp2515
Arduino ide: https://www.arduino.cc/en/software
simular tutorial: https://robojax.com/controlling-16-channel-relay-module-using-arduino
Module :
-
CAN_BUS MCP2515 module
-
Arduino mega 2560
-
16 channel Relay
c620-m3508 lib: https://github.com/PolyU-Robocon/C620-C610-controller-PID-code-with-Mbed-STM32-
Description:
We will needed to use this library to control the DJI c620 and m3508 actruators with m3508. Each motor module have to tune seperatly to achieve the maximum performance of the module and prevent damge of the robot mechism
Content
yet to update,
As we needed to handle vesc for th fly wheel shooter this year, we needed to have some kind of control of vesc by the MCU or ROS system.
The Content of this task will be make the following approche work with VESC:
- Test the ROS USB Driver and connect the VESC via ROS
- Control the VESC via CAN BUS from MCUs
(optional)
- Control a USB to serial device and Connect the
For the someone who handle this task you should at least
-
unterstand and able to write a ros node
-
have VESC tools and able to config it
-
know the basics of C++
or
-
Know the MCU prgramming of Mbed and Arduino
-
Know the CAN-BUS communication protocal
-
have VESC tools and able to config it
-
Have STM32 or arduino to can bus hardware
Materials Support: https://github.com/SamsonChau/Motor-Driver-Material
In this year we have a new motor to control the pitch of the shooter with the new rmd motor
material: https://github.com/SamsonChau/Motor-Driver-Material/tree/main/RMD_motor
A Driver of ROS and STM needed to be satisfied the following requirement:
- Can Control the Position, Velocity and Torque of the motor
- Can monitor the real time Posirion, Velocity, Current and PID setting of the ,motor
- Can change parameter and set zero at runtime