An Implementation for Lego EV3 Mindstorm & Hitechnic Kit.
Libs for each sensor, motor etc and an simple example of line following and obstacle avoidance code.
☑️ Hitechnic DC Motors (I2C protocol)
☑️ Hitechnic Servo Motor (I2C protocol)
☑️ Lego Sensors like color sesnor, sonar, etc.
- include/
- src/
- Makefile to run the programm
Name | Description |
---|---|
ev3_dcmotor.c | Module with functionality of Hitechnic DC motors |
ev3_servo.c | Module with functionality of Hitechnic Servo motors |
ev3_sensor.c | Module for read Lego sensors like IR |
ev3_file.c | Module for reading/writing from/to files |
test_count.c | Test to count connected sensors on EV3 brick |
lfoa.c | An example of using the above module to solve lfoa |
Name | Description |
---|---|
dc-motor | Documentation of Hitechnic DC motors |
servo-motor | Documentation of Hitechnic Servo motors |
You can re-write LineFollowning and obstacle avoidance code as you wish (just ignore lfoa.c file).
lfoa.c is a sample code to guide you through using libs for building a project on ev3. See it as an example on how to use the different modules.
-
ev3_button
-
ev3_LCD
✨Example Sonar-Obstacle Avoid -->
✨ARM Servo Motion
📠 Feel free to contact through discussions' section.
More infos for ev3dev see: https://www.ev3dev.org