vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Community Lounge (https://vborg.vbsupport.ru/forumdisplay.php?f=13)
-   -   Filburt's Calculator, part II (https://vborg.vbsupport.ru/showthread.php?t=49047)

filburt1 02-17-2003 10:41 PM

Filburt's Calculator, part II
 
1 Attachment(s)
Okay, the calculator is now running on an AC adapter and I resoldered the connections for the computer link. And check it out (attached). Now I have to write a program that sends key system variables to the calculator so I can have a little screen on my case that shows CPU usage, memory usage, number of new mail messages, etc. :)

Dominick 02-17-2003 10:55 PM

can you install embedded linux onto it?

filburt1 02-17-2003 10:56 PM

If you can write it I would but it only has 27 KB of RAM...

mheinemann 02-17-2003 11:09 PM

Quote:

Originally posted by filburt1
If you can write it I would but it only has 27 KB of RAM...
So you probably couldn't run a web server off of it. lol

filburt1 02-17-2003 11:37 PM

What I would appreciate though is if anybody knows how to interface a Visual Basic program to one written in TI-BASIC running on the calculator. Once I get that then I'm set :)

Dominick 02-17-2003 11:51 PM

wait... embedded linux. a web server

I say someone should develop "EMBEDDED vBulletin"

first hack... stickies using the cosine button

filburt1 02-18-2003 12:57 AM

Eh, what the s*** dude:
Code:

PC: 03 C9 0B 00 09 00 00 41 00 00 00 00 00 00 00 4A 00 Request to send Real Number "A"
TI: 83 56 0B 00 Acknowledgement of request
  83 09 0B 00 Clear to send variable
PC: 03 56 00 00 Acknowledgement of CTS
  03 15 09 00 00 80 12 56 34 78 85 25 55 93 02 Variable data: "1.2563478852555"
TI: 83 56 09 00 Acknowledgement of data
     
PC: 03 C9 0B 00 09 00 00 42 00 00 00 00 00 00 00 4B 00 Request to send Real Number "B"
TI: 83 56 0B 00 Acknowledgement of request
  83 36 01 00 03 03 00 Out of memory
PC: 03 56 01 00 Acknowledgement of out of memory

Sounds like fun :(

Dominick 02-18-2003 01:28 AM

umm... clear your temporary internet files. your cache, your history and go to a command prompt

type format C;\

filburt1 02-18-2003 01:59 AM

Installing VB right now (Visual Basic) to try to connect to the COM port and see what magically happens when I send the calculator stuff in its language, and to listen to it say "What the hell did you just send me?". :)

Dean C 02-18-2003 09:14 AM

Lmfao this is all a bit complicated for me :p

Brad 02-18-2003 10:05 AM

Heh i used to play with mine all the time. I wrote a few things for it, mostly so i could cheat in galga and space invaders while i was supose to be listening to the techer in math class :D

filburt1 02-18-2003 04:38 PM

Well I know the calculator is listening because when I continuously hammer it with comm events the cursor stops blinking. I think I'm speaking esperanto though because it doesn't say anything back. Maybe I'm just making lame conversation with it, too.

Chris M 02-18-2003 04:57 PM

Maybe it wonders, like me, what the hell you are going on about;):p

Satan

filburt1 02-18-2003 05:03 PM

Connecting a calculator to a PC so I can use the screen to show stats like memory load, CPU usage, etc.

And ta-da!:
Quote:

Me: 03 C9 0B 00 09 00 00 41 00 00 00 00 00 00 00 4A 00, dude?
Calculator: 83 56 0B 00 83 09 0B 00, baby!

Dean C 02-18-2003 05:14 PM

Why do you want to do that?

filburt1 02-18-2003 05:16 PM

To make a kickass computer mod where I can have the LCD stuck on the front of my computer.

filburt1 02-18-2003 07:15 PM

Guess what:
Code:

83 56 00 00 83 15 00 03 70 00 00 00 00 00 00 00
 00 00 00 00 88 00 00 00 00 00 00 00 00 00 00 00
 88 00 00 00 00 00 00 00 00 00 00 00 F8 00 00 00
 00 00 00 00 00 00 00 00 88 00 00 00 00 00 00 00
 00 00 00 00 88 00 00 00 00 00 00 00 00 00 00 00
 88 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 1C 00 00 00 00 00 00 00 00 00 00 00 22
 00 00 00 00 00 00 00 00 00 00 00 26 00 00 00 00
 00 00 00 00 00 00 00 2A 00 00 00 00 00 00 00 00
 00 00 00 32 00 00 00 00 00 00 00 00 00 00 00 22
 00 00 00 00 00 00 00 00 00 00 00 1C 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 1C 00 00 00 00 00 00 00 00 00 00 00 22
 00 00 00 00 00 00 00 00 00 00 00 26 00 00 00 00
 00 00 00 00 00 00 00 2A 00 00 00 00 00 00 00 00
 00 00 00 32 00 00 00 00
 00 00 00 00 00 00 00 22 00 00 00 00 00 00 00 00
 00 00 00 1C 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 1C 00 00 00 00
 00 00 00 00 00 00 00 22 00 00 00 00 00 00 00 00
 00 00 00 26 00 00 00 00 00 00 00 00 00 00 00 2A
 00 00 00 00 00 00 00 00 00 00 00 32 00 00 00 00
 00 00 00 00 00 00 00 22 00 00 00 00 00 00 00 00
 00 00 00 1C 00 00 00 00 00 00 00 00 00 00 00 00
 F8 00 00 00 00 00 00 00 00 00 00 00 F8 00 00 00
 00 00 00 00 00 00 00 00 F8 00 00 00 00 00 00 00
 00 00 00 00 F8 00 00 00 00 00 00 00 00 00 00 00
 F8 00 00 00 00 00 00 00 00 00 00 00 F8 00 00 00
 00 00 00 00 00 00 00 00 F8 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 D2 0D

That's a screenshot, apparently :)

Erwin 02-19-2003 05:02 AM

Can you make it talk to you like TomBot? That's the question...

If you can turn your calculator into R2-D2, then you have my R-E-S-P-E-C-T... ;)

filburt1 02-19-2003 07:36 PM

Code:

Sent "03 C9 0B 00 09 00 00 41 00 00 00 00 00 00 00 4A 00"
Debug: Sent to port 17 bytes
Received "83 56 0B 00" (4 bytes)
Debug: Received from port 4 bytes
Received "83 09 0B 00" (4 bytes)
Debug: Received from port 4 bytes

w00t

Dominick 02-19-2003 07:40 PM

would you be so inclned as to mod your calculator as a personal communicator. provided I register "filburts-calc-hacks.com


:D

filburt1 02-19-2003 07:41 PM

http://www.ticalc.org/

There sure are a lot of calculator nerds out there :)

Dominick 02-19-2003 07:46 PM

then & now

:o
:D

Mystic Gohan 02-19-2003 07:56 PM

I have been working on a movie program. I have everything worked out its just no movies to put on :p anyone know how to store the pics as files so you dont have to use RecallPic 1 to show a image on the calc screen

Dominick 02-19-2003 09:05 PM

can you render the movie in ascii?

filburt1 02-19-2003 09:30 PM

You could but the calculator's processor runs at 6 MHz and has 27 KB of RAM so good luck with that.

Also finally got the full thing working. Now I have to figure out how to change the variable's name and value that I'm sending:
Code:

Opening serial port...
Sending RTS...
Sent "03 C9 0B 00 09 00 00 41 00 00 00 00 00 00 00 4A 00"
Received "83 56 0B 00" (4 bytes), responding...
Not responding to "83 56 0B 00"
Received "83 09 0B 00" (4 bytes), responding...
Sent "03 56 00 00"
Sent "03 15 09 00 00 80 12 56 34 78 85 25 55 93 02"
Received "83 56 09 00" (4 bytes), responding...
Not responding to "83 56 09 00"


filburt1 02-21-2003 12:02 PM

...and I've been unsuccessful in that regard :( I can only set variable A to 1.2-something; I can't figure out how to correctly change A to some other variable and value.

Dominick 02-21-2003 12:09 PM

not sure if this is right wrong or indifferent. also dont know what language you are using, but do you have to assign a memory location for the program that you are writing? perhaps the variable you are calling already has that value set in the mem location and you have to write a new one in...

-Dom

filburt1 02-21-2003 12:12 PM

I'm just following a reference I found after days of looking of what to send and receive with the serial port and the variable format I'm trying is getting rejected.


All times are GMT. The time now is 04:43 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01124 seconds
  • Memory Usage 1,775KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (28)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete