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 : (DM) How many GPIOs you can use on DM?
Author | Message | ||||
Olimex Senior Member Joined: 02/10/2011 Location: BulgariaPosts: 226 |
The correct answer is 22! I hope this simple demonstration will finally stop the discussions about the number of the DuinoMite GPIOs which can be used. How many GPIOs... The above setup is with DISABLED SD-CARD and only internal DRIVE A: Also in this demo the VGA video is disabled to may use PIN(20) and in this case you can use only the composite video output or the color Gameduino shield for Video output. The Latest DM firmware have BASIC command: SDDISABLE and SDENABLE so you do not have to run SETUP command and reset the board to disable the external SD-CARD. The next firmware of DuinoMite will have also BASIC command for VGA enable/disable which will have as side effect increasing the program code execution speed by removing the video generation. |
||||
JohnS Guru Joined: 18/11/2011 Location: United KingdomPosts: 3800 |
Cool! I hope the wrong web page(s) will now be edited/removed by those who created/host them. |
||||
centrex Guru Joined: 13/11/2011 Location: AustraliaPosts: 320 |
Glen Looks like you will be zapping another item from the forum. Cant you blokes give it a rest, the DM and the MM are both great devices. Give credit where credit is due. I dont see anyone rubbishing the CGMMSTICK just because it looks a little different to the above Cliff Cliff |
||||
Gizmo Admin Group Joined: 05/06/2004 Location: AustraliaPosts: 5078 |
Stop it, now! Back on topic please. The best time to plant a tree was twenty years ago, the second best time is right now. JAQ |
||||
djuqa Guru Joined: 23/11/2011 Location: AustraliaPosts: 447 |
Funny how the DESIGHER of the Duinomite didn't even know how many GPIO's could be controlled. VK4MU MicroController Units |
||||
Olimex Senior Member Joined: 02/10/2011 Location: BulgariaPosts: 226 |
sure this was side effect of our ignorance ;) the UEXT signals were not intended to be used as GPIO, the two extra signals are the real COM3 UART Rx, Rx which is available on UEXT connector (you can see the wires from UEXT) Ken just noticed that if you do not use this UART you can drive them as GPIO and add this to the firmware |
||||
bigmik Guru Joined: 20/06/2011 Location: AustraliaPosts: 2914 |
Hi Cliff, I wrote some code (not the code quoted by Tsvetan) and did the design for the led/switch tester and I did this for TWO purposes, Firstly to show that the DM can control all 20 IO lines and is not crippled as has been reported. But secondly and most importantly, it was to test all MM and DM boards to ensure that the basic functions were working. My wish is to show that the MM and DM are more closely related than is generally thought. I dont want this constant tongue poking as it is not constructive... The DM and MM are similar but NOT the same. I am not happy that this has been broached openly in the vein it has been. I believe that Tsvetan has been under so much flack about this that when I shared this with him he grabbed it and galloped forward faster than I could blink... Whilst I am happy, ecstatic actually, that someone appreciates my work ... My wish is to unite the DM and MM community and not divide it... I think the fact that Tsvetans native tongue is not English he has inadvertently worded it like a tongue poke rather than an announcement of news. Please dont turn this into something it wasn't intended to be... I love both the DM and MM and they belong together and not at opposite ends of the court. Regards, Mick Mick's uMite Stuff can be found >>> HERE (Kindly hosted by Dontronics) <<< |
||||
Gizmo Admin Group Joined: 05/06/2004 Location: AustraliaPosts: 5078 |
Well said Mick. We just dont need the unhelpfull comments, all they do is tarnish an informative post. The fact that the Duinomite can access so many pins is a good news. If your a Duinomite user, and the post is about a Maximite, or visa versa, then let it be. Back to the topic. Glenn The best time to plant a tree was twenty years ago, the second best time is right now. JAQ |
||||
Olimex Senior Member Joined: 02/10/2011 Location: BulgariaPosts: 226 |
oh dear, shame on me again, I'm looking at DuinoMite schematic again and found two more GPIOs PGC and PGD on ICSP connector! I'll ask Ken to add these in the definitions as PIN(24) and PIN(25) so total 24 GPIOs are available for use and drive independantly. I'm afraid to look again as I could find some more |
||||
djuqa Guru Joined: 23/11/2011 Location: AustraliaPosts: 447 |
Go for it mate. ALL the more the merrier. VK4MU MicroController Units |
||||
Olimex Senior Member Joined: 02/10/2011 Location: BulgariaPosts: 226 |
BTW Don just had an briliant idea to use the ICSP connector as new UEXT like connector as you have there power supply and 2 GPIOs it could become nice Wii Joystick port! ICSP is used just once at the time of bootloader programming then unused we will make small wii joystick adapter board which connects to ICSP |
||||
djuqa Guru Joined: 23/11/2011 Location: AustraliaPosts: 447 |
Now you talking! A great Idea VK4MU MicroController Units |
||||
VK6MRG Guru Joined: 08/06/2011 Location: AustraliaPosts: 347 |
Just think how many I/O's we would have if someone had the guts to design a MM or DM with the 100 pin PIC32!! Then we could still have 20 dedicated I/Os and EVERTHING else as well!!! And not have to sacrifice functions like the SPI bus or SD card etc for extra I/O's! I've been asking the question for over 6 months and I've only been told it's too hard or use the UBW32 (which I have but only as a development/prototype tool. Let’s see the DM use a 100 pin chip and have EVERYTHING with no compromised MM I/O's! Its easier to ask forgiveness than to seek permission! ............VK6MRG.............VK3MGR............ |
||||
bigmik Guru Joined: 20/06/2011 Location: AustraliaPosts: 2914 |
Hi VK, Olimex is bringing out the eMega soon that may suit your purpose...I havent yet checked out the schematic to see about shared pins but it does use the 100 pin jobbie.. eMega .. Regards, Mick Mick's uMite Stuff can be found >>> HERE (Kindly hosted by Dontronics) <<< |
||||
djuqa Guru Joined: 23/11/2011 Location: AustraliaPosts: 447 |
Yes especially on something like the DM e-mega Lots I/O, connectors and support bits for Gadget freaks. VK4MU MicroController Units |
||||
VK6MRG Guru Joined: 08/06/2011 Location: AustraliaPosts: 347 |
Looks promising! Well done to Olimex and everyone else working on the e-mega! Its easier to ask forgiveness than to seek permission! ............VK6MRG.............VK3MGR............ |
||||
aargee Senior Member Joined: 21/08/2008 Location: AustraliaPosts: 255 |
I've been asking the question for over 6 months and I've only been told it's too hard or use the UBW32 (which I have but only as a development/prototype tool. Let’s see the DM use a 100 pin chip and have EVERYTHING with no compromised MM I/O's! So, why can't you use the UBW32? I have it running on a piece of vero board with video, keyboard and SD Card connected. Or are you after a complete built PCB with all the peripherals already there? It really shouldn't be too hard to drum up a board design for a "Super-Maximite" (you heard it here first, folks!) using the 100pin PIC, with all the peripheral support circuitry on board and then use the UBW32 version of the firmware. Though, I'm quite happy with the UBW board format for my tinkering. - Rob. For crying out loud, all I wanted to do was flash this blasted LED. |
||||
VK6MRG Guru Joined: 08/06/2011 Location: AustraliaPosts: 347 |
So, why can't you use the UBW32? I have it running on a piece of vero board with video, keyboard and SD Card connected. Or are you after a complete built PCB with all the peripherals already there? It really shouldn't be too hard to drum up a board design for a "Super-Maximite" (you heard it here first, folks!) using the 100pin PIC, with all the peripheral support circuitry on board and then use the UBW32 version of the firmware. Though, I'm quite happy with the UBW board format for my tinkering. - Rob. Actually I first talked about a super maximite last year, but nobody wanted it! I did try and design my own PCB using the 100 pin PIC32 But soon gave up as I would have been the only user. Now I have the UBW32 I'll play with it. Matthew Its easier to ask forgiveness than to seek permission! ............VK6MRG.............VK3MGR............ |
||||
Print this page |