the major goal of this research was the development and implementation of a control system able to avoid collisions during the flight for a mini-quadrotor helicopter, based only on its embedded sensors without changing the environment. however, it is important to highlight that the design aspects must be seriously considered in order to overcome hardware limitations and achieve control simplification. the controllers of a uav (unmanned aerial vehicle) robot deal with highly unstable dynamics and strong axes coupling. furthermore, any additional embedded sensor increases the robot total weight and therefore, decreases its operating time. the best balance between embedded electronics and robot operating time is desired. this paper focuses not only on the development and implementation of a collision avoidance controller for a mini-robotic helicopter using only its embedded sensors, but also on the mathematical model that was essential for the controller developing phases. based on this model we carried out the development of a simulation tool based on matlab/simulink that was fundamental for setting the controllers' parameters. this tool allowed us to simulate and improve the os4 controllers in different modeled environments and test different approaches. after that, the controllers were embedded in the real robot and the results proved to be very robust and feasible. in addition to this, the controller has the advantage of being compatible with future path planners that we are developing.