MicroControllers

For everything that's not in any way related to PureBasic. General chat etc...
Baldrick
Addict
Addict
Posts: 860
Joined: Fri Jul 02, 2004 6:49 pm
Location: Australia

MicroControllers

Post by Baldrick »

I am atm just starting to delve into the world of Pic micrcontrollers. I have recently purchased a small developer kit to help teach myself a little about them & am atm waiting on a book delivery to help me get up to speed with the programming of these things using both C & assembly languages.
Just wondering if any of you people out there have been involved in these sorts of projects who may be able to help me in future months as I hopefully get more involved in these things, particullarly as I start using the ethernet enabled controllers?

The Dev kit I purchased to learn with is this: http://www.modtronix.com.au/product_inf ... eb48eae876
User avatar
Joakim Christiansen
Addict
Addict
Posts: 2452
Joined: Wed Dec 22, 2004 4:12 pm
Location: Norway
Contact:

Post by Joakim Christiansen »

Seems very interesting! :D

But what is there really to do with these things (other than pure geeking fun)? Can one for example make something useful, control engines and stuff, maybe make a toy robot?
I like logic, hence I dislike humans but love computers.
Baldrick
Addict
Addict
Posts: 860
Joined: Fri Jul 02, 2004 6:49 pm
Location: Australia

Post by Baldrick »

Can one for example make something useful, control engines and stuff, maybe make a toy robot?
Lol Joakim, In my case I am looking at using them to do some quite serious building automation & custom security applications using timezone controls, input switching controls from alarm system & other external equipment, etc which will allow overrides to be done via say tcp/ip network, along with ability to store audit trailing of equipment when running in standalone (offline) mode. ( In my case, having them run seamlessly when no pc is connected is the main attraction) :)
User avatar
Rook Zimbabwe
Addict
Addict
Posts: 4322
Joined: Tue Jan 02, 2007 8:16 pm
Location: Cypress TX
Contact:

Post by Rook Zimbabwe »

I have plkayed with the BASIC stamp kit:

http://www.parallax.com/tabid/295/Default.aspx

It was easy and the PINPAD I wrote worked fine. Allegedly still does too!

R
Binarily speaking... it takes 10 to Tango!!!

Image
http://www.bluemesapc.com/
User avatar
idle
Always Here
Always Here
Posts: 5892
Joined: Fri Sep 21, 2007 5:52 am
Location: New Zealand

Post by idle »

Joakim Christiansen wrote:Seems very interesting! :D

But what is there really to do with these things (other than pure geeking fun)? Can one for example make something useful, control engines and stuff, maybe make a toy robot?
check this out for the Geek factor, self replicating 3D printer

http://reprap.org/bin/view/Main/RepRapOneDarwin
User avatar
Rook Zimbabwe
Addict
Addict
Posts: 4322
Joined: Tue Jan 02, 2007 8:16 pm
Location: Cypress TX
Contact:

Post by Rook Zimbabwe »

I had been watching that for a while... I think they need a better controller for deposition...

FAB AT HOME too!

http://www.popularmechanics.com/technol ... 24759.html

http://www.objet.com/alaris.aspx?cid=al ... xgodYWENkA

http://www.modelin3d.com/
Binarily speaking... it takes 10 to Tango!!!

Image
http://www.bluemesapc.com/
User avatar
idle
Always Here
Always Here
Posts: 5892
Joined: Fri Sep 21, 2007 5:52 am
Location: New Zealand

Post by idle »

I don't think they'll become common place around the home anytime soon through.
User avatar
dhouston
Enthusiast
Enthusiast
Posts: 430
Joined: Tue Aug 21, 2007 2:44 pm
Location: USA (Cincinnati)
Contact:

Post by dhouston »

Using C and Assembler is the hard way to go. You might want to consider looking at the various Basic compilers for microcontrollers.

For PICs...
  • PicBasicPro
    Proton
    mikroElektronika mikroBasic
For Atmel...
  • BASCOM AVR
    mikroElektronika mikroBasic for AVR
Or, if you're the impatient type (like me)...
Baldrick
Addict
Addict
Posts: 860
Joined: Fri Jul 02, 2004 6:49 pm
Location: Australia

Post by Baldrick »

dhouston wrote:Using C and Assembler is the hard way to go. You might want to consider looking at the various Basic compilers for microcontrollers.

@dhouston, Yeps, I do understand this to be the hard way to go, but the projects I am looking at doing do have a potential commercial sale side to them, so I figured I am probably best off to go the hard road in the 1st place & hopefully maybe, just maybe it might pay dividends for me in the long haul... :lol:

btw, When it comes to C, I do have a very small & limited knowledge of it which is why I am hoping a couple of books dedicated to C for PIC micro's might just bring me up to speed in a reasonable timeframe.
User avatar
dhouston
Enthusiast
Enthusiast
Posts: 430
Joined: Tue Aug 21, 2007 2:44 pm
Location: USA (Cincinnati)
Contact:

Post by dhouston »

You might look at http://www.mikroe.com/en/compilers/mikroc/pic/. They have a lot of linkable libraries to handle most of the common tasks.
Baldrick
Addict
Addict
Posts: 860
Joined: Fri Jul 02, 2004 6:49 pm
Location: Australia

Post by Baldrick »

Thanks dhouston, that link looks like it might be very useful for me as I slowly learn this stuff.
Post Reply