element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Project Videos
  • Challenges & Projects
  • element14 presents
  • Project Videos
  • More
  • Cancel
Project Videos
Documents Emulating a Speech Synthesis Chip with an ESP32 -- Episode 667
  • Documents
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Project Videos to participate - click to join for free!
Related
Recommended
3M-Optimizing-Machine-Vision
Engagement
  • Author Author: cstanton
  • Date Created: 28 May 2025 1:20 PM Date Created
  • Last Updated Last Updated: 29 May 2025 9:34 AM
  • Views 2374 views
  • Likes 5 likes
  • Comments 4 comments

Emulating a Speech Synthesis Chip with an ESP32 -- Episode 667

In this episode, Mark revives a 40-year-old speech synthesizer project based on the SP0256 chip, originally built for early home computers like the VIC-20 and Atari. After testing the original hardware with an Arduino Uno, he also explores a modern rebuild using the ESP32 and a software-based emulator, showing how vintage voice tech can still be enjoyed today with available parts. Read through and watch this episode to follow along with Mark's trip down memory lane and how circuit hardware can now be emulated.

Watch the Episode

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

Back in the ‘80 home computers like Vic-20, Commodore 64, Atari and ZX spectrum were a thing. Every kid in Mark's generation, who was into electronics or similar, had to own one. For most people it was to play arcade games at home but for a few it was their way into learning about programming. At home there was no internet and the capabilities of a simple home computer were very limited compared to what an average micro-controller nowadays can do. With a 3$ controller like the ESP32 and some coding you can do more in lesser time than what you could do with those home computers. However, home computers were fun to play with. Mark did a lot of coding on his Atari ST512 and started to build his first hardware to be used with his home computer.

The other day, while cleaning out his basement, Mark found an old project that he did for his home computer. Back in the days, one could buy a speech module that you could plug into the back of your computer to make it talk.  I believe for the VIC-20 that was the SAM module. 

Now around the same time magazines as ELEKTOR published articles to build your own module using a SP0256 CHIP.  Guess what Mark found? 

image

Mark found one of the very first PCB ‘s he ever created. He etched it in chemical to create tracks as that was how it was done, back in the days. This PCB holds a SP0256 and some electronics as stated in the datasheet. According to Mark, this has been laying in a drawer untouched for around 40 years!

Schematic

image

The SP0256 only needs a few external components to function. We have an Xtal and 1 or two capacitors that form the hearth of an oscillator. The oscillator frequency is around 4Mhz. If you play around with the oscillator frequency ( khz range) you will notice a change of pitch in sound. 

Little filtering is needed before the audio signal, coming from the chip can be send to an amplifier. The amplifier is simple and is based around an LM386. 

To control the SP0256, I will be using an Arduino uno.

Although it’s name might suggest different, we only need to address 6 bits to use all of it’s vocabulary. However, the chip dataport is 8 bits wide and that is because this chip was designed to be hooked up to an external ROM, expanding the vocabularies. For now, this means that will connect the two most significant bits to ground.

Time to renew

image

Now as you can see, all components surrounding the SP0256 on the PCB look old (they are). This PCB sat in a drawer together with other old electronics and as you can see all is covered in dust. I am not even sure if any of the electrolyte capacitors are still working or dried up completely. That’s why I will leave those components on the PCB and just use new once instead.


So, Mark placed it all on a breadboard, and added a few components.

image

As you can see, it all looks very wiry but don’t worry, its not hard. It’s probably harder to get your hands on a working chip than to follow the schematic. 

Arduino Libraries? ESP32 Emulation!

When Mark revived this old project, he was driven by curiosity and nostalgia. Because a very long time ago, Mark had a great time playing around with this chip. So, he figured it was worth a shot (and he was right - at least by his terms, what do you think?) Mark may not be the only one feeling this way. In the past years, (according to Mark) others have tried this too, and even left a library to be used with Arduino! How great is that. This sped up Mark's project big time!

This is great news, even after decades, this chip is still doing what it was designed for: Talking Fun!

Like Mark said at the beginning, for some this is a trip down memory lane. However, the younger generations might be thinking: "why? When we can do so much better with today's technologies!". And yes, that is true but if you into this robotic like voice, you will love it, even though it is old.

The sound chip is now obsolete, and it might be hard to get your hands on one. Fortunately, you don’t have to. There are a few sound libraries available to emulate the chip with nothing but software on the micro-controller. If you watch the episode, you'll see how this was performed on an ESP32.

Supporting Files and Links

  •  Supporting Files for Episode 667 of element14 presents 
  • ESP32 Board Library
  • GI SP0256 Voice Synthesis Chip

Bill of Materials

Product Name Manufacturer Quantity Buy Kit
Caramic Capacitor 22nF Kyocera 2 Buy Now
Capacitor 1uF Kyocera 1 Buy Now
Capacitor 100nf Kyocera 3 Buy Now
Capacitor 6,8uF Wurth 1 Buy Now
Capacitor 100uF Panasonic 1 Buy Now
Resistor 33K TE 2 Buy Now
Potmeter 10K Piher 1 Buy Now
Resistor 10E TT Electronics 1 Buy Now
Arduino uno Arduino Buy Now
Speaker Visaton 1 Buy Now
LM386N-4/NOPB Texas Instruments 1 Buy Now
Extras
ESP32 Doit Devkit v1, 
PAN8403 Audio board ( optional), 
 
  • arduino speech synthesizer
  • vintage computer projects
  • lm386 amplifier
  • esp32 voice emulator
  • 1980s computer projects
  • home computer nostalgia
  • retro electronics
  • talking chip
  • retro speech chip
  • speech chip demo
  • voice synthesis arduino
  • sp0256-al2
  • sp0256
  • sp0256 arduino project
  • friday_release
  • diy speech module
  • Share
  • History
  • More
  • Cancel
Actions
  • Share
  • More
  • Cancel
  • Sign in to reply
  • kmikemoo
    kmikemoo 19 days ago

    Great memories, donnersm !  I remember that there was an arcade game that spoke in this voice.  When you died, it laughed at you and said "Try the dollar coin." Smile

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • DAB
    DAB 19 days ago

    Nice project.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • ralphjy
    ralphjy 19 days ago

    Certainly brings back memories.  I probably still have something in a box somewhere - hardwired on a perf board Smile.  Don’t recall what sound chip I used.

    Great fun!  I’ll have to try out the ESP32 version.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • donnersm
    donnersm 19 days ago

    Drop my a line for remarks and questions 

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube