Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 09:59 30 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 : Beta Testers Wanted

     Page 14 of 26    
Author Message
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9311
Posted: 06:16pm 25 Jan 2014
Copy link to clipboard 
Print this post

OK, ramped RPM up to 115k2 - no problems at all.

My first little code:

[code]
SetPin 14,DOUT:Pin(14)=0

Do
Pulse 14,100
Pause 200
Loop
[/code]

This, or a version of this, is just about the first code I do with ANY microcontroller - start simple, just by blinking an LED.

Now, time to play with some other features like I2C and serial etc.Edited by Grogster 2014-01-27
Smoke makes things work. When the smoke gets out, it stops!
 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9311
Posted: 07:50pm 25 Jan 2014
Copy link to clipboard 
Print this post

QUESTION: With Microchip making all their controllers in just about any package you can think of(you can even purchase the raw chip if you are REALLY short on space, but you have to order at least 5,000 chips to qualify for that), I am wondering if I can use the TQFP version.

If I have deciphered the plethora of Microchip part numbers, then I think this would be the PIC32MX150F128D-50I/PT.

Yes?
No?

This should be the 10mm TQFP version, with 0.8mm pin spacing - not to impossible to hand-solder.
Smoke makes things work. When the smoke gets out, it stops!
 
BobD

Guru

Joined: 07/12/2011
Location: Australia
Posts: 935
Posted: 08:08pm 25 Jan 2014
Copy link to clipboard 
Print this post

What is the question? Do you want to know if you can use the 44 pin chip as a sub for the 28 pin chip or are you asking if it is the correct part number?

It seems that it is the correct PN. I did a Google and got this. Much easier than wading thru the MicroChip datasheet.
 
BobD

Guru

Joined: 07/12/2011
Location: Australia
Posts: 935
Posted: 08:12pm 25 Jan 2014
Copy link to clipboard 
Print this post

If small size is what you are after then what about using the 28 pin SSOP chip at 10 x 8 mm. However, the pins are slightly closer together.
 
vasi

Guru

Joined: 23/03/2007
Location: Romania
Posts: 1697
Posted: 08:17pm 25 Jan 2014
Copy link to clipboard 
Print this post

I think the question is if Geoff will add support for that chip...
My guess is that additional features will not be supported if there is no space left for the interpreter. Even for digital and analog operations on the extra pins (I guess)...
Hobbit name: Togo Toadfoot of Frogmorton
Elvish name: Mablung Miriel
Beyound Arduino Lang
 
BobD

Guru

Joined: 07/12/2011
Location: Australia
Posts: 935
Posted: 08:18pm 25 Jan 2014
Copy link to clipboard 
Print this post

  Geoffg said   Yes, the last sentence is wrong.

On reflection I believe that the last paragraph should read:

  Quote  In 10-bit addressing the slave address is sent in two bytes. The first byte begins with the special bit pattern of 11110 which indicates that 10 bit addressing is being used, the next two bits are the top two bits of the address and the final bit is the read/write address. The second byte contains the lower eight bits of the address. This detail is automatically managed by MMBasic when the 'option' argument is set for 10-bit addressing.

10-bit addresses can be in the range of 0 to 3FF (hex).


Anyone else care to comment?

Geoff

I'm back and it looks OK to me.
 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9311
Posted: 08:22pm 25 Jan 2014
Copy link to clipboard 
Print this post

  BobD said   What is the question? Do you want to know if you can use the 44 pin chip as a sub for the 28 pin chip or are you asking if it is the correct part number?[/quote]

Both, really, but primarily if this is the correct and compatible part number.

  BobD said  I did a Google and got this. Much easier than wading thru the MicroChip datasheet.


Wading is a nice word, and appropriate at this point as with most Microchip datasheets.

Smoke makes things work. When the smoke gets out, it stops!
 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9311
Posted: 08:26pm 25 Jan 2014
Copy link to clipboard 
Print this post

  vasi said   I think the question is if Geoff will add support for that chip...
My guess is that additional features will not be supported if there is no space left for the interpreter. Even for digital and analog operations on the extra pins (I guess)...


I'm just thinking that if the chip die is essentially the same between different package types, therefore I SHOULD be able to program the TQFP with MMBasic, and use it as though it was a 28 pin device.

By matching up the pin descriptions, I would still only have the equavalent of the 28 pin device, but on the 44 pin TQFP. I am not interested in the extra pins on the TQPF(although that would be nice), just curiouos if I could put MMBasic on the TQFP device, and use it like a 28 DIL or SOIC.

Yes, there is the SSOP, but it's pin spacing is just too small at 0.65mm
Smoke makes things work. When the smoke gets out, it stops!
 
vasi

Guru

Joined: 23/03/2007
Location: Romania
Posts: 1697
Posted: 08:55pm 25 Jan 2014
Copy link to clipboard 
Print this post

Firmware for PIC18F2550 works for 4550, don't know if is the same for PIC32...

Hobbit name: Togo Toadfoot of Frogmorton
Elvish name: Mablung Miriel
Beyound Arduino Lang
 
Geoffg

Guru

Joined: 06/06/2011
Location: Australia
Posts: 3200
Posted: 09:34pm 25 Jan 2014
Copy link to clipboard 
Print this post

The firmware should run on other variants of the PIC32MX150/250 family such as the 44 pin TQFP version but (as Grogster pointed out) the pin numbers would need to be mapped to the larger chip and the extra pins will not be available in MMBasic.

For your interest Grogster, this is now the longest thread in the history of "Microcontroller and PC projects" on the Backshed. I must admit that I am amazed at how popular the Micromite is.

Geoff
Geoff Graham - http://geoffg.net
 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9311
Posted: 10:00pm 25 Jan 2014
Copy link to clipboard 
Print this post

Wow, Geoff - that's amazing.

I was actually thinking of posting a new thread, asking what is the thread with the highest number of pages, but you have answered that for me.

People have been using the PICAXE for years, but firmware revisions are closed-source, and slow in coming. Even the initial release of the MM chip will be a PICAXE beater in terms of what it can do and it's price, so you're onto a winner here I think.

Twenty THREE pages - flippin' 'eck!

EDIT: My 600th post. Yay!

EDIT:
[quote]
For your interest Grogster, this is now the longest thread in the history of "Microcontroller and PC projects" on the Backshed. I must admit that I am amazed at how popular the Micromite is.[/quote]

...and it has not even been "Officially" released yet. For a Beta release, 23 pages of thread is really totally stunning - A testament, I think, to the interest in this new device.Edited by Grogster 2014-01-27
Smoke makes things work. When the smoke gets out, it stops!
 
atmega8

Guru

Joined: 19/11/2013
Location: Germany
Posts: 722
Posted: 10:24pm 25 Jan 2014
Copy link to clipboard 
Print this post

  Grogster said  

Not sure how you were interfacing before, being that you are engineers, but perhaps you were using raw machine-code or something,...............


That's not what we are doing in our jobs, its just for fun and relaxing.
In this Case it was anything else but relaxing and we blindly believed the data sheet.
But we had some beers and remembered the old apple I soldering times, the 70 and the 80 years, good old music......


Thanks, Geoff to follow our question to put this into the docu with bold letters.
This will save many poor souls.
This will make i2c easy!

Dietmar
 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9311
Posted: 11:11pm 25 Jan 2014
Copy link to clipboard 
Print this post

Ahhhh, Hallo

Wenn der I2C wird dem Beinknochen verbunden ist, und die SPI ist mit dem .... Nein, das ist völlig falsch, sorry.

(If the I2C is connected to the leg-bone, and the SPI is connected to the.... No. That is totally wrong, sorry.)

Edited by Grogster 2014-01-27
Smoke makes things work. When the smoke gets out, it stops!
 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9311
Posted: 11:26pm 25 Jan 2014
Copy link to clipboard 
Print this post

  atmega8 said  But we had some beers and remembered the old apple I soldering times, the 70 and the 80 years, good old music......



Schauen Sie sich meine Lieblingsmusik VIDEOS Thread in OTHER STUFF - Sie vielleicht etwas, die zu Ihrem Musikgeschmack anspricht finden ...

(Check out my FAVOURITE MUSIC VIDEOS thread in OTHER STUFF - you might find something that appeals to your musical tastes...)
Smoke makes things work. When the smoke gets out, it stops!
 
elproducts

Senior Member

Joined: 19/06/2011
Location: United States
Posts: 282
Posted: 02:58am 26 Jan 2014
Copy link to clipboard 
Print this post

  Geoffg said  Anyone else care to comment?

Just a few minor suggestions:

  Quote   In these situations you should use only use the top seven bits of the address.


Extra "use" not needed.

  Quote  the next two bits are the top two bits of the address and the final bit is the read/write address .


the final bit is the read/write indicator.

Otherwise, excellent summary.





www.elproducts.com
 
elproducts

Senior Member

Joined: 19/06/2011
Location: United States
Posts: 282
Posted: 03:07am 26 Jan 2014
Copy link to clipboard 
Print this post

  Grogster said  
People have been using the PICAXE for years, but firmware revisions are closed-source, and slow in coming. Even the initial release of the MM chip will be a PICAXE beater in terms of what it can do and it's price, so you're onto a winner here I think.


Couldn't agree more.
And its just getting started.
Wait until people start sharing routines for driving LCDs, Servos, I2C, SPI, etc.
Add Geoff's VT100 chip, that he posted is coming, and you don't even need a PC to program it.
www.elproducts.com
 
Geoffg

Guru

Joined: 06/06/2011
Location: Australia
Posts: 3200
Posted: 03:28am 26 Jan 2014
Copy link to clipboard 
Print this post

Thanks for the updates to the manual. So far all the bugs found have been in the manual (a good sign).

Geoff
Geoff Graham - http://geoffg.net
 
elproducts

Senior Member

Joined: 19/06/2011
Location: United States
Posts: 282
Posted: 04:44am 26 Jan 2014
Copy link to clipboard 
Print this post

I want to make an Arduino style board for MicroMite so I can use Arduino shields with it.
Here the pinout arrangement I've come up with.
Does anybody see a conflict?

I repeat the I2C so they line up with the new and old Arduino arrangement.
I also placed every other feature (SPI, PWM, Serial) at the pins that match up to Arduino.
The MicroMite pinout is scattered but easily corrected with a series of variable names for the pin numbers.
i.e. A0 = 2

I replaced the Vref with a 3.3v connection so that header has both ground and 3.3v (I never see anybody use Vref). I also had an extra open pin on the Analog header so I added a ground which is handy for ADC connections.








www.elproducts.com
 
viscomjim
Guru

Joined: 08/01/2014
Location: United States
Posts: 925
Posted: 05:24am 26 Jan 2014
Copy link to clipboard 
Print this post

This arduino style board would be awesome for uMite. Keep us posted!
 
JohnS
Guru

Joined: 18/11/2011
Location: United Kingdom
Posts: 3819
Posted: 05:28am 26 Jan 2014
Copy link to clipboard 
Print this post

Cross-check with Olimex boards in case something triggers a useful thought.

John
 
     Page 14 of 26    
Print this page
© JAQ Software 2024