Pi Zero Portable BILINGUAL TRANSLATOR
Electronics For You|January 2025
This system is designed as a bilingual translator, leveraging the gTTS library to support multiple Indian languages, including English (en), Bengali (bn), Gujarati (gu), Hindi (hi), Kannada (kn), Malayalam (ml), Marathi (mr), Tamil (ta), Telugu (te), and Urdu (ur).
SOMNATH BERA
Pi Zero Portable BILINGUAL TRANSLATOR

The two-letter codes in brackets specify the target language for speech conversion. For example: gTTS(text=translated_ text, lang=dest_lang). Speech conversion between languages is straightforward—simply adjust the source and target language codes. For instance, Gujarati speech can be translated into Spanish by updating the relevant codes.

Additionally, Google Text-ToSpeech (gTTS) supports numerous international languages, such as Arabic (ar), Chinese Simplified (zh), Chinese Traditional (zh-tw), Czech (cs), Danish (da), Dutch (nl), English (en), Filipino (fil), Finnish (fi), French (fr), German (de), Greek (el), Hebrew (he), Hindi (hi), Hungarian (hu), Indonesian (id), Italian (it), Japanese (ja), Korean (ko), Norwegian (no), Polish (pl), Portuguese Brazil (pt-br), Portuguese Portugal (pt), Russian (ru), Spanish (es), Swedish (sv), Thai (th), Turkish (tr), Ukrainian (uk), Vietnamese (vi), and others. The author’s prototype, featuring a 240x320 display and 5W+5W amplifiers, is shown in Fig. 1.

The testing covered English (en), Gujarati (gu), Bengali (bn), and and Hindi (hi) for Indian languages, alongside Russian (ru), Spanish (es), and German (de) for international languages. So, apart from English, Bengali, Gujarati, and Hindi, the accuracy of the outputs in other languages cannot be verified without additional feedback from expert readers.

Configuration The device requires a Raspberry Pi Zero installed with the latest Raspbian OS. Python 3 must be installed, along with the required libraries. These can be installed via the Linux terminal using the following commands:

X. Install python & pip: $> sudo apt install python3 python3-pip

1. Install gTTS (Google Text -to-Speech): $> pip install gTTS

2. Install SpeechRecognition: $> pip install SpeechRecognition

3. Install Adafruit-GPIO and Adafruit-ILI9341:

$> pip install Adafruit-GPIO

$> pip install Adafruit-ILI9341

Bu hikaye Electronics For You dergisinin January 2025 sayısından alınmıştır.

Start your 7-day Magzter GOLD free trial to access thousands of curated premium stories, and 9,000+ magazines and newspapers.

Bu hikaye Electronics For You dergisinin January 2025 sayısından alınmıştır.

Start your 7-day Magzter GOLD free trial to access thousands of curated premium stories, and 9,000+ magazines and newspapers.

ELECTRONICS FOR YOU DERGISINDEN DAHA FAZLA HIKAYETümünü görüntüle
ESP32-Powered AUDIO-VISUAL SIREN
Electronics For You

ESP32-Powered AUDIO-VISUAL SIREN

This sound alternator is designed to simulate the effects of a police siren, combining sound and light to create a dynamic audio-visual experience.

time-read
2 dak  |
January 2025
BLDC MOTOR With Web-Based Speed Control Using ESP32
Electronics For You

BLDC MOTOR With Web-Based Speed Control Using ESP32

Integrating wireless control into brushless direct current (BLDC) motor systems opens up exciting possibilities for applications such as remote-controlled cars, robots, and other innovative systems.

time-read
5 dak  |
January 2025
Pi Zero Portable BILINGUAL TRANSLATOR
Electronics For You

Pi Zero Portable BILINGUAL TRANSLATOR

This system is designed as a bilingual translator, leveraging the gTTS library to support multiple Indian languages, including English (en), Bengali (bn), Gujarati (gu), Hindi (hi), Kannada (kn), Malayalam (ml), Marathi (mr), Tamil (ta), Telugu (te), and Urdu (ur).

time-read
5 dak  |
January 2025
Op-Amp-Based VEHICLE THEFT DETECTOR
Electronics For You

Op-Amp-Based VEHICLE THEFT DETECTOR

A simple, low-cost device can effectively alert homeowners or occupants if a parked vehicle is moved or tampered with.

time-read
3 dak  |
January 2025
loT SMART METER With Dashboard
Electronics For You

loT SMART METER With Dashboard

Energy meters in homes track electricity usage, enabling accurate billing by governments and providers.

time-read
2 dak  |
January 2025
Choose The Right Cloud Platform For Implementing loT PROTOCOLS
Electronics For You

Choose The Right Cloud Platform For Implementing loT PROTOCOLS

Working with loT protocols like MQTT, AMQP, and CoAP on cloud platforms is essential for developing scalable and efficient lol applications. The choice of the programming platform will depend on factors like project requirements, existing skills, and target devices. Leveraging the appropriate libraries and cloud services can enable seamless integration of lol devices with cloud-based applications.

time-read
7 dak  |
January 2025
Why TMR SENSORS Lead Next-Generation Design
Electronics For You

Why TMR SENSORS Lead Next-Generation Design

TMR sensors are gaining traction in industries needing precision and power efficiency. What makes them the go-to choice for modern designs?

time-read
7 dak  |
January 2025
DESIGNING PCBs For EMI Management
Electronics For You

DESIGNING PCBs For EMI Management

Electromagnetic interference can derail your PCB’s performance. EMI management is not just a technical necessity but a hallmark of exceptional PCB design.

time-read
4 dak  |
January 2025
CUTTING COSTS, NOT CORNERS: Building Large Scale Applications With Open Source Software
Electronics For You

CUTTING COSTS, NOT CORNERS: Building Large Scale Applications With Open Source Software

Here are some strategies and best practices for leveraging open source to create enterprise-grade web and mobile applications without sacrificing quality or functionality.

time-read
6 dak  |
January 2025
"We Are One Of India's Very Few State Bodies To Manage The Entire Lifecycle Of The Electronics EcosystemFrom Approvals To Subsidies."
Electronics For You

"We Are One Of India's Very Few State Bodies To Manage The Entire Lifecycle Of The Electronics EcosystemFrom Approvals To Subsidies."

What is Gujarat State Electronics Mission GSEM), and how is it attracting major investments in electronics manufacturing, particularly semiconductor manufacturing, to Gujarat? To delve deeper, Electronics For You’s Nijhum Rudra spoke with Manish Gurwani, the head of GSEM. Here is what he revealed...

time-read
3 dak  |
January 2025