Shop OBEX P1 Docs P2 Docs Learn Events
Help and Input for a Propeller-Based Repair Shop Universal Test Unit — Parallax Forums

Help and Input for a Propeller-Based Repair Shop Universal Test Unit

kf4ixmkf4ixm Posts: 529
edited 2010-04-22 13:05 in Propeller 1
Hi all,
I do part time appliance repair work at a christian thrift store, and we get alot of different stuff all the time and i test and repair all types of appliances and electronics.

What i have in mind is a propeller proto board that would allow me to test tv's with a video out showing standard color bars or something similar, a vga out to test monitors similar to the tv out. have a keyboard and mouse input that would display a test screen on either vga or tv, showing a keyboard layout, allow me to test each key by pressing each key and having the on screen keyboard inverse-toggle the color of·the charachter on the screen showing that the key had been pressed. same with the mouse buttons.

I would really like to have this all contained into one program, using a selector switch to enter different modes of test. (If possible regarding memory)

I have been looking over the objects in the obex, i'm thinking that the Text based GUI for VGA_HiRes_Text Driver (revised) would be a starting point, and have a switch to enable switching between·this and a tv output version. I really don't know where to start on this, im thinking it would be easier to use premade objects in the obex, but im not sure on how to interface the objects required to do what i need it to.

My second thought was to use a custom "made-from-scratch" program as to fit it all in memory on the proto board. (again, not even sure if this all would fit into memory).

I would like to implement more later, like some i/o, period timer with 4x20 lcd·display to show i/o status, etc, and maybe a·temp logger. But that is on down the road.

Right now i need input from the knowledgable forum members here on writing this program from scratch, OR·selecting the best objects to use and pointers on setting up the objects for my project. I am new to the prop, so all help is greatly appreciated.

·

Comments

  • TheGrueTheGrue Posts: 114
    edited 2010-04-22 04:33
    Instead of using a Proto Board you can buy the Demo Bard which has all of the ports wired on it. I started with that board and there are several demo objects that are included with the Prop Tool that can be loaded to test everything you mentioned. It would not be too hard to make a combined program that you could use to test. One micro switch could be added on the bread board section and each press could select the next feature and light the LED's on the board to show you what mode the program is in. One switch is easy to wire so you only have to worry about programming failure and not hardware on the board.
  • MagIO2MagIO2 Posts: 2,243
    edited 2010-04-22 06:33
    Just my 2 cents:
    I'd do it expandable. You will have a lot of other ideas for test-programs (cable testing, remote control testing .... ). So, I'd simply write a small menu-system which allows to start any test-program from SD-card. For the menu you can have a fixed tv besides the test-tv-port or maybe use a 4 line LCD display ...

    The menu system can be written in a way that it starts an EEPROM-file and still has a COG running in background which resets the propeller after a while, so that you automatically come back to the menu system.

    So, for the mentioned TV and VGA tests you can use what's there on the ObEx, make an EEPROM-file out of it and start it on demand. Then you don't have memory problems as well, as each test program can use the full 32kB.
  • TheGrueTheGrue Posts: 114
    edited 2010-04-22 06:39
    PropDOS would be perfect for a menu system. All your test programs are loaded on an SD card and you can use the familiar DOS like commands to load them in RAM to run each separate test! Reboot the Prop and you are back to the menu. I would use the little monitor that Parallax sells. It is small and portable.
  • kf4ixmkf4ixm Posts: 529
    edited 2010-04-22 11:47
    These are great ideas guys, THANKS!
    @TheGrue,
    The reason i want to use a proto board is because i already have one, and i'd like to have this in an enclosure of some kind, and use cabling, short pigtails for my interconnects, like tv, vga, etc. Also maybe a opto-isolated terminal strip across the top for the i/o for other stuff.

    I agree about expandability, i'm definatly going to make it expandable. i hadn't thought about using the 'DOS approach' to the menuing and sd card for program storage, thats a good idea, maybe a menuing system on a 4x20 lcd to select the proper program for the test at hand.

    These are great idea's! Keep 'em coming!!!
  • MagIO2MagIO2 Posts: 2,243
    edited 2010-04-22 12:36
    So, if you wanna go with a 4x20 LCD, then have a look at my LCD driver in the object exchange, as it has some features (and some demo code) which make creation of a menu system very easy. Currently I'm not sure if the menu-demo has been added to the archive, but if not it's surely in the forum thread linked by the ObjectExchange description.
  • kf4ixmkf4ixm Posts: 529
    edited 2010-04-22 13:01
    @MagIO2
    i didn't see the lcd driver in the obex.
  • MagIO2MagIO2 Posts: 2,243
    edited 2010-04-22 13:05
Sign In or Register to comment.