Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 11:00 15 May 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 : Is there a ’ Basic ’ that is more.....

Author Message
hitsware
Guru

Joined: 23/11/2012
Location: United States
Posts: 535
Posted: 03:05pm 13 Sep 2014
Copy link to clipboard 
Print this post

.....like MMBasic than PicAxe Basic .....
that will work with the 08M2 type chips ?
 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9502
Posted: 03:10pm 13 Sep 2014
Copy link to clipboard 
Print this post

There is Great Cow Basic, but I have no idea if it can be implemented on little 8-pin DIL PIC's - I'd have to have a read, but I do remember reading good things about GCB on the forums.

I just use PICAXE when I need a little 8-pinner.

Are you having issues with PICAXE?
Can I help?

...I have used all the PICAXE's from the 08 right up to the 40-pin DIL, so I might be able to help you, if your problem happens to be PICAXE-related...
Smoke makes things work. When the smoke gets out, it stops!
 
hitsware
Guru

Joined: 23/11/2012
Location: United States
Posts: 535
Posted: 03:54pm 13 Sep 2014
Copy link to clipboard 
Print this post

> Are you having issues with PICAXE?

For the PWM frequency .....
If that could be simply expressed in Hertz / Second

> Can I help?

Please do
 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9502
Posted: 04:15pm 13 Sep 2014
Copy link to clipboard 
Print this post

The PICAXE programming editor has a nice tool for this kind of thing:

PICAXE/Wizzards/pwmout

Plop your wanted frequency in there as Hz, click the calculate button, and that should generate the line of code you need.





The MicroMite PWM command is easier, I grant you....Edited by Grogster 2014-09-15
Smoke makes things work. When the smoke gets out, it stops!
 
hitsware
Guru

Joined: 23/11/2012
Location: United States
Posts: 535
Posted: 05:19pm 13 Sep 2014
Copy link to clipboard 
Print this post

> The MicroMite PWM command is easier, I grant you....

That's what I mean !
What the world needs is MMBasic for 8 pin chips !
Maybe even 08M2's ?
 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9502
Posted: 05:41pm 13 Sep 2014
Copy link to clipboard 
Print this post

LOL - I hear you!

However, I would not let the fact that you might need to run the PWM wizzard, put you off using the PICAXE 8-pin chip.

I guess that it is up to you.

The PICAXE 08M2 is a 12F1840, so according to Great Cow Basic website, you can run it on those little chips, but I myself have never tried it.Edited by Grogster 2014-09-15
Smoke makes things work. When the smoke gets out, it stops!
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6224
Posted: 08:21pm 13 Sep 2014
Copy link to clipboard 
Print this post

I decided that a PicAxe was just right for a small job so I dusted off the Editor.

I even downloaded the new V6 programming editor to have a play.

I know I am a little bit biased but I was dismayed at the lack of programmers tools compared to MMEdit.
OK it does have a simulator but the basic writing code is primitive.

Jim
VK7JH
MMedit
 
WhiteWizzard
Guru

Joined: 05/04/2013
Location: United Kingdom
Posts: 2927
Posted: 09:20pm 13 Sep 2014
Copy link to clipboard 
Print this post

  hitsware said   > The MicroMite PWM command is easier, I grant you....

That's what I mean !
What the world needs is MMBasic for 8 pin chips !
Maybe even 08M2's ?

Hey, I can cut off 20-pins from a 28-pin MicroMite if thats any help - simply let me know which 8-pins you need .

Seriously though; why not use a SOIC MicroMite on an 8-pin DIL Break-Out-Board if space is the issue!

Just thinking 'outside the box' WW

 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6224
Posted: 09:46pm 13 Sep 2014
Copy link to clipboard 
Print this post

  WhiteWizzard said  
Seriously though; why not use a SOIC MicroMite on an 8-pin DIL Break-Out-Board if space is the issue!

Just thinking 'outside the box' WW


PicAxe's can run on 5V which can interface easily and very low power drain.

The micromite has made a big difference in the imbed-ability of the maximite but there are still places where the processing power is not needed.

Jim

VK7JH
MMedit
 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9502
Posted: 10:07pm 13 Sep 2014
Copy link to clipboard 
Print this post

  WhiteWizzard said  Seriously though; why not use a SOIC MicroMite on an 8-pin DIL Break-Out-Board if space is the issue!

Just thinking 'outside the box' WW



The SOIC 28-pin chip is bigger then an 8-pin DIL.

Not by much, but it is bigger(read: longer).

You could always go to SSOP...

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

Guru

Joined: 11/05/2013
Location: United Kingdom
Posts: 671
Posted: 10:33pm 13 Sep 2014
Copy link to clipboard 
Print this post

Maybe this one too: http://www.oshonsoft.com/pic16.html
I see it runs on 12F1840.
Never tried it myself, though.

http://rittle.org

--------------
 
WhiteWizzard
Guru

Joined: 05/04/2013
Location: United Kingdom
Posts: 2927
Posted: 10:48pm 13 Sep 2014
Copy link to clipboard 
Print this post

  Grogster said  The SOIC 28-pin chip is bigger then an 8-pin DIL.

Not by much, but it is bigger(read: longer).

You could always go to SSOP...

Thats what I meant - oohps I can't spell SSOP! Got one here in front of me next to a BIGGER 8-pin DIL.

With a BOB, you would need 2 pins for power, 2 for console (which can be jumpered between console pins and I/O pins) and then this leaves 4 dedicated I/O pins.

Is there a market for this?
 
hitsware
Guru

Joined: 23/11/2012
Location: United States
Posts: 535
Posted: 03:13am 14 Sep 2014
Copy link to clipboard 
Print this post

> if space is the issue!

It's not the space .
It's the elegance of 8 legs if that's all that's needed .
 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9502
Posted: 12:29pm 14 Sep 2014
Copy link to clipboard 
Print this post

  The Wizzard said  Thats what I meant - oohps I can't spell SSOP! Got one here in front of me next to a BIGGER 8-pin DIL.

With a BOB, you would need 2 pins for power, 2 for console (which can be jumpered between console pins and I/O pins) and then this leaves 4 dedicated I/O pins.

Is there a market for this?


You can't spell Opps either!!!

Quite possibly, I think there could be a market for this.

The SSOP package would allow you to make 8's 14's and 18's for those who wanted a smaller number of IO pins for space reasons or otherwise.

Perhaps you or I should have a go at designing a PCB?

Even with SSOP, it would be a squeeze to keep within DIL spacing, but I don't doubt that it could be done.

EDIT: SSOP is too big for standard skinny DIL, so we'd have to move to the QFN package, which is about 5mm square, with 0.5mm pin spacing - that's getting a bit fiddly though.

EDIT: I think I might have a go at this, just for something to play around with. I will start by designing an 8-pin uM, then I can simply scale up the design for 14 pin and 18 pin. These modules will use the tiny QFN package, and the final PCB size will be standard skinny DIL pinout.

I will have a play around with the PCB design tonight, and if it looks like I am getting somewhere, I will start a new thread for them.
Edited by Grogster 2014-09-16
Smoke makes things work. When the smoke gets out, it stops!
 
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