Since it was mentioned a few days ago it has been at the forefront of my mind bugging me to play with it, so let's play
First I will cover the wiring of the TellyMate Tiny to the EZ-B and then I will cover how to use it.
So, when you get one it'll turn up and you have a bunch of bits;
1. Composite Video Cable
2. TellyMate Tiny board
3. Angled Pin Headers
4. Straight Pin Headers
5. 3x2 Pin Header for ISP
First things first, ignore the pin headers. The simplest way to connect this to the EZ-B is with a accessory extension cable (or servo extension as they are sometimes called).
All the TellyMate Tiny needs is a Vcc, Ground and Serial data. Vcc can be 5V so direct from the EZ-B is fine, ground as usual can connect to any common ground and serial data is sent from the EZ-B signal pin, this needs to be received by the TellyMate so connects on to the RX pin not the TX.
First cut off the one end of the extension cable and strip back the wires (similar to the camera mod, Ultra Sonic sensor etc).
Next you need to solder the wires like so;
Red to VCC
Black to GROUND
White to RX
That's it, it's ready to plug into any of the digital ports on the EZ-B. It really is that simple
One slight oversight is there are no mounting holes on the TellyMate Tiny. A small piece of sticky foam tape would be ideal to mount the board. Provided you leave access to the jack for the AV cable this will cause no problems. Sticking it to the back of the LCD screen/TV/Display seems like an ideal location too.
Now, in order to use the TellyMate you simply need to connect the output to a TV via the composite video input, select the correct channel and send the serial data to the TellyMate using the SendSerial() command in EZ-Script.
Further details to follow on the scripting and operation plus a quick review of the product and it's capabilities to aid you in deciding if it's right for your project. Stay tuned for updates
Asked
— Edited
These codes will work in all variants of the TellyMate
Note: Any
Reset the TellyMate
Code:
This will reset the TellyMate device to the state when it is first powered on.
Line Feed
Code:
This will move the cursor to column 0 of the current line without deleting or removing anything on screen.
Form Feed
Code:
This will clear the screen and move the cursor to column 0 of the last line i.e. the lower left hand corner.
Carriage Return
Code:
This will move down one line but leave the cursor in the current column.
Enable Auto Carriage Return
Code:
Turns on Auto Carriage Return - Will automatically carriage return on line feed.
Enable Auto Line Feed
Code:
Turns on Auto Line Feed - Will automatically line feed on carriage return.
Disable Auto Carriage Return
Code:
Turns off Auto Carriage Return.
Disable Auto Line Feed
Code:
Turns off Auto Line Feed.
Clear the screen and return home
Code:
This will return the cursor to the home position and clear the screen.
Return Home without clearing
Code:
This will return the cursor to the home position without clearing the screen.
Show diagnostic info
Code:
This will display the diagnostics information of the TellyMate on the screen.
Change font to single width single line
Code:
This will set the font to single width single height.
Change font to double width single height
Code:
This will set the font to double width single height.
Change to Single Width Double Height (top)
Code:
This will set the font to single width double height for the top half of the text. A duplicate line of text will be required for the bottom half using the bottom half code prior to the text code.
Change to Single Width Double Height (bottom)
Code:
As with Single Width Double Height (top) but will display the bottom half.
Change to Double Width Double Height (top)
Code:
As with Single Width Double Height but will display at double width also.
Change to Double Width Double Height (bottom)
Code:
As with Single Width Double Height but will display at double width also.
Turn the cursor on
Code:
This will turn the cursor display on.
Turn the cursor off
Code:
This will turn the cursor display off.
Enable Line Overflow
Code:
This will enable line overflow. When text extends beyond the final column of a row it automatically moves the cursor to the first column of the next row and continues to output the text.
Disable Line Overflow
Code:
This will disable line overflow. When text extends beyond the final column of a row it will display characters on the final column with the final character of the text string being displayed.
Turn On PAL mode
Code:
This will set the TellyMate to PAL mode for the output.
Turn on NTSC mode
Code:
This will set the TellyMate to NTSC mode for the output.
Invert the Output
Code:
This will inverse the output i.e. will display black text on a white background.
Revert to normal output
Code:
This will revert the output to normal i.e. white text on a black background.
Positioning the cursor
Code:
This will position the cursor in the upper left corner (position 0,0). By altering 0x20, 0x20 it will specify a different position. Positions are hex beginning at 0x20 (32 in decimal) for 0. For example, position 10,15 would require SendSerial(D8,57600, 0x1B, 0x59, 0x2a, 0x2f)
Moving the cursor
Up
Code:
This will move the cursor up. If the cursor is already on the top line it has no effect.
Down
Code:
This will move the cursor down. If the cursor is already on the bottom line it has no effect.
Right
Code:
This will move the cursor right. If the cursor is already on the right hand side it has no effect.
Left
Code:
This will move the cursor left. If the cursor is already on the left hand side it has no effect.
Display text
Code:
This will output the text (within the quotation marks) to the screen at the current cursor position in whichever display mode is currently set.
Further descriptions and examples of the above codes will follow along with demo videos and photos.
This is the result of just using the display text command. Notice how the next text follows from the old, no overflow, no picture mode and requires a lot more work.
This is set to return to home and clear prior to outputting however no picture mode has been set and therefore the display is incorrect. Also, cursor is set to on (note the _ after the text).
This is with the script correctly set up to output in the correct format and picture mode, with double height double width text for the "EZ-ROBOT.COM", single height double width for the "TellyMate Demo" and single height single width for the remainder of the text.
A short video which shows different sections of the text in the last image being displayed.
Another video which shows some of the various functions mentioned above, so you can see what they do.
Further videos displaying the above control sequences will also follow shortly.
I'm still working this through and updating it when I can.
FYI the commands are the same on all tellymate variants.
As for the ascii chart I posted, I kinda screwed up on the numbering system and started at 1 not at 0. I plan to adjust it if I keep the ascii method of positioning.
DOESNT need the full code only a example only,i see you did it for others you posted in EZ-CLOUD
I don't currently plan to use it in any robot.
The video is in post #2 just after the photos.
Enable/Disable Auto Line Feed and Auto Carriage Return - With these enabled either the LF or CR code will move to the next line and return to the start of the line.
Moving the cursor - up, down, left & right commands added, this just moves the current cursor position up, down, left or right by one.
Removed cursor positioning due to complicated method and issues using ASCII character " for positioning. I have sent feedback to Batsocks and hoping to come up with a solution for absolute positioning.
There is also a strong possibility of connection tutorials for all TellyMate variants available at batsocks.co.uk being added to post #1 in the near future.
I still have a few examples left to do, I want to show how to display sensor readings and update them within a fixed display. How to display bar graphs (if possible with the Tiny, I am unsure at the moment). Etc. More will come when I get the chance to play - it's just awkward since I mainly use my HTPC as a test rig which is connected to the TV that the TellyMate is also connected to.
Anyway, glad that the new hex method makes sense.
I will also provide the updated code samples for using the functions which the TellyMate Tiny doesn't support. This will come in over the next few days.
The Tellymate is a serial device which can output text and graphics to a TV through the composite connection. Similar to the LCD displays used in some robots but uses any display with a composite connection (the yellow plug, along the lines of scart). This means old TVs can be used as can small in car monitors.
They are a little out of date to be honest since you can pick up a small tablet which could be programmed to do a better job but if on a budget or want a retro feel these things are great.
If you have a look at the videos in this topic you should get an idea of what they do.