Welcome, RoboMasters! It’s time for class.
Today, we’re going to talk about the sensor adapters.
The sensor adapters allow third-party sensors to connect to the RoboMaster EP for programming,
expanding the capabilities of the EP.
Currently, the sensor adapters support ADC and IO interface sensors,
such as photoresistor and tracking ADC sensors,
as well as switch sensors like micro switches.
Now, we’re going to mount the sensor adapters.
It is recommended to mount the four sensor adapters to the four corners of the robot chassis extension platform,
and then fix each one in place with four screws.
Make sure the Select button is on the outside and the two ports face inward.
To connect the two rear adapters to the robot,
we’re first going to open the left and right chassis armor.
Now, we’ll use a 12-centimeter L-shaped data cable on each rear adapter to connect it to the hit detector port within the chassis armor.
Then, we’ll use two 14-centimeter data cables to connect the two front sensor adapters to the two CAN BUS ports on the power adapter module.
Now, we’ll connect each sensor adapter to a third-party sensor.
Here’s an example: a switch sensor.
So connect each pin of the third-party sensor into port 1 of the sensor adapter.
After mounting the sensor adapters,
you can check in the RoboMaster app if they have been installed.
Each sensor adapter has a default module number when it leaves the factory.
Make sure that the module numbers of different sensor adapters are not the same.
Otherwise, they will conflict. If the app prompts a message like “Unable to connect more than one Sensor Adapter 1,”
then renumber the sensor adapters so that they do not conflict.
The RoboMaster EP supports installing up to 6 sensor adapters.
Open the RoboMaster app and connect to the robot.
Enter into Settings, Extension Module,
and click on the Sensor Adapter’s Install.
Then, follow the prompts.
Press and hold the Select button on the sensor adapter for three seconds.
The LEDs on the adapter will blink,
indicating that it is now in addressing mode.
Then, short press the Select button to change the module number.
Shown in the figure here is what the four different LED indicators indicate in terms of the six potential module numbers.
Ensure the module numbers connected to different sensor adapters are not the same.
Otherwise, a module numbering conflict will occur.
After confirming the module numbers,
wait for five seconds,
and the LED indicator will return to a solid light,
which means that the installation of the sensor adapter is complete.
You can then view the status of each sensor adapter on the right side of the Extension Module page,
including the module number,
the Port 1 IO and ADC values,
the Port 2 IO and ADC values,
and the firmware version.
After the mounting and installation of the sensor adapter is complete,
it can then be used.
You can use a third-party platform to send sensor data.
You can also go to Lab and DIY programming in the app,
and use the blocks under “Sensor Adapter” to read the pin’s value for programming.
For more details, please refer to the Programming Guide.
Hit the like button if this tutorial was helpful.
If you need any support with your DJI gear,
feel free to contact us via Facebook messenger by follow the link in the description.
Thanks for watching!