Home
JAQForum Ver 20.06
Log In or Join  
Active Topics
Local Time 18:43 08 May 2024 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 : PicoMiteVGA: Stand-alone Keyboard Form-factor

     Page 4 of 4    
Author Message
lizby
Guru

Joined: 17/05/2016
Location: United States
Posts: 3019
Posted: 12:33pm 22 Apr 2023
Copy link to clipboard 
Print this post

Maxi/MicroMite variations: MaxiMite, Colour MaxiMite (CMM/CMM1), MX150 MicroMite (MM1), MX170 MicroMite (MM2), MX470 MicroMite Plus (MM+), PIC32MZ MicroMite eXtreme (MMX), MMBasic for DOS, Pi-cromite (pi-based, no longer supported, may work for non-gpio uses), Armmite H7, Armmite L4, Armmite F4, Colour Maximite 2 (CMM2), Picomite, MMB4L (Linux--currently in Alpha), PicoMiteVGA, MMBasic for Windows (MMB4W)--currently in Beta, WebMite.

If you want VGA, PicoMiteVGA is what's current.
PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed
 
JohnS
Guru

Joined: 18/11/2011
Location: United Kingdom
Posts: 3672
Posted: 02:14pm 22 Apr 2023
Copy link to clipboard 
Print this post

  Hawk said  The CMM2 is good, but costs a lot more to build than the PicoMite VGA.


CMM2 is vastly more powerful. Unsurprisingly costs more too.

  Hawk said  I did think it would be fun though, to have the PicoMite VGA drive one of my old pen plotters, and a serial interface is the easiest way for it to interface to them.

It can drive serial.

John
 
Hawk

Senior Member

Joined: 15/07/2021
Location: Australia
Posts: 141
Posted: 02:30pm 22 Apr 2023
Copy link to clipboard 
Print this post

  lizby said  Maxi/MicroMite variations: MaxiMite, Colour MaxiMite (CMM/CMM1), MX150 MicroMite (MM1), MX170 MicroMite (MM2), MX470 MicroMite Plus (MM+), PIC32MZ MicroMite eXtreme (MMX), MMBasic for DOS, Pi-cromite (pi-based, no longer supported, may work for non-gpio uses), Armmite H7, Armmite L4, Armmite F4, Colour Maximite 2 (CMM2), Picomite, MMB4L (Linux--currently in Alpha), PicoMiteVGA, MMBasic for Windows (MMB4W)--currently in Beta, WebMite.

If you want VGA, PicoMiteVGA is what's current.


Yep, that's why I'm here, the PicoMite VGA offers just about everything that I'm looking for in a Boot-to-BASIC platform, including an active community.  I'm just trying to work out how to develop stuff, both hardware and software, within the current in hardware framework.
 
Hawk

Senior Member

Joined: 15/07/2021
Location: Australia
Posts: 141
Posted: 08:26am 25 Apr 2023
Copy link to clipboard 
Print this post

OK so I finally finished my Silicon Chip kit build.

It was super easy, right up to the point where they left the 2N7000s out of the kit.  At first I wondered why the keyboard wasn't working.  I worried that my power supply wasn't big enough.  Then I noticed the empty holes!  Luckily I had some on hand from another project.

Anyway, here it is all setup and operational.



No sound (of course) and I haven't configured the SD card yet.  Time to learn how this baby works!

One of the first things that I did notice is that the fonts are different sizes in Mode 2.  The test printed from the program is one size, but the text typed in at the command prompt is a larger size.  That was unexpected.
 
phil99

Guru

Joined: 11/02/2018
Location: Australia
Posts: 1805
Posted: 08:40am 25 Apr 2023
Copy link to clipboard 
Print this post

Mode 1 is 640 x 480 and Mode 2 is effectively 320 x 240 so the console font is double size. Console font size can be adjusted.

OPTION LCDPANEL CONSOLE [font [, fc [,bc]]]
Configures the VGA display
The arguments are optional but if supplied must be numbers for use as the console output. , 'font' is the default font, 'fc' is the default foreground colour, 'bc' is the default background colour.

The default (after first flashing the firmware) is:
OPTION LCDPANEL CONSOLE 1, RGB(white), RGB(black)
Edited 2023-04-25 18:42 by phil99
 
Hawk

Senior Member

Joined: 15/07/2021
Location: Australia
Posts: 141
Posted: 09:05am 25 Apr 2023
Copy link to clipboard 
Print this post

  phil99 said  Mode 1 is 640 x 480 and Mode 2 is effectively 320 x 240 so the console font is double size. Console font size can be adjusted.

OPTION LCDPANEL CONSOLE [font [, fc [,bc]]]
Configures the VGA display
The arguments are optional but if supplied must be numbers for use as the console output. , 'font' is the default font, 'fc' is the default foreground colour, 'bc' is the default background colour.

The default (after first flashing the firmware) is:
OPTION LCDPANEL CONSOLE 1, RGB(white), RGB(black)


Thanks Phil, I knew it could be changed, I just didn't expect the font from the output of the program to be different from the console font.  It certainly wasn't for Mode 1.  These are the nuances that I will get to know.

I'm very excited to be programming on the actual hardware, and look forward to seeing what I can create.  The final build I wish to make will have stereo audio, RTC, controllers and hopefully serial port with hardware flow control.  Fonts are probably the least of my worries. ;^)
Cheers.
Edited 2023-04-26 12:08 by Hawk
 
Hawk

Senior Member

Joined: 15/07/2021
Location: Australia
Posts: 141
Posted: 01:44am 04 May 2023
Copy link to clipboard 
Print this post

Following up from an earlier comment by @Mixel90 about reliable availablity of PS/2 keyboards to justify designing a stand-alone form-factor around, I contacted Perixx regarding the future of their PERIBOARD-409 keyboards.

I'm happy to say that it sounds like they will be available for some time into the future.  If they stop selling the PS/2 version, the USB version will work with a PS/2 adaptor, indicating that it supports both protocols.  See their response below.

This means that any stand-alone design that is based around this keyboard will be able to be replicated by other people.  My plan is to wire the keyboard internally, preferably to a keyed header connector of some description.

Progress is still being made on mounting the whole keyboard into the top of the 3D printed case so that it is secure.  There are some stand-alone computer designs out there for the MiSTer which have the keyboard just resting in the case.  That is not the type of design I'm aiming for here.

Hawk

  Quote  
Perixx Support Shops UK (Perixx Computer)
May 3, 2023, 09:37 GMT+2

Dear Hawkey,

Thank you for your interest in our product.
I don't know what language layout you need, but we have enough in our warehouse.
We have no plans to stop production of this product at this time, maybe slowly we will discontinue PS/2 as well due to less users.

The basic structure of the keyboard is similar between USB and PS/2, and it works as an adapter.
You don't need to worry about that.

If you have any further questions, feel free to contact us.
Kind regards,
Perixx Support UK
Perixx Computer GmbH
 
Hawk

Senior Member

Joined: 15/07/2021
Location: Australia
Posts: 141
Posted: 04:10am 04 May 2023
Copy link to clipboard 
Print this post

OK, so I've just found @matherp's original thread regarding creating a PicoMiteVGA that fits inside a keyboard.

Thinking about a new Pico PCB design for integrating into a keyboard

Not surprisingly, many of his original design requirements were similar to my own.

In addition to matherp's original list, I would add a power switch, as I am already sick of plugging and unplugging the microUSB connector into the Pico, and I would include on-board audio as well as an external 3.5mm stereo jack to output audio to a monitor or other device.

I'm happy with a microSD card (although difficult to solder...maybe use a standard Aliexpress module) but would use an extension to remotely mount an SD socket on the right side of the case.

I am planning to 3D print the case top and bottom, so I am not limited to what I can fit in the original keyboard case.  As mentioned in a previous post, I would also like to fit small stereo laptop speakers, however I have yet to source the rubber mounting grommets that are used to reduce the vibration in the case.

As much as possible, I would like through hole mounted components that would allow a beginner/average enthusiest to be able to construct it.  There may be choices where an Aliexpress module could be replaced by SMD components on the board at the builders wish.  I've seen this done on other designs, specially for level shifters.

Anyway, sorry if my thread regurgitated previous topics.

Hawk.
Edited 2023-05-04 14:10 by Hawk
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 5749
Posted: 08:24am 04 May 2023
Copy link to clipboard 
Print this post

I like to keep my options open. TBH I'm not incredibly happy about using ebay / AliExpress modules unless my PCB will also accept something else - possibly a SMD microSD socket from a "proper" manufacturer. It's a bit more of a fiddle for me, but it means that my PCB design isn't at the whim of some small company in China. I used a bit of overkill on the PicoGAME, which can have two different level shifters (or none) and any of three different SD card systems. :)

Don't feel too bad about the normal standard size SD card socket and SMD audio jacks that have been used on several projects here. They are relatively easy to get and are easy to solder.

You might get away with using silicone tubing instead of grommets. Cut the hole bigger than the speaker by the thickness of the tube then slit the tube down its length and push it onto the inside edge of the hole to form a grommet. Silicone tube is fairly soft.
Mick

Zilog Inside! nascom.info for Nascom & Gemini
Preliminary MMBasic docs & my PCB designs
 
Hawk

Senior Member

Joined: 15/07/2021
Location: Australia
Posts: 141
Posted: 11:49am 04 May 2023
Copy link to clipboard 
Print this post

  Mixtel90 said  I like to keep my options open. TBH I'm not incredibly happy about using ebay / AliExpress modules unless my PCB will also accept something else - possibly a SMD microSD socket from a "proper" manufacturer. It's a bit more of a fiddle for me, but it means that my PCB design isn't at the whim of some small company in China. I used a bit of overkill on the PicoGAME, which can have two different level shifters (or none) and any of three different SD card systems. :)

Don't feel too bad about the normal standard size SD card socket and SMD audio jacks that have been used on several projects here. They are relatively easy to get and are easy to solder.

You might get away with using silicone tubing instead of grommets. Cut the hole bigger than the speaker by the thickness of the tube then slit the tube down its length and push it onto the inside edge of the hole to form a grommet. Silicone tube is fairly soft.


Thanks for your opinion.  I understand that if you’re use to working as a hardware designer in a commercial environment, you would be used to avoiding sole source suppliers.  The advantage here is that the sorts of modules that I’m referring to are supplied by numerous Chinese electronics suppliers, they all copy each other.  It allows SMDs to be used in a through hole module that is easier for hobbyists to solder.  It also avoids having to source lots of individual components.

I would consider modules for RTC, Level shifters, possibly audio amplifier, and external SD card slot.  I’m not sure about the microSD socket yet.  I know that I can get microSD to SD extender ribbon cables, but I’m not sure about SD to SD extenders.  I have a preference for SD cards, as they are easier to insert and remove and also label.  They are ample small enough for this sort of design, and if people prefer microSD, they can always use an adaptor.  SD to microSD adaptors are not as easy to come by.

I love your idea of using the silicon tube as a vibration mounting grommet.  I am looking at possible speakers to use, but I need to decide what power output a computer mounted speaker should need.  I’m guessing no more than 3W.  They can be bought in small plastic enclosures with wires attached, ready to mount.  I just need to decide on a model and order some so that I can design the case top to fit them.  That will probably also dictate what header to put on the PCB to connect the speakers.

I am more than happy to accept your ideas about this design.  While some of the components will be obvious, like the VGA output and I/O interface, others have many options, like the power switch and reset switch.

I have a preference to an external power input rather than connecting directly to the Pico, and I would want to disable the Pico’s 3V3 regulator and have an external one to improve audio quality.

I need to put all my ideas and notes into a document that I can share so others can see my vision.  Mostly they’re in this thread, but sometimes a picture can say a lot.

Hawk.
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 5749
Posted: 02:24pm 04 May 2023
Copy link to clipboard 
Print this post

Be careful if using microSD card modules. Try to get one that doesn't incorporate a regulator or resistors - there are less around than you may think. Generally if it's specified as being "for Arduino" then look very closely! Some of the modules with regulators work, other's don't and some are marginal. Those with pullup resistors actually have the wrong value but they seem to work. Those with series resistors rarely work. The full size SDcard socket that I've used ( DM1AA-SF-PEJ(72) ) is very easy to solder.

Disabling the switching supply and using a 3V3 linear regulator is dead easy. Just connect 3V3_EN to GND and feed the regulator into 3V3.

In the average living room, with even low efficiency speakers, you don't need more than 1W per channel. It's plenty loud enough for games or most desktop music. If you want a headphone socket then your choice of amplifier is very limited unless you do some fiddling. Which reminds me, I have some audio chips to play with...  I have mixed feelings about building speakers in. It's neat, but it limits your options such a lot. There are far better cheap desktop speakers than you can build into a keyboard. Maybe, with a line output jack and a switch to disconnect the internal speakers.
Mick

Zilog Inside! nascom.info for Nascom & Gemini
Preliminary MMBasic docs & my PCB designs
 
Hawk

Senior Member

Joined: 15/07/2021
Location: Australia
Posts: 141
Posted: 03:01pm 04 May 2023
Copy link to clipboard 
Print this post

  Mixtel90 said  Be careful if using microSD card modules. Try to get one that doesn't incorporate a regulator or resistors - there are less around than you may think. Generally if it's specified as being "for Arduino" then look very closely! Some of the modules with regulators work, other's don't and some are marginal. Those with pullup resistors actually have the wrong value but they seem to work. Those with series resistors rarely work. The full size SDcard socket that I've used ( DM1AA-SF-PEJ(72) ) is very easy to solder.

A quick search shows me that SD to SD extension modules are available, so the option for the full sized socket is a good one.  The SD card could be mounted on the left side of the PCB (and thus the case) but I'm right-handed and find inserting it on the right side of the case easier.  The left side of the case could have a volume control fitted.  The preference is for this to be a low profile horizontal variable resistor.  It could be mounted on the main PCB or a sub module.

  Quote  
Disabling the switching supply and using a 3V3 linear regulator is dead easy. Just connect 3V3_EN to GND and feed the regulator into 3V3.

Yeah, I've read that this is not difficult.  The question would be what voltage to input to the computer?  Would you fit a 5V regulator, or rely on the quality of the USB-C plug pack?  Or would you input a higher voltage and regulate it down to 5V (and 3,3)?

  Quote  
In the average living room, with even low efficiency speakers, you don't need more than 1W per channel. It's plenty loud enough for games or most desktop music. If you want a headphone socket then your choice of amplifier is very limited unless you do some fiddling. Which reminds me, I have some audio chips to play with...  I have mixed feelings about building speakers in. It's neat, but it limits your options such a lot. There are far better cheap desktop speakers than you can build into a keyboard. Maybe, with a line output jack and a switch to disconnect the internal speakers.

Do you have any pointers to the sort of desktop speakers you had in mind?
I was considering something as small as these:
2W 8ohm LCD/Monitor Speakers,
I think in general, speakers sound better when they are not driven near their limit.

Hawk
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 5749
Posted: 03:17pm 04 May 2023
Copy link to clipboard 
Print this post

I'd run it from 5V, personally. Less room for error. I personally favour powering my boards via a 3.5/1.35mm barrel jack. They are easy to work with, easy to get leads for, robust and intended for 5V power. They also can't get confused with the bigger sizes usually used for 9V and 12V. You still need access to the USB connector on the Pico as well though.

No ideas about internal speakers at all. TBH I don't even use the ones on my tellys unless I really have to because, to my ear, they all sound c**p! :) At the end of the day you can't get anything below about 150Hz-200Hz out of a tiny speaker cone no matter what you do. Physics won't allow it unless the cone is sealed to your ear to form a pressure driver.

If you use built-in speakers then your amplifiers will be running from 5V (unless you use a higher voltage input, in which case you will probably need a heatsink on the regulator). At 5V all the little amplifier chips are bridge types and are not considered suitable for driving headphones. (I have experiments to do on this).
Mick

Zilog Inside! nascom.info for Nascom & Gemini
Preliminary MMBasic docs & my PCB designs
 
     Page 4 of 4    
Print this page


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

© JAQ Software 2024