OBJECT RECOGNITION And DISTANCE MEASUREMENT Using Raspberry Pi 5 And Hailo-8L AI
Electronics For You
|September 2025
Imagine a vehicle cruising at 54 kilometres per hour, roughly the speed of an object moving 0.5 metres per frame at 30 frames per second (0.5 × 30 × 3.6 = 54 km/hr).
Mounted on the vehicle's roof is a compact, high-performance vision system built around a Raspberry Pi 5 board and a Hailo-8L AI accelerator. This real-time setup detects objects ahead and estimates their distances from the vehicle. When an object enters a predefined safety zone, the system can instantly issue warnings or activate emergency braking, enhancing both situational awareness and reaction time.
Built using an AI Accelerator HAT on a Raspberry Pi 5, the system operates as a production-grade AI platform capable of running at a minimum of 30 frames per second. Designed for vehicle mounting, it continuously scans the road, identifies objects in real time, and calculates their distances. These live readings are displayed on the terminal. If any object crosses a predefined proximity threshold, the system may trigger alerts via GPIO pins. Although the alert mechanism is straightforward to implement, it remains unbuilt in the current version. The components required for assembling the system are listed in the Bill of Materials table. Fig. 1 shows the authors' working prototype.
Connection and mounting
The AI accelerator can be mounted on top of the Raspberry Pi, as shown in Fig. 2. Note that since the AI HAT fully covers the main processor, the Raspberry Pi 5 tends to heat up significantly. To prevent overheating, it is strongly recommended to use an additional cooling method. In this system, only a specific fixed-type cooler fits within the narrow space available once the AI HAT is mounted. The complete setup and its individual components are shown in Fig. 2. The Raspberry Pi 5 must also be powered by a high-quality 5V, 4A power adaptor to maintain stable performance.

Bu hikaye Electronics For You dergisinin September 2025 baskısından alınmıştır.
Binlerce özenle seçilmiş premium hikayeye ve 9.000'den fazla dergi ve gazeteye erişmek için Magzter GOLD'a abone olun.
Zaten abone misiniz? Oturum aç
Electronics For You'den DAHA FAZLA HİKAYE
Electronics For You
Tech Majors Are Racing TOWARDS NET-ZERO - What About You?
Apple, Microsoft, Amazon, Google, Infosys, Wipro—global and Indian firms are heading closer to achieving net-zero emissions, a mandate to combat climate change. Here is what you need to know to start your journey...
12 mins
December 2025
Electronics For You
Miniature IoT WATER TDS And LEVEL MONITOR Cum CONTROLLER
For setups that rely on stored water, clear awareness of tank level and water quality is essential.
3 mins
December 2025
Electronics For You
The Impact Of GENERATIVE AI On The Future Of AUTOMOTIVE AND EVs
Autonomous vehicles, connected ecosystems, and smart factories are only the beginning. Generative Al is pushing the auto industry beyond predictions into a bold era of creativity-from EV design to real-time diagnostics and showroom automation. Here is how GenAl is reshaping innovation across the automotive value chain.
8 mins
December 2025
Electronics For You
How AI Tools Are Making SOFTWARE DEVELOPMENT BETTER
AI is reshaping how we code, debug, and collaborate. From Copilot to automation, it is changing software development in ways worth exploring.
3 mins
December 2025
Electronics For You
How AI Tools Are Making SOFTWARE DEVELOPMENT BETTER
AI is reshaping how we code, debug, and collaborate. From Copilot to automation, it is changing software development in ways worth exploring.
3 mins
December 2025
Electronics For You
5 Interesting Reference Designs FOR SMART HOMES
Smart home devices are transforming the way people interact with their appliances. They make homes more convenient, secure, and energy-efficient. From smart plugs and energy monitors to smart locks and thermostats, reference designs help design engineers create connected products that are easy to use, consume less power, and are reliable. These designs allow you to control devices remotely, track energy use, extend battery life, and automate routines. They provide practical solutions for upgrading homes and small commercial spaces without major modifications.
3 mins
December 2025
Electronics For You
Fancy USB LED VASE
This USB LED vase is a simple yet elegant device that fuses art with electronics to create a decorative lighting display. Powered directly from a standard USB port, it uses readily available components such as MOSFETs, resistors, capacitors, and LEDs to produce a striking, dynamic sequence of lights.
3 mins
December 2025
Electronics For You
"WHAT OTHERS SELL IN FOUR BOXES WE BUILT IN ONE"
Years of custom field work are shaping a product line with its own cloud, its own hardware, and a market that is now beginning to recognise its value.
8 mins
December 2025
Electronics For You
BUILD LARGE LANGUAGE MODELS
Large language models are machine learning models designed for a range of language-related tasks such as text generation and translation. Here’s how open source software can help you build your own large language model.
6 mins
December 2025
Electronics For You
Rare Earth Or Rare Ingenuity? India Remains Between The Two
With China firmly controlling rare earth exports, India confronts a critical moment in its technological trajectory.
8 mins
December 2025
Listen
Translate
Change font size

