Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 11:46 29 Nov 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 : PicoMite: PicoGAME VGA development

     Page 28 of 31    
Author Message
Martin H.

Guru

Joined: 04/06/2022
Location: Germany
Posts: 1115
Posted: 05:56am 28 Jul 2022
Copy link to clipboard 
Print this post

  thwill said  
You can find multiple "Printable" NES controllers on the net, e.g. https://www.thingiverse.com/thing:22549

Best wishes,

Tom

Hi Tom ,
That looks like just a brick with no features, but one can take it for measurement to build a working gamepad.
Just Printed this one https://www.thingiverse.com/thing:2890310
because I had this 4 way microswitch arcade joystick lying around from a previous Ali Express order  
I just had to adjust the diameter of the buttons before I printed the top.

Cheers
Mart!n
'no comment
 
thwill

Guru

Joined: 16/09/2019
Location: United Kingdom
Posts: 4047
Posted: 10:47am 28 Jul 2022
Copy link to clipboard 
Print this post

New deliveries from JLCPCB, some v2.0 PicoGAME PCBs:



One of them is of course yours if you want it Mick ?

Probably going to be a couple of weeks before they hit the workbench, but expect queries regarding the BOM in the meantime.

Best wishes,

Tom
Game*Mite, CMM2 Welcome Tape, Creaky old text adventures
 
thwill

Guru

Joined: 16/09/2019
Location: United Kingdom
Posts: 4047
Posted: 11:53am 28 Jul 2022
Copy link to clipboard 
Print this post

  thwill said  Probably going to be a couple of weeks before they hit the workbench, but expect queries regarding the BOM in the meantime.


So I'm going to need some 33nF, 27nF and 68nF capacitors - mylar polyester film vs. monolithic ceramic - or does it not matter ?

The 4.7mH 20R inductor, does this really need to be that specific RS part (191-1197) or will one of these do: https://www.ebay.co.uk/itm/263867106353 ? - and if so 1/2 or 1 W ?

Best wishes,

Tom
Game*Mite, CMM2 Welcome Tape, Creaky old text adventures
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 6814
Posted: 12:02pm 28 Jul 2022
Copy link to clipboard 
Print this post

Crikey - did I design that thing with all those holes in it?

Yes please, Tom. :) That would be most kind of you.

I think I must be getting close to the ultimate design on this now. It's *possible* to fit more stuff on, but connecting it to the PicoMite is very difficult now. I almost changed the VGA output to the simplified one to fit four resistors to make phone charging more flexible, but it adds nothing to the game and removes the possibility of using it with monitors that have strange input requirements. I suspect the next version (if one is necessary) will only be bug fixes. We'll see. :)
Mick

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

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 6814
Posted: 12:09pm 28 Jul 2022
Copy link to clipboard 
Print this post

To get the predicted audio response you do need the specified inductors and 5% tolerance capacitors where indicated. The actual type of capacitor isn't all that critical as long as it will fit the pcb. Check ebay for that inductor part number - I think I've seen the correct ones somewhere on there. You'll get *something* with the wrong components, but it's unlikely to match Volhout's response curve for the filter.
Mick

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

Guru

Joined: 16/09/2019
Location: United Kingdom
Posts: 4047
Posted: 12:28pm 28 Jul 2022
Copy link to clipboard 
Print this post

  Mixtel90 said  Yes please, Tom. :) That would be most kind of you.


I can't find your snail mail address, please PM me.

Best wishes,

Tom
Game*Mite, CMM2 Welcome Tape, Creaky old text adventures
 
Martin H.

Guru

Joined: 04/06/2022
Location: Germany
Posts: 1115
Posted: 01:01pm 28 Jul 2022
Copy link to clipboard 
Print this post

  thwill said  New deliveries from JLCPCB, some v2.0 PicoGAME PCBs

:-) I ordered mine at https://www.pcbway.com/ .. this Sunday.
Were shipped yesterday, I'm curious when the delivered
'no comment
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 6814
Posted: 09:31am 30 Jul 2022
Copy link to clipboard 
Print this post

PCB has just appeared, Tom. Thanks!  :)
Brilliant post office service again.
Mick

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

Guru

Joined: 16/09/2019
Location: United Kingdom
Posts: 4047
Posted: 03:39pm 30 Jul 2022
Copy link to clipboard 
Print this post

  Mixtel90 said  PCB has just appeared, Tom. Thanks!  :)
Brilliant post office service again.


You're welcome Mick, with a bit of luck you'll find the problems with it before I have to .

When it comes to letters the Post Office remains amazing ... it's strange to think it was even faster and more frequent in the past.

Best wishes,

Tom
Edited 2022-07-31 01:40 by thwill
Game*Mite, CMM2 Welcome Tape, Creaky old text adventures
 
lizby
Guru

Joined: 17/05/2016
Location: United States
Posts: 3152
Posted: 05:37pm 30 Jul 2022
Copy link to clipboard 
Print this post

And mine arrived today--16 days after ordering them from JLCPCB. Slow boat shipping times back to pre-pandemic.


PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed
 
Volhout
Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 4256
Posted: 11:11pm 30 Jul 2022
Copy link to clipboard 
Print this post

  thwill said  
  thwill said  Probably going to be a couple of weeks before they hit the workbench, but expect queries regarding the BOM in the meantime.


So I'm going to need some 33nF, 27nF and 68nF capacitors - mylar polyester film vs. monolithic ceramic - or does it not matter ?

The 4.7mH 20R inductor, does this really need to be that specific RS part (191-1197) or will one of these do: https://www.ebay.co.uk/itm/263867106353 ? - and if so 1/2 or 1 W ?

Best wishes,

Tom


Tom, please note the capacitos should be 33nf, 68nf and 2.7nf
So please do not order 27nf, but order 2.7nf (or 2700pf which is the same).

Most likely the inductors you identified 4.7mH (the 1W type) will work.
But they seem more expensive than the RS type.

Volhout
PicomiteVGA PETSCII ROBOTS
 
thwill

Guru

Joined: 16/09/2019
Location: United Kingdom
Posts: 4047
Posted: 09:23am 31 Jul 2022
Copy link to clipboard 
Print this post

  Volhout said  Tom, please note the capacitos should be 33nf, 68nf and 2.7nf. So please do not order 27nf, but order 2.7nf (or 2700pf which is the same).


I think that is/was only an issue with @matherp's reference PCB, the BOM for @Mixtel90's PicoGAME VGA 2.0 shows 2.7nF.

  Volhout said  Most likely the inductors you identified 4.7mH (the 1W type) will work. But they seem more expensive than the RS type.


Not sure, are you ignoring ridiculous postage costs from RS et al. ? Anyway I've asked my father in-law to add the exact components for both variants to his next Farnell order.

Best wishes,

Tom
Edited 2022-07-31 19:24 by thwill
Game*Mite, CMM2 Welcome Tape, Creaky old text adventures
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 6814
Posted: 09:59am 31 Jul 2022
Copy link to clipboard 
Print this post

RS postage isn't that bad, Tom. I think it's about a fiver. It's also fast. If they haven't got something in stock they send it later with no extra postage charge.

Farnell is expensive unless you are ordering a lot of stuff (over 30UKP+VAT IIRC).

Bitsbox is cheap postage, but their range is limited.

-------------------

Watch the inductors *and* capacitors, Tom. There have been a few variations and you can't mix them. :)
Mick

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

Guru

Joined: 16/09/2019
Location: United Kingdom
Posts: 4047
Posted: 10:05am 31 Jul 2022
Copy link to clipboard 
Print this post

  Mixtel90 said  Farnell is expensive unless you are ordering a lot of stuff (over 30UKP+VAT IIRC).


Hence getting the father in-law to tack them onto one of his business orders.

  Mixtel90 said  Watch the inductors *and* capacitors, Tom. There have been a few variations and you can't mix them. :)


ACK, I think I can handle it if the BOM is correct .

Best wishes,

Tom
Edited 2022-07-31 20:09 by thwill
Game*Mite, CMM2 Welcome Tape, Creaky old text adventures
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 6814
Posted: 12:50pm 31 Jul 2022
Copy link to clipboard 
Print this post

You trust me that far? I'm flattered. ;)
Mick

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

Guru

Joined: 16/09/2019
Location: United Kingdom
Posts: 4047
Posted: 01:01pm 31 Jul 2022
Copy link to clipboard 
Print this post

  Mixtel90 said  You trust me that far? I'm flattered. ;)


Why do you think I sent you a PCB to build first? Then I can just cruise along on your coat tails.

Best wishes,

Tom
Game*Mite, CMM2 Welcome Tape, Creaky old text adventures
 
thwill

Guru

Joined: 16/09/2019
Location: United Kingdom
Posts: 4047
Posted: 09:35am 03 Aug 2022
Copy link to clipboard 
Print this post

Hi folks,

If anyone has ordered NEW AliExpress/eBay "NES/SNES" gamepads or "Atari" joysticks other than those described previously in this thread then I'd appreciate hearing about your experience and having photos of them front and back so I can attempt to document the situation.

Best wishes,

Tom
Edited 2022-08-03 20:32 by thwill
Game*Mite, CMM2 Welcome Tape, Creaky old text adventures
 
Rickard5

Guru

Joined: 31/03/2022
Location: United States
Posts: 463
Posted: 04:37am 04 Aug 2022
Copy link to clipboard 
Print this post

  thwill said  
  Volhout said  Most likely the inductors you identified 4.7mH (the 1W type) will work. But they seem more expensive than the RS type.


Not sure, are you ignoring ridiculous postage costs from RS et al. ? Anyway I've asked my father in-law to add the exact components for both variants to his next Farnell order.

Best wishes,

Tom


WOW ohh WOW PLEASE point me to the £5.00 one, I am the Cheapest BROKE Guy there is, but I'd much rather pay $5 once and one shipping charge to find the USA Part and not have to guess at ordering the $1.50 part 4 times and pay shipping 4 times all the time banging my head against the wall :) THE Farnell number works really well, it converts directly to NEWARK and ELEMENT 14
Thank you
Love You Guys
I may be Vulgar, but , while I'm poor, I'm Industrious, Honest,  and trustworthy! I Know my Place
 
thwill

Guru

Joined: 16/09/2019
Location: United Kingdom
Posts: 4047
Posted: 09:11am 04 Aug 2022
Copy link to clipboard 
Print this post

Just a line to say I am making progress on an example library of PicoGAME controller support code:

   https://github.com/thwill1000/pico-game-vga/blob/main/software/src/PicoGAME.inc

Ignore the material about reading the controller configuration out of a .ini file, @Martin H. has talked me out of that. Instead see the function poll_for_controller$(), the expectation is that one of the first things a PicoGAME compatible program would do is:

' Determine default control mechanism by asking the user to press START
' or FIRE on the controller connected to Port A, or SPACE on the keyboard.

Print "Press START, FIRE or SPACE"
DIM ctrl$ = poll_for_controller$()


When this returns ctrl$ will be set to "nes", "atari" or "keys" as appropriate to the user's response.

With this information the program can then support the Port A controller being used to navigate its own menu system to allow finer grain control, such as selecting which keys or switching between NES and SNES controllers, and also to allow the Player 2 (Port B) controller to be configured.

Note also how this library is structured so you can use the CALL command and function to seamlessly initialise and read the selected controller:

CALL ctrl$ + "_init", PORT_A%
result% = CALL(ctrl$ + "_read%", PORT_A%)


EDIT: @Volhout except for your own edutainment I'm not sure further work on S/NES PIO code is warranted, the performance reading it in pure MMBasic appears to be more than adequate.

YMMV,

Tom
Edited 2022-08-04 19:23 by thwill
Game*Mite, CMM2 Welcome Tape, Creaky old text adventures
 
Martin H.

Guru

Joined: 04/06/2022
Location: Germany
Posts: 1115
Posted: 10:34am 04 Aug 2022
Copy link to clipboard 
Print this post

a little ot...
I soldered my 3d printed joystick yesterday.
It's just not entirely clear to me, which pin should be the corresponding one.
Plus 3.3 V (7) or ground (8)


'no comment
 
     Page 28 of 31    
Print this page
© JAQ Software 2024