[L&M] Extended Bokeh light : MKR1000 + PIXIE

I used my MKR1000 for WIFI communication with Node server. And I also needed more bright color leds. I ordered PIXIE from Adafruit. (LINK)

MKR1000 does not have the SoftwareSerial, Pixie should communicate with hardware serial. So I need to use TX pin.

MKR1000 -> 14(TX)

UNO -> 1(TX)

And also there was a different way to declare ‘Serial’. MKR1000 has two Serial Hardware UARTs. So they are declared Serial1. Serial is attached directly to the USB port not to any pins. GPIO pins 13 and 14 are Serial1.

 

ITP Physical computing Blog by Tom Igoe

  • General Purpose Input and Output (GPIO): Most pins on a micro-controller can operate as either a digital input or digital output.
  • Universal Asynchronous Receiver/Transmitter (UART): Asynchronous serial communication is managed by a Universal Asynchronous Receiver/Transmitter, or UART, inside the processor. The UART pins are usually attached to internal hardware interrupts that can interrupt the program flow when new serial data arrives, so you never miss a byte. It’s possible to manage serial communication in software alone, but at high speeds, you’ll see more errors.

 

 

 

Serial Ref : https://www.arduino.cc/en/reference/serial 

Microcontroller Pin Functions

MKR1000 ->  Serial1.begin(115200);

UNO -> Serial.begin(115200);

Leave a Reply

Your email address will not be published. Required fields are marked *