micrcontroller programming in c

Associate
Joined
19 Nov 2007
Posts
228
Hi i want to experiment with micro controller programming using C?

anyone got any tips?

what is the best micro controller dev board to go for?
 
Any reason you have chosen C? I'm playing with microcontrollers at the moment but could never get a C program to work once compiled (I don't know C anyway which doesn't help). I've managed to get programs working written in assembely and JAL.

I'm going to be using a programming language called JAL V2 ( http://www.casadeyork.com/jalv2/ ) which is a high-level language like C and has support for lots of libraries. I've compiled programs fine with the previous version known as JAL but the new version adds a lot more, one of the experts in the area, Bert van Dam (google his name for more info) has released a book on JAL V2 and microcontrollers about 3 days ago, I'm thinkiong of buying it http://members.home.nl/b.vandam/boek/microENG/micro.html

In terms of a dev board I don't use one, I have a JDM serial programmer which I built out of a few components and I have a breadboard with my circuit set up on it, I program the chip and then plug it into the circuit, not the best solution but it works.

BTW I am talking about PIC microcontrollers here, there are also AVR's which I can't advise on as I've never used one.
 
Last edited:
reason i chose c, is :
- i know c quite well
- i've programmed c on micro controllers before
- i wana stick with a syntax i'm using regular as its a side project

i've been looking at some nice boards that are about 70 quid. come with a programmer board etc.... i'd post a link but dunno if im allowed?
 
reason i chose c, is :
- i know c quite well
- i've programmed c on micro controllers before
- i wana stick with a syntax i'm using regular as its a side project

i've been looking at some nice boards that are about 70 quid. come with a programmer board etc.... i'd post a link but dunno if im allowed?


You dont need to spend that much, buy an AVR chip £2 max buy a parallel port cable, some resistors and other components, wire etc.. solder it all together and your done, no need to spend £70 the tutorial I have in my post above cost <£30 and that made a fully working traffic light set.

If your interested I am thinking of trying a project like the 'daft punk table' on a smaller scale, i.e. cheaper on a bread board, will need to get some time to do it first.

http://www.instructables.com/id/How-to-build-a-Daft-Punk-Table-Replica/
 
When I did it, we used the MPLAB IDE I think. There was another thing someone used for their final year project.

As for dev boards, bit o' breadboard and components can't be beat :)
 
When I did it, we used the MPLAB IDE I think. There was another thing someone used for their final year project.

As for dev boards, bit o' breadboard and components can't be beat :)


^^^^^^

MPLAB is what we use here for all our PIC programming.

We use ICD2's to program with.
 
its not too expensive however i think its overkill for a beginner, depends how serious you are and how much time you have, i have little time so it would not be to my benefit, plus i would want a mac one not pc. Seems like its worth it for 70 as the displays are quite expensive on their own plus its all ready to go no bread boarding.
 
Back
Top Bottom