jw0k / serial2ti83

A program for Arduino Uno that makes it possible to connect a TI-83 calculator to a computer
MIT License
68 stars 25 forks source link

I am getting an error with a TI-83+ and i can't resolve it. #6

Open meeper123 opened 2 years ago

meeper123 commented 2 years ago

the error is "Msg: timeout occured while reading from the device. Cause: check that link cable is plugged and/or the calculator is ready." I can't seem to fix it I have the port right, the cable set too "graylink" and I have the code unchanged(for the arduino Uno) If anyone still uses this please help.

Stoutscientist commented 1 year ago

Did you ever get this working? I'm having the same issue on my Arduino Uno.

meeper123 commented 1 year ago

Did you ever get this working? I'm having the same issue on my Arduino Uno.

I did eventually get it to work reliably, I can't remember what I did, I'll install ti connect software, I'll update you once I get it working again.

Stoutscientist commented 1 year ago

Did you ever get this working? I'm having the same issue on my Arduino Uno.

I did eventually get it to work reliably, I can't remember what I did, I'll install ti connect software, I'll update you once I get it working again.

Thank you so much!

meeper123 commented 1 year ago

Did you ever get this working? I'm having the same issue on my Arduino Uno.

I did eventually get it to work reliably, I can't remember what I did, I'll install ti connect software, I'll update you once I get it working again.

Thank you so much!

I am so sorry for the late reply, I got caught up in some things. Here are all the files make sure to download whole folder and not just the files

I those are what worked for me, if it doesn't work for you tell me and ill see if I can help

Stoutscientist commented 1 year ago

Did you ever get this working? I'm having the same issue on my Arduino Uno.

I did eventually get it to work reliably, I can't remember what I did, I'll install ti connect software, I'll update you once I get it working again.

Thank you so much!

I am so sorry for the late reply, I got caught up in some things. Here are all the files make sure to download whole folder and not just the files

  • download TILP from sourceforge or the TILP website
  • open the ino file in the folder named "USB Serial ti83" and then upload to Arduino uno
  • close Arduino ide and open "device manager" (search it up after pushing windows key)
  • find the com port of arduino uno (should be "arduino uno (ComXX)")
  • right click on com port, select properties, port settings, Advanced, and set com port to COM1 COM2 COM3 or COM4 (make sure there is no in use next to it)
  • open TILP, push CTRL+D
  • set port to the same number of the com port
  • set cable to gray link
  • calc as your calculator, click the small magnifying glass, then push OK
  • select DIRLIST from top and you should see the calculators files

I those are what worked for me, if it doesn't work for you tell me and ill see if I can help

Wow, it actually worked! Thank you so much! This INO file seems to be different from the main one, do you mind if I create my own repo with it?

meeper123 commented 1 year ago

Did you ever get this working? I'm having the same issue on my Arduino Uno.

I did eventually get it to work reliably, I can't remember what I did, I'll install ti connect software, I'll update you once I get it working again.

Thank you so much!

I am so sorry for the late reply, I got caught up in some things. Here are all the files make sure to download whole folder and not just the files

  • download TILP from sourceforge or the TILP website
  • open the ino file in the folder named "USB Serial ti83" and then upload to Arduino uno
  • close Arduino ide and open "device manager" (search it up after pushing windows key)
  • find the com port of arduino uno (should be "arduino uno (ComXX)")
  • right click on com port, select properties, port settings, Advanced, and set com port to COM1 COM2 COM3 or COM4 (make sure there is no in use next to it)
  • open TILP, push CTRL+D
  • set port to the same number of the com port
  • set cable to gray link
  • calc as your calculator, click the small magnifying glass, then push OK
  • select DIRLIST from top and you should see the calculators files

I those are what worked for me, if it doesn't work for you tell me and ill see if I can help

Wow, it actually worked! Thank you so much! This INO file seems to be different from the main one, do you mind if I create my own repo with it?

Only thing I changed was the hardware serial library in the buffer size, with the library included with folder. If you do a repo make sure it is the whole folfer with the INO file and cpp/H files. I'm glad that is worked for you!

MeneerJansen commented 1 year ago

Did you ever get this working? I'm having the same issue on my Arduino Uno.

I did eventually get it to work reliably, I can't remember what I did, I'll install ti connect software, I'll update you once I get it working again.

Thank you so much!

I am so sorry for the late reply, I got caught up in some things. Here are all the files make sure to download whole folder and not just the files

  • download TILP from sourceforge or the TILP website
  • open the ino file in the folder named "USB Serial ti83" and then upload to Arduino uno
  • close Arduino ide and open "device manager" (search it up after pushing windows key)
  • find the com port of arduino uno (should be "arduino uno (ComXX)")
  • right click on com port, select properties, port settings, Advanced, and set com port to COM1 COM2 COM3 or COM4 (make sure there is no in use next to it)
  • open TILP, push CTRL+D
  • set port to the same number of the com port
  • set cable to gray link
  • calc as your calculator, click the small magnifying glass, then push OK
  • select DIRLIST from top and you should see the calculators files

I those are what worked for me, if it doesn't work for you tell me and ill see if I can help

I tried but it just won't work for me. I connected my TI Voyage 200 to a Windows computer. The TI is on port COM3. If a TI calculator is not attached to the Arduino, then shouldn't TILP at least recognize the Arduino as a Gray Cable? Absolutely nothing is recognized when I click the icon of the magnifying glass...

Should I activate some sort of communications screen on the TI calculator?

STOP THE PRESS. It does work with my other TI, the TI-85. But only if I use the original stereo to stereo "micro-jack" cable attached to the Arduino (by hand). I think that the micro-jack that I ordered from an electronics store is too small. It should be 2.5 mm wide but the orig TI jack is ever so slightly wider. I think the culprit is the jack connector that I used.

Will investigate further or order another jack plug....

meeper123 commented 1 year ago

Did you ever get this working? I'm having the same issue on my Arduino Uno.

I did eventually get it to work reliably, I can't remember what I did, I'll install ti connect software, I'll update you once I get it working again.

Thank you so much!

I am so sorry for the late reply, I got caught up in some things. Here are all the files make sure to download whole folder and not just the files

  • download TILP from sourceforge or the TILP website
  • open the ino file in the folder named "USB Serial ti83" and then upload to Arduino uno
  • close Arduino ide and open "device manager" (search it up after pushing windows key)
  • find the com port of arduino uno (should be "arduino uno (ComXX)")
  • right click on com port, select properties, port settings, Advanced, and set com port to COM1 COM2 COM3 or COM4 (make sure there is no in use next to it)
  • open TILP, push CTRL+D
  • set port to the same number of the com port
  • set cable to gray link
  • calc as your calculator, click the small magnifying glass, then push OK
  • select DIRLIST from top and you should see the calculators files

I those are what worked for me, if it doesn't work for you tell me and ill see if I can help

I tried but it just won't work for me. I connected my TI Voyage 200 to a Windows computer. The TI is on port COM3. If a TI calculator is not attached to the Arduino, then shouldn't TILP at least recognize the Arduino as a Gray Cable? Absolutely nothing is recognized when I click the icon of the magnifying glass...

Should I activate some sort of communications screen on the TI calculator?

STOP THE PRESS. It does work with my other TI, the TI-85. But only if I use the original stereo to stereo "micro-jack" cable attached to the Arduino (by hand). I think that the micro-jack that I ordered from an electronics store is too small. It should be 2.5 mm wide but the orig TI jack is ever so slightly wider. I think the culprit is the jack connector that I used.

Will investigate further or order another jack plug....

what OS do you use and what settings do you have on TILP? Maybe try setting the calculator as ti-92 or ti-89 titanium page 715~740 You could try using Ti Connect. I'm not to certain on what would've caused it, It could be as simple as a poor connection in the i/o port. did the calculator freeze or become unresponsive to key presses when you plugged in the Arduino

MeneerJansen commented 1 year ago

what OS do you use and what settings do you have on TILP? Maybe try setting the calculator as ti-92 or ti-89 titanium page 715~740 You could try using Ti Connect. I'm not to certain on what would've caused it, It could be as simple as a poor connection in the i/o port. did the calculator freeze or become unresponsive to key presses when you plugged in the Arduino

The problem appeared to be purely with the jack plug. The 2.5 mm plug that TI uses on the Graph Link cables have no "indent" on the tip. All jack plugs that you can buy in electronic shops have an indent in the tip. An average basic jack plug just won't work. I tried to solder some lead on the tip and filed the excess off. And it worked, sort of. But it might damage the calculator. So now I use the black jack to jack connection cable that came with the second hand TI-85 that I bought with some fiddling (crocodile clips) and now it works.

So for everybody reading this: try get an official TI cable, if only for the jack connector.

SpeeterYT commented 11 months ago

I also have this Problem, Ti Connect sometimes says it can see my Ti-89, but then crashes when I try to select it. TiLP never shows it in the List but sometimes is able to load a screenshot (strange, I know), but If I try to transmit a file, it says "Msg: timeout occured while reading from the device. Cause: check that link cable is plugged and/or the calculator is ready. System: (1977249328) The system cannot find the path specified." or just the timeout part without the "Cause". I am using the code provided by @meeper123, with no succes. My arduino is a UNO clone and my cable is from a "DATA CONNECTION KIT" for the Ti8x (it says windows 3.xx is requiered on the back of the box...). I cut the Serial port of (which didn't work with a sketchy china serial to usb adapter) and soldered jumper cables to the leads. This could be a coincidence but the last time the screenshot transfer worked, I pushed the cable in pretty hard to see if it was the Cable. I also adjusted the Timeouts: const unsigned long TXTIMEOUT = 100; //ms const unsigned long RXTIMEOUT = 50; //ms In TiLP the timeouts are at the defaults. Does somebody know what to do?

meeper123 commented 11 months ago

@SpeeterYT , have you tried using the ti-89's USB port to connect to a computer or are you trying the I/O port, if you are using the Arduino I believe you have to use the I/O port. do you have an image of the connector or a link from where you ordered it

MeneerJansen commented 11 months ago

I have to correct my last post. A generic 2.5 mm TRS Jack plug does work for me. However, like many have stated - I should have listened - a TI calculator needs the jack to be pushed in deeper than usual.

I ordered some generic 2.5 mm jacks from Aliexpress and soldered the wires on it. The outside is from black plastic and the jack itself is from metal. I used a Dremel and one of those round sandpaper drums that comes with it (as a matter of fact it comes w/ a lot of spares of those drums). That sandpaper proved strong enough to sand some of the metal off the metal jack plug in such a way that it fits now. My "jack" problems are gone now!

It's hard to describe what I've done, hope you get what I mean. I've made photo's that might clarify... See attachments too this post.

Micro jacks and Dremel bit Micro jack filed off and Dremel bit

@SpeeterYT : this may or may not solve your troubles. I got the same error messages. It's harder than one might think to properly connect to a TI calculator. God luck! :)

SpeeterYT commented 11 months ago

@SpeeterYT , have you tried using the ti-89's USB port to connect to a computer or are you trying the I/O port, if you are using the Arduino I believe you have to use the I/O port. do you have an image of the connector or a link from where you ordered it

Only the Ti-89 Titanium has usb, the normal one doesn't

SpeeterYT commented 11 months ago

I have to correct my last post. A generic 2.5 mm TRS Jack plug does work for me. However, like many have stated - I should have listened - a TI calculator needs the jack to be pushed in deeper than usual.

I ordered some generic 2.5 mm jacks from Aliexpress and soldered the wires on it. The outside is from black plastic and the jack itself is from metal. I used a Dremel and one of those round sandpaper drums that comes with it (as a matter of fact it comes w/ a lot of spares of those drums). That sandpaper proved strong enough to sand some of the metal off the metal jack plug in such a way that it fits now. My "jack" problems are gone now!

It's hard to describe what I've done, hope you get what I mean. I've made photo's that might clarify... See attachments too this post.

Micro jacks and Dremel bit Micro jack filed off and Dremel bit

@SpeeterYT : this may or may not solve your troubles. I got the same error messages. It's harder than one might think to properly connect to a TI calculator. God luck! :)

Okay, the only wierd thing is, that the cable I'm using is FOR a 89 and also sort of "locks" when pushed in. But I could try something. I've also thought of opening the calc and soldering wires onto the pads

SpeeterYT commented 11 months ago

I have to correct my last post. A generic 2.5 mm TRS Jack plug does work for me. However, like many have stated - I should have listened - a TI calculator needs the jack to be pushed in deeper than usual.

I ordered some generic 2.5 mm jacks from Aliexpress and soldered the wires on it. The outside is from black plastic and the jack itself is from metal. I used a Dremel and one of those round sandpaper drums that comes with it (as a matter of fact it comes w/ a lot of spares of those drums). That sandpaper proved strong enough to sand some of the metal off the metal jack plug in such a way that it fits now. My "jack" problems are gone now!

It's hard to describe what I've done, hope you get what I mean. I've made photo's that might clarify... See attachments too this post.

Micro jacks and Dremel bit Micro jack filed off and Dremel bit

@SpeeterYT : this may or may not solve your troubles. I got the same error messages. It's harder than one might think to properly connect to a TI calculator. God luck! :)

Now I just opened the calc and soldered wires onto it, whick worked! The problem I'm having now is, that sstart doesn't seem to work (or any other program)