Breaking News
Blog

Probing the PICAXE, Part 1

NO RATINGS
2 saves
< Previous Page 2 / 3 Next >
View Comments: Oldest First | Newest First | Threaded View
Page 1 / 2   >   >>
antedeluvian
User Rank
Blogger
O good!
antedeluvian   10/18/2013 6:43:25 PM
NO RATINGS
David When I saw your blog on the PCB, I hoped that you had become a blogger. This confirms it. Now you have to catch as well as pitch (field as well as bowl in your case). Being too lazy to go and check it out (start of the weekend and all that) I wanted to ask if the Picaxe is in fact a standard Pic with a BASIC interpreter in firmware, much like Zilog And Intel had in year's past? Also is it possible to descend into assembler?

David Ashton
User Rank
Blogger
Re: O good!
David Ashton   10/18/2013 7:04:56 PM
NO RATINGS
Thanks Aubrey!  Max is very persuasive....   Ref assembler - this is one of my questions that I will be investigating for a further blog, so you'll have to wait!  I know it does let you access the different memories (PEEK and POKE statements), but I don't know how far beyond that you can go. 

Why is the first question always one to which you have to say "I'll get back to you on that"?    I always seem to do that when I'm on  training courses.....so I guess it's karma....  :-)

Bert22306
User Rank
CEO
Re: O good!
Bert22306   10/19/2013 6:13:15 PM
NO RATINGS
Pretty cool, David. You model picaxe looks only two pins bigger than a dual opamp.

Glad to hear you're a BASIC afficionado. In case you didn't know, there's a very nice new version of BASIC from right in your own backyard: QB64. Virtually 100 percent compatible with MS Qbasic, even gives you that same familiar editor, but it goes a lot further too. Runs fine on 32-bit or 64-bit machines, MS, Apple, or Linux, and it's a compiled version.

These picaxe devices seem to have a language simiilar to older versions of BASIC, in which variable names were restrictive.

(Now you've got me questioning how I orient the resistors on my boards. Thanks a lot!)

David Ashton
User Rank
Blogger
Re: O good!
David Ashton   10/19/2013 7:41:42 PM
NO RATINGS
Hello Bert, thanks.  The PICAXE 08M2 is 8 pins, same as a dual opamp.  and it has an internal resonator so all 6 pins apart from power can be used for I/O (with certain restrictions).

You CAN call your variables whatever you want, using a command, and I'll be dealing with that in Part 2.

I must look into QB64 though I have long had a hankering to learn Visual Basic.  Structured program people will tell you that the GOTOs in BASIC are a no-no, and I do make an effort to avoid them in general use, but there's times they save you a lot more jumping through hoops.   

I'd love to be a fly on the wall next time you are building something :-)

 

outdoors
User Rank
Rookie
PICAXE
outdoors   10/20/2013 2:44:32 AM
NO RATINGS
I have been using the PICAXE for about 7 months now and I love them.  They are great for simple applications.  I am mostly using them for ADC and I2C applications.

David Ashton
User Rank
Blogger
Re: PICAXE
David Ashton   10/20/2013 5:29:46 AM
NO RATINGS
@adventures0 - sounds like you should have written this!   I have found before that writing blogs like this, and maybe having some fixed goals in mind project-wise, is a GREAT way to learn.  I am so impressed at the ease of use of the PICAXE and the wide range of sensors and peripherals which have purpose-made commands to simplify their use. It's going to be impossible to cover everything but I'm hoping to do a couple more blogs on them.   Any suggestions on topics that you think would be good to cover would be very welcome.

Brian Fuller2
User Rank
Blogger
The Ashton-ator
Brian Fuller2   10/21/2013 1:02:49 PM
NO RATINGS
Man is it good seeing more David Ashton on EE Times. Great post, David. I hope you're well Down Under.

Max The Magnificent
User Rank
Blogger
Re: The Ashton-ator
Max The Magnificent   10/21/2013 1:11:45 PM
NO RATINGS
@Brian: David is hoping to come to EE Live! 2014 -- March/April 2014 in Silicon Valley -- maybe we can all meet up (it's your turn to buy the beer :-)

Brian Fuller2
User Rank
Blogger
Re: The Ashton-ator
Brian Fuller2   10/21/2013 1:48:14 PM
NO RATINGS
It IS my turn, and if that's the case, I will clear the decks for that gathering! 

Max The Magnificent
User Rank
Blogger
Re: O good!
Max The Magnificent   10/21/2013 1:53:29 PM
NO RATINGS
@David: I just remembered that it was a PICAXE I was using to drive that prototype in my The Awesome Art of Bodacious Breadboards blog.

Page 1 / 2   >   >>
Flash Poll
Radio
LATEST ARCHIVED BROADCAST
Join our online Radio Show on Friday 11th July starting at 2:00pm Eastern, when EETimes editor of all things fun and interesting, Max Maxfield, and embedded systems expert, Jack Ganssle, will debate as to just what is, and is not, and embedded system.
Like Us on Facebook

Datasheets.com Parts Search

185 million searchable parts
(please enter a part number or hit search to begin)
EE Times on Twitter
EE Times Twitter Feed
Top Comments of the Week