Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 06:49 02 Aug 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 : cmm2 pinout

Author Message
lew247

Guru

Joined: 23/12/2015
Location: United Kingdom
Posts: 1702
Posted: 08:22pm 01 Feb 2021
Copy link to clipboard 
Print this post

I'm trying to design a version of the CMM2 board just for my use which won't have most of the connectors attached, but I'd like to be able to choose which ones I want.
I've been going over the circuits I can find and I'm kinda mixed up on one thing.
Although I have no interest in games at the moment, I'd like the have the nunchuk i2c available should I ever want to add it
In the circuits I have found one seems to have all attached to 1 i2c port, the other seems to have seperate ones for each nunchuk and reading through the forum posts it defintly isn't clear

I thought the idea of i2c was that you can have muliple devices on one bus? Ie 4 nunchucks on one set of pins of the stm32?
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6283
Posted: 08:32pm 01 Feb 2021
Copy link to clipboard 
Print this post

There are 3 I2C ports available. Two are on the rear connector and the third is on the front. It is the third I2C that is used for nunckuk by default but any or all of the 3 can be used.
While you can have lots of different devices on the one I2C port, they would all need different addresses. That is why you can't have more than 1 nunchuk on each I2C port. There is no way to change the address for the nunchuks.

Jim
VK7JH
MMedit
 
lew247

Guru

Joined: 23/12/2015
Location: United Kingdom
Posts: 1702
Posted: 08:38pm 01 Feb 2021
Copy link to clipboard 
Print this post

Edited:
How many com ports on board?
I've been trying to find a pinout similar to the MM cpu's so I can see what each pin on the stm32 is capable of when used as a cmm2
OR are the only free pins on the cpu the same ones used on the 40pin header?
Edited 2021-02-02 06:50 by lew247
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6283
Posted: 08:52pm 01 Feb 2021
Copy link to clipboard 
Print this post

  lew247 said  in that case what happens if you want 4?

Tough luck.

Well, you could use a multiplexer but that isn't catered for in the standard firmware.
VK7JH
MMedit
 
lew247

Guru

Joined: 23/12/2015
Location: United Kingdom
Posts: 1702
Posted: 08:55pm 01 Feb 2021
Copy link to clipboard 
Print this post

In the pinout below
Are the WHITE pins on the 2x80 pin headers available to use? if so how can I tell what they can be used for?
I get the colour scheme and the items on the 40 pin header etc, its the ones not listed
 
lew247

Guru

Joined: 23/12/2015
Location: United Kingdom
Posts: 1702
Posted: 08:58pm 01 Feb 2021
Copy link to clipboard 
Print this post

It's ok I think I get it
The pins in white are used for other items on the cmm2 board
 
lizby
Guru

Joined: 17/05/2016
Location: United States
Posts: 3378
Posted: 09:03pm 01 Feb 2021
Copy link to clipboard 
Print this post

Designing your own board with VGA is not likely to be trivial. What is it that you want that cannot be had with the 40-pin R-Pi type port? Perhaps there are easier ways to achieve what you want.
PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6283
Posted: 09:03pm 01 Feb 2021
Copy link to clipboard 
Print this post

You edited while I was replying..
There are 2 com ports plus the console. You can turn the console off and then that port is available for general com use. If you are making your own board, you can make that one available easily enough. On a standard board, the console port is connected to the USB and is not broken out.

If you need more, you can connect to a micromite via I2C and use it as a com port expander.

I have little or no interest in games either and find the Waveshare version of the board perfect for general use. Being the Waveshare rather than all SMD makes it easier for me to hack about with although most of the time, I use the expansion port for my 'experiments'

Jim
VK7JH
MMedit
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10315
Posted: 11:04pm 01 Feb 2021
Copy link to clipboard 
Print this post

  Quote  Are the WHITE pins on the 2x80 pin headers available to use? i


No: some may be used internally or are allocated and locked even if not actually used. You must limit yourself to the header pins + the Nunchuk pins + the IR pin + the temperature pin. If not you will almost certainly find they either don't work now or won't in the future. In any case they are not supported in the firmware so could only be accessed with a CSUB
 
JohnS
Guru

Joined: 18/11/2011
Location: United Kingdom
Posts: 4044
Posted: 01:50pm 02 Feb 2021
Copy link to clipboard 
Print this post

  lew247 said  I'm trying to design a version of the CMM2 board just for my use which won't have most of the connectors attached

Just a carrier (mobo) board for the Waveshare or an actual STM32 etc board?

If the latter and you plan to load MMBasic you'll need the external RAM (& I know not what else).

Use the Waveshare if you can!!

John
 
lew247

Guru

Joined: 23/12/2015
Location: United Kingdom
Posts: 1702
Posted: 06:33pm 02 Feb 2021
Copy link to clipboard 
Print this post

Does anyone know the distance between the 2 rows of pins on the Waveshare board?
I can find all sorts of infor on the board but no drawing showing the spacing between the headers

 
CircuitGizmos

Guru

Joined: 08/09/2011
Location: United States
Posts: 1427
Posted: 07:34pm 02 Feb 2021
Copy link to clipboard 
Print this post

Inside rows 44.3 mm.  Outside rows 48.3 mm. Pin spacing 2mm.
Edited 2021-02-03 05:35 by CircuitGizmos
Micromites and Maximites! - Beginning Maximite
 
lew247

Guru

Joined: 23/12/2015
Location: United Kingdom
Posts: 1702
Posted: 08:08pm 02 Feb 2021
Copy link to clipboard 
Print this post

Thanks  
 
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