electro-music.com   Dedicated to experimental electro-acoustic
and electronic music
 
    Front Page  |  Radio
 |  Media  |  Forum  |  Wiki  |  Links
Forum with support of Syndicator RSS
 FAQFAQ   CalendarCalendar   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   LinksLinks
 RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in  Chat RoomChat Room 
 Forum index » DIY Hardware and Software » Microcontrollers and Programmable Logic
Help! Need a PIC-like processor with cross-platform tools.
Post new topic   Reply to topic Moderators: State Machine
Page 1 of 1 [10 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
Author Message
Inventor
Stream Operator


Joined: Oct 13, 2007
Posts: 6221
Location: near Austin, Tx, USA
Audio files: 267

PostPosted: Tue May 27, 2008 2:43 am    Post subject: Help! Need a PIC-like processor with cross-platform tools.
Subject description: For making a really neat little synthsizer thingie...
Reply with quote  Mark this post and the followings unread

Hi StateMachine et. al,

I'm a DIY fan and I'm familar with PIC processors. I would like to make a little bitty synth module as described in this thread:

http://electro-music.com/forum/topic-26536.html

The idea is that simplified little synthesizer modules on circuit boards the size of a quarter can be interconnected to form complex synthesizer circuits. I'll start by making one module that is PIC-like and can be an oscillator or a delay line or a filter or whatever depending on the programming. What I need is a PIC-like processor that has cross-platform development tools.

Unfortunately my beloved PICs have only Microsoft development platforms as near as I can tell, so that's not a solution for me. I want primarily to do this on my eMac and Linux, with Microsoft compatibility being a plus.

The proposed module will have inputs for power, ground, and signal, plus outputs for power, ground, and signal. It will have a couple of little PCB pots, a momentary switch, and perhaps an 8-bit DIP switch. The module will be general enough to support a variety of synthesizer functions.

A "kit" would include perhaps 20 such modules, each of which is programmed for a specific function, and each of which costs $5 or lower. The interconnect will be of solid 22 gauge wire that can be trimmed to any lenth and soldered to the board or attached with some type of connector. The solid wire will also act a structural support so that three-dimensional sculptures of sound can be created.

Well, I could ramble on forever with details, but if you read the above thread you will get the idea. So I ask you: What processor would you use? It needs to be cheap and self-contained like a PIC, but have cross-platform development tools which Microchip sadly does not offer (shame on them - they lose my business for that!).

Thanks in advance and cheers!

_________________
"Let's make noise for peace." - Kijjaz
Back to top
View user's profile Send private message Send e-mail
blue hell
Site Admin


Joined: Apr 03, 2004
Posts: 24083
Location: The Netherlands, Enschede
Audio files: 278
G2 patch files: 320

PostPosted: Tue May 27, 2008 1:35 pm    Post subject: Reply with quote  Mark this post and the followings unread

I'm not sure PIC processors would be the best thing for this, but there is some Linux tooling for PIC processors: http://www.gnupic.org/
_________________
Jan
also .. could someone please turn down the thermostat a bit.
Posted Image, might have been reduced in size. Click Image to view fullscreen.
Back to top
View user's profile Send private message Visit poster's website
Inventor
Stream Operator


Joined: Oct 13, 2007
Posts: 6221
Location: near Austin, Tx, USA
Audio files: 267

PostPosted: Tue May 27, 2008 6:01 pm    Post subject: Reply with quote  Mark this post and the followings unread

Thanks Jan, the web page says that Max OSX, Windows, and Linux are all supported, plus they have a direct replacement for MPASM.
_________________
"Let's make noise for peace." - Kijjaz
Back to top
View user's profile Send private message Send e-mail
okvern



Joined: Feb 05, 2008
Posts: 78
Location: Seattle, Washington
Audio files: 5

PostPosted: Tue May 27, 2008 6:50 pm    Post subject: Reply with quote  Mark this post and the followings unread

Hi Inventor,

You might also consider Arduino--the IDE is available for Windows, Mac OS, and Linux. The Ardunio language is very much like C, and, really, the chips are fast enough that you shouldn't have to worry about learning assembler. You don't need a "full" Arduino development board--you can just program chips with it and use them in standalone boards. Some might say that the ATMega168 is overkill for single modules, but they're plenty cheap.

That said, I've also been having fun with Microchip PICs. But I haven't found a C compiler for PICs that both works with all chips and is free, so I'm kind of leaning toward the Arduino/AVR world.

Thanks,

Ole
Back to top
View user's profile Send private message
BananaPlug



Joined: Jul 04, 2007
Posts: 307
Location: Philly
Audio files: 5

PostPosted: Tue May 27, 2008 7:36 pm    Post subject: Reply with quote  Mark this post and the followings unread

AVR boards in varying degrees of completeness can be had from these folks:
http://wulfden.org/freeduino/freeduino.shtml
The Really Bare Bones Board might appeal to you.
Back to top
View user's profile Send private message Visit poster's website
Inventor
Stream Operator


Joined: Oct 13, 2007
Posts: 6221
Location: near Austin, Tx, USA
Audio files: 267

PostPosted: Wed May 28, 2008 11:33 am    Post subject: Reply with quote  Mark this post and the followings unread

Thanks, the Ardunio boards are close to what I'm thinking, but actually I'm looking for somthing like an 8-pin solution with higher pin count if necessary. For that I'm thinking of PIC, but I dunno. It will be a long journey regardless and perhaps all plaforms have a role to play. I will try the gnupic simulator for starters and see if i like it.
_________________
"Let's make noise for peace." - Kijjaz
Back to top
View user's profile Send private message Send e-mail
blue hell
Site Admin


Joined: Apr 03, 2004
Posts: 24083
Location: The Netherlands, Enschede
Audio files: 278
G2 patch files: 320

PostPosted: Wed May 28, 2008 12:20 pm    Post subject: Reply with quote  Mark this post and the followings unread

You might have a hard time to get audio processing done in the 8 pin pics, but now I see how you plan to make it quarter sized Wink

Would like to hear your opinion on the gnupic stuff!

_________________
Jan
also .. could someone please turn down the thermostat a bit.
Posted Image, might have been reduced in size. Click Image to view fullscreen.
Back to top
View user's profile Send private message Visit poster's website
okvern



Joined: Feb 05, 2008
Posts: 78
Location: Seattle, Washington
Audio files: 5

PostPosted: Wed May 28, 2008 12:38 pm    Post subject: Reply with quote  Mark this post and the followings unread

Hi Inventor,

What I meant was: use an Arduino board as a development system, and then deploy as a minimial "Freeduino" board--that's an ATMEGA168, a crystal, and two capacitors.

At the same time, I understand the urge to use 8 pin chips--take a look at the ATTiny26 experiments here (lots of great stuff on these pages):

http://elm-chan.org/works/vp/report.html

...for example.

Thanks,

Ole
Back to top
View user's profile Send private message
Inventor
Stream Operator


Joined: Oct 13, 2007
Posts: 6221
Location: near Austin, Tx, USA
Audio files: 267

PostPosted: Wed May 28, 2008 8:53 pm    Post subject: Reply with quote  Mark this post and the followings unread

okvern wrote:
Hi Inventor,

What I meant was: use an Arduino board as a development system, and then deploy as a minimial "Freeduino" board--that's an ATMEGA168, a crystal, and two capacitors.

At the same time, I understand the urge to use 8 pin chips--take a look at the ATTiny26 experiments here (lots of great stuff on these pages):

http://elm-chan.org/works/vp/report.html

...for example.

Thanks,

Ole


Dang, Ole, that's a capital idea! Why should I build custom circuit boards for the initial prototypes when I can simply switch platforms and get a ready-made development platform? A stroke of brilliance, I'd say!

I'm thinking of defining the system with such generality that analog circuits, digital circuits, fpgas, microprocessors and mixed-signal circuits all have a role to play. So why should I be all set to go on PICs when this Arduino thingie exits in bare-bones form? There will perhaps one day be a PIC module the size of a dime even. However I'd like to bypass the development effort and cost of the PCB and assembly if possible.

BTW, Jan, I only had time to glance at the gnupic tools, but what I saw looked like the cat's meow. literally dozens of options for compilers, assemblers, simulators, IDE's, programmers, etc. All cross-platform, though I would like to have seen a precompiled binary for OSX. So if and when I go with PIC, I know where to go.

I've had brain freeze overdrive the past few days, moving, people in my home, family dealies, etc. Plus I just brainstormed all this Geometric Synth stuff and I think I blew a fuse! Best thing to do after stepping away from it for a day is to slowly get back into it, so now I'm off to read up a little on Arduino or however you spell that.

_________________
"Let's make noise for peace." - Kijjaz
Back to top
View user's profile Send private message Send e-mail
Inventor
Stream Operator


Joined: Oct 13, 2007
Posts: 6221
Location: near Austin, Tx, USA
Audio files: 267

PostPosted: Thu May 29, 2008 4:12 pm    Post subject: Reply with quote  Mark this post and the followings unread

Blue Hell wrote:
You might have a hard time to get audio processing done in the 8 pin pics, but now I see how you plan to make it quarter sized Wink

Would like to hear your opinion on the gnupic stuff!


I looked at PICs again and the gnupic tools have no simulator for OSX. There are other tools, but not a simulator. I'll have to wait until I set up my Linux box to use gnupic tools.

_________________
"Let's make noise for peace." - Kijjaz
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic Moderators: State Machine
Page 1 of 1 [10 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
 Forum index » DIY Hardware and Software » Microcontrollers and Programmable Logic
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Forum with support of Syndicator RSS
Powered by phpBB © 2001, 2005 phpBB Group
Copyright © 2003 through 2009 by electro-music.com - Conditions Of Use