6. CubieBoard
SOC A10
● CPU: ARMv7-A Cortex-A7 or Cortex-A8 Central Processor Unit
● Advanced SIMD: NEON
● Vector FPU: Vector Floating Point Unit - ARM VFPv3 lite (Cortex-A8) / VFPv4 (Cortex-A7) VFPU (Vector Floating Point
Unit)
● Security Extensions:
○ TrustZone cryptographic engine
○ Security accelerator supporting AES, DES, 3DES, SHA-1, and MD5
○ Hardware random generator
○ Thumb2 intruction set extension for optimized code to reduce memory footprint and improve performance
● GPU: Mali400 or SGX544 Graphics Procesor Unit, supporting OpenGL ES and Framebuffer
● VPU: CedarX (Video Processor Unit for audio and video hardware decoding or encoding)
● HDMI-transmitter with HDMI CEC (Consumer Electronics Control
● Hardware virtualization capabilities (Cortex-A7 only).
● Up to 4GB memory (Cortex-A8), Up to 1TB memory with LPAE (Cortex-A7 only).
7. CubieBoard
CubieBoard
1. AllWinnerTech SOC A10,ARM® Cortex™-A8 ARM® Mali400 MP1 Complies with OpenGL
ES 2.0/1.1
2. 1GB DDR3 @480M
3. 4GB internal NAND flash, up to 64GB on SD slot, up to 2T on 2.5 SATA disk
4. 5VDC input 2A or USB otg input
5. 1x 10/100 ethernet, support usb wifi
6. 2x USB 2.0 HOST, 1x mini USB 2.0 OTG, 1x micro sd
7. 1x HDMI 1080P display output
8. 1x IR, 1x line in, 1x line out
9. 96 extend pin interface, including I2C, SPI, RGB/LVDS, CSI/TS, FM-IN, ADC, CVBS, VGA,
SPDIF-OUT, R-TP, and more
13. CubieBoard
Sensori
Bus :1-wire,xbee,433Mhz,FEM,X10,KONNEX
1-wire BUS
sensore temp DS18B20
3 fili : 5V,GND,DATA
piu’ sensori sullo stesso bus in parallelo
1 pin gpio della cubieboard
14. CubieBoard
Acquisizione Dati
Nodejs
Node.js is an evented I/O framework for the V8 JavaScript engine.
Node’s goal is to provide an easy way to build scalable network programs.
Node is similar in design to and influenced by systems like
Ruby’s Event Machine or Python’s Twisted.
oppure c select()
var all_d=[];
serialPort.on("data", function (data) {
var ts=(new Date()).getTime();
var temp =[];
temp[0]= data.toString();
temp.unshift(ts);
all_d.push(temp);
io.sockets.emit('newdata', temp);
console.log(data.toString());
});
15. CubieBoard
Videocamere
webcam usb
Ip-webcam
CSI webcam
VPU cedar per encoding in h264
Zoneminder: motion detection e web interface
SATA per salvataggio dati
16. CubieBoard
Salvataggio dati:Couchdb
NoSql Db
Replica master-master
Http Api - Rest Api
MapReduce
Json per documenti
{
"_id":
"a631c192ffebb7b0d543863925f4e8f9",
"_rev": "1-
9e8bacc2a3b79a2dc37ffeb5c53383f9",
"source": "sensorbox",
"location": "living room",
"type": "temperature",
"value": 25.3,
"created": 1358270795751
}
17. CubieBoard
Dati Temperatura Realtime - WebSocket
https://github.com/arete/node_temp_plot
nodejs
legge dati e invia via websocket
WebSocket
canale di comunicazione
Flot
libreria js per grafici