'1) HW Platform'에 해당되는 글 30건

  1. 2017.11.29 MQTT + Kafka + Raspberry Pi ElasticSearch Cluster [P016]
  2. 2017.10.24 MQTT + Kafka + Amazon ElasticSearch Service [P015]
  3. 2017.09.27 ARTIK MQTT + Raspberry Pi Apache Kafka Cluster Bridge [P014]
  4. 2017.06.08 Raspberry Pi Apache Kafka Cluster [P013]
  5. 2017.02.22 Raspberry Pi GPIO Ruler [B180]
  6. 2017.02.15 Arduino MQTT Client & ARTIK MQTT Broker [P012]
  7. 2016.12.13 WeMos D1 Wifi Uno ESP8266 esp-12e [B175]
  8. 2016.09.01 Raspberry Pi 3 B Model (RASPBERRY-PI-3-B) [B088]
  9. 2016.09.01 Raspberry Pi 2 Model B (RASPBERRY-PI-2-B) [B016]
  10. 2016.09.01 NodeMcu Board ESP8266 esp-12e (NODEMCU-ESP8266) [B050]
  11. 2016.09.01 LilyPad Coin Cell Battery Holder CR2032 [B067]
  12. 2016.09.01 Lilypad Micro USB ATmega32U4 Board [B077]
  13. 2016.09.01 VS1053B MP3 Music Shield (VS1053B) [B119]
  14. 2016.09.01 Arduino Nano Terminal Adapter Board [B080]
  15. 2016.09.01 Funduino Nano Shield (Funduino-NANO-006_V3) [B026]
  16. 2016.09.01 CC3000 Wifi Shield (CC3000) [B013]
  17. 2016.09.01 Ethernet W5100 Shield (W5100) [B004]
  18. 2016.09.01 Arduino Due (Arduino-Due-R3) [B094]
  19. 2016.09.01 Arduino Nano V3.0 MicroUSB (Arduino-Nano-R3-MicroUSB) [B072]
  20. 2016.09.01 Arduino Leonardo (ARDUINO-LEONARDO-R3) [B027]
  21. 2016.09.01 Arduino Pro Mini Atmega168 5V (Arduino-Pro-Mini) [B065]
  22. 2016.09.01 Arduino Yun (ARDUINO-YUN) [B015]
  23. 2016.08.31 Video Streaming with ARTIK as RTSP Server [P010.8]
  24. 2016.08.31 Samsung ARTIK 10 HDMI Display [P010.6]
  25. 2016.08.31 Samsung ARTIK 10 Audio Programming [P010.5]
  26. 2016.08.31 Samsung ARTIK 5 Web WIndow to MQTT [P008.3]
  27. 2016.08.31 Samsung ARTIK 5 Returning Sensor Data from Edge Devices [P008.2]
  28. 2016.08.31 Samsung ARTIK 5 Using Debug Capabilities of Node-RED [P008.1]
  29. 2016.08.31 Samsung ARTIK 5 as MQTT Massage Broker [P008]
  30. 2016.08.31 Samsung ARTIK 5 (ARTIK5-V0.5) Blank LED with Arduino IDE [B023]

MQTT + Kafka + Raspberry Pi ElasticSearch Cluster [P016]






https://www.youtube.com/watch?v=coKGRMDqAJk


* GitHub : https://github.com/rdiot/rdiot-p016


* Parts

- Arduino UNO

Ethernet W5100 Shield (W5100) [B004]

LCD1602 I2C (LCD1602) [D016]

Photo Resistor Module (KY-018) [S002]

Temperature and humidity DHT22 (DHT22) [S063]

TPM-300 Air Quality Module (TPM-300) [S092]

Samsung ARTIK 5 (ARTIK5-V0.5) [B023]

Raspberry Pi 3 B Model (RASPBERRY-PI-3-B) [B088] x 3ea : for Kafka Cluster

Raspberry Pi 3 B Model (RASPBERRY-PI-3-B) [B088] x 4ea : for ElasicSearch Cluster

- USB Power Supply

- Ethernet Hub


* Contents

1. Raspberry Pi ElasticSearch Cluster Setup

- version : elasticsearch 2.4.6

- master config
 : 
https://github.com/rdiot/rdiot-p016/blob/master/elasticsearch_es-pi-master-01.yml

- data node config 

 : https://github.com/rdiot/rdiot-p016/blob/master/elasticsearch_es-pi-data-01.yml

 : https://github.com/rdiot/rdiot-p016/blob/master/elasticsearch_es-pi-data-02.yml

 : https://github.com/rdiot/rdiot-p016/blob/master/elasticsearch_es-pi-data-03.yml




2. logstash configuration

https://github.com/rdiot/rdiot-p016/blob/master/logstash-kafka-elasticsearch-airGrade.conf

- https://github.com/rdiot/rdiot-p016/blob/master/logstash-kafka-elasticsearch-cds.conf

- https://github.com/rdiot/rdiot-p016/blob/master/logstash-kafka-elasticsearch-humidity.conf

- https://github.com/rdiot/rdiot-p016/blob/master/logstash-kafka-elasticsearch-temperature.conf


3. start logstash script example

#!/bin/sh

export LS_HEAP_SIZE="500m"

/data1/logstash/logstash/bin/logstash -f /data1/logstash/logstash-kafka-elasticsearch-temperature.conf -l logstash.log &


4. Kafka logstash Monitoring


5. ElasticSearch data node shard


6. Grafana Setup

- Install in Raspberry Pi

$ sudo apt-get install libfontconfig

$ curl -L https://github.com/fg2it/grafana-on-raspberry/releases/download/v4.0.1/grafana_4.0.1-1480722482_armhf.deb -o /tmp/grafana_4.0.1-1480722482_armhf.deb

$ sudo dpkg -i /tmp/grafana_4.0.1-1480722482_armhf.deb


$ sudo vi /etc/grafana/grafana.ini

# The ip address to bind to, empty will bind to all interfaces

http_addr = 192.168.0.20


$ sudo systemctl enable grafana-server

$ sudo systemctl restart grafana-server


- Connect Grafana WebAdmin

http://92.168.0.20:3000

id/pwd : admin/admin


- Add Data Sources : http://192.168.0.20:3000/datasources/new


- edit data source examples


7. Grafana Dashboard 

- Kafka-Sensor-Monitoring

 : Temperature, Humidity, Cds, AirGrade


Posted by RDIoT
|

MQTT + Kafka + Amazon ElasticSearch Service [P015]

 

 




https://www.youtube.com/watch?v=-8B8Yp52XMY


* GitHubhttps://github.com/rdiot/rdiot-p015


* Parts

- Arduino UNO

Ethernet W5100 Shield (W5100) [B004]

LCD1602 I2C (LCD1602) [D016]

Photo Resistor Module (KY-018) [S002]

Temperature and humidity DHT22 (DHT22) [S063]

TPM-300 Air Quality Module (TPM-300) [S092]

Samsung ARTIK 5 (ARTIK5-V0.5) [B023]

Raspberry Pi 3 B Model (RASPBERRY-PI-3-B) [B088] x 3ea : for Kafka Cluster

- USB Power Supply

- Ethernet Hub

 

* Contents

1. Amazon ElasticSearch Service Setup

 - Define domain

- Configure cluster


- Set up access

- Review


Amazon Elasticsearch Service dashboard


2. ES Information example 

- ElasticSearch Endpoint : https://search-rdiot-aws-es-2yolnmmxbjghreiywdbh4yrsay.ap-northeast-2.es.amazonaws.com

- Kibana URL : https://search-rdiot-aws-es-2yolnmmxbjghreiywdbh4yrsay.ap-northeast-2.es.amazonaws.com/_plugin/kibana/



3. MQTT - Kafka - Bridge (json)

- source : https://github.com/rdiot/rdiot-p015/blob/master/MqttToKafkaReConn.java

- result 

{"time": 1511884443315,"value":724}

{"time": 1511884444405,"value":724}

{"time": 1511884445488,"value":723}

{"time": 1511884446579,"value":724}

{"time": 1511884447657,"value":726}


4. install logstash : tested logstash-2.4.1 

$ cd /data1/logstash

$ wget https://download.elastic.co/logstash/logstash/logstash-2.4.1.tar.gz

$ tar zxvf logstash-2.4.1.tar.gz

$ ln -s logstash-2.4.1 logstash


$ sudo apt-get install ant texinfo openjdk-8-jdk build-essential

$ git clone https://github.com/jnr/jffi.git

$ export JAVA_HOME="/usr/lib/jvm/java-8-openjdk-armhf"

$ cd jffi

$ ant jar

$ sudo cp build/jni/libjffi-1.2.so /data1/logstash/logstash/vendor/jruby/lib/jni/arm-Linux


5. logstash config : tested logstash-2.4.1 

- source : https://github.com/rdiot/rdiot-p015/blob/master/logstash-kafka-aws-es.conf

input {

   kafka {

   zk_connect => "kafka-pi-01:2181"

   group_id => "logstash"

   topic_id => "cds"

   consumer_threads => 2

   decorate_events => true

   

  }

}


filter {

  json {

    source => "message"

  }

  date {

    match => [ "time", "UNIX"]

    target => "time_new"


  }   

}


output {

  elasticsearch {

    index => "test-%{+YYYY.MM.dd}"

    hosts => ["https://search-rdiot-aws-es-2yolnmmxbjghreiywdbh4yrsay.ap-northeast-2.es.amazonaws.com"]

    codec => json

  }

  stdout {

    codec => "rubydebug"

  }

}


6. Amazon ElasticSearch Query Sample



7. Kibana : Search & Chart 


 



Posted by RDIoT
|

ARTIK MQTT + Raspberry Pi Apache Kafka Cluster Bridge [P014]



* Arduino MQTT Client to ARTIK MQTT Broker


* ARTIK MQTT Broker & Raspberry Pi Kafka Cluster


* Run MQTT-Kafka-Bridge


* Kafka Console Consumer


* KafkaMonitor



https://www.youtube.com/watch?v=JIEIv-pEFFs


*GitHub : https://github.com/rdiot/rdiot-p014.git


* Parts

- Arduino UNO

Ethernet W5100 Shield (W5100) [B004]

LCD1602 I2C (LCD1602) [D016]

Photo Resistor Module (KY-018) [S002]

Temperature and humidity DHT22 (DHT22) [S063]

TPM-300 Air Quality Module (TPM-300) [S092]

Samsung ARTIK 5 (ARTIK5-V0.5) [B023]

Raspberry Pi 3 B Model (RASPBERRY-PI-3-B) [B088] x 3ea

- USB Power Supply

- Ethernet Hub



* Contents

1.  ARTIK MQTT Start 

- mqtt broker (1883)

$ mosquitto &


2. Add MQTT Topics in the node-red

- node-red (1880)

$ node-red &


3. Arduino MQTT Client 

- source

https://github.com/rdiot/rdiot-p014/blob/master/arduino_mqtt_client.ino



4. MQTT Kakfa Bridge
- source

https://github.com/rdiot/rdiot-p014/blob/master/MqttToKafkaReConn.java

- maven 

    <!--  mqtt-client -->

<dependency>

    <groupId>org.fusesource.mqtt-client</groupId>

    <artifactId>mqtt-client</artifactId>

    <version>1.14</version>

</dependency>

<!-- kafka -->

<dependency>

<groupId>org.apache.kafka</groupId>

<artifactId>kafka_2.9.1</artifactId>

<version>0.8.2.1</version>

</dependency>


- run script

https://github.com/rdiot/rdiot-p014/blob/master/mqtt-kafka-bridge.sh

$ java -jar mqtt-kafka-bridge-0.0.1-SNAPSHOT.jar 

$ nohup java -jar mqtt-kafka-bridge-0.0.1-SNAPSHOT.jar > output.txt &


5. Kafka Console Consumer 

- run script

https://github.com/rdiot/rdiot-p014/blob/master/consumer.sh

$ /data1/kafka/kafka/bin/kafka-console-consumer.sh --zookeeper kafka-pi-01:2181,kafka-pi-02:2181,kafka-pi-03:2181 --topic $1


- run command

$ ./consumer.sh temperature,humidity,cds,airGrade

$ ./consumer.sh temperature


Posted by RDIoT
|

Raspberry Pi Apache Kafka Cluster [P013]

 




https://www.youtube.com/watch?v=dAVwsc1Zhfo


  

* Parts

- Raspberry Pi 3 B Model (RASPBERRY-PI-3-B) [B088] x 3ea

- USB Power Supply

- Ethernet Hub

 

* Contents

- Installation & Setup

1. JDK

$ sudo apt-get install openjdk-8-jdk 


2. Kafka

$ cd 

$ mkdir kafka

$ wget http://apache.tt.co.kr/kafka/0.10.1.0/kafka_2.11-0.10.1.0.tgz

$ tar zxvf kafka_2.11-0.10.1.0.tgz


3. hosts

$ vi /etc/hosts

192.168.0.11 kafka-pi-01 

192.168.0.12 kafka-pi-02 

192.168.0.13 kafka-pi-03 


4. Config Zookeeper 

$ vi config/zookeeper.properties (added)

initLimit=5 

syncLimit=2 

server.1=kafka-pi-01:2888:3888 

server.2=kafka-pi-02:2888:3888 

server.3=kafka-pi-03:2888:3888


$ mkdir /tmp/zookeeper (each server)

$ echo 1 > /tmp/zookeeper/myid 

$ echo 2 > /tmp/zookeeper/myid 

$ echo 3 > /tmp/zookeeper/myid 


5. Config Kafka

$ vi config/server.properties (each server 1,2,3)

broker.id=1 

zookeeper.connect=kafka-pi-01:2181,kafka-pi-02:2181,kafka-pi-03:2181



* Demo Test Script

1. Zookeeper Cluster Start

/home/dragon/kafka/kafka/bin/zookeeper-server-start.sh -daemon /home/dragon/kafka/kafka/config/zookeeper.properties


2. Kafka Cluster Start

/home/dragon/kafka/kafka/bin/kafka-server-start.sh -daemon /home/dragon/kafka/kafka/config/server.properties


3. Create topics

/home/dragon/kafka/kafka/bin/kafka-topics.sh --create --zookeeper kafka-pi-01:2181 --replication-factor 3 --partitions 5 -topic rdtest


4. Producer 

/home/dragon/kafka/kafka/bin/kafka-console-producer.sh --broker-list kafka-pi-01:9092 --topic rdtest


5. Consumer

/home/dragon/kafka/kafka/bin/kafka-console-consumer.sh --zookeeper kafka-pi-01:2181 --topic rdtest --from-beginning


6. Start KafkaOffsetMonitor

java -cp KafkaOffsetMonitor-assembly-0.2.1.jar \

com.quantifind.kafka.offsetapp.OffsetGetterWeb \

--zk kafka-pi-01:2181,kafka-pi-02:2181,kafka-pi-03:2181 \

--port 8080 \

--refresh 10.seconds \

--retain 2.days &


7. Monitor Kafka 

http://192.168.0.11:8080


8. How to solve the "map failed" problem in the 32bit raspberry pi.

- edit kafka-run-class.sh 

- replace the KAFKA_JVM_PERFORMANCE_OPTS as follows

# JVM performance options

if [ -z "$KAFKA_JVM_PERFORMANCE_OPTS" ]; then

  #KAFKA_JVM_PERFORMANCE_OPTS="-server -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled -XX:+CMSScavengeBeforeRemark -XX:+DisableExplicitGC -Djava.awt.headless=true"

  KAFKA_JVM_PERFORMANCE_OPTS="-server -XX:+UseG1GC -XX:MaxGCPauseMillis=20 -XX:InitiatingHeapOccupancyPercent=35 -XX:+DisableExplicitGC -Djava.awt.headless=true"

fi


- add KAFKA_HEAP_OPTS under 1G

export KAFKA_HEAP_OPTS="-Xmx256M -Xms128M"



Posted by RDIoT
|

Raspberry Pi GPIO Ruler [B180]



https://www.youtube.com/watch?v=tJtQQQQIlWI


* Specs

This GPIO Ruler is the ideal quick reference for RPi.GPIO hacking on the Raspberry Pi in Python has all the most commonly used RPi.GPIO code, which can be hard to remember
can be used as a ruler (cm/inches)
fits easily in a pencil case, toolbox or desk tidy


Package including :

1pc*RPI GPIO Ruler


Posted by RDIoT
|

Arduino MQTT Client & ARTIK MQTT Broker [P012]





https://www.youtube.com/watch?v=L44LwGBY9vw


*GitHubhttps://github.com/rdiot/rdiot-p012.git



* Parts

- Arduino UNO

Ethernet W5100 Shield (W5100) [B004]

LCD1602 I2C (LCD1602) [D016]

Photo Resistor Module (KY-018) [S002]

Temperature and humidity DHT22 (DHT22) [S063]

TPM-300 Air Quality Module (TPM-300) [S092]

Samsung ARTIK 5 (ARTIK5-V0.5) [B023]



Posted by RDIoT
|

WeMos D1 Wifi Uno ESP8266 esp-12e [B175]



https://www.youtube.com/watch?v=WS91LpeA6QM


*GitHubhttps://github.com/rdiot/rdiot-b175.git


* Specs

Microcontroller ESP-8266EX

Operating Voltage 3.3V

Digital I/O Pins 11

Analog Input Pins 1(Max input: 3.2V)

Clock Speed 80MHz/160MHz

Flash 4M bytes

Length 68.6mm

Width 53.4mm

Weight 25g

OTA -- Wireless Upload(Program)

On board switching power supply -- Max 24V input, 5V 1A output

Support Ard uino IDE


Pin Function ESP-8266 Pin

TX TXD TXD

RX RXD RXD

A0 Analog input, max 3.3V input A0

D0 IO GPIO16

D1 IO, SCL GPIO5

D2 IO, SDA GPIO4

D3 IO, 10k Pull-up GPIO0

D4 IO, 10k Pull-up, BUILTIN_LED GPIO2

D5 IO, SCK GPIO14

D6 IO, MISO GPIO12

D7 IO, MOSI GPIO13

D8 IO, 10k Pull-down, SS GPIO15

G Ground GND

5V 5V -

3V3 3.3V 3.3V

RST Reset RST


* Contents

- Board Setup

http://arduino.esp8266.com/versions/2.3.0/package_esp8266com_index.json


- WebMos XI

https://www.wemos.cc/tutorial/getting-started-wemos-xi.html

https://github.com/wemos/Arduino_XI/archive/master.zip


- Key Code (example : helloServer)

#include <ESP8266WiFi.h>

#include <WiFiClient.h>

#include <ESP8266WebServer.h>

#include <ESP8266mDNS.h>

 

const char* ssid = "AP-B-2.4G";

const char* password = "32903290";

 

ESP8266WebServer server(80);

 

const int led = 13;

 

void handleRoot() {

  digitalWrite(led, 1);

  server.send(200, "text/plain", "hello RDIoT Wemos D1 Server Test from esp8266!");

  digitalWrite(led, 0);

}

 

void handleNotFound(){

  digitalWrite(led, 1);

  String message = "File Not Found\n\n";

  message += "URI: ";

  message += server.uri();

  message += "\nMethod: ";

  message += (server.method() == HTTP_GET)?"GET":"POST";

  message += "\nArguments: ";

  message += server.args();

  message += "\n";

  for (uint8_t i=0; i<server.args(); i++){

    message += " " + server.argName(i) + ": " + server.arg(i) + "\n";

  }

  server.send(404, "text/plain", message);

  digitalWrite(led, 0);

}

 

void setup(void){

  pinMode(led, OUTPUT);

  digitalWrite(led, 0);

  Serial.begin(115200);

  WiFi.begin(ssid, password);

  Serial.println("");

 

  // Wait for connection

  while (WiFi.status() != WL_CONNECTED) {

    delay(500);

    Serial.print(".");

  }

  Serial.println("");

  Serial.print("Connected to ");

  Serial.println(ssid);

  Serial.print("IP address: ");

  Serial.println(WiFi.localIP());

 

  if (MDNS.begin("esp8266")) {

    Serial.println("MDNS responder started");

  }

 

  server.on("/", handleRoot);

 

  server.on("/rdiot", [](){

    server.send(200, "text/plain", "Hi I'm RD IoT...");

  });

 

  server.onNotFound(handleNotFound);

 

  server.begin();

  Serial.println("HTTP server started");

}

 

void loop(void){

  server.handleClient();

}

Posted by RDIoT
|

Raspberry Pi 3 B Model (RASPBERRY-PI-3-B) [B088]



https://youtu.be/lETtwwq2iiY

* Specs

Broadcom BCM2837 chipset running at 1.2 GHz

64-bit quad-core ARM Cortex-A53

802.11 b/g/n Wireless LAN

Bluetooth 4.1 (Classic & Low Energy)

Dual core Videocore IV® Multimedia co-processor

1 GB LPDDR2 memory

Supports all the latest ARM GNU/Linux distributions and Windows 10 IoT

microUSB connector for 2.5 A power supply

1 x 10/100 Ethernet port

1 x HDMI video/audio connector

1 x RCA video/audio connector

4 x USB 2.0 ports

40 GPIO pins

Chip antenna

DSI display connector

microSD card slot

Dimensions: 85 x 56 x 17 mm


Posted by RDIoT
|

Raspberry Pi 2 Model B (RASPBERRY-PI-2-B) [B016]




https://youtu.be/3ahuUZExtF0

* Specs

A 900MHz quad-core ARM Cortex-A7 CPU

1GB RAM

4 USB ports

40 GPIO pins

Full HDMI port

Ethernet port

Combined 3.5mm audio jack and composite video

Camera interface (CSI)

Display interface (DSI)

Micro SD card slot

VideoCore IV 3D graphics core

Posted by RDIoT
|

NodeMcu Board ESP8266 esp-12e (NODEMCU-ESP8266) [B050]



https://youtu.be/xNYOIZNH_38

* Specs

The Development Kit based on ESP8266, integates GPIO, PWM, IIC, 1-Wire and ADC all in one board

USB-TTL included, plug&play

10 GPIO, every GPIO can be PWM, I2C, 1-wire

FCC CERTIFIED WI-FI module(Coming soon)

PCB antenna


Posted by RDIoT
|

LilyPad Coin Cell Battery Holder CR2032 [B067]



https://youtu.be/4Xp1Y0e0Kts

* Specs

This LilyPad Coin Cell Battery Holder has a small slide switch installed on the board, in-line with the power so you can shut off your project and save batteries. This slide switch is the same as is found on the LilyPad slide switch board, so it's not easy to accidentally turn off or on.

Just like the original Coin Cell Battery Holder, this simple board holds a 20mm coin cell battery (such as a CR2032) and gives you 4 connection points (two positive and two negative) for sewing into your project.

Posted by RDIoT
|

Lilypad Micro USB ATmega32U4 Board [B077]



https://youtu.be/WnU3V0peE3I

* Specs

Microcontroller    ATmega32u4

Operating Voltage    3.3V

Input Voltage    3.8V to 5V

Digital I/O Pins    9

PWM Channels    4

Analog Input Channels    4

DC Current per I/O Pin    40 mA

Flash Memory    32 KB (ATmega32u4) of which 4 KB used by bootloader

SRAM    2.5 KB (ATmega32u4)

EEPROM    1 KB (ATmega32u4)

Clock Speed    8 MHz 

Posted by RDIoT
|

VS1053B MP3 Music Shield (VS1053B) [B119]



https://youtu.be/bepVtfXvtWU


*GitHub https://github.com/rdiot/rdiot-b119.git


* Specs

This MP3 shield board is designed based on VS1053B from VLSI.

using this shiled you can plug in your arduino UNO/MEGA direcly as showing in pic,

dont' need need to hook up with jumpers,

it's becomes more easy to play music compared with the tiny mp3 breakout board.

VS1053 is a versatile MP3 codec processor that is capable of decoding a variety of music formats,

including Ogg Vorbis/MP3/AAC/WMA/MIDI audio.

For the best headphone listening experience,

the VS1053 includes EarSpeaker spatial processing which

accurately simulates how a room with stereo loudspeakers would sound.

In addition to being able to decode all major formats,

VS1053 is capable of recording in Ogg Vobis file.


With the TF card slot on the other side of the board,

you can play mp3 files from TF card using this breakout.

It is easily to drop it in your project or make a mp3 player using your Arduino or other microcontroller.

 

Features Can play a variety of music formats,

support for OGG encoding real-time recording SPI interface,

the control signal lines are led out A headphone and stereo output

A microphone for recording A line_in input interface

Power indicator 3.3V and 2.8V of LDO chip AMS-1117 on board,

provides up to 800mA current

A single power supply: +5 VDC 12.288 Mhz crystal TF cart slot.


- Features

Can play a variety of music formats, support for OGG encoding real-time recording

SPI interface, the control signal lines are led out

A headphone and stereo output

A microphone for recording

A line_in input interface

Power indicator

3.3V and 2.8V of LDO chip AMS-1117 on board, provides up to 800mA current

A single power supply: +5 VDC

12.288 Mhz crystal

TF card slot


- Decodes formats

Ogg Vorbis

MP3 = MPEG 1 & 2 audio layer III (CBR+VBR+ABR)

MP1 & MP2 = MPEG 1 & 2 audio layers I & II optional

MPEG4 / 2 AAC-LC(+PNS), HE-AAC v2 (Level 3) (SBR + PS)

WMA4.0/4.1/7/8/9 all profiles (5-384 kbps)

FLAC lossless audio with software plugin (upto 24 bits, 48 kHz)

WAV (PCM + IMA ADPCM)

General MIDI 1 / SP-MIDI format 0




Posted by RDIoT
|

Arduino Nano Terminal Adapter Board [B080]



https://youtu.be/fk1c9WHz5vs

* Specs

This is a terminal adapter for Arduino Nano. It lables for Arduino Nano version 3.0, however you can still use this adapter for the older version (just have to remember that A0-A7 are in the reverse order). You can use this adapter to easily hook up Arduino Nano to an outside world via hook up wires. 


Posted by RDIoT
|

Funduino Nano Shield (Funduino-NANO-006_V3) [B026]



https://youtu.be/U_Yk0EvY3-I


*GitHubhttps://github.com/rdiot/rdiot-b026.git


* Specs

This Nano Mult-Function expansion board is designed specially for Arduino Nano, solve the problem of wiring confusing when a variety of sensors connected.

Lead out all digital IO port and analog IO port, each one with standard positive and negative power interface.

Lead out the I2C interface of mainboard for convenient connection.

Increasing the DC power supply interface. Nano USB interface supply current is actually only 50MA, to bring high-current devices, such as the steering, is obviously insufficient. So in the DC power connector provide external power supply to ensure the stability of equipment operation.

Posted by RDIoT
|

CC3000 Wifi Shield (CC3000) [B013]



https://youtu.be/wlFCkj7j2hk


*GitHubhttps://github.com/rdiot/rdiot-b013.git


* Specs

Compatible with Arduino UNO, Mega, Leondardo & Micro

Chipset: CC3000

Antenna: Onboard Ceramic

MicroSD card slot onboard

Reset button

Communication Protocol: SPI

Current: 275mA

Connects via IEEE 802.11 b/g networks

Tx Bandwidth: 11Mbps

Tx Sensitivity: +/-18dBm

Rx sensitivity: -86dBm

Operating Temperature: -20C - 70C 

IRQ pin for interrupts (useful for asynchronous connections)

Supports WEP, WPA, WPA2, TKIP and AES

TCP and UDP Client & Server Modes available

Max Concurrent TCP/UDP Sockets: 4

TCP/IP stack is built in

Dimensions: 2.36 in x 2.09 in x 0.94 in (6 cm x 5.3 cm x 2.4 cm)

Weight: 0.67 oz (19 g)

Posted by RDIoT
|

Ethernet W5100 Shield (W5100) [B004]



https://youtu.be/Za6ZAztj2sg


*GitHubhttps://github.com/rdiot/rdiot-b004.git


* Specs

Size: Approx. 6.6cm x 5cm x 1.5cm

Controller: W5100.

With this Ethernet Shield, your Arduino board can be used to connect to internet.

Can be used as server or client.

Directly plug puzzle board, no soldering required.

This is the latest version of the Ethernet Shield.

This Arduino Ethernet Shield which is based on the Wiznet W5100 Ethernet Chip gives you an easy way to get your Arduino Online.

It is directly supported by Arduino official Ethernet Library.

It adds a micro-SD card slot, which can be used to store files for serving over the network.

It is compatible with the Arduino Duemilanove (168 or 328), Uno as well as Mega (1280/2560) and can be accessed using the SD library.

The Wiznet W5100 provides a network (IP) stack capable of both TCP and UDP.

It supports up to four simultaneous socket connections.

Use the Ethernet library to write sketches which connect to the internet using the shield.

Fits all version of arduino Main board,2009,UNO, mega 1280, mega 2560.

Posted by RDIoT
|

Arduino Due (Arduino-Due-R3) [B094]



https://youtu.be/nQeUd5_O_A4

* Specs

Main Processor:AT91SAM3X8EA

Working voltage: 3.3V

Input voltage:7-12V

Input voltage:6-20V Max

Digit I/O port 54 pcs ( 12 PWM Output)

Output current: 130mA

3.3V power supply pin can supply 00 mA current

512KB

SRAM96 KB (two banks: 64KB and 32KB)

Colock frequency:84 MHz

Posted by RDIoT
|

Arduino Nano V3.0 MicroUSB (Arduino-Nano-R3-MicroUSB) [B072]



https://youtu.be/_H19ZmXLiiQ

* Specs

Nano V3 form-fuctor,

ATmega328 (16Mhz) microcontroller,

CH340G - USB-UART interface,

Input voltage 6-12V,

Output voltage 5V/800mA, 3.3V/180mA (Only in NEW vesrion),

MicroUSB - connection socket,

500mA resetable Fuse on USB port


Posted by RDIoT
|

Arduino Leonardo (ARDUINO-LEONARDO-R3) [B027]




* Specs

It's a 100% For Arduino pro micro Compatible Board.

Chip: ATmega32u4

Board Mode: LEDNARDO R3

Operating frequency: 16MHz

Working voltage: 5V

Input voltage: 7-12V

Digital IO port: 20

PWM channel: 7

Analog input: 12

Maximum current of 5V digital/analog port: 40mA

Maximum current of 3.3 V digital/analog port: 50 mA

Flash Memory:32 KB (ATmega32u4) of which 4 KB used by bootloader

SRAM: 2.5 KB (ATmega32u4)

EEPROM: 1 KB (ATmega32u4)

Net tweight:18 g

Package weight:28 g

Posted by RDIoT
|

Arduino Pro Mini Atmega168 5V (Arduino-Pro-Mini) [B065]





Specs

14 Digital input / output ports RX, TX D13, D2 ~~ of, or 8 analog input port A0 to A7 

The TTL level serial transceiver port RX / TX 

PWM ports, D3,, D5 , D6, D9, D10, D11 

Using Atmel Atmega168P microcontroller 

supports serial download 

Support for external 5v~ 12V DC power supply 

Support 9V battery-powered 

clock frequency 16MHz 

Dimensions: 33.3 * 18.0 (mm)

Posted by RDIoT
|

Arduino Yun (ARDUINO-YUN) [B015]



https://youtu.be/UALdT6m-fK4


*GitHubhttps://github.com/rdiot/rdiot-b015.git


* Specs

- AVR Arduino microcontroller

Microcontroller ATmega32U4

Operating Voltage 5V

Input Voltage 5

Digital I/O Pins 20

PWM Channels 7

Analog Input Pins 12

DC Current per I/O Pin 40 mA

DC Current for 3.3V Pin 50 mA

Flash Memory 32 KB (of which 4 KB used by bootloader)

SRAM 2.5 KB

EEPROM 1 KB

Clock Speed 16 MHz


- Linux Microprocessor

Processor Atheros AR9331

Architecture MIPS @400MHz

Operating Voltage 3.3V

Ethernet IEEE 802.3 10/100Mbit/s

WiFi IEEE 802.11b/g/n

USB Type-A 2.0 Host

Card Reader Micro-SD only

RAM 64 MB DDR2

Flash Memory 16 MB

SRAM 2.5 KB

EEPROM 1 KB

Clock Speed 16 MHz

PoE compatible 802.3af card support See Power


* Content

- Reference 

Arduino Yun LininoOS (OpenWRT) : https://www.arduino.cc/en/Main/ArduinoBoardYun?from=Products.ArduinoYUN





Posted by RDIoT
|

Video Streaming with ARTIK as RTSP Server [P010.8]




https://youtu.be/qy5IFr-HlsQ


*GitHubhttps://github.com/rdiot/rdiot-p010.8.git

Posted by RDIoT
|

Samsung ARTIK 10 HDMI Display [P010.6]



https://youtu.be/V6TxDE5K6XU


*GitHub https://github.com/rdiot/rdiot-p010.6.git

Posted by RDIoT
|

Samsung ARTIK 10 Audio Programming [P010.5]




https://youtu.be/Bb53UiP4ON0


*GitHubhttps://github.com/rdiot/rdiot-p010.5.git

Posted by RDIoT
|

Samsung ARTIK 5 Web WIndow to MQTT [P008.3]



https://youtu.be/eQgMufUHbKg


*GitHubhttps://github.com/rdiot/rdiot-p008.3.git

Posted by RDIoT
|

Samsung ARTIK 5 Returning Sensor Data from Edge Devices [P008.2]




https://youtu.be/nTk145sQzM4


*GitHubhttps://github.com/rdiot/rdiot-p008.2.git


Posted by RDIoT
|

Samsung ARTIK 5 Using Debug Capabilities of Node-RED [P008.1]




https://youtu.be/Zc0JO2EGafU


*GitHubhttps://github.com/rdiot/rdiot-p008.1.git

Posted by RDIoT
|

Samsung ARTIK 5 as MQTT Massage Broker [P008]




https://youtu.be/362rs4wVbrk


*GitHubhttps://github.com/rdiot/rdiot-p008.git

Posted by RDIoT
|

Samsung ARTIK 5 (ARTIK5-V0.5) Blank LED with Arduino IDE [B023]






* Specs

APPLICATION PROCESSOR ARM Cortex A7x2 @ 1GHz

MEMORY 512MB LPDDR3 + 4GB eMMC

HW + SW SECURITY

 Open SSL + SE [TLS/DTLS]

 HW Embedded Security Element (eSE) + TLS (DTLS)

 ARTIK device authentication APIs of eSE

 Get signature, Get certificate, Get Random number

Trustonic Trusted Execution Environment (for customer with NDA and agreement)

DISPLAY 2-Lane MIPI DSI (960×540) @ 60fps

CAMERA 1x 2-Lane MIPI CSI up to 3MP @ 30fps (Supports YUV and MJPEG format only)

PMIC 5 Buck Converters + 25 LDOs

WIFI 802.11 a/b/g/n/ac

BLUETOOTH BT/BLE

ZIGBEE 802.15.4 (Thread planned)

GPIO 47 (2 PWM output including)

ANALOG CAPTURE 2 (0 – 1.8V range)

UART 2

I2C 3

SPI 2

I2S/PCM 1

USB 1 USB 2.0 Device

MMC 1 (T Flash)

MIPI 1 DSI (2 LANE) + 1 CSI (2 LANE)

CLOCK OUT 1 (24MHz) + 1 (32.768KHz)

INPUT POWER 3.4V – 5.0V

OUTPUT POWER 1.8V/100mA + 2.4V/100mA

POWER CONSUMPTION TBD

OS Fedora

Development Environments Arduino® IDE  C, C++, Java, JavaScript, Python

DIMENSIONS 29 x 25 x 3.5 mm

CONNECTORS 60pins (Panasonic AXT460124) x 2, 40pins (Panasonic AXT440124) x 1, (0.4 mm pin pitch, mating height 1.5 or 2.5mm)

HW AUDIO CODEC 1-channel PCM + 1-channel 24 bit I2S (External device support)

GPU Mali 400 MP2

NETWORK LW M2M CoAP MQTT IPv6 Audio/Video Streaming


* Contens

1. Connect to COM Port

2. Configure WIFI Access

# wpa_cli scan_results

bssid / frequency / signal level / flags / ssid

f0:b4:29:59:c5:5e 2457 -79 [WPA-PSK-CCMP+TKIP][WPA2-PSK-CCMP+TKIP][WPS][ESS] HACK-2.4G

# wpa_passphrase  HACK-2.4G 'PASSWORD' >> /etc/wpa_supplicant/wpa_supplicant.conf

# systemctl restart wpa_supplicant

# dhclient wlan0

3. Control GPIO Port by Command

- Request Control on GPIO #135 

# echo 135 > /sys/class/gpio/export 

- Setup Mode

# echo out > /sys/class/gpio/gpio135/direction

- Setting Value (ON/OFF)

# echo 1 > /sys/class/gpio/gpio135/value

# echo 0 > /sys/class/gpio/gpio135/value

4. Arduino IDE 

- Download Arduino IDE hourly build for your Operating System

- Open "Board Manager" and install the latest "ARM Linux Boards" package

 : http://downloads.arduino.cc/packages/package_arduino.cc_linux_index.json

5. Install the Arduino ARTIK Installer

# curl downloads.arduino.cc/libArduino/install_artik_prereq.sh sh

 : http://downloads.arduino.cc/libArduino/package_arduino.cc_linux_index.json

6. Upload Test 

# ./watcher & 






Posted by RDIoT
|