Author Topic: Serial VFD to TI-83+  (Read 4416 times)

0 Members and 1 Guest are viewing this topic.

Offline MGOS

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 336
  • Rating: +95/-0
    • View Profile
Serial VFD to TI-83+
« on: May 23, 2013, 07:39:03 am »
Since I got my large LCD working with the 83+ I've been looking through old electronics and parts I had and found some VFDs by NEC (looks like early 90s, maybe even late 80s). In case you don't know VFD stands for vacuum fluorescent display. They were used in e.g. calculators, audio equipment and automobiles. Today, most of them are replaced by the much cheaper LCDs, but they look awesome and are readable from any angle :)
So I figured out how to hook them up to an arduino, which was really simple because of its built-in serial interface. You can control everything just with one wire and ground. Well, that should make it possible to use it with the link port of the 83+, right? I wrote my own Axe routine to transmit Data serially at about 9600 baud (it works, that is everything that counts :P). It was a lot of trial and error and I had to try out a lot of different delay values to make it work.

The display has an external power supply (5V, 200mA); 2.5 mm connector: tip or ring is connected to pin 33, sleeve to any ground pin on the connector

Spoiler For Axe Code:
Code: [Select]
SR(1) //Luminance 100%
SR(17) //Normal Write mode
SR(20) //Disable cursor
SR(12) //Clear Display
0->A //initialize counter
While 1
SR(13) //Carriage Return
SR(' ')
SR(' ')
SR(A/100+'0') //100s
SR(A^100/10+'0') //10s
SR(A^10+'0') //1s
A+1^256->A //increment counter
Pause 100
EndIf getKey(15)

Lbl SR //Serial
0->r2 //reset parity
3->port //start bit
For(30):End //some delay
If r1.1 // get LSB
r1/2->r1  //shift right
If r2.1 //parity bit
0->port //Stop bit
I know it can be optimized and made cleaner, but it does the job ;)

Offline TIfanx1999

  • ಠ_ಠ ( ͡° ͜ʖ ͡°)
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 6173
  • Rating: +191/-9
    • View Profile
Re: Serial VFD to TI-83+
« Reply #1 on: May 23, 2013, 08:59:25 am »
That's pretty neat! :D

Offline TheNlightenedOne

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 427
  • Rating: +16/-1
    • View Profile
Re: Serial VFD to TI-83+
« Reply #2 on: May 23, 2013, 02:46:01 pm »
That's really cool! Nice job!
"Eris" (Ndless 3.1)
"Keto" (Ndless 3.1)
"Luna" (AMS 3.10, HW4)
"Aurora" (2.55MP)

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55941
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Serial VFD to TI-83+
« Reply #3 on: June 07, 2013, 11:41:34 pm »
Really nice! I also like how the fonts looks identical to the calc. :)
Dream of Omnimaga