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.
๐ฌ soylis.k@gmail.com
More infos for ev3dev see: https://www.ev3dev.org