The detection of faulty bearings is an essential step in guaranteeing the safe and efficient operation of rotating machinery. Bearings, which also transmit the loads and pressures generated by the machinery, support the rotating shafts. A common method for bearing fault diagnostics is using signal processing techniques. In terms of accuracy, dependability, and sensitivity to various fault types and severity levels, these techniques do, however, have significant limits. To address these limitations, practitioners often integrate signal processing with advanced techniques like machine learning and data analytics to enhance diagnostic accuracy, reliability, and overall effectiveness in bearing fault detection and predictive maintenance. Exploration of various models has demonstrated enhanced results in managing nonlinear data to a certain degree; however, these models face challenges when dealing with intricately complex patterns. Moreover, CNNs can automatically learn relevant features from raw sensor data, capturing intricate patterns and relationships in the data without the need for manual feature engineering. CNNs can be optimized for scalability and real-time processing, essential for applications requiring quick decisions and computationally less expensive for large datasets compared to other models. An optimized one-dimensional Convolutional Neural Network (1D CNN) using different kernel sizes is proposed for predicting and finding bearing problems to overcome these constraints. This method creates a feature vector by applying many filters of various sizes to the input signal. Using the created feature vector, the input signal can be divided into many categories, such as healthy or unhealthy. In comparison to other methods, the proposed technology performs better and offers a high accuracy of 99.52% in bearing fault identification. The 1D CNN model with multiple kernel sizes excels in preserving data structure during dimensionality reduction, as confirmed by comparing t-Distributed Stochastic Neighbor Embedding plots. Particularly, the optimized 1D CNN with multiple kernel sizes accurately classifies faults with minimal errors, showcasing its fault classification proficiency compared with the other state-of-the-art methods. The visualization underscores the methodology's efficacy in discerning intricate fault patterns within the data.