![]() |
Forum Index : Microcontroller and PC projects : cmm2 pinout
Author | Message | ||||
lew247![]() Guru ![]() Joined: 23/12/2015 Location: United KingdomPosts: 1702 |
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: AustraliaPosts: 6283 |
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 KingdomPosts: 1702 |
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: AustraliaPosts: 6283 |
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 KingdomPosts: 1702 |
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 KingdomPosts: 1702 |
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 StatesPosts: 3378 |
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: AustraliaPosts: 6283 |
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 KingdomPosts: 10315 |
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 KingdomPosts: 4044 |
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 KingdomPosts: 1702 |
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 StatesPosts: 1427 |
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 KingdomPosts: 1702 |
Thanks ![]() |
||||
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |