Categories
Arduino UNO and Maker UNO Microcontrollers TinyGO

Hello World (TinyGo)

package main

import (
   "machine"
   "time"
)

func main() {
   led:= machine.LED
   led.Configure(machine.PinConfig{Mode: machine.PinOutput})
   for {
      led.LOW()
      timeSleep(time.Millisecond * 300)
      led.HIGH()
      time.Sleep(time.Millisecond * 300)
   }
}
Categories
Arduino UNO and Maker UNO TinyGO

Install TinyGo (MacOs, Intel)

You must have Go v1.14+ already installed on your machine in order to install TinyGo

brew tap tinygo-org/tools
brew install tinygo

$ tinygo version
tinygo version 0.15.0 darwin/amd64 (using go version go1.15 and LLVM version 10.0.1)

brew tap osx-cross/avr
brew install avr-gcc
brew install avrdude

Resources

https://tinygo.org/getting-started/install/macos/

Categories
Arduino UNO and Maker UNO

Maker Uno X Spec and Pin Layout

  • Use USB Micro B for power, program loading and USB communication.
  • Onboard perfboard prototyping area and a half-size breadboard.
  • Program with Arduino IDE, just choose Arduino UNO as the main board.
  • Fully compatible with Arduino UNO R3 in terms of sample code and libraries.
  • Microcontroller: ATmega328P
  • Operating Voltage: 5V
  • Digital I/O Pins: 20
  • PWM Pins: 6
  • Analog Input Pins: 6 (10-bit resolution)
  • UART: 1
  • SPI: 1
  • I2C: 1
  • Flash Memory: 32KB
  • SRAM: 2KB
  • EEPROM: 1KB
  • Clock Speed: 16MHz
  • USB To UART Chip: CH340
  • 1x Programmable Push Button (Pin D2)
  • 12x LED as I/O indicators (Pin D2 to D13)
  • 2x LED as UART TX/RX activity indicators (Pin D0 & D1)

Pin out of Maker Uno X (similar to Arduino Uno Rev3)

Arduino Uno Rev3 | Arduino Official Store

Categories
Arduino UNO and Maker UNO

Maker UNO X

Maker UNO X (use the similar original ATmega328P microcontroller by original Arduino Uno R3 board’s with added with electronic kits, LEDs, as follows build-in

  • LEDs on every digital pin
  • Piezo buzzer
  • Programmable push button
  • Powerbank-friendly to enable the portability of the projects
  • Breadboard and donut board (perfboard) are included onboard
  • Other features
  • Use USB Micro B for power, program loading and USB communication.
  • Program with Arduino IDE, just choose Arduino UNO as the main board.
  • Fully compatible with Arduino UNO R3 in terms of sample code and libraries.
  • Microcontroller: ATmega328P
  • Operating Voltage: 5V
  • Digital I/O Pins: 20
  • PWM Pins: 6
  • Analog Input Pins: 6 (10-bit resolution)
  • UART: 1
  • SPI: 1
  • I2C: 1
  • Flash Memory: 32KB
  • SRAM: 2KB
  • EEPROM: 1KB
  • Clock Speed: 16MHz
  • USB To UART Chip: CH340
  • 12x LED as I/O indicators (Pin D2 to D13)
  • 2x LED as UART TX/RX activity indicators (Pin D0 & D1)