Shop OBEX P1 Docs P2 Docs Learn Events
Norcomp 999-H15-PS2L571 And The Propeller — Parallax Forums

Norcomp 999-H15-PS2L571 And The Propeller

idbruceidbruce Posts: 6,197
edited 2015-04-18 10:42 in Propeller 1
As everyone most likely knows, I am deep into the 3D printer project and I have come to the conclusion that I will be using a two Propeller design. For the second Propeller, I will be using another Propeller Proto Board. Considering that I will now be using a second Proto Board, I will also now have a bunch of IO pins that will be unused. In an effort to put some of these left over pins to good use, I am thinking about adding the Norcomp 999-H15-PS2L571 connector and I am visualizing the potential for an optional keyboard, mouse, and VGA serial interface for 3D printing and CNC.

Basically I am just looking for input, links, and perhaps a worthy plan. If anyone has used this connector, please chime in, because I would like to hear about your experience with this connector.

Comments

  • PublisonPublison Posts: 12,366
    edited 2015-04-17 06:01
    Parallax sells that with a breakout board:

    https://www.parallax.com/product/28075
  • PublisonPublison Posts: 12,366
    edited 2015-04-17 06:04
    Since you are using a Proto Board, all you would need is:

    https://www.parallax.com/product/130-32212
  • idbruceidbruce Posts: 6,197
    edited 2015-04-17 06:15
    Jim

    I knew that :)

    Have you ever used it? And I am almost certain that you know where good documentation can be found :)
  • Peter JakackiPeter Jakacki Posts: 10,193
    edited 2015-04-17 06:19
    idbruce wrote: »
    As everyone most likely knows, I am deep into the 3D printer project and I have come to the conclusion that I will be using a two Propeller design. For the second Propeller, I will be using another Propeller Proto Board. Considering that I will now be using a second Proto Board, I will also now have a bunch of IO pins that will be unused. In an effort to put some of these left over pins to good use, I am thinking about adding the Norcomp 999-H15-PS2L571 connector and I am visualizing the potential for an optional keyboard, mouse, and VGA serial interface for 3D printing and CNC.

    Basically I am just looking for input, links, and perhaps a worthy plan. If anyone has used this connector, please chime in, because I would like to hear about your experience with this connector.

    Using PS/2 connectors is a waste of time as all PS/2 compatible keyboards these days are primarily USB and a USB to PS/2 gender bender is a nuisance that can be avoided by mating directly to the USB connector using PS/2 protocol. As for VGA connectors themselves I try to avoid them altogether and let a simple 6-pin header be sufficient pcb-wise and make a cable that goes from this to the VGA monitor.

    However I do have small Prop pcbs (Pixie) equipped with a male D-sub that plugs directly into the back of a monitor. This board fits into a nice little D-sub headshell and includes RS-485/422 plus optional Xbee, and a USB A connector for direct connection to a PS/2 compatible keyboard. This in my opinion is a better option if you want VGA as a bit-mapped display takes up most of the Prop's memory so there isn't much sense trying to make it do much else but make it a smart terminal.
  • idbruceidbruce Posts: 6,197
    edited 2015-04-17 06:35
    Peter
    Using PS/2 connectors is a waste of time as all PS/2 compatible keyboards these days are primarily USB and a USB to PS/2 gender bender is a nuisance that can be avoided by mating directly to the USB connector using PS/2 protocol.

    Thank you for that Peter.... That completely slipped my mind and I definitely would have been wasting time.
    However I do have small Prop pcbs (Pixie) equipped with a male D-sub that plugs directly into the back of a monitor. This board fits into a nice little D-sub headshell and includes RS-485/422 plus optional Xbee, and a USB A connector for direct connection to a PS/2 compatible keyboard. This in my opinion is a better option if you want VGA as a bit-mapped display takes up most of the Prop's memory so there isn't much sense trying to make it do much else but make it a smart terminal.

    Do you have any documentation pertaining to this?
  • Peter JakackiPeter Jakacki Posts: 10,193
    edited 2015-04-17 07:03
    It would be lovely to be able to handle USB keyboards directly as I really like the tiny Logitech USB wireless dongles, and you would only need a single USB socket to accommodate keyboard and mouse. Then again it would be nice if the dongle also worked with PS/2 protocol :) Sadly this is not the case :(

    I found a photo of one of the original Pixie units, normally these are equipped with a switching regulator module so that they can be multidropped over a 4-core phone cable which carries the RS-485 pair plus a 24V pair. The later versions also replaced the screw terminal with a right angle pluggable screw terminal. These monitors plus optional keypads would be scattered over a factory floor and the displays use bit-mapped tiled graphics with scalable fonts. There's also room for a USB serial module or Bluetooth serial module which plugs into my standard 8-pin header although this same header can be used to interface to expansion peripherals over I2C and serial lines.

    attachment.php?attachmentid=113922

    I found an old post where I mentioning using these Pixies and also some shots of the VGA display in action.


    PIXIE-m.JPG
    800 x 383 - 93K
  • idbruceidbruce Posts: 6,197
    edited 2015-04-17 07:30
    Peter
    I found an old post where I mentioning using these Pixies and also some shots of the VGA display in action.

    Very cool and nice write up.

    It looks as though there are actually two controllers in your example. If so, would they both be needed for the type of application that I am discussing?

    What is the cost?
  • Peter JakackiPeter Jakacki Posts: 10,193
    edited 2015-04-17 07:47
    idbruce wrote: »
    Peter



    Very cool and nice write up.

    It looks as though there are actually two controllers in your example. If so, would they both be needed for the type of application that I am discussing?

    What is the cost?

    This display can be mated to anything that has RS-485 or even just plain serial, either logic level or RS232. The controller I used is just an older version of similar ones I use in various jobs and the main features of the controller is that it is a compact DIN rail mount, switching regulator (up to 50V supply), 12 bicolor LEDs, and room for two "Puppy" modules which includes a lot of compatible modules from drivers, H-bridges, microsteppers, datacomms (RS-485/232/CAN etc) to analog subsystems etc. Later versions of the controller also included microSD.

    Price? Never bothered selling them as individual units but the Pixie I could probably sell over the forum for around $40 USD I guess.
  • idbruceidbruce Posts: 6,197
    edited 2015-04-17 08:04
    Peter
    Never bothered selling them as individual units but the Pixie I could probably sell over the forum for around $40 USD I guess.

    I will keep that in mind.
    This in my opinion is a better option if you want VGA as a bit-mapped display takes up most of the Prop's memory

    Now let's say that tiling or bitmap display was not wanted, just a simple text terminal. How does that work out with the Propeller memory?
  • Dave HeinDave Hein Posts: 6,347
    edited 2015-04-17 10:53
    idbruce wrote: »
    Now let's say that tiling or bitmap display was not wanted, just a simple text terminal. How does that work out with the Propeller memory?
    How many characters do you want on the screen? How many colors? That will determine whether you can use the ROM font or a custom font in RAM. It also determines whether you use 8 or 16 bits per character, and the size of your character array. Also, higher resolutions will require more than one cog to drive it.
  • idbruceidbruce Posts: 6,197
    edited 2015-04-17 14:18
    Dave

    I was just thinking about something very simple, such as blue screen with white font, to run the full length of the screen, with nothing too lengthy across the width.
      Display menu items at startup
      Display typed in GCODE commands
      Display read GCODE commands
      Display error messages

    However, the photos that Peter has shown look pretty enticing and that would be nice, for those folks that want colors, different fonts, etc...
  • Dave HeinDave Hein Posts: 6,347
    edited 2015-04-18 05:53
    OK, so that narrows it down a bit. If you search the OBEX for "vga" you'll see several drivers that range from 32x15 characters to 128x64. The memory requirements range from 960 bytes to 9,856 bytes.
  • idbruceidbruce Posts: 6,197
    edited 2015-04-18 06:14
    Dave

    Thanks for getting back to me.
    OK, so that narrows it down a bit. If you search the OBEX for "vga" you'll see several drivers that range from 32x15 characters to 128x64. The memory requirements range from 960 bytes to 9,856 bytes.

    Yea, I was nosing around the OBEX bright and early this morning. I ended up downloading the VGA_HiRes object. What kind of memory draw am I looking at with that?
  • RaymanRayman Posts: 14,666
    edited 2015-04-18 09:38
    I think the connector is very good. I've used it a lot. But, it is dated. You can still buy PS/2 keyboards and mice, but I imagine they will start costing more and more...

    What we really need is for a P2 to come along one day with easy USB interfaces...
  • Dave HeinDave Hein Posts: 6,347
    edited 2015-04-18 09:59
    idbruce wrote: »
    I ended up downloading the VGA_HiRes object. What kind of memory draw am I looking at with that?
    I assume you are referring to the VGA HiRes Text object. I you stub out the mouse object and compile the demo program you can get a good idea of the size. For the 128x64, 100x50 and 80x40 modes I get 10,800, 7600 and 5,800 bytes respectively.

    Rayman wrote: »
    I think the connector is very good. I've used it a lot. But, it is dated. You can still buy PS/2 keyboards and mice, but I imagine they will start costing more and more...
    I can still find PS/2 keyboards and mice at garage sales and swap meets, and they usually go for a dollar at two.
  • Duane DegnDuane Degn Posts: 10,588
    edited 2015-04-18 10:42
    I've purchased one of these connectors Parallax. (I've since seen (and purchased) the connector at DigiKey for a lower price.)

    I was originally planning to use it on a Proto Board with my CNC project.

    attachment.php?attachmentid=103490&d=1377232308

    The screen in the above photo is a NTSC display. I had wondered about using both TV and VGA outputs. I asked about such a possibility in this thread.

    If I use VGA or TV, I'll use a second Propeller. For now I'm just using one Propeller and trading out programs from a SD card.

    I'm using a $5 OLED display from ITead Studio.

    The SPI controller object (for the OLED) requires five control pins but I modified the object to use '595 shift registers on some of the pins and the other pins are shared with other SPI devices.

    After adding '595 and '165 shift registers I've ended up with a dozen free I/O pins on the single Propeller.

    attachment.php?attachmentid=113871&d=1428908895

    Sharing SPI pins and using the '595 chips to control the chip select lines has really freed up a lot of I/O pins. Getting the CS lines to work through the shift register requires modifying any SPI object being used but I'm combining all the SPI object together anyway so it's not much additional work to add the '595 chip selects. (BTW, Don't try to share the SPI lines with the '595 when using the '595 to control CS pins.)

    I thought it was pretty cool to add a MCP3208 chip without the need to use any additional I/O pins on the Prop.

    I'm still very undecided about what to use as a display and what sort of input device(s) to use. The setup in this last picture is easier to work with at my PC (while writing the software) but it would be nice to have a larger display when the Propeller is controlling the CNC.

    I have several of Rayman's 4.2" touchscreens. I've wondered about using one of these as a display and input device.
Sign In or Register to comment.