Designing mobile robot controllers for non-expert users is a complex task that involves programming abilities and developing accurate mathematical models for representing the robot's kinematics, sensor observations, and parameter estimations. Learning from demonstration (LfD) is a technique that enables robots to autonomously learn and perform new tasks from the observations of human demonstrations. Obtaining models with low computational complexity is of utmost importance for embedded robotics systems. This paper proposes the usage of LfD for learning three simple micro-skills (move forward, turn clockwise, and turn counterclockwise) that can be combined to efficiently perform more complex skills on a mobile robot. An adaptive single-layer perceptron neural network (SLP) and a Particle Swarm Optimization (PSO) training algorithm were implemented using a low-cost System-on-chip (SoC) device, allowing the robot to learn the wheel's speed profile for each demonstrated micro-skill and compose them to navigate around obstacles in complex scenarios. Real-world scenarios were used to statistically analyze the robustness of the proposed methodology, achieving a success rate of 100% for the known scenarios and a success rate of 61.81% for the unknown scenarios. Experimental results demonstrated that the robot correctly moves on several unknown scenarios that compose the three taught micro-skills, avoiding obstacles and correcting deviations from the initial position.