Artificial neural networks (ANNs) are artificial intelligence techniques that have made autonomous driving more efficient and accurate; however, autonomous driving faces ongoing challenges in the accuracy of decision making based on the analysis of the vehicle environment. A critical task of ANNs is steering angle prediction, which is essential for safe and effective navigation of mobile robots and autonomous vehicles. In this study, to optimize steering angle prediction, NVIDIA’s architecture was adapted and modified along with the implementation of the Swish activation function to train convolutional neural networks (CNNs) by behavioral cloning. The CNN used human driving data obtained from the UDACITY beta simulator and tests in real scenarios, achieving a significant improvement in the loss function during training, indicating a higher efficiency in replicating human driving behavior. The proposed neural network was validated through implementation on a differential drive mobile robot prototype, by means of a comparative analysis of trajectories in autonomous and manual driving modes. This work not only advances the accuracy of steering angle predictions but also provides valuable information for future research and applications in mobile robotics and autonomous driving. The performance results of the model trained with the proposed CNN show improved accuracy in various operational contexts.