SlideShare ist ein Scribd-Unternehmen logo
1 von 36
Downloaden Sie, um offline zu lesen
VIL
DU
LAGE
EN
ROBOT?
A L E K S A N D E R G R A N D E - K N O W I T
Wednesday, October 27, 2010
Wednesday, October 27, 2010
w00t!
Wednesday, October 27, 2010
UTVI
KLIN
GS
PLAT
FOR
MER
1.
Wednesday, October 27, 2010
µC?!
Wednesday, October 27, 2010
“A microcontroller (also microcomputer, MCU
or µC) is a small computer on a single
integrated circuit consisting internally of a
relatively simple CPU, clock, timers, I/O ports,
and memory.” (wikipedia)
Wednesday, October 27, 2010
ARD
UINO
Billig Enkel
AVR Shields
Wednesday, October 27, 2010
MSP-
430
BILLIG! IDE
Strøm-
gjerrig
Fin start
Wednesday, October 27, 2010
“REN
AVR”
BILLIG!
Skredder-
sydd
AVR-
Freaks
Back to
basics
Wednesday, October 27, 2010
NETD
UINO
Kjører
.net™
IDE
Høøøøy-
nivå
Shields
Wednesday, October 27, 2010
ARDUINO
FTW!
Wednesday, October 27, 2010
ARD
UINO
IDE
Wednesday, October 27, 2010
TALK
TO
ME
BABY
2.
Wednesday, October 27, 2010
Seriell I2C
XBee
Ethernet/
WiFi
LØSNI
NGER
Wednesday, October 27, 2010
Seriell I2C
XBee
Ethernet/
WiFi
LØSNI
NGER
Wednesday, October 27, 2010
ARDU
INOvoid setup(){
Serial.begin(115200);
}
void loop()
{
Serial.println("Hello dagen at ifi!");
if (Serial.available() > 0) {
char incomingByte = Serial.read();
Serial.print("I received: ");
Serial.println(incomingByte);
}
delay(1000);
}
Wednesday, October 27, 2010
FRA
JAVA
import java.io.InputStream;
import java.io.OutputStream;
import gnu.io.CommPortIdentifier;
import gnu.io.SerialPort;
import gnu.io.SerialPortEvent;
import gnu.io.SerialPortEventListener;
import java.util.Enumeration;
public class SerialTest implements SerialPortEventListener {
SerialPort serialPort;
private static final String portName = "/dev/ttyUSB0";
private InputStream input;
private OutputStream output;
private static final int TIME_OUT = 2000;
private static final int DATA_RATE = 115200;
public void initialize() {
CommPortIdentifier portId = null;
Enumeration portEnum = CommPortIdentifier.getPortIdentifiers();
while (portEnum.hasMoreElements()) {
CommPortIdentifier currPortId = (CommPortIdentifier) portEnum.nextElement();
if (currPortId.getName().equals(portName)) {
portId = currPortId;
break;
}
}
try {
serialPort = (SerialPort) portId.open(this.getClass().getName(),TIME_OUT);
serialPort.setSerialPortParams(DATA_RATE,SerialPort.DATABITS_8,SerialPort.STOPBITS_1,SerialPort.PARITY_NONE);
} catch (Exception e) {
System.err.println(e.toString());
}
}
Wednesday, October 27, 2010
FRA
JAVApublic void writeMessage(String message){
try{
output.write(message.getBytes());
}Catch(Exception e){
System.out.println("Got error while writing, error was:"+e.getMessage());
}
}
public String readMessage(){
byte[] readBuffer = new byte[200];
try{
while (input.available() > 0) {
int numBytes = inputStream.read(readBuffer);
}
}catch(Exception e){
System.out.println("Got error while reading, error was:"+e.getMessage());
}
return new String(readBuffer);
}
Wednesday, October 27, 2010
FRA
C#private static System.IO.Ports.SerialPort serialPort1;
static void Main(string[] args)
{
System.ComponentModel.IContainer components = new System.ComponentModel.Container();
serialPort1 = new System.IO.Ports.SerialPort(components);
serialPort1.PortName = "COM4";
serialPort1.BaudRate = 115200;
serialPort1.Open();
if (!serialPort1.IsOpen)
{
Console.WriteLine("Oops");
return;
}
serialPort1.DtrEnable = true;
}
Wednesday, October 27, 2010
FRA
C#private void writeMessage(String message){
using(serialPort1){
serialPort1.Write(message);
}
}
private String readMessage(){
using (serialPort1){
return serialPort1.ReadExisting();
}
}
Wednesday, October 27, 2010
FRA
PYimport serial
ser = serial.Serial('/dev/ttyUSB0', 115200)
message = "dagen";
ser.write(message)
message = ser.readline()
Wednesday, October 27, 2010
NUTS
AND
BOLTS
3.
Wednesday, October 27, 2010
adafruit.com sparkfun.com
eBay.com farnell.com
robotshop.us make.com
electrokit.se lawicel.se
estore.ti.com
deal
extreme.com
dfrobot.com jameco.com
evilmad
science.com
robonor.no
elfa.se
Wednesday, October 27, 2010
hackaday.com arduino.cc
roboticsblog
.org
avrfreaks.net
make.com
hacked
gadgets.com
todbot.com
hacknmod
.com
chiphacker
.com
youritronics.c
om
esawdust.com
/blog/
e2e.ti.com
elektronika.ba
robonor.no
knowitlabs.no
Wednesday, October 27, 2010
knowitlabs.no
Wednesday, October 27, 2010
TRON
BOT
4.
Wednesday, October 27, 2010
TRON
BOT
Arduino
Ultra-
sonisk
Nevralt-
nettverk
Scala
Wednesday, October 27, 2010
NN
Simulerer
hjernen
Nevroner
Lagdeling
Input/
output
Input1 Input2 Input3 Input4 Input5
Output1 Output1
Wednesday, October 27, 2010
NNAktivering
Wednesday, October 27, 2010
GEN
ALG
Mange
nevroner
Start
Random
Test/
muter
Rinse and
repeat
Wednesday, October 27, 2010
Kommando
Sensordata
Wednesday, October 27, 2010
Funker det da?
Wednesday, October 27, 2010
VID
EO
Etter
30 min
Wednesday, October 27, 2010
VID
EO
Etter 1t+
Wednesday, October 27, 2010
PRO
BLEM
Tar lang
tid
Bør
overvåkes
Simu-
lering
Genetisk
algoritme
Wednesday, October 27, 2010
Images used in presentation:
http://www.flickr.com/photos/flysi/
http://www.flickr.com/photos/carl-johan/
http://www.flickr.com/photos/mcblood/
http://www.flickr.com/photos/nguyendai/
http://www.flickr.com/photos/oskay/
http://www.flickr.com/photos/jannem/
http://www.flickr.com/photos/rb-rt/
http://www.flickr.com/photos/splorp/
http://www.flickr.com/photos/genewolf/
http://www.flickr.com/photos/cmatsuoka/
http://www.flickr.com/photos/meddygarnet/
http://www.flickr.com/photos/donsolo/
http://www.flickr.com/photos/oskay/
http://www.flickr.com/photos/gozalewis/
http://www.flickr.com/photos/todbot/
http://www.flickr.com/photos/yamagatacamille/
NON CC:
http://www.tronguy.net/
Wednesday, October 27, 2010

Weitere ähnliche Inhalte

Andere mochten auch

Diaposi fina infor
Diaposi fina inforDiaposi fina infor
Diaposi fina inforlinksofias30
 
Demand side innovation - Eindhoven 2012
Demand side innovation - Eindhoven 2012Demand side innovation - Eindhoven 2012
Demand side innovation - Eindhoven 2012Lorenzo Ciapetti
 
Opened x 2016 conference upv mooc production process
Opened x 2016 conference  upv mooc production processOpened x 2016 conference  upv mooc production process
Opened x 2016 conference upv mooc production processIgnacio Despujol Zabala
 
Webmade online tuesday-slideshare
Webmade online tuesday-slideshareWebmade online tuesday-slideshare
Webmade online tuesday-slideshareWebMade
 
Il problema della riqualificazione delle aree dismesse
Il problema della riqualificazione delle aree dismesseIl problema della riqualificazione delle aree dismesse
Il problema della riqualificazione delle aree dismesseLorenzo Ciapetti
 
Pushing the Point: Integrating Acupressure & Oriental Medicine in Psychiatric...
Pushing the Point: Integrating Acupressure & Oriental Medicine in Psychiatric...Pushing the Point: Integrating Acupressure & Oriental Medicine in Psychiatric...
Pushing the Point: Integrating Acupressure & Oriental Medicine in Psychiatric...Dr. Jaclyn Engelsher, DNP
 
Wojna yom kippur chaim herzog
Wojna yom kippur chaim herzogWojna yom kippur chaim herzog
Wojna yom kippur chaim herzogDariusz Becmer
 
Kentucky and Medical Marijuana: 1.9% Must Get Stoned
Kentucky and Medical Marijuana: 1.9% Must Get StonedKentucky and Medical Marijuana: 1.9% Must Get Stoned
Kentucky and Medical Marijuana: 1.9% Must Get StonedDr. Jaclyn Engelsher, DNP
 
Woonstijl Amstelland maart2014
Woonstijl Amstelland maart2014Woonstijl Amstelland maart2014
Woonstijl Amstelland maart2014WebMade
 

Andere mochten auch (18)

Diaposi fina infor
Diaposi fina inforDiaposi fina infor
Diaposi fina infor
 
Presentation commercial
Presentation commercialPresentation commercial
Presentation commercial
 
exploratory design practice
exploratory design practiceexploratory design practice
exploratory design practice
 
windows 7
 windows 7 windows 7
windows 7
 
Tablat pc
Tablat pcTablat pc
Tablat pc
 
Dreams The science and the art
Dreams The science and the artDreams The science and the art
Dreams The science and the art
 
Introduction for seo
Introduction for seoIntroduction for seo
Introduction for seo
 
Demand side innovation - Eindhoven 2012
Demand side innovation - Eindhoven 2012Demand side innovation - Eindhoven 2012
Demand side innovation - Eindhoven 2012
 
Future soldier
Future soldierFuture soldier
Future soldier
 
Non-Linear Narrative
Non-Linear NarrativeNon-Linear Narrative
Non-Linear Narrative
 
Opened x 2016 conference upv mooc production process
Opened x 2016 conference  upv mooc production processOpened x 2016 conference  upv mooc production process
Opened x 2016 conference upv mooc production process
 
Webmade online tuesday-slideshare
Webmade online tuesday-slideshareWebmade online tuesday-slideshare
Webmade online tuesday-slideshare
 
Il problema della riqualificazione delle aree dismesse
Il problema della riqualificazione delle aree dismesseIl problema della riqualificazione delle aree dismesse
Il problema della riqualificazione delle aree dismesse
 
Pushing the Point: Integrating Acupressure & Oriental Medicine in Psychiatric...
Pushing the Point: Integrating Acupressure & Oriental Medicine in Psychiatric...Pushing the Point: Integrating Acupressure & Oriental Medicine in Psychiatric...
Pushing the Point: Integrating Acupressure & Oriental Medicine in Psychiatric...
 
Wojna yom kippur chaim herzog
Wojna yom kippur chaim herzogWojna yom kippur chaim herzog
Wojna yom kippur chaim herzog
 
Final presentation pitch
Final presentation pitchFinal presentation pitch
Final presentation pitch
 
Kentucky and Medical Marijuana: 1.9% Must Get Stoned
Kentucky and Medical Marijuana: 1.9% Must Get StonedKentucky and Medical Marijuana: 1.9% Must Get Stoned
Kentucky and Medical Marijuana: 1.9% Must Get Stoned
 
Woonstijl Amstelland maart2014
Woonstijl Amstelland maart2014Woonstijl Amstelland maart2014
Woonstijl Amstelland maart2014
 

Ähnlich wie Microcontroller and Arduino Neural Network Robot

Online test program generator for RISC-V processors
Online test program generator for RISC-V processorsOnline test program generator for RISC-V processors
Online test program generator for RISC-V processorsRISC-V International
 
Track c-High speed transaction-based hw-sw coverification -eve
Track c-High speed transaction-based hw-sw coverification -eveTrack c-High speed transaction-based hw-sw coverification -eve
Track c-High speed transaction-based hw-sw coverification -evechiportal
 
Java 8 Puzzlers [as presented at OSCON 2016]
Java 8 Puzzlers [as presented at  OSCON 2016]Java 8 Puzzlers [as presented at  OSCON 2016]
Java 8 Puzzlers [as presented at OSCON 2016]Baruch Sadogursky
 
jQuery Mobile & PhoneGap
jQuery Mobile & PhoneGapjQuery Mobile & PhoneGap
jQuery Mobile & PhoneGapSwiip
 
JVM Mechanics: When Does the JVM JIT & Deoptimize?
JVM Mechanics: When Does the JVM JIT & Deoptimize?JVM Mechanics: When Does the JVM JIT & Deoptimize?
JVM Mechanics: When Does the JVM JIT & Deoptimize?Doug Hawkins
 
Linux Serial Driver
Linux Serial DriverLinux Serial Driver
Linux Serial Driver艾鍗科技
 
Network security mannual (2)
Network security mannual (2)Network security mannual (2)
Network security mannual (2)Vivek Kumar Sinha
 
Hands on with Smart Contracts session #3
Hands on with Smart Contracts session #3Hands on with Smart Contracts session #3
Hands on with Smart Contracts session #3Gene Leybzon
 
Blockchain and smart contracts day 2
Blockchain and smart contracts day 2Blockchain and smart contracts day 2
Blockchain and smart contracts day 2Gene Leybzon
 
Java lejos-multithreading
Java lejos-multithreadingJava lejos-multithreading
Java lejos-multithreadingMr. Chanuwan
 
Silicon Valley JUG: JVM Mechanics
Silicon Valley JUG: JVM MechanicsSilicon Valley JUG: JVM Mechanics
Silicon Valley JUG: JVM MechanicsAzul Systems, Inc.
 
Georgy Nosenko - An introduction to the use SMT solvers for software security
Georgy Nosenko - An introduction to the use SMT solvers for software securityGeorgy Nosenko - An introduction to the use SMT solvers for software security
Georgy Nosenko - An introduction to the use SMT solvers for software securityDefconRussia
 
Степан Кольцов — Rust — лучше, чем C++
Степан Кольцов — Rust — лучше, чем C++Степан Кольцов — Rust — лучше, чем C++
Степан Кольцов — Rust — лучше, чем C++Yandex
 
CS4200 2019 | Lecture 5 | Transformation by Term Rewriting
CS4200 2019 | Lecture 5 | Transformation by Term RewritingCS4200 2019 | Lecture 5 | Transformation by Term Rewriting
CS4200 2019 | Lecture 5 | Transformation by Term RewritingEelco Visser
 
Arduino coding class part ii
Arduino coding class part iiArduino coding class part ii
Arduino coding class part iiJonah Marrs
 
Introduction aux Macros
Introduction aux MacrosIntroduction aux Macros
Introduction aux Macrosunivalence
 

Ähnlich wie Microcontroller and Arduino Neural Network Robot (20)

Online test program generator for RISC-V processors
Online test program generator for RISC-V processorsOnline test program generator for RISC-V processors
Online test program generator for RISC-V processors
 
Track c-High speed transaction-based hw-sw coverification -eve
Track c-High speed transaction-based hw-sw coverification -eveTrack c-High speed transaction-based hw-sw coverification -eve
Track c-High speed transaction-based hw-sw coverification -eve
 
Java 8 Puzzlers [as presented at OSCON 2016]
Java 8 Puzzlers [as presented at  OSCON 2016]Java 8 Puzzlers [as presented at  OSCON 2016]
Java 8 Puzzlers [as presented at OSCON 2016]
 
jQuery Mobile & PhoneGap
jQuery Mobile & PhoneGapjQuery Mobile & PhoneGap
jQuery Mobile & PhoneGap
 
JVM Mechanics: When Does the JVM JIT & Deoptimize?
JVM Mechanics: When Does the JVM JIT & Deoptimize?JVM Mechanics: When Does the JVM JIT & Deoptimize?
JVM Mechanics: When Does the JVM JIT & Deoptimize?
 
Linux Serial Driver
Linux Serial DriverLinux Serial Driver
Linux Serial Driver
 
Network security mannual (2)
Network security mannual (2)Network security mannual (2)
Network security mannual (2)
 
Hands on with Smart Contracts session #3
Hands on with Smart Contracts session #3Hands on with Smart Contracts session #3
Hands on with Smart Contracts session #3
 
Blockchain and smart contracts day 2
Blockchain and smart contracts day 2Blockchain and smart contracts day 2
Blockchain and smart contracts day 2
 
Java lejos-multithreading
Java lejos-multithreadingJava lejos-multithreading
Java lejos-multithreading
 
Silicon Valley JUG: JVM Mechanics
Silicon Valley JUG: JVM MechanicsSilicon Valley JUG: JVM Mechanics
Silicon Valley JUG: JVM Mechanics
 
Computer network
Computer networkComputer network
Computer network
 
Java Concurrency
Java ConcurrencyJava Concurrency
Java Concurrency
 
Georgy Nosenko - An introduction to the use SMT solvers for software security
Georgy Nosenko - An introduction to the use SMT solvers for software securityGeorgy Nosenko - An introduction to the use SMT solvers for software security
Georgy Nosenko - An introduction to the use SMT solvers for software security
 
Степан Кольцов — Rust — лучше, чем C++
Степан Кольцов — Rust — лучше, чем C++Степан Кольцов — Rust — лучше, чем C++
Степан Кольцов — Rust — лучше, чем C++
 
CS4200 2019 | Lecture 5 | Transformation by Term Rewriting
CS4200 2019 | Lecture 5 | Transformation by Term RewritingCS4200 2019 | Lecture 5 | Transformation by Term Rewriting
CS4200 2019 | Lecture 5 | Transformation by Term Rewriting
 
Live Updating Swift Code
Live Updating Swift CodeLive Updating Swift Code
Live Updating Swift Code
 
In kor we Trust
In kor we TrustIn kor we Trust
In kor we Trust
 
Arduino coding class part ii
Arduino coding class part iiArduino coding class part ii
Arduino coding class part ii
 
Introduction aux Macros
Introduction aux MacrosIntroduction aux Macros
Introduction aux Macros
 

Microcontroller and Arduino Neural Network Robot