Show Posts
Pages: 1 2 [3] 4
31  Forum 2005-2010 (read only) / Exhibition / Re: Arduino : Portal - Still Alive on: November 26, 2010, 09:33:20 am
The sketch is already available; see the TellyMate Shield Examples page.
However, be warned: It's very large and not particularly easy to read. (i.e. I'm not overly proud of the code quality!)
I might spend some time and put together a simpler 'tune only' demonstration...

Quote
Makes me wanna play Portal again
I can recommend the flash map pack levels.
32  Forum 2005-2010 (read only) / Exhibition / Re: Arduino : Portal - Still Alive on: November 25, 2010, 05:17:25 am
I'm afraid there was nothing automated here.

I took a sheet-music version I found and encoded each note by hand into the internal format that I use.

This internal format is essentially an array of 'duration' + 'note' values.
The 'note' value is an index into a separate lookup table for the frequency.
33  Forum 2005-2010 (read only) / Exhibition / Re: Arduino : Portal - Still Alive on: November 20, 2010, 06:03:47 am
Quick update: I've replaced the 'tone()' music with some two-channel, wavetable driven, ADSR envelope shaped music instead...
[media]http://www.youtube.com/watch?v=3cFXxY7K6wo[/media]

The updated sketch will be available shortly from the batsocks website...
34  Forum 2005-2010 (read only) / Exhibition / Arduino : Portal - Still Alive on: October 27, 2010, 01:49:31 pm
I've been playing with a TellyMate shield, some polygons and a speaker...

[media]http://www.youtube.com/watch?v=a_RKKbkprx0[/media]

The sketch is available on the TellyMate Examples page.
The speaker is connected as per the Arduino tone() tutorial.
It's easy to convert it to a standard serial stream (instructions are in the sketch), and it plays nicely with the Arduino IDE's Serial Monitor (at 57600 baud)

               -+++$*+-.           .=++*$=--.   $$.        
             -*H########H*-       =*##########$= -=.        
           .+H#H*=----=+$##*     $##H*+=----=$##*-          
           $#$-          .*#$. -H#$-          .$#H          
          .H$              +#H*##*      $       H#-        
          =#+     $$$$=     =###+     -*H$$     +#*        
          -#$              =H#H##+      $       *H.        
           H#*.          -*#H= =H#$.          .$#H          
           .$##$=.  ---+H##$.    *##H*=-..--+$##$          
             =*##########$=       =$##########H+            
                ==+$$*++-            -=+*$$++-              


I think that it should run on any Arduino with 2kb SRAM.
I'm running it on a 328-base Duemilanove clone.
35  Forum 2005-2010 (read only) / Exhibition / Re: TellyMate Maze Teaser on: September 20, 2009, 04:44:15 pm
I've just uploaded a couple more videos to youtube...

Scribble:
[media]http://www.youtube.com/watch?v=WlCxdM6Si-Q[/media]

and "Life":
[media]http://www.youtube.com/watch?v=2kSE5jkqgAs[/media]

More details are available (as well as the sketches) from the TellyMate Shield Examples page.
36  Forum 2005-2010 (read only) / Exhibition / Re: TellyMate Maze Teaser on: August 05, 2009, 04:43:52 pm
Yup, Andrew's previously posted his 'Life' on the tellymate...

[media]http://www.youtube.com/watch?v=Bsb930zd5As&fmt=18[/media]
37  Forum 2005-2010 (read only) / Exhibition / Re: TellyMate Maze Teaser on: August 05, 2009, 04:25:26 pm
I started writing a simple slider / bar drawing routine for the TellyMate, but got a little carried away and stuck a load of them together... Here's a video of  25 -/+ bar displays on my monitor...

[media]http://www.youtube.com/watch?v=9_Fs88lQtw4[/media]

For speed, it only redraws the parts of each bar that has changed.
It uses the filled and half-filled characters (219,221 and 222) of code-page-437.
38  Forum 2005-2010 (read only) / Exhibition / TellyMate Maze Teaser on: June 27, 2009, 05:37:11 pm
I've just uploaded my first video to youtube...

[media]http://www.youtube.com/watch?v=VQNT2bKiFv0[/media]

The maze game isn't quite finished yet, but when it is, I'll make it available on the Batsocks website.
Hopefully it shows a little more of what a TellyMate Shield can do.
39  Forum 2005-2010 (read only) / Exhibition / Painting on your Telly on: June 08, 2009, 04:50:28 am
My brother's just written a simple painting program for his TellyMate Shield.
I had a play, and came up with some fine art...

(They're not my hands, by the way - my nails weren't made for photography)
Personally, I think it beats anything done on an iPhone, hands down.

It uses 6 buttons for up/down/left/right and paint/shift


Here's a link to the Batsocks Paint Sketch. It can also be found on the TellyMate Shield page smiley

[edit: I forgot to add a link to the 6 button shield that I'm using in the picture above - It's due to be released in the next couple of days]
40  Forum 2005-2010 (read only) / News / Re: TellyMate Shield - TV output for Arduino on: June 20, 2009, 02:22:32 am
Yup! You've got it spot on.

I can confirm that the only schematic difference between the original TellyMate and the TellyMate 1.1 is a trace between pin 3 of the TellyMate's Mega8 and Arduino pin D0.

Soldering this wire in place gives an original TellyMate the abiilty to transmit (obviously subject to the later firmware).

I'll put this information into the TellyMate User Guide's FAQ later today.
There'll also be a new firmware release this weekend. (Nothing too exciting - I'm squeezing in a couple more 'read' functions to transmit things like firmware revision, output format, cursor position etc. back. The release will also include .hex files for M168 and M328p's, should anyone be building their own and only have those chips available [?!]).
41  Forum 2005-2010 (read only) / News / Re: TellyMate Shield - TV output for Arduino on: June 15, 2009, 01:49:08 pm
Technically, with the right software changes, a sync separator and a simple analog switch (that's got a low resistance and suitable bandwidth) would allow the TellyMate to overlay on top of existing composite video. The software would need a reasonable amount of change, but shouldn't be too hard (e.g. wake on an external interrupt rather than an internal timer, don't output syncs etc.).

My main reasons for not doing this (so far) so are threefold:
a) To keep everything simple. The TellyMate design is very, very simple. One chip and a few sundry components.
b) Lack of sensibly priced parts at low volumes (it would grate that the LM1881 would cost more than the M8).
c) I've never had a personal need for it in any of my projects (!)

The_Bongmaster, if you've found out a way of getting a .hex file onto your M168's, then I'd be more than happy to supply you with a .hex compiled for a M168 - It would be untested though.
42  Forum 2005-2010 (read only) / News / Re: TellyMate Shield - TV output for Arduino on: June 11, 2009, 03:03:52 am
Quote
Interesting, what kind of data and how can it be used?
The 'transmit' functionality is very simple. <ESC>| causes the TellyMate to send back the ascii value of the character at the cursor.

It doesn't sound like much, but it means that the contents of the TellyMate screen can be 'read'. This could be a simple way for games to detect walls, other players etc. without having the overhead of storing a copy of the game-screen data on the Arduino.
43  Forum 2005-2010 (read only) / News / Re: TellyMate Shield - TV output for Arduino on: June 11, 2009, 02:40:21 am
I think that it might be possible to turn an Arduino into a TellyMate with a few components and uploading an M168 version of the TellyMate firmware (as yet untested) onto the Arduino using its bootloader - I'm not sure of the command line options required to get avrdude to upload a generic .hex file to an Arduino though, but I believe it can be done. This 'TellyMate Arduino' wouldn't be able to do anything else except be a TellyMate though.

You'd therefore need a second Arduino to tell the first 'TellyMate arduino' what to display (unless a blinking cursor is all you want to show!) - Oh, and because the 'TellyMate Arduino' would still have a bootloader, you'd need to disconnect the 'TellyMate Arduino' before uploading any sketches to the second Arduino, otherwise they'll both attempt to receive the new sketch and things would get messy.

I'd try making a 'TellyMate Arduino' myself, except that my Arduino is a lowly M8, so the TellyMate firmware won't fit on it whilst there's a bootloader there.

[I hope that was understandable - on reading through again, it might be easier for The_Bongmaster to just buy/make a normal TellyMate!]

In the hope of keeping this thread 'News' like, here's a picture of the new version of the TellyMate Shield:

It's now got a 'professional' PCB, proper straight-through headers and can send back data to the Arduino.
44  Forum 2005-2010 (read only) / News / Re: TellyMate Shield - TV output for Arduino on: June 10, 2009, 02:53:17 am
If you want to breadboard a TellyMate, there's circuit schematics (sch_tm_13.pdf) and source code (code_tm_19.zip) available from the Batsocks site.
If you just want to build one to talk to an Arduino, its actually rather simple, as TTL level serial signals are used (e.g. there is no need for the optional input conversion circuitry). You'll be able to do it with just a few components.

I've not previously had the firmware compiled for a Mega168 (M8 and M88 only), but I've just had a go, and it seems to be possible with a very simple source-code change: Anywhere that references _AVR_IOM88_H_ should be changed to use _AVR_IOMX8_H_ instead.

I'm afraid that I've not been able to verify that the (modified as above) firmware actually works on a M168 (I only own lowly M8 and M88s), but I can't see why it wouldn't.

I'm actually itching to try putting the TellyMate onto a 328 so that I can play with it's 2kb SRAM, but unfortunately all supplies of the 328 seem to have dried-up, and I don't think Atmel are interested in talking to the little-people about samples.
45  Forum 2005-2010 (read only) / News / Re: TellyMate Shield - TV output for Arduino on: May 17, 2009, 02:14:51 am
The TellyMate (and it's schematically identical sister, the TellyMate Shield) can only output characters.
Each character is 8 pixels wide by 9 pixels tall.

There is a slight complication in that the last of the 8 pixels is twice as wide as the others

Technically, you could claim that means a resolution of 304 x 225 pixels, but that's really misleading, as they're not directly addressable, and are only driven via the ROM-based font (so aren't even user definable).

I have written an article about the design of the TellyMate which details how it all works.

The following diagram shows a small example of what's output:
Pages: 1 2 [3] 4