This article presents an innovative IoT-enabled single-camera speed sensor designed for smart city applications. The research encompasses the development of both hardware and software components, focusing on a computer vision and artificial neural network-based system. A novel aspect of this study is the implementation of a distance-measuring algorithm that eliminates the need for expensive LIDAR sensors traditionally used in speed cameras. Instead, the system relies on convolutional neural networks (CNN) and computer vision algorithms to estimate vehicle speed accurately. Field testing was conducted in real conditions over several months, generating sufficient data to assess the device’s ability to function under various adverse conditions. The results demonstrate the system’s capability to perform vehicle speed detection consistently across diverse conditions, showcasing its potential as a scalable solution for urban traffic management. This makes the proposed system not only more affordable but also simpler to deploy and maintain, thereby enhancing its suitability for widespread use in smart city environments.