close up of a TI-84 Plus CE running custom software

Going Digital: Teaching A TI-84 Handwriting Recognition

You wouldn’t typically associate graphing calculators with artificial intelligence, but hacker [KermMartian] recently made it happen. The innovative project involved running a neural network directly on a TI-84 Plus CE to recognize handwritten digits. By using the MNIST dataset, a well-known collection of handwritten numbers, the calculator could identify digits in just 18 seconds. If you want to learn how, check out his full video on it here.

The project began with a proof of concept: running a convolutional neural network (CNN) on the calculator’s limited hardware, a TI-84 Plus CE with only 256 KB of memory and a 48 MHz processor. Despite these constraints, the neural network could train and make predictions. The key to success: optimizing the code, leveraging the calculator’s C programming tools, and offloading the heavy lifting to a computer for training. Once trained, the network could be transferred to the calculator for real-time inference. Not only did it run the digits from MNIST, but it also accepted input from a USB mouse, letting [KermMartian] draw digits directly on the screen.

While the calculator’s limited resources mean it can’t train the network in real-time, this project is a proof that, with enough ingenuity, even a small device can be used for something as complex as AI. It’s not just about power; it’s about resourcefulness. If you’re into unconventional projects, this is one for the books.

Continue reading “Going Digital: Teaching A TI-84 Handwriting Recognition”

Slim Tactile Switches Save Classic TI Calculator With A Bad Keypad

For vintage calculator fans, nothing strikes more fear than knowing that someday their precious and irreplaceable daily driver will become a museum piece to be looked at and admired — but never touched again. More often than not, the failure mode will be the keypad.

In an effort to recover from the inevitable, at least for 70s vintage TI calculators, [George] has come up with these nice replacement keypad PCBs. The original membrane switches on these calculators have a limited life, but luckily there are ultra-slim SMD tactile switches these days make a dandy substitute. [George] specifies a 0.8 mm thick switch that when mounted on a 1.6 mm thick PCB comes in just a hair over the original keypad’s 2.2 mm thickness. He has layouts for a TI-45, which should also fit a TI-30, and one for the larger keypads on TI-58s and TI-59s.

While these particular calculators might not in your collection, [George]’s goal is to create an open source collection of replacement keypads for all the vintage calculators sitting in desk drawers out there. And not just keypads, but battery packs, too.

Pi Pico Enhances RadioShack Computer Kit

While most of us now remember Radio Shack as a store that tried to force us to buy batteries and cell phones whenever we went to buy a few transistors and other circuit components, for a time it was an innovative and valuable store for electronics enthusiasts before it began its long demise. Among other electronics and radio parts and kits there were even a few DIY microcomputers, and even though it’s a bit of an antique now a Raspberry Pi Pico is just the thing to modernize this Radio Shack vintage microcomputer kit from the mid 80s.

The microcomputer kit itself is built around the 4-bit Texas Instruments TMS1100, one of the first mass-produced microcontrollers. The kit makes the processor’s functionality more readily available to the user, with a keypad and various switches for programming and a number of status LEDs to monitor its state. The Pi Pico comes into the equation programmed to act as a digital clock with an LED display to drive the antique computer. The Pi then sends a switching pulse through a relay to the microcomputer, which is programmed as a binary counter.

While the microcomputer isn’t going to win any speed or processing power anytime soon, especially with its clock signal coming from a slow relay module, the computer itself is still fulfilling its purpose as an educational tool despite being nearly four decades old. With the slow clock speeds it’s much more intuitive how the computer is stepping through its tasks, and the modern Pi Pico helps it with its tasks quite well. Relays on their own can be a substitute for the entire microcontroller as well, like this computer which has a satisfying mechanical noise when it’s running a program.

Continue reading “Pi Pico Enhances RadioShack Computer Kit”

Upgrading At Least One Component Of A TI Calculator

Even though Texas Instruments were the first company to produce an integrated circuit and a microprocessor, their success as a company in the 60s and 70s was not guaranteed. At the time there wasn’t much demand for previously non-existent products like these, so to drive some business they built the first hand-held calculator, a venture that they are still famous for today. Since then, though, they’ve become a bit of a punchline for producing calculators with decades-old technology but with modern price tags, so while this business model was quite successful if you want a calculator with a few modern features you’ll have to take a DIY approach like this calculator retrofitted with a LiPo battery.

The modern battery pack, with a lithium polymer battery at its core, includes all of the circuitry needed to integrate it seamlessly into the TI-59 calculator, which is all available on the project’s GitHub page. This calculator originally used a 9V battery, so the new battery pack includes a boost converter to match the 3.7V from the new battery to the needs of the old calculator. It doesn’t stop there, though. The pack is rechargeable from an included USB-C port, has a built-in charge controller, and is housed in its own custom-built case that fits neatly into the calculator where the old battery would sit.

While this wouldn’t be a drop-in replacement for more modern calculators like the TI-83/84 and TI-89, a new case and a different boost converter would solve the problem of the AAA batteries dying during exams. It might make the calculators non-compliant with various standardized testing requirements, though (which TI was also instrumental in developing) so you may want to verify with your testing standard of choice before modifying a calculator you need for an exam. But if all the rules are off, why not add Wi-Fi to it too?

TMS 1000 Microcontroller - By Antonio Martí Campoy - Own work, CC BY-SA 4.0

The Early History Of The Microcontroller: It Came From Texas

Ti’s presentation of the rapid integration of calculator chips.
Ti’s presentation of the rapid integration of calculator chips.

Although for most generations alive today the era of microcontrollers (MCU) feels like it starts somewhere with the Intel 8051 and AVR MCUs, the history of these self-contained computing marvels that are now found just about anywhere begins long before those were even conceptualized. In a recent article titled Tiny Computers From Texas, [Babbage] goes through this early history of what would ultimately become such an integral part of daily life.

An MCU is defined as a small, self-contained computer, which requires few to no external components to function. This contrasted with the more traditional MPUs, or microprocessor units, where a computer was assembled out of one or more MPUs, I/O chips, memory SRAM and so on. It’s perhaps little surprise that the drive towards MCUs was the result of primarily the calculator market, where competing firms were trying to upstage each other with higher levels of integration into as few chips as possible, while driving down costs and power usage.

Ultimately, the Texas Instruments TMS 1000 was the first true MCU that got produced in large volumes after its release in 1974. Moving beyond calculators, the TMS 1000 found its way into toys, including the Speak & Spell – which uses another Ti chip (TMS 5100) for the voice synthesis – so that today any toy can be interactive in exciting and often noisy ways.

Back in 2020 we took our own affectionate look at this chip.

Showing pulse oximeter and color sensor combining to measure oxygen in blood and skin tone

Perfecting The Pulse Oximeter

We’re always looking for interesting biohacks here on Hackaday, and this new research article describing a calibrated pulse oximeter for different skin tones really caught our attention.

Pulse oximeters are handy little instruments that measure your blood oxygen saturation using photoplethysmography (PPG) and are a topic we’re no strangers to here at Hackaday. Given PPG is an optical technique, it stands to reason that its accuracy could be significantly affected by skin tone and that has been a major topic of discussion recently in the medical field. Given the noted issues with pulse oximeter accuracy, these researchers endeavored to create a better pulse oximeter by quantifying skin pigmentation and using that data to offset errors in the pulse oximeter measurements. A slick idea, but we think their results leave a lot to be desired.

Diagram showing pulse oximeter and color sensor combining to measure oxygen in blood and skin toneTheir idea sounds pretty straightforward enough. They created their own hardware to measure blood oxygen saturation, a smartwatch that includes red and infrared (IR) light-emitting diodes (LED) to illuminate the tissue just below the surface of the skin, and a photosensor for measuring the amount of light that reflects off the skin. But in addition to the standard pulse oximeter hardware, they also include a TCS34725 color sensor to quantify the user’s skin tone.

So what’s the issue? Well, the researchers mentioned calibrating their color sensor to a standard commercially-available dermatology instrument just to make sure their skin pigmentation values match a gold standard, but we can’t find that data, making it a bit hard to evaluate how accurate their color sensor actually is. That’s pretty crucial to their entire premise. And ultimately, their corrected blood oxygen values don’t really seem terribly promising either. For one individual, they reduced their error from 5.44% to 0.82% which seems great! But for another user, their error actually increases from 0.99% to 6.41%. Not so great. Is the problem in their color sensor calibration? Could be.

We know from personal experience that pulse oximeters are hard, so we applaud their efforts in tackling a major problem. Maybe the Hackaday community could help them out?

A small green circuit board with a tiny OLED display

An Oscilloscope Trigger For Vintage Video Processors

Working on retro computers is rarely straightforward, as [ukmaker] recently found out while designing a new display interface. Their oscilloscope was having trouble triggering on the video signal produced by older video circuitry, so they created the Video Trigger for Retrocomputers.

The Texas Instruments TMS9918 video display controller was used across a range of 1980s game consoles and home computers, from the well-known ColecoVision to Texas Instruments’ own TI-99/4. Substantial retro computing heritage notwithstanding, the video output from this chip was (for reasons unknown) not quite compatible with the Hantek DSO1502P oscilloscope. And without a better understanding of the video signal, it was difficult to use the chip with newer TFT displays, being designed for CRT televisions with more forgiving NTSC tolerances.

Maybe a different scope would have solved the problem, but [ukmaker] had a feeling that the ‘scope needed an external trigger signal. The Video Trigger project uses a LM1881 sync separator to tease out the horizontal and vertical sync signals from the vintage video chip, with the output piped into an ATmega 328P. Along with a smattering of discrete components, the ATmega aids the user in selecting which line to frame a trigger on, and the slope of the horizontal sync signal to align to. A tiny OLED display makes configuration easy.

If this has piqued your interest, [ukmaker] also has a great write-up over on GitHub with all the gory details. Maybe it will help you in your next vintage computing caper. Having the right tool can make all the difference, like this homebrew logic meter for hobby electronics troubleshooting. Or if you want to know more about the mystical properties of analog NTSC video, we’ve covered that, too.