Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 16:37 04 Jul 2025 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : And I thought I had it down pat .......

Author Message
hitsware
Guru

Joined: 23/11/2012
Location: United States
Posts: 535
Posted: 03:02pm 06 Jan 2015
Copy link to clipboard 
Print this post

BUT

VT100 board 1.2
MicroMite 4.5C
Composite Video (all works fine with Duinomite)

When I power up everything looks OK.
I can enter code
As soon as I goto EDIT I get a new line
with each keystroke ....
I notice at the bottom of the screen that the
entries (save cut .....) take up more than
the screen width ?
I think ? I used this board with VGA and it worked OK ....
 
robert.rozee
Guru

Joined: 31/12/2012
Location: New Zealand
Posts: 2428
Posted: 04:16pm 06 Jan 2015
Copy link to clipboard 
Print this post

you need to set the screen height correctly with:

OPTION LINES n


where n is the number of lines on the screen. i assume that the editor calculates the screen with automatically.

cheers,
rob :-)Edited by robert.rozee 2015-01-08
 
robert.rozee
Guru

Joined: 31/12/2012
Location: New Zealand
Posts: 2428
Posted: 04:22pm 06 Jan 2015
Copy link to clipboard 
Print this post

from geoff's website:

  Quote  Composite video can display 18 lines x 50 characters (PAL) or 15 lines x 50 characters (NTSC)


so n should be 18 for PAL, or 15 for NTSC composite video.
 
hitsware
Guru

Joined: 23/11/2012
Location: United States
Posts: 535
Posted: 04:33pm 06 Jan 2015
Copy link to clipboard 
Print this post

I set that @ 24 as prescribed ....
How can I calculate the right number ?

edit: ya beat me to it Edited by hitsware 2015-01-08
 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9586
Posted: 05:08pm 06 Jan 2015
Copy link to clipboard 
Print this post

Being that you are in America, and use NTSC video, you need to use the line OPTION LINES 15.

I think you may perhaps be confusing the VT100 terminal screen settings for PAL or NTSC with the MicroMite settings - both are different.

As the manual mentions, this is 24 lines by default, but remember that the MM is expecting a PC or VGA-type screen, and thus configures itself for a PC compatible line-number. At least, that is my understanding of it.

So therefore, when you connect the MM to the VT100, and use it's composite video output, the MM needs to be told that you want 15 line output, to make the composite video output work.

I will try this here now with a VideoMite PCB.

EDIT: Yes, I see what you mean. I cannot make the video output work in edit no matter what. It is always off. I can get SOME success with setting lines to 15(even for a PAL monitor!), but the bottom of the screen is still not right compared to how it looks on a VGA screen or in TeraTerm. Interesting.... Other members - please share your thoughts.

EDIT: OK, I have established that if you use the CONSOLE connected to the VT100, then the control codes are mucking up the composite video output. This does not seem to happen with the VGA output, just the composite. My guess would be that to fix that, you need to use one of the MM's com ports, which won't send any control codes.

However, if you wanted to use composite and program your MM, this would appear to be a slight problem.

Perhaps Geoff will offer his thoughts here...Edited by Grogster 2015-01-08
Smoke makes things work. When the smoke gets out, it stops!
 
hitsware
Guru

Joined: 23/11/2012
Location: United States
Posts: 535
Posted: 06:58am 07 Jan 2015
Copy link to clipboard 
Print this post

> I think you may perhaps be confusing
> the VT100 terminal screen settings for
> PAL or NTSC with the MicroMite settings

For sure

With VT100 set for PAL and OPTIONS LINES 15
at least it is usable
( If (as you noted) not the prettiest presentation )
IIRC it worked much better with VGA ......

> if you wanted to use composite and program your MM

Exactamundo !Edited by hitsware 2015-01-08
 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9586
Posted: 02:05pm 07 Jan 2015
Copy link to clipboard 
Print this post

Yeah, I am sure there is a slight issue here, but only with the composite video output of the terminal - the VGA and USB outputs seem to work fine, but the composite does not.

I have tried a couple of the VT100 text commands(large and jumbo text etc) on composite, and they work fine, but the built-in editor does not.

Watching this thread with interest...
Smoke makes things work. When the smoke gets out, it stops!
 
hitsware
Guru

Joined: 23/11/2012
Location: United States
Posts: 535
Posted: 02:25pm 07 Jan 2015
Copy link to clipboard 
Print this post

> but the built-in editor does not.

Yea ..... Not even quite usable after all.
(I may also have a fault of some sort in my board.
The whole thing reboots spontaneously every so often)

> Watching this thread with interest...

I perhaps should simply embrace the DuinoMite.
I'm not really trying to 'embed' anything more
than my personal gimmicks.
I wish the ColorMaximite had the hardware UART
( AND the composite video )
However the MicroMite w/VT100 (or VideoMite)
certainly would make a slick little PC
(with composite)
FWIW one of the reasons I like the composite
is my monitor has a very nice sounding MP3 player
built in
How does the DuinoMite handle video ???Edited by hitsware 2015-01-09
 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9586
Posted: 03:07pm 07 Jan 2015
Copy link to clipboard 
Print this post

You could use the CMM as your main processor, and use a MicroMite connected via it's console or I2C, to harness the MicroMite's hardware serial port - depends on how fast you need the com support, as the natural bottleneck in that idea, would be the speed of either the I2C or bit-banged CMM serial port.

VGA 7" panels can be had on eBay these days for about US$60-70, so they are MUCH cheaper then they used to be. However, small 4:3 composite panels can likewise be had for about $20, so....
Smoke makes things work. When the smoke gets out, it stops!
 
hitsware
Guru

Joined: 23/11/2012
Location: United States
Posts: 535
Posted: 04:06pm 07 Jan 2015
Copy link to clipboard 
Print this post

I like the simple RCA connector for composite.
Somehow elegant.
Of course that's this week
 
Geoffg

Guru

Joined: 06/06/2011
Location: Australia
Posts: 3282
Posted: 07:25pm 10 Jan 2015
Copy link to clipboard 
Print this post

The problem with the Micromite's EDIT command and the VT100 terminal is that the Micromite expected all displays to be 80 characters wide - which is not the case with the VT100 terminal in composite mode. When the editor tried sending lines longer than the display width the result was a messed up display.

To fix this I have created an interim version of the Micromite MkII firmware (ver 4.6A) and it is attached.
2015-01-11_050958_Micromite_V4.6a.zip

It has only two minor changes since the "official" 4.6 release so I am not planning full release (just release it on the Back Shed). The changes are:
- Removed OPTION LINES and replaced it with OPTION DISPLAY. This new command allows you to specify both the display height in lines and the width in characters. The syntax is OPTION DISPLAY lines [, chars] (the width is optional).
- Fixed a bug that sometimes caused a comparison between two integers to return an invalid result when the value of either integer was greater than 30 bits.

While I was testing the OPTION DISPLAY command I discovered an error in the specifications for the composite video output of the VT100 terminal - the horizontal resolution was wrong. The correct specs are:
- Composite PAL : 288 x 218 pixels or 48 chars x 18 lines
- Composite NTSC: 264 x 180 pixels or 44 chars x 15 lines

So, if you are using the above firmware with the VT100 Terminal in composite mode, you should use OPTION DISPLAY 18, 48 for PAL or OPTION DISPLAY 15, 44 for NTSC.

Geoff
Geoff Graham - http://geoffg.net
 
hitsware
Guru

Joined: 23/11/2012
Location: United States
Posts: 535
Posted: 11:09am 11 Jan 2015
Copy link to clipboard 
Print this post

Good-Oh ..... Thank You

Hopefully Circuit Gizmo will soon update ...
 
Geoffg

Guru

Joined: 06/06/2011
Location: Australia
Posts: 3282
Posted: 12:38pm 11 Jan 2015
Copy link to clipboard 
Print this post

  hitsware said  Hopefully Circuit Gizmo will soon update ...

I created this version for you to just fix your problem - so you should update your Micromites yourself. Circuit Gizmo will probably wait for a full release.
Geoff Graham - http://geoffg.net
 
hitsware
Guru

Joined: 23/11/2012
Location: United States
Posts: 535
Posted: 12:47pm 11 Jan 2015
Copy link to clipboard 
Print this post

  Geoffg said  
  hitsware said  Hopefully Circuit Gizmo will soon update ...

I created this version for you to just fix your problem - so you should update your Micromites yourself. Circuit Gizmo will probably wait for a full release.

That's where one needs a pic-programmer right? I've reflashed the Maximite and Duinomite, but that's about it ...
 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9586
Posted: 01:50pm 11 Jan 2015
Copy link to clipboard 
Print this post

Yes, you need a PICkit to be able to re-flash the firmware. This kind of update cannot be done via USB. The Maximite's are a little different in that respect, as they have a dedicated bootloader which allows you to update the firmware via USB.

The MicroMite1 and MicroMite2 do not, so to update these, you have to reflash the chip with a PICkit.

PK clones are very affordable now though - about $25 on eBay.
Smoke makes things work. When the smoke gets out, it stops!
 
hitsware
Guru

Joined: 23/11/2012
Location: United States
Posts: 535
Posted: 04:35pm 11 Jan 2015
Copy link to clipboard 
Print this post

How long until the next 'full release' ?
I don't know if I could run the PicKit .....
AND am trying to depend on Linux .
It's interesting that even though Linux is used
in ubertech, the usefull apps for Microprosessor
are Windows
 
ajkw
Senior Member

Joined: 29/06/2011
Location: Australia
Posts: 290
Posted: 09:38pm 11 Jan 2015
Copy link to clipboard 
Print this post

If you know someone with a RPi it makes for a quick and easy programmer for the Micromite. Method is covered in these forums.
 
robert.rozee
Guru

Joined: 31/12/2012
Location: New Zealand
Posts: 2428
Posted: 10:28pm 11 Jan 2015
Copy link to clipboard 
Print this post

also 'G8JCF' (peter) and I have posted methods using a 2nd maximite to carry out programming with a PC application. peter has his own code, i use a modified version of pic32prog. both methods seem to work extremely reliably, taking 10-15 minutes to complete the task. details posted in the thread "simplest 32MX150 ICSP". i'm sure i've posted a complete 'kit of parts' as a zip file somewhere on here.


cheers,
rob :-)
 
JohnS
Guru

Joined: 18/11/2011
Location: United Kingdom
Posts: 4033
Posted: 11:22pm 11 Jan 2015
Copy link to clipboard 
Print this post

Another way is here - just need a confirming tester!

John
 
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025