يحاول ذهب - حر
Pi Zero Portable BILINGUAL TRANSLATOR
January 2025
|Electronics For You
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).
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
هذه القصة من طبعة January 2025 من Electronics For You.
اشترك في Magzter GOLD للوصول إلى آلاف القصص المتميزة المنسقة، وأكثر من 9000 مجلة وصحيفة.
هل أنت مشترك بالفعل؟ تسجيل الدخول
المزيد من القصص من Electronics For You
Electronics For You
Smart Air Quality MONITORING SYSTEM
Air pollution is a critical concern in modern living environments, particularly in enclosed spaces such as homes, offices, factories, and laboratories, where prolonged exposure to harmful gases presents serious health risks. Continuous air quality monitoring is therefore essential to maintain safe and healthy indoor conditions. Here we detail the design and implementation of a compact, low-cost, smart air-quality monitoring system based on the Arduino Nano platform.
3 mins
February 2026
Electronics For You
"We Are Strengthening Supply Chains, Automation, And Talent To Drive Scalable, Sustainable Manufacturing Growth"
In an interaction with EFY’s Nitisha Dubey, Jayaramu N, from Aimtron Electronics shares insights into key government initiatives, sector challenges, and the company’s strategic growth and expansion plans.
2 mins
February 2026
Electronics For You
"We Are Growing At 30-40% Annually And Plan To Go For An IPO By 2027"
Is managing diverse customers easy in the EMS sector? In a conversation with EFY's Nitisha Dubey, Ashvin Navadia of Vinrox Technologies discusses how EMS companies address customer complexity and high-mix, variable-volume production.
2 mins
February 2026
Electronics For You
Low-Cost 40A, 1200V SOLID-STATE RELAY And VOLTAGE CONTROLLER
Relays are essential components in electronic systems and are widely used in IoT and AC-powered applications to control loads using sensor outputs or low-voltage DC signals. Conventional electromechanical relays rely on a mechanical plunger that physically connects or disconnects AC contacts to perform switching.
5 mins
February 2026
Electronics For You
"Investment In Talent And Automation Is Central To Building Scalable Manufacturing"
Is the Gujarat government supporting the growth of the electronics industry? How does Mefron manage skilled manpower and talent challenges? In an interaction with EFY's Nitisha, Hiren Bhandari of Mefron Technologies India Pvt Ltd discusses government support for the electronics sector and Mefron's approach to skilled manpower challenges.
2 mins
February 2026
Electronics For You
IndusAlexa And Google Assistant-Enabled IoT CONTROLLER
AI smart speakers and AI-enabled home automation devices are widely adopted and continue to see strong demand. However, achieving seamless integration with a high level of customisation remains challenging, particularly when adding sensors, lights, switches, relay actuators, fans, and bulbs to meet specific requirements.
6 mins
February 2026
Electronics For You
DIGITAL GAUGE And SUPER ELEVATION MEASURING System For Railway Tracks
Railway track laying, construction, and maintenance demand precise measurement of the gauge between two parallel tracks and superelevation, that is, the height difference between rails.
5 mins
February 2026
Electronics For You
Musical TEMPERATURE ALARM
Monitoring temperature is essential across many applications, from protecting sensitive electronic equipment to maintaining comfortable room conditions. Conventional temperature alarms typically use buzzers or LEDs, providing only visual, monophonic alerts. Here we present a musical temperature alarm that generates a pleasant melody, rather than a simple beep, when a preset temperature threshold is exceeded.
3 mins
February 2026
Electronics For You
THE WIDE SCOPE OF AI: Everything Everywhere!
What exactly should AI do for a business? Where does it stop? How do we define the scope? This lack of definition is the problem.
5 mins
February 2026
Electronics For You
OVERCURRENT/IDMT RELAY Using Arduino Nano And ACS712 Current Sensor
Overcurrent relays with inverse definite minimum time (IDMT) characteristics are widely used in power systems to protect electrical feeders and loads from overheating under abnormal operating conditions.
4 mins
February 2026
Listen
Translate
Change font size
