Breaking News
Comments
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 :-)

 

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.

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.

Flabruce
User Rank
Rookie
Re: PICAXE
Flabruce   10/21/2013 7:29:18 PM
NO RATINGS
     The PicAxe has an associated program called LOGICATOR that makes understanding and programming much easier.  It allows  identification the PIC being programed . Once it is identified you are able to select the configration of the pins for that device as inputs or outputs.  Once these options are selected you can then graphically pick and place the procedures you need.    You can run the simulator using some of the attached view screens for input /outputs, LCD display , variables et. to debug your program.  When it's working on the simulator you can then download it to the PIC.   This program will also convert the flowchart to BASIC and they are usually as short or shorter than if you do it the long way.   It doesn't get much easier than this.

David Ashton
User Rank
Blogger
Re: PICAXE
David Ashton   10/21/2013 7:42:08 PM
NO RATINGS
@flabruce - you're getting ahead of me here, I was aware of Logicator and was going to have a go at it but haven't got there yet.  It's diffciult to see how it could be easier than I have found it, but that's coming from a pre-knowledge of BASIC.  I hope Max will allow me enough space to get to Logicator....

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! 

David Ashton
User Rank
Blogger
Re: The Ashton-ator
David Ashton   10/21/2013 3:52:33 PM
NO RATINGS
Free Beer!  I'll be there!!!  Thanks guys, I hope I can make it and that we have time for enough that I can buy you one or two as well

selinz
User Rank
CEO
Re: The Ashton-ator
selinz   10/21/2013 6:08:54 PM
NO RATINGS
Well, I don't have to buy the stuff and I don't have to spend the time learning. I can simply read these articles! Thanks for allowing me to "read tinker."



EE Life
Frankenstein's Fix, Teardowns, Sideshows, Design Contests, Reader Content & More
Max Maxfield

Creating New Faceplates for Antique Analog Meters
Max Maxfield
40 comments
I've currently got a couple of hobby projects on the go that feature the use of antique analog meters. For example, there's my Inamorata Prognostication Engine and its companion, the ...

EDN Staff

11 Summer Vacation Spots for Engineers
EDN Staff
11 comments
This collection of places from technology history, museums, and modern marvels is a roadmap for an engineering adventure that will take you around the world. Here are just a few spots ...

Glen Chenier

Engineers Solve Analog/Digital Problem, Invent Creative Expletives
Glen Chenier
11 comments
- An analog engineer and a digital engineer join forces, use their respective skills, and pull a few bunnies out of a hat to troubleshoot a system with which they are completely ...

Larry Desjardin

Engineers Should Study Finance: 5 Reasons Why
Larry Desjardin
45 comments
I'm a big proponent of engineers learning financial basics. Why? Because engineers are making decisions all the time, in multiple ways. Having a good financial understanding guides these ...

Flash Poll
Top Comments of the Week
Like Us on Facebook
EE Times on Twitter
EE Times Twitter Feed

Datasheets.com Parts Search

185 million searchable parts
(please enter a part number or hit search to begin)