Shop OBEX P1 Docs P2 Docs Learn Events
Microchip launches first 32-bit Arduino compatible development platform — Parallax Forums

Microchip launches first 32-bit Arduino compatible development platform

tdlivingstdlivings Posts: 437
edited 2011-06-20 14:04 in General Discussion
Looks like Microchip put their chip on an Arduino platform and modified the Arduino IDE.
With all the discussion on new IDE's and compilers for Prop 2 and 1 this is an interesting
approach to doing it.
I have not read all the info on the web site but a Parallax Prop 2 or 1 board and modifiy the
Ardunio IDE is an interesting concept. Another approach or parallel solution

Posted here for discussion and others may be interested and it is an IDE idea which is
heavily discussed in propeller forum
Tom

From Elector Newsletter the links
http://www.microchip.com/get/TDD2

http://www.microchip.com/get/D268

Comments

  • LeonLeon Posts: 7,620
    edited 2011-06-03 09:31
    I mentioned it on another thread some days ago.

    It was actually developed by Digilent with assistance from Microchip, and is being sold by both Microchip and Digilent. I've ordered one from Microchip (free shipping!) and should get it in a few days.
  • Martin_HMartin_H Posts: 4,051
    edited 2011-06-03 09:37
    That is an incredibly good idea and value. But shield compatibility means they have that funky pin spacing between pins 7 and 8. It also looks like the second row of headers are the extra I/O's and not a row with corrected spacing.

    The Propeller ASC coupled with either Catalina or a C++ like language that compiles to Spin byte codes could compete.
  • John A. ZoidbergJohn A. Zoidberg Posts: 514
    edited 2011-06-03 09:48
    I ordered it too, and the shipping is free. Now heading towards SE Asia and to my workplace. Can't lose that chance!

    However, I'm still waiting for the developers to come out with the final codes and libraries for the USB Host Shield (that one is still halfway through), and the libraries for Debug Bridge so that I can communicate with my smartphone easily.

    The bad thing for me is, my smartphone isn't Android 2.3.4 - it's a common 2.2. The accessory kit not gonna work with it. Had to stick to the Debug Bridge until those stuff settled.
  • StefanL38StefanL38 Posts: 2,292
    edited 2011-06-03 10:14
    @Martin,

    what exactly do you mean this is an incredible good idea?
    Modifiying the existing Arduino-IDE?

    seems like arduino is ahead in the popularity-race. Can we (the propeller-community)
    "put more horsepower under the hood" to catch up?

    Is anybody here familiar with the arduino and can estimate the similarities and differences between
    the propellertool and the arduino IDE?

    If I should give a five sentence description of the propeller I would say

    Install USBdriver and propeller-IDE connect your propellerboard and download a demo-program

    Say what kind of internal hardware you need (UART, SPI, I2C, TV, VGA)
    what kind of external hardware you need (encoder, ethernet)
    Choose the suitable objects from the obex glue them together and your project is up and running.

    Now how would a five-sentence description of an arduino-board look like?

    best regards

    Stefan
  • Martin HodgeMartin Hodge Posts: 1,246
    edited 2011-06-03 10:19
    I got mine yesterday and was immediately put-off by the five different jumpers needed to configure compatibility with different shields. The ASC, thanks to the Propeller, is able to do all this configuration in software. I have yet to get a single unaltered Arduino sketch to compile. (To be fair, not a single sketch will compile for the ASC either. ;) )
  • tdlivingstdlivings Posts: 437
    edited 2011-06-03 10:25
    I originally posted this in Propeller as a contribution to the brainstorming on new Prop IDE's but I was
    a mouse click away from putting it here in discussion.

    @Leon
    Do you know if Microchip payed money to have the IDE modified or is it an open source IDE that they modified.

    @Martin
    I was not looking at a direct compete with pic32 but the concept of modifing an IDE instead of developing a new one
    or doing both. Compatibility with existing Arduino shields is something that a Propeller would be able to do some and not
    others.

    Tom
  • GordonMcCombGordonMcComb Posts: 3,366
    edited 2011-06-03 10:25
    Clearly a brilliant move to take back some of the gusto from Atmel (who for the most part is ambivalent toward the hobbyist market anyway), and for calling it the Uno32 (and trademarking it no less). You can bet there will be some lawyers involved over that one, but the challenge puts the Arduino camp on the defensive, and nudges them ever so slightly in developing a 32-bit version.

    Still, there's no point living in the shadow of the Arduino. Let's see how well Digilent and Microchip can follow through with projects, libraries, code, and most of all, the user community.

    -- Gordon
  • LeonLeon Posts: 7,620
    edited 2011-06-03 10:49
    Tom,

    Digilent developed the IDE. I've tried it and It is the Arduino IDE as far as the user is concerned. I only tried one of the example sketches (which look the same as those for the Arduino) and it compiled OK.
  • Martin_HMartin_H Posts: 4,051
    edited 2011-06-03 10:58
    StefanL38, I use the Basic Stamp, Propeller and Arduino, so a vendor arms race is good news for me. This new board is a good idea, because it has a low barrier for adoption, so it will likely become popular. If you know how to use the Arduino IDE and shields, you can buy a better board for less money than you paid for your Arduino. I checked and many vendors have dropped the prices on the Arduino Uno, so that's all good news.

    Now is this bad news for Parallax and the Propeller? I'm not in marketing so I don't know. I do know that Parallax sensors are popular with Arduino users, and the BOEBot is quite popular. While the Prop IDE and Arduino IDE are similar concepts, you can't cross seamlessly between them. I ignored the Propeller Chip until fairly recently, not because I had anything against it. But Spin struck me as an odd duck of a language in a C syntax world. What got me interested was doing a project which could benefit from multiple hardware threads.
  • kiiidkiiid Posts: 16
    edited 2011-06-04 20:07
    Honestly, I am unable to see what's the big fuss about that Arduino platform?! If I am an electronics designer and can't put together a micro with power supply but rely on someone else's board the question is am I really a designer at all?
    I don't see the point of existence of these boards unless they implement a complete system or at least something more complete than just micro with a bunch of pin headers.
  • FranklinFranklin Posts: 4,747
    edited 2011-06-04 20:47
    I don't see the point of existence of these boards unless they implement a complete system or at least something more complete than just micro with a bunch of pin headers.
    Most of these boards (parallax included) Give you a standalone platform to add externals to as you see fit. Anyone making a final product would probably create a board specific to that project anyway.
  • LeonLeon Posts: 7,620
    edited 2011-06-04 21:09
    The Arduino isn't intended for "electronics designers"! It was developed for art and design students with no knowledge of electronics who wished to control their creations as simply as possible, either by poking wires into the connectors, or by using add-on boards called shields.
  • John A. ZoidbergJohn A. Zoidberg Posts: 514
    edited 2011-06-05 03:27
    Leon wrote: »
    The Arduino isn't intended for "electronics designers"! It was developed for art and design students with no knowledge of electronics who wished to conrol their creations as simply as possible, either by poking wires into the connectors, or by using add-on boards called shields.

    The Arduino is originally not even meant for advanced electronics designers at the first place.
  • TonyDTonyD Posts: 210
    edited 2011-06-06 03:39
    Leon wrote: »
    The Arduino isn't intended for "electronics designers"! It was developed for art and design students with no knowledge of electronics who wished to control their creations as simply as possible, either by poking wires into the connectors, or by using add-on boards called shields.

    I thought it might be useful to mention my experience at a two day Arduino workshop (Howduino Newcastle) I attended last year.

    Of the 33 people there, I would say a third were "technical" (~4 electronics/electrical, ~6 software/IT) and the rest as Leon has mentioned were "non-technical" art and media guys and girls, mainly students and a few educators and professional artists.
  • John A. ZoidbergJohn A. Zoidberg Posts: 514
    edited 2011-06-06 19:36
    I just received the little thing yesterday. Tested it,and many codes are working alright.

    To satisfy my curiousity, I think I would try FFT or IFFT inside. Too bad it doesn't have onboard DAC inside. :)
  • kiiidkiiid Posts: 16
    edited 2011-06-06 21:36
    TonyD wrote: »
    I thought it might be useful to mention my experience at a two day Arduino workshop (Howduino Newcastle) I attended last year.

    Of the 33 people there, I would say a third were "technical" (~4 electronics/electrical, ~6 software/IT) and the rest as Leon has mentioned were "non-technical" art and media guys and girls, mainly students and a few educators and professional artists.

    Sorry, I still don't understand. What was the programming language for the Arduino? Wasn't it C? So I assume those "non-technical" guys and artists have difficulties to understand hardware but otherwise are happy with a product requiring writing of embedded C code???
  • Mike GreenMike Green Posts: 23,101
    edited 2011-06-06 21:53
    C is not that complicated for what are simple tasks. The library routines do almost all the work for you. It's very much like writing PBasic programs.
  • kiiidkiiid Posts: 16
    edited 2011-06-06 22:15
    Mike, it is not me who fears the C. I have done probably more than 1E6 lines of code in my career. But my confusion is how someone who does not understand hardware would be able to write software for an embedded application? I've never used any factory made boards like this, all the software I have done on my custom designed for the application boards so I don't understand the concept of being a "half-designer"...
  • Kevin WoodKevin Wood Posts: 1,266
    edited 2011-06-06 22:34
    The language used is a subset of C++, and the IDE & libraries abstract away a lot of the "traditional" compile cycle & need to understand all of the specifics of the Atmega328 (on Arduino).

    Take a look at the "blink an LED" program: http://arduino.cc/en/Tutorial/Blink

    The IDE takes the program, and wraps it in whatever is needed to get it to compile with GCC (or maybe G++ ?), sets whatever registers need to be set, etc.

    Of course, the Arduino module is just a carrier board for the micro, so other tools are available, such as the AVRISP mkII + AVR Studio. In that case, the programmer needs to understand what to do without the hand holding.
  • LeonLeon Posts: 7,620
    edited 2011-06-06 23:23
    kiiid wrote: »
    Sorry, I still don't understand. What was the programming language for the Arduino? Wasn't it C? So I assume those "non-technical" guys and artists have difficulties to understand hardware but otherwise are happy with a product requiring writing of embedded C code???

    The user doesn't write standard C programs, this is a typical "sketch":
    /*
      Blink
      Turns on an LED on for one second, then off for one second, repeatedly.
     
      This example code is in the public domain.
     */
    
    void setup() {                
      // initialize the digital pin as an output.
      // Pin 13 has an LED connected on most Arduino boards:
      pinMode(13, OUTPUT);     
    }
    
    void loop() {
      digitalWrite(13, HIGH);   // set the LED on
      delay(1000);              // wait for a second
      digitalWrite(13, LOW);    // set the LED off
      delay(1000);              // wait for a second
    }
    
  • Heater.Heater. Posts: 21,230
    edited 2011-06-07 01:04
    Looks like standard C to me.

    In fact the Arduino uses C++.
    The supplied IDE hides you from some ugly details like "int main (int argc, char* argv[])"
    There are some features of C++ missing:
    1) delete and new - because there is no space for a memory allocator on such a small
    device.
    2) standard C++ classes and templates - probably because there is no space for all that.
    3) Exceptions - For space and execution time reasons and because no one like them anyway:)
  • tdlivingstdlivings Posts: 437
    edited 2011-06-07 07:31
    @Heater
    That is also how I see Parallax having a C or C++ syntax for the Prop and Prop II for the same reasons.
    I am not saying you go as far as Arduino with the sheilds and IDE hiding all the register details as the OBEX
    does that in a similar way. I also think from being in the educational market you want the concept of taking a
    datasheet for a device and writing a driver for it to still be there.
  • LeonLeon Posts: 7,620
    edited 2011-06-20 09:12
    My Uno32 has just arrived from Microchip. I connected it to one of the USB ports, the driver sorted itself out, and I ran the IDE. I selected the Blink example, compiled it, downloaded it to the Uno32, and the LED started flashing. It behaves just like the Uno Arduino I already have.
  • Martin HodgeMartin Hodge Posts: 1,246
    edited 2011-06-20 11:01
    Actually, the ASC is the first 32-bit Arduino compatible dev platform.
  • LeonLeon Posts: 7,620
    edited 2011-06-20 11:04
    What about the Maple, with a Cortex-M3?

    I think that the Uno32 is the first one that uses the Arduino IDE, and it has the highest performance.

    It's been available for a couple of weeks, when were your ASCs first shipped?

    The Uno32 is the cheapest, I paid £17.17 including shipping. That's less than I paid for the standard Uno.
  • Heater.Heater. Posts: 21,230
    edited 2011-06-20 11:13
    The zpuino was the first 32 bit Arduino compadtible. It uses the Arduino IDE and language which the ASC never has done.
  • LeonLeon Posts: 7,620
    edited 2011-06-20 11:16
    Is it commercially available, though?
  • Heater.Heater. Posts: 21,230
    edited 2011-06-20 14:04
    Leon,

    Who cares?

    Arduino is all about open source design right.
Sign In or Register to comment.