arduino zero pro
This is the Arduino 0 Pro released by Arduino srl or Arduino org and it’s a 32 bit compatible Arduino compatible microcontroller and it’s got the same sort of footprint as the Arduino Uno. Now, before we get really into it, there is a bit of controversy surrounding this board, because Arduino SRL split from Arduino LLC, which is arguing, oh Yahtzee, see and there’s still got some stuff going around with the trademarks. So at the moment I consider this to be a clone board until any of those things are resolved and that’s. How I see it so I don’t mind buying this or getting hold of it. In fact, I got it from these guys cool components, they’re a lovely little company with a great team behind them and they have good support and they sent this to me to review so we’re gon na have a look at it. If you want to take a look at the core components, website there’s a link in the description somewhere down there and you can have a look at their product page. So this is the Box. The 0 Pro comes in it’s, just a little tiny thing, there’s, not much in here. Apart from the board and a couple of little bits of documentation, it doesn’t come in any kind of anti static. Shielding, so I’ll be careful, but I think I’ve just grounded myself. So I’d, be ok, so this is what we get we get. Thank you for supporting our do.
We know again controversial, so we’ll get rid of that and a couple of stickers, so we’ll get rid of that too. So the zero power is a 3.3 volt 32 bit evolution of the uno, former and it’s powered by a soundy 21. I think it’s GE 18, a actually ARM Cortex Intel chip and it runs it. 48 megahertz it’s got 14. I Oh digital io running along the board. There and it’s got 6 12 bit analog pins and one of those is actually an analog out, so it’s a deck capable of 10 bit precision. So I think it’s it’s, analog 0 – is the 10 bit DAC that that can be used. All of the pins will operate it 3.3 volts, but with a maximum of set mili amps out, which is likely to mean that you’re going to need to use some external circuitry to drive something like a white LED through a transistor or something like that, because 7 Milliamps isn’t an awful lot and that that is the limit. Unfortunately, in comparison with the uno that would have kicked out 40 milliamps per IO pin at maximum, you wouldn’t usually run it like that, but certainly LED capable. It supports all of your normal communication type. So spi ITC it’s got cereal on board. It also has a virtual serial port we’ll talk more about that in a minute, but it also supports Twi, J tank and SW D as well. Now, looking around this board, it seems very similar to maybe an Arduino or a Leonardo, but there are a couple of big things: you’ll notice on this board, first off you’ve got this blue sticker, which says limited edition now under that resides a chip, and that is The embedded, debugger and you’ll also notice.
There are two USB ports there. One of them says programming and one says native USB. Now the think of it up there with the limited edition sticker is the Atmel embedded debugger chip. Now this gives you a full hardware. Debugging interface and the native USB there is a it’s capable of being a USB host. It also power the board or it can be used to emulate a mouse or keyboard just like USB HID stuff or like on the Leonardo there’s a there’s, a different kind of power regulation going on as well. So you won’t see a massive sort of linear regulator. You’Ll see that they’ve got a switching regulator. Just there that’s the LM two, seven three four seven switching step down chip and it means that it it steps down the voltage you put in either through the DC jack or through any of the USB s2 3.3 volts. Now the board itself has 256 kilobytes of flash memory available and 32 kilobytes of SRAM available. You also get 16 kilobytes of EEPROM, but apparently adapts by emulation. I’M, not sure what that means, whether that means some of the flash is is pushed towards this virtual EEPROM. I’M, not sure now, if we look at these two boards side by side, you won’t notice much of a difference here. Some of the component placements is a little different. I think they’ve used some different passive components, but essentially the whole board is the same.
So this is the Arduino dot C C or the Arduino LLC version, and this is the Arduino srl or Arduino dot. Org version the Arduino dot CC version hasn’t been released, yet it says it’s coming soon still, but the srl version has been released. Now you can use their IDE, which is essentially the same as the Arduino dot C C IDE to program this board that works perfectly, but there hasn’t yet been an official release on the Arduino CC website that covers their Arduino 0. Incidentally, the difference between the zero and the pro is it’s. Probably only really the fact this one says Pro and this one doesn’t. There are no debugging options yet in the official IDE, but we can do that now using the Atmel studio and something called the visual micro, which is a plug in for Atmel studio. So let’s take a look at it. Ok, once you’ve installed the arduino ide from arduino org, because that’s the one that supports this board at the moment, I’m. Using one point, five point: eight point: three: you can find that in the previous versions bit and you also install the Atmel studio with the visual micro plugin, you can get started so I’ve written a little bit of code here. All it does is has a counter. It uses blinking without without delay, and it also has a couple of LEDs on there that are set via some boolean z’ here so I’m, going to upload that to the board it’ll take a few seconds.
This one’s a little bit slow, it’s uploading via the program port programming port. So it means that the board will completely erase the chip when it’s uploaded. Okay, so it’s started now we’re getting a little bit of extra information coming out on the output here and it’s. Saying it’s up via swd and it’s running at 500 kilohertz, I think that’s, the the safe area for the chip to to run out so we’ve just got our flashing LED going on here, that’s coming from this interval here of 1 second or 1000 milliseconds. So we don’t now need that all we need to do is copy all of that code and then we can get started. So what we want to do in at Mel’s studio is create a new project, so we click new project and then we need to create an Arduino sketch 32 bit do or 0 now. The beta version of visual micro supports the 0 at the moment, so we’re just going to create a sketch. We don’t need to name it anything, but in particular, so we’ll go for the sketch one. So if you click OK now you can’t upload using a pal studio just at the moment I’m sure in the future, once the both of the boards from Arduino CC. And how do we know all are released, then the the software will get updated. But for now we can’t so once we’ve got our sketch loaded in the solution Explorer.
We can open up the sketch we’re going to paste in everything we’ve written now. If you’ve got some libraries and stuff that you’re using the visual micros software will pull that in. As well but I’m, not using any libraries I’m just using the standard Arduino code and it pulls in all those dependencies as well, so we don’t need to worry once we’ve done that I’m just going to change the chip up here at the moment is defaulted to The do chip, which is the 80 Sam 3 X, 80 we’re, going to change that to the one that’s used on the 0 Pro, which is an 80 Sam D, 21 g 18, a once it loads up, will change the chip and then we’ll we’ll build our Project I’m, not sure if you need to change it to build a project, but I think it’s, probably a good idea. So we’ll select Sam D, all parts scroll to near the bottom and there it is so we click. Ok – and you can see there, the supported tools include the EDB G, you better debugger, so we’ll, just click Save we’ll go back to our sketch and then we want to build build solution and you’ll see down here: it’s gon na start building and there we go It’S finished and binary sketch size is 10 kilobytes, so once we’ve done that we can close the solution and won’t click Save on this. So click, yes and then we’re going to open the solution for debugging, so open object, file for debugging.
Now we’ve already got the code on the device we did that with the IDE. So we don’t need to worry about uploading through ml studio, we’re, going to select the file that we want so sketch 1 debug and it’s, an elf file which I think it’s very cute. But I don’t know what Els stands for. So we just click open next and then it’s going to ask us to select the right chip that we’re using so device. Family is Sam D and we know it’s around the bottom there it is and then we click finish and it will load that in and you’ll see, we’ve got our CPP file here, and this is our code. This is the same code that we’ve got on the device, so we now need to select our debug tool up here. You can see a bit where it says no tool, but we know there’s an embedded debugger on the device, and it also knows that, because it knows about this chip and what it supports so on the Virtual comport and we’ve got this embedded debugger and that’s. What we need to do – just click, Save, go back to our CT CPP file and then we can start debugging there’s a little button here that says start debugging, but before we do that we want to add a trace or an interval trace on the interval or On the counter on anything really so what we can do is we’ll go down to something that happens so we’ve got a counter adding here.
So if I right click, I can add a breakpoint insert a trace point and then I can get it to output that counter to our display. So all I need to write is the value is and then add our I put the wrong brackets in. You can add our variable and then close that and we can select whether we want it to break on that point or whether we want it to continue and we want it to continue just so. We can monitor that value. Then we can start debugging. So just click to start debugging and it will show the output once all of this starts. So we’ve got these sections here and we can see what the breakpoints are. We can see what the call stack command window, but we won’t see the output, so you can see here, it’s kicking out. This is without any serial print lines or anything like that. So it’s kicking out what the value is. If I just pause this now, so I can click break all and that will pause the program. It jumps to the line that it’s just written and just been doing in the processor. So we can go back to our sketch. We can actually see what’s in the memory here, so we can see the base flash and the user page. So these are pages the the stuff that we’ve written to the board and the flash is its current memory points. But if we go back here to counter, we can actually change the value of counter to 122, so currently it’s it’s.
So so currently it is sitting at 11. But now, if I continue, we can click continue. It should show that the value is 122 unless it’s gone past, that and we’re going to go on to 1 2 3. So we’ll just click continue and they were going. We’Ve got 122 in the output, so we’ve changed a value that’s currently in the program via the debugger. We can also do that with other things. So in my sketch here, I’ve got an if statement. So if the value is a thousand, then it’s going to turn those LEDs on so let’s pause again. So this is the point at where it’s broken in the program, so let’s change that value now to 997. So the counter now sits at 997 once it gets to a thousand it’s going to turn those LEDs on and all I need to do now. Is click continue and just wait a couple of seconds and it will turn those LEDs on so a 998 999 1000 and then both of our LEDs are on. We can also turn those LEDs off now individually, they’re being lit up based on a boolean. So if I go down here to LED one boolean, I can change that to a zero and then I need to also change the counter back to a value that’s not going to restart that if statement there so I’ve changed it back to 1. Now, if I can continue, the first LEDs can turn off or the second LED, I think I’ve done the wrong value, but so you can see that you can change these various points in here.
You can also mess around with the code by running to a certain point, so we could right, click here and say: run to cursor. So we’ll only run the program up until that point, so it’s like setting a temporary break, but you just run that part of the program. So there we are and just run the program up until the previous movie. So now we can also run it to here, or we can just continue by stepping to the next statement each time so that’s debugging on the arduino 0 pro using the Atmel studio and a great visual micro plugin, and i really advise that you pick it up. It’S, a really nice way to learn how to do this. So let’s, look at the pros and cons. We’Ll start with the cons, because you know we should so the cons, ignoring the embedded, debugger and perhaps USB host the teen’s e 3.1 probably comes close to beating this in terms of features and it’s got a lot more software out there that support it and it’s. Also, there are many more examples out there of people using it in projects, so it’s worthwhile having a look, but this, I really think will be a nice board, especially when Arduino CC comes out with their or LLC comes out with theirs there. The community is going to take off massively, but the hardware is exactly the same. If you rely on five volt electronics, which I sort of do most of the time, then you’re gon na have a hard time dealing with 3.
3 volt boards. You’Re gon na have to do a lot of level. Shifting and you’re gon na have to worry about providing two different types of power. Most of the time I don’t know what the 5 volt pin on this board will kick out, but it may not be enough to drive some of the things that you want to drive, so you might have to look at powering some of your circuits separately, which Is some of something people where the Nuno might not be used to the software support isn’t quite there? But it will be I’m very sure that they’re going to come out with a new idea which supports this board, fit Arduino CC, but Arduino org also have those out now, but I think they’re gon na add Hardware debugging to the IDE I’m, pretty sure of it. But in the meantime you can use visual micro and you can use things like Atmel studio or Visual Studio from Microsoft and they’re, both free products that you can pick up as a Community Edition that you can use. I was a little bit skeptical about how useful the embedded debugger would be, but I’ve been completely turned around. I think it’s great, to be able to see inside see what the chips doing. We have to pause it in your program and just say: stop there. I want to check my values or change them or just completely stop the program. If you want to, I think it it’s a brilliant addition and it’s something I’ll be looking into exploring further some of you out.
There will have used embedded debuggers before but it’s new to me, perhaps old hat to you but I’m very excited about it. Well it’s got that extra memory, so we’re looking at quite a hefty amount of space really in comparison to a new. No many many of the Arduino development boards around at the moment it has a 48 megahertz processor. Now that is slower than the do, but or do you a I’m, not sure he’s there, but it’s still up there it’s still good it’s a lot better than you. 16 megahertz that you can get from you know so, overall it’s really nice addition to the uno family.
arduino zero pro Video
arduino zero pro news
Posted on Wednesday March 04, 2015Arduino Zero Pro Soft Release? Hackaday … Continue Reading »
Posted on Wednesday March 11, 2015Arduino Zero Pro Released Amid Legal Dispute iProgrammer … Continue Reading »
uChip: An ultra-compact Arduino Zero compatible board that costs just €20 (~US$22.45/£17.15) – Notebookcheck.net
Posted on Tuesday March 12, 2019uChip: An ultra-compact Arduino Zero compatible board that costs just €20 (~US$22.45/£17.15) Notebookcheck.net … Continue Reading »
arduino zero pro Social
🔬 Now that you’ve gotten your feet wet, dive into the kit and enjoy all nine experiments. Order yours today: http://bit.ly/2MnQ7fr