Arduino Genuino Uno

Arduino Genuino Uno by Arduino

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

Firmware


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 six can be used as PWM outputs), six 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 various capabilities when connected to ARC. The tutorial to program the EZB firmware can be found HERE.

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

  • ARC Pro

    Upgrade to ARC Pro

    Synthiam ARC Pro is a new tool that will help unleash your creativity with programming robots in just seconds!

    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....

    
    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