SlideShare una empresa de Scribd logo
1 de 36
Conway’s game of life on Arduino A 48x32 led matrix controlled by an Arduino able to project output from arbitrary sources (e.g. game of life)
Goal To make a led matrix on which Conway’s game of life can run And enable it to display other stuff, like Ticker tape Clock Temperature Menu navigation?
Conway’s game of life World is a grid(x, y) Each cell is alive or dead Each iteration for each cell = grid(x, y): If cell is alive, It dies from loneliness if it has < 3 alive neighbors It dies from food shortage if it has > 4 alive neighbors It stays alive if it has 3 alive neighbors If cell is dead, It reincarnates if it has exactly 3 alive neighbors
Setup Arduino 3 Led matrices (3 x 4x2(8x8), incl 2 controllers) Breadboard Wires, some resistors, leds and buttons For fun Thermometer Clock
Arduino specs
ARDUINO SPECS Microcontroller: ATmega2560 Flash memory: 256 kB (of which 8 kB is used by bootloader) SRAM: 8 kB EEPROM: 4 kB Clock speed: 16 MHz
Arduino specs 54 digital input/output pins 16 analog inputs 4 UARTs (serial ports) 16 MHz crystal oscillator USB connection ICSP header Reset button
Arduino specs 54 digital input/output pins 16 analog inputs 4 UARTs (hardware serial ports) 16 MHz crystal oscillator USB connection ICSP header Reset button
Arduino specs 54 digital input/output pins 16 analog inputs 4 UARTs (hardware serial ports) 16 MHz crystal oscillator USB connection ICSP header Reset button
Arduino specs 54 digital input/output pins 16 analog inputs 4 UARTs (hardware serial ports) 16 MHz crystal oscillator USB connection ICSP header Reset button
Arduino specs 54 digital input/output pins 16 analog inputs 4 UARTs (hardware serial ports) 16 MHz crystal oscillator USB connection ICSP header Reset button
Arduino specs 54 digital input/output pins 16 analog inputs 4 UARTs (hardware serial ports) 16 MHz crystal oscillator USB connection ICSP header Reset button
Arduino specs 54 digital input/output pins 16 analog inputs 4 UARTs (hardware serial ports) 16 MHz crystal oscillator USB connection ICSP header Reset button
Arduino specs 54 digital input/output pins 16 analog inputs 4 UARTs (hardware serial ports) 16 MHz crystal oscillator USB connection ICSP header Reset button
Arduino specs 54 digital input/output pins 16 analog inputs 4 UARTs (hardware serial ports) 16 MHz crystal oscillator USB connection ICSP header Reset button
Wiring the system Solder?
Wiring the system Solder?
Wiring the system Breadboard!
Wiring the system Breadboard!
Wiring the system Breadboard!
Buttons Initialize game of life world
Buttons Initialize game of life world
LED boards
LED boards ?
LED boards No memory on controller board Consequence: fast refresh rate needed External power supply (5V) 16 pin connector
LED BOARDS
LED BOARDS
LED BOARD PROTOCOL Serial data transfer Devided into 2 halves (UDAT, LDAT) Clock and A[2..0] to control the leds No state-memory
LED BOARD PROTOCOL
LED BOARD PROTOCOL example Psuedo-code for controlling the LED-board
THERMOMETER Component: DS1820
Clock (RTC) Solder time!
Programming arduino Download SDK from Arduino website. Based on Processing SDK Write program: void Setup() {} void Loop() {} Upload to Arduino (USB) and run Monitor by serial data transfer (USB)
Programming arduino Problem #1: Memory too small to hold 2xLED matrix array representationAND a 3x5 font map Problem #2: Arduinotoo slow to fluently display Game of Life
DEMO
More info Conway’s Game of Life http://www.edesign.nl/2010/04/22/the-game-of-office-decoration/ Arduino Mega http://arduino.cc/en/Main/ArduinoBoardMega2560

Más contenido relacionado

La actualidad más candente

Exor epc 7166_Spec Sheet
Exor epc 7166_Spec SheetExor epc 7166_Spec Sheet
Exor epc 7166_Spec SheetElectromate
 
3.1 การทำงานขั้นพื้นฐานของคอมพิวเตอร์
3.1 การทำงานขั้นพื้นฐานของคอมพิวเตอร์3.1 การทำงานขั้นพื้นฐานของคอมพิวเตอร์
3.1 การทำงานขั้นพื้นฐานของคอมพิวเตอร์รัสนา สิงหปรีชา
 
สื่ออุปกรณ์คอมพิวเตอร์
สื่ออุปกรณ์คอมพิวเตอร์สื่ออุปกรณ์คอมพิวเตอร์
สื่ออุปกรณ์คอมพิวเตอร์mathawee wattana
 
คอมพิวเตอร์ ฮาร์แวร์
คอมพิวเตอร์ ฮาร์แวร์คอมพิวเตอร์ ฮาร์แวร์
คอมพิวเตอร์ ฮาร์แวร์pornthip7890
 
Studio 8 Hilversum. 2010.
Studio 8 Hilversum. 2010.Studio 8 Hilversum. 2010.
Studio 8 Hilversum. 2010.peterassinck
 
The Video Game R-Evolution
The Video Game R-EvolutionThe Video Game R-Evolution
The Video Game R-EvolutionJulio Seaman
 
Exor epc 1592_Spec Sheet
Exor epc 1592_Spec SheetExor epc 1592_Spec Sheet
Exor epc 1592_Spec SheetElectromate
 
หน่วยการเรียนรู้ที่ 7กลุ่มที่ 7
หน่วยการเรียนรู้ที่  7กลุ่มที่ 7หน่วยการเรียนรู้ที่  7กลุ่มที่ 7
หน่วยการเรียนรู้ที่ 7กลุ่มที่ 7Tidaratputkeaw
 
Exor epc 1550_Spec Sheet
Exor epc 1550_Spec SheetExor epc 1550_Spec Sheet
Exor epc 1550_Spec SheetElectromate
 
Buy arduino locally by Robomart
Buy arduino locally by RobomartBuy arduino locally by Robomart
Buy arduino locally by RobomartRobomart India
 
Game console timeline
Game console timelineGame console timeline
Game console timelineajgun62
 
Exor epc 0036_Spec Sheet
Exor epc 0036_Spec SheetExor epc 0036_Spec Sheet
Exor epc 0036_Spec SheetElectromate
 

La actualidad más candente (17)

Exor epc 7166_Spec Sheet
Exor epc 7166_Spec SheetExor epc 7166_Spec Sheet
Exor epc 7166_Spec Sheet
 
3.1 การทำงานขั้นพื้นฐานของคอมพิวเตอร์
3.1 การทำงานขั้นพื้นฐานของคอมพิวเตอร์3.1 การทำงานขั้นพื้นฐานของคอมพิวเตอร์
3.1 การทำงานขั้นพื้นฐานของคอมพิวเตอร์
 
Arduino
ArduinoArduino
Arduino
 
Arduino
ArduinoArduino
Arduino
 
raushan
raushanraushan
raushan
 
สื่ออุปกรณ์คอมพิวเตอร์
สื่ออุปกรณ์คอมพิวเตอร์สื่ออุปกรณ์คอมพิวเตอร์
สื่ออุปกรณ์คอมพิวเตอร์
 
คอมพิวเตอร์ ฮาร์แวร์
คอมพิวเตอร์ ฮาร์แวร์คอมพิวเตอร์ ฮาร์แวร์
คอมพิวเตอร์ ฮาร์แวร์
 
Studio 8 Hilversum. 2010.
Studio 8 Hilversum. 2010.Studio 8 Hilversum. 2010.
Studio 8 Hilversum. 2010.
 
The Video Game R-Evolution
The Video Game R-EvolutionThe Video Game R-Evolution
The Video Game R-Evolution
 
Exor epc 1592_Spec Sheet
Exor epc 1592_Spec SheetExor epc 1592_Spec Sheet
Exor epc 1592_Spec Sheet
 
Dream machine
Dream machineDream machine
Dream machine
 
หน่วยการเรียนรู้ที่ 7กลุ่มที่ 7
หน่วยการเรียนรู้ที่  7กลุ่มที่ 7หน่วยการเรียนรู้ที่  7กลุ่มที่ 7
หน่วยการเรียนรู้ที่ 7กลุ่มที่ 7
 
Exor epc 1550_Spec Sheet
Exor epc 1550_Spec SheetExor epc 1550_Spec Sheet
Exor epc 1550_Spec Sheet
 
Buy arduino locally by Robomart
Buy arduino locally by RobomartBuy arduino locally by Robomart
Buy arduino locally by Robomart
 
Mackie profx22 ingles
Mackie profx22 inglesMackie profx22 ingles
Mackie profx22 ingles
 
Game console timeline
Game console timelineGame console timeline
Game console timeline
 
Exor epc 0036_Spec Sheet
Exor epc 0036_Spec SheetExor epc 0036_Spec Sheet
Exor epc 0036_Spec Sheet
 

Destacado

Population Dynamics in Conway’s Game of Life and its Variants
Population Dynamics in Conway’s Game of Life and its VariantsPopulation Dynamics in Conway’s Game of Life and its Variants
Population Dynamics in Conway’s Game of Life and its VariantsMartin Pelikan
 
Presentation networking(1)
Presentation networking(1)Presentation networking(1)
Presentation networking(1)cegonsoft1999
 
summer training ppts
summer training pptssummer training ppts
summer training pptssandeepgrewal
 
FAULT DETECTION AND DIAGNOSIS OF INDUCTION MACHINE WITH ON-LINE PARAMETER PR...
FAULT DETECTION AND DIAGNOSIS OF INDUCTION MACHINE  WITH ON-LINE PARAMETER PR...FAULT DETECTION AND DIAGNOSIS OF INDUCTION MACHINE  WITH ON-LINE PARAMETER PR...
FAULT DETECTION AND DIAGNOSIS OF INDUCTION MACHINE WITH ON-LINE PARAMETER PR...Sheikh R Manihar Ahmed
 
Automation
AutomationAutomation
AutomationMphasis
 
IMT Lecture: Managing Telecommunication Project MM-Biztel 09Nov09
IMT Lecture: Managing Telecommunication Project MM-Biztel 09Nov09IMT Lecture: Managing Telecommunication Project MM-Biztel 09Nov09
IMT Lecture: Managing Telecommunication Project MM-Biztel 09Nov09Djadja Sardjana
 
DETECTION OF FAULT LOCATION IN TRANSMISSION LINE USING INTERNET OF THINGS (IOT)
DETECTION OF FAULT LOCATION IN TRANSMISSION LINE USING INTERNET OF THINGS (IOT)DETECTION OF FAULT LOCATION IN TRANSMISSION LINE USING INTERNET OF THINGS (IOT)
DETECTION OF FAULT LOCATION IN TRANSMISSION LINE USING INTERNET OF THINGS (IOT)Journal For Research
 
PROPOSED FAULT DETECTION ON OVERHEAD TRANSMISSION LINE USING PARTICLE SWARM ...
PROPOSED FAULT DETECTION ON OVERHEAD TRANSMISSION LINE  USING PARTICLE SWARM ...PROPOSED FAULT DETECTION ON OVERHEAD TRANSMISSION LINE  USING PARTICLE SWARM ...
PROPOSED FAULT DETECTION ON OVERHEAD TRANSMISSION LINE USING PARTICLE SWARM ...Politeknik Negeri Ujung Pandang
 
Precise kilometer calculation by underground cable fault detector
Precise kilometer calculation by underground cable fault detectorPrecise kilometer calculation by underground cable fault detector
Precise kilometer calculation by underground cable fault detectorvivekmv716
 
FAULT DETECTION AND CLASSIFICATION ON SINGLE CIRCUIT TRANSMISSION LINE USING ...
FAULT DETECTION AND CLASSIFICATION ON SINGLE CIRCUIT TRANSMISSION LINE USING ...FAULT DETECTION AND CLASSIFICATION ON SINGLE CIRCUIT TRANSMISSION LINE USING ...
FAULT DETECTION AND CLASSIFICATION ON SINGLE CIRCUIT TRANSMISSION LINE USING ...Politeknik Negeri Ujung Pandang
 
Arduino based Home Automation System with Android
Arduino based Home Automation System with AndroidArduino based Home Automation System with Android
Arduino based Home Automation System with AndroidSayan Seth
 
Underground cables
Underground cablesUnderground cables
Underground cablesAnu71
 
New project report
New project reportNew project report
New project reportSai Printers
 
Under ground cables presention
Under ground cables presentionUnder ground cables presention
Under ground cables presentionRazu Khan
 
Wheelchair is guided by voice commandslll
Wheelchair is guided by voice commandslllWheelchair is guided by voice commandslll
Wheelchair is guided by voice commandslllMajd Khaleel
 
Eye Monitored wheel Chair by using Matlab
Eye Monitored wheel Chair by using Matlab Eye Monitored wheel Chair by using Matlab
Eye Monitored wheel Chair by using Matlab Prasanna Kumar
 

Destacado (20)

Conway gameoflife
Conway gameoflifeConway gameoflife
Conway gameoflife
 
Population Dynamics in Conway’s Game of Life and its Variants
Population Dynamics in Conway’s Game of Life and its VariantsPopulation Dynamics in Conway’s Game of Life and its Variants
Population Dynamics in Conway’s Game of Life and its Variants
 
Presentation networking(1)
Presentation networking(1)Presentation networking(1)
Presentation networking(1)
 
summer training ppts
summer training pptssummer training ppts
summer training ppts
 
FAULT DETECTION AND DIAGNOSIS OF INDUCTION MACHINE WITH ON-LINE PARAMETER PR...
FAULT DETECTION AND DIAGNOSIS OF INDUCTION MACHINE  WITH ON-LINE PARAMETER PR...FAULT DETECTION AND DIAGNOSIS OF INDUCTION MACHINE  WITH ON-LINE PARAMETER PR...
FAULT DETECTION AND DIAGNOSIS OF INDUCTION MACHINE WITH ON-LINE PARAMETER PR...
 
Automation
AutomationAutomation
Automation
 
IMT Lecture: Managing Telecommunication Project MM-Biztel 09Nov09
IMT Lecture: Managing Telecommunication Project MM-Biztel 09Nov09IMT Lecture: Managing Telecommunication Project MM-Biztel 09Nov09
IMT Lecture: Managing Telecommunication Project MM-Biztel 09Nov09
 
Student2student: Arduino Project-based Learning
Student2student: Arduino Project-based LearningStudent2student: Arduino Project-based Learning
Student2student: Arduino Project-based Learning
 
DETECTION OF FAULT LOCATION IN TRANSMISSION LINE USING INTERNET OF THINGS (IOT)
DETECTION OF FAULT LOCATION IN TRANSMISSION LINE USING INTERNET OF THINGS (IOT)DETECTION OF FAULT LOCATION IN TRANSMISSION LINE USING INTERNET OF THINGS (IOT)
DETECTION OF FAULT LOCATION IN TRANSMISSION LINE USING INTERNET OF THINGS (IOT)
 
PROPOSED FAULT DETECTION ON OVERHEAD TRANSMISSION LINE USING PARTICLE SWARM ...
PROPOSED FAULT DETECTION ON OVERHEAD TRANSMISSION LINE  USING PARTICLE SWARM ...PROPOSED FAULT DETECTION ON OVERHEAD TRANSMISSION LINE  USING PARTICLE SWARM ...
PROPOSED FAULT DETECTION ON OVERHEAD TRANSMISSION LINE USING PARTICLE SWARM ...
 
Underground cables
Underground cablesUnderground cables
Underground cables
 
Precise kilometer calculation by underground cable fault detector
Precise kilometer calculation by underground cable fault detectorPrecise kilometer calculation by underground cable fault detector
Precise kilometer calculation by underground cable fault detector
 
FAULT DETECTION AND CLASSIFICATION ON SINGLE CIRCUIT TRANSMISSION LINE USING ...
FAULT DETECTION AND CLASSIFICATION ON SINGLE CIRCUIT TRANSMISSION LINE USING ...FAULT DETECTION AND CLASSIFICATION ON SINGLE CIRCUIT TRANSMISSION LINE USING ...
FAULT DETECTION AND CLASSIFICATION ON SINGLE CIRCUIT TRANSMISSION LINE USING ...
 
Arduino based Home Automation System with Android
Arduino based Home Automation System with AndroidArduino based Home Automation System with Android
Arduino based Home Automation System with Android
 
Underground cables
Underground cablesUnderground cables
Underground cables
 
New project report
New project reportNew project report
New project report
 
Under ground cables presention
Under ground cables presentionUnder ground cables presention
Under ground cables presention
 
Wheelchair is guided by voice commandslll
Wheelchair is guided by voice commandslllWheelchair is guided by voice commandslll
Wheelchair is guided by voice commandslll
 
Eye Monitored wheel Chair by using Matlab
Eye Monitored wheel Chair by using Matlab Eye Monitored wheel Chair by using Matlab
Eye Monitored wheel Chair by using Matlab
 
Ece ppt[1]
Ece ppt[1]Ece ppt[1]
Ece ppt[1]
 

Similar a Conway’s game of life on arduino

Arduino arduino boardnano
Arduino   arduino boardnanoArduino   arduino boardnano
Arduino arduino boardnanoclickengenharia
 
Arduino Model's
Arduino Model'sArduino Model's
Arduino Model'sAli Izmir
 
Color Recognition with Matlab Image Processing and Matlab Interfacing with Ar...
Color Recognition with Matlab Image Processing and Matlab Interfacing with Ar...Color Recognition with Matlab Image Processing and Matlab Interfacing with Ar...
Color Recognition with Matlab Image Processing and Matlab Interfacing with Ar...Sayan Seth
 
Arduino-101-Workshop (Introduction to Arduino and motor driver)
Arduino-101-Workshop (Introduction to Arduino and motor driver)Arduino-101-Workshop (Introduction to Arduino and motor driver)
Arduino-101-Workshop (Introduction to Arduino and motor driver)ShirazimMunir
 
Arduino UNO R3 Projects - Robomart
Arduino UNO R3 Projects - RobomartArduino UNO R3 Projects - Robomart
Arduino UNO R3 Projects - RobomartRavi Kant Pal
 
Arduino a000066-datasheet
Arduino a000066-datasheetArduino a000066-datasheet
Arduino a000066-datasheetThien Tranminh
 
Arduino Introduction by coopermaa
Arduino Introduction by coopermaaArduino Introduction by coopermaa
Arduino Introduction by coopermaa馬 萬圳
 
Touch Switch (Smart Switches) by arduino Project report file
Touch Switch (Smart Switches) by arduino  Project  report fileTouch Switch (Smart Switches) by arduino  Project  report file
Touch Switch (Smart Switches) by arduino Project report fileimkanhaiyalal
 
The arduino uno is a microcontroller board based on the
The arduino uno is a microcontroller board based on theThe arduino uno is a microcontroller board based on the
The arduino uno is a microcontroller board based on thePramod Kumar
 
Wemakeit - base workshop - openlabs
Wemakeit - base workshop - openlabsWemakeit - base workshop - openlabs
Wemakeit - base workshop - openlabsLuca Pescatore
 
Arduino arduino boarduno
Arduino   arduino boardunoArduino   arduino boarduno
Arduino arduino boardunoFilipe Campos
 
Arduino Microcontroller
Arduino MicrocontrollerArduino Microcontroller
Arduino MicrocontrollerShyam Mohan
 

Similar a Conway’s game of life on arduino (20)

Comparando Arduinos
Comparando ArduinosComparando Arduinos
Comparando Arduinos
 
Different Arduino Boards
Different Arduino BoardsDifferent Arduino Boards
Different Arduino Boards
 
Arduino arduino boardnano
Arduino   arduino boardnanoArduino   arduino boardnano
Arduino arduino boardnano
 
Arduino Model's
Arduino Model'sArduino Model's
Arduino Model's
 
Color Recognition with Matlab Image Processing and Matlab Interfacing with Ar...
Color Recognition with Matlab Image Processing and Matlab Interfacing with Ar...Color Recognition with Matlab Image Processing and Matlab Interfacing with Ar...
Color Recognition with Matlab Image Processing and Matlab Interfacing with Ar...
 
Arduino-101-Workshop (Introduction to Arduino and motor driver)
Arduino-101-Workshop (Introduction to Arduino and motor driver)Arduino-101-Workshop (Introduction to Arduino and motor driver)
Arduino-101-Workshop (Introduction to Arduino and motor driver)
 
Arduino UNO R3 Projects - Robomart
Arduino UNO R3 Projects - RobomartArduino UNO R3 Projects - Robomart
Arduino UNO R3 Projects - Robomart
 
Arduino a000066-datasheet
Arduino a000066-datasheetArduino a000066-datasheet
Arduino a000066-datasheet
 
Arduino Introduction by coopermaa
Arduino Introduction by coopermaaArduino Introduction by coopermaa
Arduino Introduction by coopermaa
 
Microcontroladores de 32 bits
Microcontroladores de 32 bitsMicrocontroladores de 32 bits
Microcontroladores de 32 bits
 
Arduino yun datashet
Arduino yun datashetArduino yun datashet
Arduino yun datashet
 
Touch Switch (Smart Switches) by arduino Project report file
Touch Switch (Smart Switches) by arduino  Project  report fileTouch Switch (Smart Switches) by arduino  Project  report file
Touch Switch (Smart Switches) by arduino Project report file
 
The arduino uno is a microcontroller board based on the
The arduino uno is a microcontroller board based on theThe arduino uno is a microcontroller board based on the
The arduino uno is a microcontroller board based on the
 
iot1&2.pdf
iot1&2.pdfiot1&2.pdf
iot1&2.pdf
 
2009 11-17-arduino-basics
2009 11-17-arduino-basics2009 11-17-arduino-basics
2009 11-17-arduino-basics
 
Wemakeit - base workshop - openlabs
Wemakeit - base workshop - openlabsWemakeit - base workshop - openlabs
Wemakeit - base workshop - openlabs
 
Arduino arduino boarduno
Arduino   arduino boardunoArduino   arduino boarduno
Arduino arduino boarduno
 
Lcd with arduino uno
Lcd with arduino unoLcd with arduino uno
Lcd with arduino uno
 
Arduino
ArduinoArduino
Arduino
 
Arduino Microcontroller
Arduino MicrocontrollerArduino Microcontroller
Arduino Microcontroller
 

Último

DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamUiPathCommunity
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...Zilliz
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024The Digital Insurer
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Victor Rentea
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024The Digital Insurer
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDropbox
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistandanishmna97
 
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKJago de Vreede
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Orbitshub
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusZilliz
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesrafiqahmad00786416
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...apidays
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdfSandro Moreira
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 

Último (20)

DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 

Conway’s game of life on arduino

  • 1. Conway’s game of life on Arduino A 48x32 led matrix controlled by an Arduino able to project output from arbitrary sources (e.g. game of life)
  • 2. Goal To make a led matrix on which Conway’s game of life can run And enable it to display other stuff, like Ticker tape Clock Temperature Menu navigation?
  • 3. Conway’s game of life World is a grid(x, y) Each cell is alive or dead Each iteration for each cell = grid(x, y): If cell is alive, It dies from loneliness if it has < 3 alive neighbors It dies from food shortage if it has > 4 alive neighbors It stays alive if it has 3 alive neighbors If cell is dead, It reincarnates if it has exactly 3 alive neighbors
  • 4. Setup Arduino 3 Led matrices (3 x 4x2(8x8), incl 2 controllers) Breadboard Wires, some resistors, leds and buttons For fun Thermometer Clock
  • 6. ARDUINO SPECS Microcontroller: ATmega2560 Flash memory: 256 kB (of which 8 kB is used by bootloader) SRAM: 8 kB EEPROM: 4 kB Clock speed: 16 MHz
  • 7. Arduino specs 54 digital input/output pins 16 analog inputs 4 UARTs (serial ports) 16 MHz crystal oscillator USB connection ICSP header Reset button
  • 8. Arduino specs 54 digital input/output pins 16 analog inputs 4 UARTs (hardware serial ports) 16 MHz crystal oscillator USB connection ICSP header Reset button
  • 9. Arduino specs 54 digital input/output pins 16 analog inputs 4 UARTs (hardware serial ports) 16 MHz crystal oscillator USB connection ICSP header Reset button
  • 10. Arduino specs 54 digital input/output pins 16 analog inputs 4 UARTs (hardware serial ports) 16 MHz crystal oscillator USB connection ICSP header Reset button
  • 11. Arduino specs 54 digital input/output pins 16 analog inputs 4 UARTs (hardware serial ports) 16 MHz crystal oscillator USB connection ICSP header Reset button
  • 12. Arduino specs 54 digital input/output pins 16 analog inputs 4 UARTs (hardware serial ports) 16 MHz crystal oscillator USB connection ICSP header Reset button
  • 13. Arduino specs 54 digital input/output pins 16 analog inputs 4 UARTs (hardware serial ports) 16 MHz crystal oscillator USB connection ICSP header Reset button
  • 14. Arduino specs 54 digital input/output pins 16 analog inputs 4 UARTs (hardware serial ports) 16 MHz crystal oscillator USB connection ICSP header Reset button
  • 15. Arduino specs 54 digital input/output pins 16 analog inputs 4 UARTs (hardware serial ports) 16 MHz crystal oscillator USB connection ICSP header Reset button
  • 16. Wiring the system Solder?
  • 17. Wiring the system Solder?
  • 18. Wiring the system Breadboard!
  • 19. Wiring the system Breadboard!
  • 20. Wiring the system Breadboard!
  • 21. Buttons Initialize game of life world
  • 22. Buttons Initialize game of life world
  • 25. LED boards No memory on controller board Consequence: fast refresh rate needed External power supply (5V) 16 pin connector
  • 28. LED BOARD PROTOCOL Serial data transfer Devided into 2 halves (UDAT, LDAT) Clock and A[2..0] to control the leds No state-memory
  • 30. LED BOARD PROTOCOL example Psuedo-code for controlling the LED-board
  • 33. Programming arduino Download SDK from Arduino website. Based on Processing SDK Write program: void Setup() {} void Loop() {} Upload to Arduino (USB) and run Monitor by serial data transfer (USB)
  • 34. Programming arduino Problem #1: Memory too small to hold 2xLED matrix array representationAND a 3x5 font map Problem #2: Arduinotoo slow to fluently display Game of Life
  • 35. DEMO
  • 36. More info Conway’s Game of Life http://www.edesign.nl/2010/04/22/the-game-of-office-decoration/ Arduino Mega http://arduino.cc/en/Main/ArduinoBoardMega2560