Home
JAQForum Ver 20.06
Log In or Join  
Active Topics
Local Time 18:50 29 Apr 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 : Alternatives

     Page 1 of 2    
Author Message
hitsware
Guru

Joined: 23/11/2012
Location: United States
Posts: 535
Posted: 02:36pm 22 Nov 2014
Copy link to clipboard 
Print this post

I have now tried:

BasicStamp
MaxiMite-MicroMite et. al.
PicAxe
BasicAtom

Are there any more similar systems/platforms ?
I.E. Utilizing BASIC to program microcontrollers ...
 
viscomjim
Guru

Joined: 08/01/2014
Location: United States
Posts: 925
Posted: 03:45pm 22 Nov 2014
Copy link to clipboard 
Print this post

Have you looked at picbasic pro, or proton basic?
 
hitsware
Guru

Joined: 23/11/2012
Location: United States
Posts: 535
Posted: 05:56pm 22 Nov 2014
Copy link to clipboard 
Print this post

Those 2 are different in that you program 'raw'
(from the factory)
chips ?????
 
muddy0409

Senior Member

Joined: 15/06/2011
Location: Australia
Posts: 125
Posted: 07:28pm 22 Nov 2014
Copy link to clipboard 
Print this post

Chipino

Has on board PIC 16F886, can be programmed in anything that generates .HEX code.
Has Arduino footprint.
I use these with PBP, can also be used with Great Cow Basic and various others.
"Yes" to the above post's question.


Don't poo poo conspiracy theories.
Remember that everything ever discovered started somewhere as a theory.
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 8584
Posted: 01:34am 23 Nov 2014
Copy link to clipboard 
Print this post

  hitsware said   I have now tried:

BasicStamp
MaxiMite-MicroMite et. al.
PicAxe
BasicAtom

Are there any more similar systems/platforms ?
I.E. Utilizing BASIC to program microcontrollers ...


What are you trying to achieve?
The platform you choose will to a large extent match the application - one size is unlikely to fit all.
For simple applications where price and board footprint is the issue then the picaxe 08M2 takes a lot of beating. If with the same constraints you need more speed, then have a look at Oshonsoft, basic compiler but with full emulation that is at least as good as picaxe - you just need some sort of ICSP device to get the code onto the chip.
For more challenging applications I think micromite mk2 is emerging as a standout solution, but if you need to go fully compiled and want stay with basic then I would add Swordfish to the list from viscomjim.

 
hitsware
Guru

Joined: 23/11/2012
Location: United States
Posts: 535
Posted: 07:42am 23 Nov 2014
Copy link to clipboard 
Print this post

> Have you looked at picbasic pro, or proton basic?

Thanks. I have now. Neither allows for anymore
(and even less) frequencies output (which I need)

> What are you trying to achieve?

Music. I need as much PWM, FREQOUT, SOUND,
as I can. So far the MicroMite is best with
2 PWM frequencies. Thanks for the thoughts.

> with Great Cow Basic

I'll look at that again. Thanks.
 
viscomjim
Guru

Joined: 08/01/2014
Location: United States
Posts: 925
Posted: 07:54am 23 Nov 2014
Copy link to clipboard 
Print this post

Not sure if this will work for you speed wise, but there are i2c things like this that give you quite a few pwm channels. Just a thought.
 
G8JCF

Guru

Joined: 15/05/2014
Location: United Kingdom
Posts: 676
Posted: 08:41am 23 Nov 2014
Copy link to clipboard 
Print this post

have you looked at Coridium http://www.coridium.us/prod-specs1.html Compiled ARM Basic.

And have you looked at ByPIC, http://www.bypic.co.uk/

For 8 bit PICs, take a look at SourceBoost http://www.sourceboost.com/Products/BoostBasic/Overview.html

PeterEdited by G8JCF 2014-11-24
The only Konstant is Change
 
hitsware
Guru

Joined: 23/11/2012
Location: United States
Posts: 535
Posted: 12:36pm 23 Nov 2014
Copy link to clipboard 
Print this post

> i2c things like this

Unfortunately those use a common
frequency for the multiple channels.
 
hitsware
Guru

Joined: 23/11/2012
Location: United States
Posts: 535
Posted: 12:43pm 23 Nov 2014
Copy link to clipboard 
Print this post

  G8JCF said   have you looked at Coridium http://www.coridium.us/prod-specs1.html Compiled ARM Basic.

And have you looked at ByPIC, http://www.bypic.co.uk/

For 8 bit PICs, take a look at SourceBoost http://www.sourceboost.com/Products/BoostBasic/Overview.html

Peter

Amazingly none of those indicate any AC out funtions at all .
 
G8JCF

Guru

Joined: 15/05/2014
Location: United Kingdom
Posts: 676
Posted: 01:25pm 23 Nov 2014
Copy link to clipboard 
Print this post

http://www.coridium.us/ARMhelp/scr/PbPWM.html

http://www.coridium.us/ARMhelp/scr/PbFREQOUT.html




The only Konstant is Change
 
hitsware
Guru

Joined: 23/11/2012
Location: United States
Posts: 535
Posted: 04:06pm 23 Nov 2014
Copy link to clipboard 
Print this post

  G8JCF said   http://www.coridium.us/ARMhelp/scr/PbPWM.html

http://www.coridium.us/ARMhelp/scr/PbFREQOUT.html




Duh ....

Missed that ... Thanks
 
hitsware
Guru

Joined: 23/11/2012
Location: United States
Posts: 535
Posted: 04:27pm 23 Nov 2014
Copy link to clipboard 
Print this post



Good 1 I recently came accross via AtomMicroBasicEdited by hitsware 2014-11-25
 
basicchip

Newbie

Joined: 25/11/2014
Location: United States
Posts: 9
Posted: 05:45pm 24 Nov 2014
Copy link to clipboard 
Print this post

A number of the ARMs support a 10 bit DAC that can be updated at 1 MHz, with that you can generate most any waveform in the audio area.

Far more accurate than the FREQOUT from PBASIC days which used PWM to emulate a DTMF signal.

What is your application for an "AC signal"
 
hitsware
Guru

Joined: 23/11/2012
Location: United States
Posts: 535
Posted: 05:57pm 24 Nov 2014
Copy link to clipboard 
Print this post

> What is your application for an "AC signal"

Music. I've just about reached the conclusion
that 4 PWM channels
(both frequency and duty cycle independent)
would pole my next raft.
 
basicchip

Newbie

Joined: 25/11/2014
Location: United States
Posts: 9
Posted: 03:54am 25 Nov 2014
Copy link to clipboard 
Print this post

I am not a musician, but I play one in the lab

What I mean by that is I have been involved with building hardware to generate music, and what we use is the I2S which is available in a number of ARMs and with that you can generate most anything you want.

By comparison a 10 bit DAC will sound pretty harsh. And PWMs are only good for making electronic sounding music.

That hardware is on our SuperPRO and accessible from BASIC.

http://coridium.us/prod-specs7.html

As well as a board that will be shipping in Dec.

http://coridium.us/prod-specs11.html

 
Goeytex
Regular Member

Joined: 12/05/2014
Location: United States
Posts: 74
Posted: 04:48am 25 Nov 2014
Copy link to clipboard 
Print this post

If you are looking to generate polyphonic sounds with rectangular waveforms, a Picaxe 20M2 or 14M2 series microcontroller can generate 4 PWM signals but only three of these can have independant frequencies. Command latency is about 70 us with the proccesor clocked at 32Mhz. Good enough for some simple "music".

With Great Cow Basic there can be 2 real PWM channels if the PIC has 2 CCP modules. GCB is compiled basic that runs faster than Arduino C or even Chipkit's (32-bit PIC) version of Arduino C. Command latency can be less than 1us depending upon the command and the processor speed. Compared to Picaxe or other interpreted BASICs it is extremely fast. Fast enough so that you could bit-bang several "PWMs" at audio frequencies while keeping in pretty good sync. GCB supports inline assembly and also gives you access to all SFR's, timers etc. So it depends upon you skill level as to what you can do with it.

The drawback with GCB is that you will need either a Pickit 2 or Pickit 3 for programming. These cost between $20 and $60 depending upon if you get a cheap clone, or a genuine Microchip product. The good news is that GCB is completely free.

I have no practical experience with other BASICS, other than a bit of testing with the original Micromite. I was not overly impressed due to the relatively slow speed and the lack of a good IDE. Raw speed compares to a Picaxe, but Micromite has the upper hand in math and number crunching. I have not tested the new Micromite based upon the PIC32MX170.

If you want more realistic sounding music and not just electronic sounding stuff you will need to find something specifically designed for that. I would be tempted to check out the Coridium stuff.

 
basicchip

Newbie

Joined: 25/11/2014
Location: United States
Posts: 9
Posted: 05:25am 25 Nov 2014
Copy link to clipboard 
Print this post

Coridium's BASIC is compiled and has limited assembly language support, though at 100+ MHz ASM is normally not needed. I've only used it for things like bit reverse which is an ARM M3/M4 instruction, but has no simple equivalent in languages I know of.

And we have gcc ports for our boards as well for C users.

Our BASIC does not do as good of a job of optimization that the very mature GCC compiler does, but will be running within 20% or so as compiled C. Both much faster than interpreters.
 
hitsware
Guru

Joined: 23/11/2012
Location: United States
Posts: 535
Posted: 09:16am 25 Nov 2014
Copy link to clipboard 
Print this post

  basicchip said  
what we use is the 12S

And PWMs are only good for making electronic sounding music.

That hardware is on our SuperPRO and accessible from BASIC.

What is "12S" ?

PWMs may (or not?) do me. I've got MIDI synths for reality.

Would you please link to the BASIC commands for that "hardware"

Thank You
 
hitsware
Guru

Joined: 23/11/2012
Location: United States
Posts: 535
Posted: 09:21am 25 Nov 2014
Copy link to clipboard 
Print this post

> If you are looking to generate polyphonic sounds with rectangular waveforms,
> a Picaxe 20M2 or 14M2 series microcontroller can generate 4 PWM signals but
> only three of these can have independant frequencies.

Thanks ! I'll check that out. (I may have missed that)
I've got a 14M2 and the PicAxe's
are attractive since no hassles with Linux ..
 
     Page 1 of 2    
Print this page
© JAQ Software 2024