TI-84+ to Arduino communication

Поділитися
Вставка
  • Опубліковано 19 лип 2010
  • I wrote a Z80 assembly program for my calculator to bit-bang strings to the 2.5mm jack communication port. For my Arduino I wrote a program in AVR assembly to read the data coming from the TI-84+ and display it on my HD44780 compatible LCD.
    For more information about the AVR→LCD part, read my blogpost:
    th0mas.nl/?p=28
    So to be clear: I'm not using UART to communicate here, which would have made it easier on the AVR side. I'm using my own 'protocol' (if you can call it that), I'm just sending the bytes bit by bit through the ring, while the tip indicates the status.
    For those wondering, the baudrate is currently around 56. I could use shorter delays on the Z80 side, but that would be more complicated code, and this was only a test. The implementation is far from optimal.
  • Наука та технологія

КОМЕНТАРІ • 12

  • @karmanyaahm
    @karmanyaahm 3 роки тому

    This is a pretty cool idea, this might be even be a good Arduino to computer communication protocol if done right (when USB isn't available).

  • @keoni29
    @keoni29 12 років тому

    Cool! I'm gonna make them communicate too for a school project!

  • @arnauddellamonica9443
    @arnauddellamonica9443 5 років тому +1

    Github or link please !

  • @thomasr_
    @thomasr_  12 років тому

    @Glarbful It works fine, just copy/paste it in your address bar, youtube doesn't lke actual links sadly.

  • @LiMiTeDxStudios
    @LiMiTeDxStudios 10 років тому

    I wrote a similar program for the ti89 in C. Mine justr let you pick an output pin and then set it either high or low or somewhere inbetween using PWM

  • @TheDJ3520
    @TheDJ3520 12 років тому

    neato!! If u want more fun, get a hold of a stepper motor.

  • @thomasr_
    @thomasr_  12 років тому

    @Glarbful Sorry about that, the link should be fixed now :)

  • @thomasr_
    @thomasr_  12 років тому

    @Glarbful Sure! It's not commented well or efficient at all, and probably buggy as hell, but hopefully it's helpful to you :) I hope this link works: th0mas.nl/downloads/titoavr.z80

  • @SkylerF
    @SkylerF 10 років тому

    Awesome! I wish I knew z80 assembley. I keep trying to learn, but I'm just too stupid for it. I only know send and get functions on ti basic :( . How did you learn asm?

  • @satchelfrost6531
    @satchelfrost6531 8 років тому

    Fuck yes, this is awesome! Is there a way to program the TI to store serial data from, let's say, an analog input from the arduino? P.S. love the Euler pic.

    • @ice-rv7tz
      @ice-rv7tz 4 роки тому

      This is technically his own custom protocol that only has output from the ti 84 but I imagine he could make it a little better by adding input capabilities. Since there are only two devices he could just have some kind of bit to say if he wanted to read, then wait for the input