Re: microcontroller programming -- how to begin




"Ignoramus5457" <ignoramus5457@xxxxxxxxxxxxxxxxxxx> schreef in bericht
news:1Rmdg.40875$546.28628@xxxxxxxxxxxxxxxxxxxxxxxx
On Thu, 25 May 2006 18:28:22 GMT, Nico Coesel <nico@xxxxxxxxxxx> wrote:
martin griffith <mart_in_medina@xxxxxxxxxxx> wrote:

On Thu, 25 May 2006 17:18:12 GMT, in sci.electronics.design
Ignoramus5457 <ignoramus5457@xxxxxxxxxxxxxxxxxxx> wrote:

On 25 May 2006 10:03:41 -0700, Luhan <luhanis@xxxxxxxxx> wrote:

Ignoramus5457 wrote:
I have this microcontroller

http://cubloc.com/download/integrated/CuSB22R_UserManual.pdf

it is basically their Cubloc 280 with the relay board and set screw
terminals attached.

When I get it, I would like to, first, just play with it a little
bit,
write some hello world types of applications, etc. Do you know of any
websites that discuss how would discuss how one gets started with
microcontrollers. I am a computer programmer, so programming as such
is not a problem, but controlling a microcontroller seems to be a
different paradign from just writing "apps".

That documentation doesn't say much. Looks like an 'orphan' micro
with
a 'unique' programming language - a real 'learning' experience.

Good luck, you'll need it.

Well, they have a big PDF file with documentation on the processor
C280, how to program it, how to read inputs etc. It is a separate
PDF file, it can be seen here:

http://cubloc.com/download/cubloc/cubloc_manual.pdf

That thing is programmed in Basic or in Ladder Logic.

i
Ugh, get the AVR butterfly starter, spread your wings a bit, live on
the embedded "Dark Side", and its cheap, tons of free tools around

I don't think AVR (based on the ancient 8051 which is closer to its
40th birthday than its 30th) is a very good place to start. It works,
but somewhere down the road you'll discover C isn't portable between
platforms which have split memory areas.


I am not too worried that I have to use BASIC. How do people write
these things in general? Do they have a main loop and a state machine?

What about timings, looks like this C280 does not have a built in
timer. And yet sometimes I need to do things for a certain time (such
as open gas valve before starting TIG welding), but they can be
interrupted, by, say, releasing foot pedal.

Am I stuck with having to use a counter sensor and external
oscillator?


i


One should be familiar with this CB220 to answer your questions... or read
the manual. Guess you can do the latter yourself.

petrus bitbyter


.


Loading