ARC Pro

Upgrade to ARC Pro

ARC Early Access will give you immediate updates and new features needed to unleash your robot's potential!

Arduino Genuino Uno

Arduino Genuino Uno by Arduino

Connection Type
USB
Number of servos
12
Audio Support
No
Camera Support
No

Arduino Uno is a microcontroller board based on the ATmega328P and one of the most popular Arduino models. It has 14 digital input/output pins (of which 6 can be used as PWM outputs), 6 analog inputs, a 16 MHz quartz crystal, a USB connection, a power jack, an ICSP header and a reset button.

The UNO can be programmed with the EZB firmware for a variety of capabilities when connected to ARC. The tutorial to program the EZB firmware can be found HERE. This hardware was added to ARC in this beta release and newer.

Download Firmware Sourcecode

  • DJ's Standard UNO v1 Firmware Sourcecode (Feb 4, 2019)
  • DJ's UNO Firmware with Wheel Encoder Counter (Feb 8, 2019).... uses THIS skill.
  • Board PWM Pins PWM Frequency

    Uno, Nano, Mini

    3, 5, 6, 9, 10, 11

    490 Hz (pins 5 and 6: 980 Hz)

    Mega

    2 - 13, 44 - 46

    490 Hz (pins 4 and 13: 980 Hz)

    Leonardo, Micro, Yún

    3, 5, 6, 9, 10, 11, 13

    490 Hz (pins 3 and 11: 980 Hz)

    Uno WiFi Rev2, Nano Every

    3, 5, 6, 9, 10

    976 Hz

    MKR boards *

    0 - 8, 10, A3, A4

    732 Hz

    MKR1000 WiFi *

    0 - 8, 10, 11, A3, A4

    732 Hz

    Zero *

    3 - 13, A0, A1

    732 Hz

    Nano 33 IoT *

    2, 3, 5, 6, 9 - 12, A2, A3, A5

    732 Hz

    Nano 33 BLE/BLE Sense

    1 - 13, A0 - A7

    500 Hz

    Due **

    2-13

    1000 Hz

    101

    3, 5, 6, 9

    pins 3 and 9: 490 Hz, pins 5 and 6: 980 Hz

  • Tutorial to compile and upload the firmware

Related Tutorials

Related Hack Events

live hack
Botmatrix Live Hack Session 10

Botmatrix Live Hack Session 10

The Power Glove is so awesome! But why should a classic piece of hardware be kept on a dusty shelf?!? I'm going to do my...
live hack
Botmatrix Live Hack Session 11

Botmatrix Live Hack Session 11

The Power glove is so awesome! But why should a classic piece of hardware be kept on a dusty shelf?!? I'm going to do my...
live hack
DJ's 4Th Hack Event (Arduino, Bioloid, Lewansoul, And More)

DJ's 4Th Hack Event (Arduino, Bioloid, Lewansoul, And More)

In the last event, some people asked me to demonstrate how to use the LewanSoul Serial Servos. Also, we'll program the...
live hack
Dj's 5Th Live Hack Session

Dj's 5Th Live Hack Session

In this 5th live robot hacking event, I will demonstrate how to program an Arduino and connect it to EZ-Builder via USB...
live hack
DJ's 6Th Live Hack Event (Raspberry Pi & Neopixel With Arduino)

DJ's 6Th Live Hack Event (Raspberry Pi & Neopixel With...

In this 6th installment of DJ's Live Hack Events, we'll be installing EZ-Builder on a Raspberry Pi, install plugins and...
live hack
DJ's 7Th Live Hack (Neopixel, Arduino, Raspberry Pi Ezbpi Server)

DJ's 7Th Live Hack (Neopixel, Arduino, Raspberry Pi Ezbpi...

Today's live hack, we'll play with the Arduino and see if we can get it to control NeoPixels by using the existing...
live hack
Live Hack! Power Glove Hack....The Last One?

Live Hack! Power Glove Hack....The Last One?

***NEW UPDATE*** Gonna start an hour later than normal, just helping a friend at the moment. The Power glove is so...
live hack
Live Hack! Robot Improvements, Ideas Welcome!

Live Hack! Robot Improvements, Ideas Welcome!

Well I was going to hack the power glove some more but you can't really hack something that you left at home :D. In it's...
live hack
Live Hack! The Saga Continues...The Wireless Power Glove!

Live Hack! The Saga Continues...The Wireless Power Glove!

The Power glove is so awesome! But why should a classic piece of hardware be kept on a dusty shelf?!? I'm going to do my...
live hack
PWM Servo Position Feedback (Read Servo Position)

PWM Servo Position Feedback (Read Servo Position)

I'll be hacking a PWM Servo to have positional feedback for EZ-Builder using an EZ-B v4. You can also perform the same...
live hack
Rock Em' Sock Em' Robots Live Hack.....We Are The Champions!

Rock Em' Sock Em' Robots Live Hack.....We Are The...

Rock em' Sock em' Robots Live Hack (Part 7) I've always loved the look of the Rock'em Sock'em Robots game but absolutely...
live hack
Rock Em' Sock Em' Robots Live Hack...Back Once Again With The Ill Behavior!

Rock Em' Sock Em' Robots Live Hack...Back Once Again With...

Rock em' Sock em' Robots Live Hack (Part 3) I've always loved the look of the Rock'em Sock'em Robots game but absolutely...
live hack
Treat-O-Matic 2020 Live Hack

Treat-O-Matic 2020 Live Hack

After a long hiatus, I'm back! Let's make this Halloween contactless! With the advent of the COVID-19 pandemic, this...
live hack
Treat-O-Matic 2020 Live Hack Part #2

Treat-O-Matic 2020 Live Hack Part #2

Let's make this Halloween contactless! With the advent of the COVID-19 pandemic, this Halloween is likely to look a bit...
live hack
Treat-O-Matic 2020 Live Hack Part #3

Treat-O-Matic 2020 Live Hack Part #3

Let's make this Halloween contactless! With the advent of the COVID-19 pandemic, this Halloween is likely to look a bit...
live hack
Treat-O-Matic 2020 Live Hack Part #4

Treat-O-Matic 2020 Live Hack Part #4

Treat-o-matic Live Hack (Part 4) Let's make this Halloween contactless! With the advent of the COVID-19 pandemic, this...
live hack
Treat-O-Matic 2020 Live Hack Part #5

Treat-O-Matic 2020 Live Hack Part #5

Let's make this Halloween contactless! With the advent of the COVID-19 pandemic, this Halloween is likely to look a bit...
live hack
Treat-O-Matic 2020 Live Hack Part #6 The Finale

Treat-O-Matic 2020 Live Hack Part #6 The Finale

*Sorry I'm going to have to cancel, still debugging things and I won't have time to engage. Instead, I will make a...
live hack
Wireless Power Glove Live Hack! The Longest Series To Date :D

Wireless Power Glove Live Hack! The Longest Series To Date...

The Power glove is so awesome! But why should a classic piece of hardware be kept on a dusty shelf?!? I'm going to do my...

Related Questions

question
Alternative To The  Scary Terry Sound Board To Drive A Jaw Servo

Alternative To The Scary Terry Sound Board To Drive A Jaw...

What is the alternative to the  Scary Terry "sound board" to drive a jaw servo? open: 1 - AudioToolBox Plugin 2 - Also...
question

Anyone Hear Of The Tof10120 Distance Sensor ?

Semoic Range Sensor Module 10-180Cm Distance Sensor Tof10120 Distance Sensor anyone heard of this? Here is the info on this...
question
Arduino EZB Firmware To ARC Communication

Arduino EZB Firmware To ARC Communication

I am trying to make a plugin. How can I send a non int number from arduino firmware to ARC plugin? For example, if I...
question

Arduino Question

Does the Arduino uno have to remain connected to usb windows pc to work sensors etc? Can the ez builder work without usb wire connected to Arduino eg...
question

Arduino Uno With A Ultrasound Sensor - Ez Builder Control

I can’t seem to get hc-sr04 to function with above. I got servos working but this seems to hang- any thoughts thnx guys? Error message - Capability...
question
Brushless Motor Controller

Brushless Motor Controller

Dear;  Can anyone help me to create a custom movement panel to control this brushless motor controller on Arc for EZB...
question

Configure Arduino Neopixel Ring

Hello all, it’s been to long since I setup a Arduino uno with a neopixel ring.  I looked at David Cochran’s tutorial But keeps failing.  Is they a new...
question

Confused Between EZ-B And ESP32

Im trying to search but I cant find anythng I understand the EZ-B is easy to use from all the videos of it I have also seen it can be used with an...
question

Controlling Motors With Arduino Through Bluetooth Joystick

I'm trying to connect a Bluetooth joystick to an Arduino to control a differential drive robot through EZ-B. I've downloaded the firmware to Arduino...
question

Controlling Multiple Servos With Music

Hi, I saw a post in this forum where a servo was controlled by music volume. Is it possible to control multiple servos by music pitch, attack, etc....
question
Does Synthiam Support Wifi Connection To Uno WIFI Rev 2?

Does Synthiam Support Wifi Connection To Uno WIFI Rev 2?

Just got a couple of UNO WIFI Rev 2s.  https://store.arduino.cc/usa/arduino-uno-wifi-rev2 This is an Uno with WIFI built...
question
Encoder Reading With Arduino After It's Been Programmed With The EZ-B Firmware

Encoder Reading With Arduino After It's Been Programmed With...

I have little knowledge of Auduino's and their language. However I'm trying to learn. I know that out of the box the...
question

Ez-Arduino With L293

I used the L293 module connected to arduino, the ultrasonicsensor to make the rotbot automatically avoid obstructions, so when I turned the arduino...
question
I Have Bought A 12V Relay And I Dont Seem To Get It Working (Its New)

I Have Bought A 12V Relay And I Dont Seem To Get It Working...

I am trying to connect my arduino uno to a electric lock, using a 12v relay. I have already done it with a 5v relay and...
question

Pixy2 Camera, Need Help

I have a Pixy2 camera -  here is the website - https://pixycam.com/pixy2 The camera works great in thePixiMon software - but can't see it in...
question

Reducing Sensitivity Setting And Max Speeds

So close to finishing things, I'm stuck trying to make Chopper easy to control. Background I'm using the joystick 1 controls movement, a sabertooth...
question
Sabertooth 2 X 32

Sabertooth 2 X 32

Hi I have a question about the power outlets P1 and P2 I have a small RC controlled trolly to be used on a construction...
question

Wii Remote And Arduino

does a wii remote work with the Arduino? I would like to know is anyone made it work
Expand (0 items)

ARC Pro

Upgrade to ARC Pro

Harnessing the power of ARC Pro, your robot can be more than just a simple automated machine.

PRO
Synthiam
#3   — Edited
Terry & ezang, I moved your comments to here because you responded in an unrelated thread.

There are tutorial videos above, and ezang has it correct - you press the CONNECT button on ARC to connect it to an Arduino after the firmware has been uploaded. The tutorial videos above would be helpful to you if you have never used an Arduino before. 

User-inserted image



In addition, Arduino has a lot of information about their product on their website, including programming syntax, etc.
PRO
USA
#4   — Edited
Thanks DJ, however, I am EzAng, not Nomad, my buddy lol
PRO
Synthiam
#5  
Haha - oops (Fixed). my bad ezang:D
#6  
I use Adruino all the time:) What i would like to do is call the sketch functions from EZ (possible)
PRO
Synthiam
#7   — Edited
You sure can - extend the EZB command protocol and receive it on the Arduino firmware. There's a live hack where I did that; you'll see it here: https://synthiam.com/Support/Skills/Navigation/Wheel-Encoder-Counter?id=17591

It looks like the meat starts at the 22-minute mark 

It does require understanding programming, so you will have to have prior experience. The idea is you add a robot skill that extends the ezb communication protocol with new commands. Then, you execute your methods on the EZB firmware side (i.e., Arduino) when the command is received.
PRO
Synthiam
#8  
oh, i just thought as well - it doesn't sound like you want the EZB capability of the arduino and instead just want to execute methods you have locally compiled into the arduino. That is a much easier way. 

Just connect the Arduino to the PC (via usb) or EZB (via UART).

In your Arduino, have a simple "sketch" like so....

Code:


void setup() {

  // initialize the baud rate for the communication to the EZB. This is using the USB port
  Serial.begin(115200)
}

void loop() {

  while (Serial.available) {

    int val = Serial.readByte();

    if (val == 0) {

      myFunc1();

    } else (val == 1) {

      myFunc2();

    }
  }
}

void myFunc1() {

  // do some stuff
}

void myFunc2() {

// do some stuff
}



then, in ARC you only need to send the command via the COM or EZB UART. 

I use JavaScript so the COM commands are here: https://synthiam.com/Support/javascript-api/COM/write
and the EZB commands are here: https://synthiam.com/Support/javascript-api/UART/hardwareUartAvailable
#9  
yes that is what i want to do:)
#10  
what is the wiring connection from the Adruino Uno (in this case) to the EZ
PRO
Synthiam
#11  
What kind of ezb are you using? But the wiring would be from the arduino uart to the ezb uart. The tx to rx. Rx to tx. And a common gnd. You can look at the data sheet for the ezb that you’re using to find the uart ports. They’re all different based on the manufacturer.
#12  
ahhh so same way to hook up a adruino to a maestro.. that makes sense... then in the script in the EZ, I can call an adruino function...:)
PRO
Synthiam
#13   — Edited
Not really. In the script in ARC you send a value. And on the ardunio the value gets read and calls a method. 

electronics is like playdoh, and there’s no standard across companies or products. So it’s always a bit of research to get the info necessary to connect things together. In this case, you’ll be having an arduino be a slave to an ezb over a uart. 

The arduino sits and waits for a value (command) to be sent over the uart. Then, the arduino calls the appropriate method by the value. 

there really isn’t an easier way to do it. 

if you’re wanting to connect a maestro to an ezb via uart, the same thing would apply. Connect the wires and send uart commands from arc.
PRO
USA
#14   — Edited
TerryBau, using the Maestro servo Controller, Arduino, EzB, code, you got my curiosity, what are you building?

I use the ARC ,  Auto Position - Arduino and PCA 9685 for 16 servos
PRO
Synthiam
#15   — Edited
Like from ARC you send a value of 0 over the uart, the arduino will receive it and execute the myFunc1() method. Thats the example I posted above 

you can’t call myFunc1() from ARC into the ardunio. That’s because once you compile the code, the myFunc1() is just a memory address and doesn’t exist anymore. It could even be multiple memory addresses if the compiler is smart enough to in-line. You can’t call a method by it’s name after it’s compiled to machine code. So you add IF conditions to call the method from a value.
#16  
ahhh that is even eaiser DJ:)
#17  
EZAng, I am building a B9... currently I have EZ doing the API calls (stock price, weather, and voice recognition), some servo movements, etc... but on my writs and claws, in the Maestro IDE, you can create animation sequences, with many options to slow or speed up servos, or control how smooth they run... then you save each sequence and call it from Adruino or in my case with B9 just running it on timers and delays... since Maestro has no random built in function... but what I lose is if B9 says, "Oooo I could pinch you" I can't sync that voice call from EZ to the Maestro to call a claw movement... making sense? I love the delays, randoms etc, as it gives some natural random ability as I mix that with some Adruino calls to some of my motors using a motor board... but I want to start syncing all this together with EZ to make it more cohesive:)

I learned all about Maestro in my full size Star Wars Chopper build to move his utility arm, head arms, tools, door panels etc... all being called from a XBox controller:)
PRO
Synthiam
#18  
Sounds cool! I still recommend doing that in the auto position. You can use the same speed and acceleration and velocity and such. You’re familiar with the maestro but you will be limiting yourself if you don’t learn the Auto Position robot skill. 

remember that the maestro animator was influenced by the auto position. That’s why they use the same terminology. The difference is that the Auto Position is integrated with ARC and has a ton more features. Since you’re technical, i know you’d be doing a lot with the Auto Position once you learn it 

I just don’t want to see your robot being limited

also if you’re using speech recognition for that stuff - have you used the conversation menu robot skill yet? That’s pretty powerful. It’s much easier than the dialog flow.
#19  
not sure i know that skill for the conversation... for now, I know it is in another thread... I use one Voice Rec for a call word, so the robot wakes up, pauses that Voice Rec, supplies it to Bing Voice and AI Chat, stores the variable of what it heard and takes action... the issue here is we are limited to the original actor's voice clips we have...

I will have to look at that auto position...:)
PRO
USA
#20   — Edited
Sounds like a great project, good luck ...

I agree with DJ, Auto Position is the ticket

Dave Schulpius is the B9 specialist - First Real Look At My Ez-b Controlled Full Size Lis B9 Robot
PRO
Synthiam
#21  
Oh right the actors voice. That’s pretty cool though that you have it. I remember seeing a program from adobe that allows modeling custom voices from samples. I don’t know what came of it. 

There’s 730 robot skills, so probably a lot that you didn’t know about. There’s a few places to browse for them. The robot skill store on the products page, or in the support section. 

I usually use this page to start from: https://synthiam.com/Support/Skills/Skills-Overview

a few people jump right to the community and ignore the rest of the website - so they miss robot skills, manuals, and all sorts of goodies. The community is really a timeline of updates. So if you’re building your robot based on updated stuff, you’ll miss things that have been there for a while
PRO
USA
#23  
On that link that you supplied, I see may wonderful pictures, which pictures are yours?
#24  
All those photos are of my builds, not sure I have any photos of my IG11 :)
PRO
USA
#25  
So besides robot stuff, you are a photographer?
#26  
nah, just documenting my builds:)
PRO
Canada
#27  
You have to copy and paste the URL @EzAng if you click on it Synthiam parses the URL and only sends you to Flickr main page.   

Nice Builds @TerryBau I love your B9. Amazing work:)
PRO
USA
#28   — Edited
Oh I see Nick, thought I was only to click on the link like all the others links

I tested  - I copied and pasted to my word pad  - clicked ctrl and clicked the link went to his robot

copy and past takes me to his robots

just not off this page
PRO
Synthiam
#31  
That is merely a breakout board for the uno so it’ll work. I don’t know how many servos an uno can do. I’m guessing one for every digital port according to documentation - but not all will have hardware accuracy. There’s information at the top of this page about that
PRO
USA
#32  
Thanks for checking DJ.  Looks like 6 servos or 6 PWMs,  What are the other 6 used for  quoted on the top of this page..."Number of servos 12"  but it does not say which port used for 12 servos.  Unless I read it wrong. 

Thank you!
PRO
Synthiam
#33  
the Pins have numbers next to them. See this screenshot 

User-inserted image
PRO
USA
#34  
I seen that,  Thanks for your time DJ.
PRO
Synthiam
#35   — Edited
You can try other pins as well, but I can’t verify they work. Arduino is a bit unstable because there’s so many hardware types and open source has no accountability for quality