SlideShare uma empresa Scribd logo
1 de 23
Baixar para ler offline
Sun SPOTs
Simon Ritter
Technology Evangelist
Sun Microsystems Inc.


                        1
Sun Small Programmable Object
Technology (SPOT)

• Sun has licensed Java on
  over 1 billion cell phones

• How do we encourage Sun
  technology in whatever
  comes next?
Wireless Sensor Networks
                          Sensors
                                    Miniaturization, MEMS,
                                    lower power, and cost




                           Smart
                           Dust
                                                Communication
Computing Power
                                                  Wireless: Wi-Fi,
 Results of Moore’s law
                                                     Bluetooth
Better Sensor Networks
• 40% of energy costs in an office building
  is lighting
• U.S. movie theaters
  > Some have energy costs >$400 per day
  > Can vary by a factor of 10
• Sensor market in 2001 was ~$11 Billion*
  > Wiring installation costs > $100 Billion
• Wireless sensor market in 2010 of $7 Billion†
• 1.5 Billion transducer devices installed by 2010 ‡
                                             †                     ‡
 * Freedonia Group report on sensors, 2002       ON World Report   Harbour research report
SPOT Processor Board
• 180MHz 32-bit ARM 920T CPU
  > 512Kb RAM, 4Mb FLASH
• Chipcon 2420 radio package
  > 2.4GHz frequency
  > IEEE 802.15.4 (Low rate PAN protocol)
• USB interface
• 3.7V 750 mAh Li-Ion battery
• Power consumption 40-100mA
  > Depending on radio/LED/peripheral usage
  > 40 µA deep sleep mode
SPOT Demo Sensor Board
•   Accelerometer
•   Temperature sensor
•   Light sensor
•   8 tri-colour LEDs
•   2 push-button switches
•   Analog to digital input pins
•   GPIO pins
•   High current (100mA) output pins
SPOT Prototype Board
• Direct access to processor board
  signals
• Serial access via UART and then
  MAX chip to drive RS-232
• SD Card reader for persistent
  storage
• Others
Squawk Virtual Machine
• Objective: very portable, small footprint JVM
  > No underlying OS
  > Runs on “bare metal”
• Most of code written in Java
  > Interpreter and low level I/O code written in C
  > Everything else in Java
• Provides Java ME CLDC 1.1 environment
  > Additional libraries for specific functions such as sensors,
    LEDs, etc
• Supports JSR 121 Isolate Architecture
The Sun SPOT SDK—Libraries
• Squawk Java VM: desktop and Sun SPOT
• Libraries
  > Java ME CLDC 1.1 libraries
  > Hardware libraries
     > SPI, AIC, TC, PIO drivers all written in the Java programming
       language
     > Demo sensor board library
  > Radio libraries
  > Network libraries
     > 802.15.4 MAC layer written in the Java programming language,
       uses GCF
  > Desktop libraries
Accelerometer
• SPOT has built in 3-axis accelerometer
  > Uses ST-Micro LIS3L02 component
• Scale can be set to 2G or 6G
  > Good sensitivity
• Acceleration is measured relative to gravity
  > Tilting the SPOT changes the value
 EDemoBoard db = EDemoBoard.getInstance();
 IAccelerometer3D acc = db.getAccelerometer();
 acc.setRange(0); // 2G
 IScalarInput xAccel = acc.getX();
 int xa = xAccel.getValue();
Light/Temperature Sensor

EDemoBoard db = EDemoBoard.getInstance();
ILightSensor light = db.getLightSensor();
ITemperatureInput temp =
  db.getTemperatureInput();
int brightness = light.getValue();
int heat = temp.getValue();
Switches and LEDs
EDemoBoard db = EDemoBoard.getInstance();
ISwitch sw1 = db.bindSwitch(EDemoBoard.SW1);
ISwitch sw2 = db.bindSwitch(EDemoBoard.SW2);
ITriColorLED[] leds = db.getLEDs();
leds[0].setRGB(0, 255, 0);
leds[7].setRGB(0, 0, 255);
while (true) {
  leds[0].setOff();
    if (sw1.isClosed())
      leds[0].setOn();
}
Radio Positioning
• SPOT sends 'ping' radio signal
• APIs provide simple radio signal strength access
  > Radiogram.getRssi()
• Take signal strength from multiple basestations
  > Inverse square law for distance
  > Triangulate position
  > More basestations means more degrees of accuracy
• Stability of signal strength is not high
  > Resolution of position changes is therefore low
  > Good enough for some situations
SPOT
Interfacing
Digital Lines
• Can be used for either input or output
• Input
  > isHigh()/isLow()
  > getPulse()
• Output (can be used to drive servo motors)
  > IServoController interface
  > bindServo()
Analog To Digital Converters
• SPOT has 6 ADC lines accessible via external
  header pins
  > Firmware currently only supports 4
• Apply input that is in range 0-3V
• Read value with 10-bit resolution via
  IScalarInput class

 EDemoBoard db = EDemoBoard.getInstance();
 IScalarInput analog =
     db.bindScalarInput(EDemoBoard.A0);
 int analogValue = analog.getValue();
Solid State Gyroscope
•   IDG-300 dual-axis gyroscope
•   3V supply can be taken from SPOT
•   X and Y lines connect to ADC pins on SPOT
•   Use 2 mounted orthogonally for full 3D data
•   Provides rotational velocity
    > Can be used to calculate change in orientation of SPOT
    > Change is 2mV/degree/second
    > Some drift creeps in – needs to be accounted for
The P5 Data Glove
• Designed for gaming applications
• Uses proprietary hardware and software
• Required modification to work with SPOT
  > Very fiddly soldering to surface mounted connector
• Two gyros glued inside
• SPOT mounted on top using velcro
Game Pad Thumb Joystick
• Remove from cheap game pad
• Left-right and back-forward wired to ADC lines
  > Implemented as potentiometers
• Push-button wired to digital input
  > Switch pulls pin from 0 to 3V
Compass Sensor
• Useful for determining orientation
  > Z-axis of accelometer not really suitable
• CMPS03 magnetic compass module
  > Uses 2 Philips KMZ10A sensors
  > 0.1 degree reslution, 3-4 degrees accuracy
• Separate head-mounted SPOT
• I2C or PWM data connection
  > SPOT can do I2C via “bit-banging”
  > SPOT API has getPulse() method
Feedback
• Talking SPOT
• RS-232 interface SP03 board
  > 30 pre-recorded phrases
  > Text to speech capable
• SPOT can drive pins as UART
  > Required modified firmware for demo board
  > Or prototype board
• Use MAX3232 as line driver
  > Convert TTL voltages to RS-232
For More Information
• Squawk (Now open sourced)
  > http://squawk.dev.java.net
  > http://research.sun.com/projects/squawk
• Sun SPOT
  > http://www.sunspotworld.com
• Papers
  > “Java™ on the Bare Metal of Wireless Sensor
    Devices—The Squawk Java Virtual Machine”,
    VEE, June 2006
  > “The Squawk Virtual Machine: Java™ on the Bare Metal”,
    Extended Abstract, OOPSLA, Oct 2005
Demos

Mais conteúdo relacionado

Mais procurados

embedded systems and robotics on avr platform
embedded systems and robotics on avr platformembedded systems and robotics on avr platform
embedded systems and robotics on avr platformNeha Sharma
 
Presentation on embedded system and robotics
Presentation on embedded system and roboticsPresentation on embedded system and robotics
Presentation on embedded system and roboticsArpit Upadhyay
 
Arduino embedded systems and advanced robotics
Arduino embedded systems and advanced roboticsArduino embedded systems and advanced robotics
Arduino embedded systems and advanced roboticsShubham Bhattacharya
 
Guia rapida POP-HUB-V2-(POP-011801)
Guia rapida POP-HUB-V2-(POP-011801)Guia rapida POP-HUB-V2-(POP-011801)
Guia rapida POP-HUB-V2-(POP-011801)Domotica daVinci
 
A major project report on Energy Efficient Infrared (IR) Based Home Automatio...
A major project report on Energy Efficient Infrared (IR) Based Home Automatio...A major project report on Energy Efficient Infrared (IR) Based Home Automatio...
A major project report on Energy Efficient Infrared (IR) Based Home Automatio...Prasant Kumar
 
Sun SPOT, Wireless Sensors Networks
Sun SPOT, Wireless Sensors NetworksSun SPOT, Wireless Sensors Networks
Sun SPOT, Wireless Sensors NetworksJosé Ariza
 
Introducing the Sun SPOTs
Introducing the Sun SPOTsIntroducing the Sun SPOTs
Introducing the Sun SPOTsStefano Sanna
 
Security System Based on Ultrasonic Sensor Technology
Security System Based on Ultrasonic Sensor TechnologySecurity System Based on Ultrasonic Sensor Technology
Security System Based on Ultrasonic Sensor TechnologyIOSR Journals
 
Camera training by Sergio Aguirre
Camera training by Sergio AguirreCamera training by Sergio Aguirre
Camera training by Sergio Aguirresergio_a_aguirre
 
trasfer jet communication
trasfer jet communicationtrasfer jet communication
trasfer jet communicationANANDHI M
 
Zigbee based metal detecting robot to assist bomb detection and rescue team
Zigbee based metal detecting robot to assist bomb detection and rescue teamZigbee based metal detecting robot to assist bomb detection and rescue team
Zigbee based metal detecting robot to assist bomb detection and rescue teamshiva kumar cheruku
 
Contactless digital tachometer using microcontroller
Contactless digital tachometer using microcontroller Contactless digital tachometer using microcontroller
Contactless digital tachometer using microcontroller IJECEIAES
 
Arduino by yogesh t s'
Arduino by yogesh t s'Arduino by yogesh t s'
Arduino by yogesh t s'tsyogesh46
 
Bl r7601 mu2-specification-www.ttbvs.com
Bl r7601 mu2-specification-www.ttbvs.comBl r7601 mu2-specification-www.ttbvs.com
Bl r7601 mu2-specification-www.ttbvs.comTTBVS
 
CNC machine using PCB layout with wireless communication
CNC machine using PCB layout with wireless communicationCNC machine using PCB layout with wireless communication
CNC machine using PCB layout with wireless communicationVenkatkumar78
 

Mais procurados (18)

embedded systems and robotics on avr platform
embedded systems and robotics on avr platformembedded systems and robotics on avr platform
embedded systems and robotics on avr platform
 
Summer training project
Summer training projectSummer training project
Summer training project
 
Presentation on embedded system and robotics
Presentation on embedded system and roboticsPresentation on embedded system and robotics
Presentation on embedded system and robotics
 
Arduino embedded systems and advanced robotics
Arduino embedded systems and advanced roboticsArduino embedded systems and advanced robotics
Arduino embedded systems and advanced robotics
 
Guia rapida POP-HUB-V2-(POP-011801)
Guia rapida POP-HUB-V2-(POP-011801)Guia rapida POP-HUB-V2-(POP-011801)
Guia rapida POP-HUB-V2-(POP-011801)
 
A major project report on Energy Efficient Infrared (IR) Based Home Automatio...
A major project report on Energy Efficient Infrared (IR) Based Home Automatio...A major project report on Energy Efficient Infrared (IR) Based Home Automatio...
A major project report on Energy Efficient Infrared (IR) Based Home Automatio...
 
Sun SPOT, Wireless Sensors Networks
Sun SPOT, Wireless Sensors NetworksSun SPOT, Wireless Sensors Networks
Sun SPOT, Wireless Sensors Networks
 
Introducing the Sun SPOTs
Introducing the Sun SPOTsIntroducing the Sun SPOTs
Introducing the Sun SPOTs
 
Security System Based on Ultrasonic Sensor Technology
Security System Based on Ultrasonic Sensor TechnologySecurity System Based on Ultrasonic Sensor Technology
Security System Based on Ultrasonic Sensor Technology
 
Camera training by Sergio Aguirre
Camera training by Sergio AguirreCamera training by Sergio Aguirre
Camera training by Sergio Aguirre
 
ELECTRONIC AND - Copy (1)
ELECTRONIC AND - Copy (1)ELECTRONIC AND - Copy (1)
ELECTRONIC AND - Copy (1)
 
trasfer jet communication
trasfer jet communicationtrasfer jet communication
trasfer jet communication
 
Zigbee based metal detecting robot to assist bomb detection and rescue team
Zigbee based metal detecting robot to assist bomb detection and rescue teamZigbee based metal detecting robot to assist bomb detection and rescue team
Zigbee based metal detecting robot to assist bomb detection and rescue team
 
Contactless digital tachometer using microcontroller
Contactless digital tachometer using microcontroller Contactless digital tachometer using microcontroller
Contactless digital tachometer using microcontroller
 
Arduino by yogesh t s'
Arduino by yogesh t s'Arduino by yogesh t s'
Arduino by yogesh t s'
 
iot1&2.pdf
iot1&2.pdfiot1&2.pdf
iot1&2.pdf
 
Bl r7601 mu2-specification-www.ttbvs.com
Bl r7601 mu2-specification-www.ttbvs.comBl r7601 mu2-specification-www.ttbvs.com
Bl r7601 mu2-specification-www.ttbvs.com
 
CNC machine using PCB layout with wireless communication
CNC machine using PCB layout with wireless communicationCNC machine using PCB layout with wireless communication
CNC machine using PCB layout with wireless communication
 

Destaque

Stellar life cycle section 3
Stellar life cycle section 3Stellar life cycle section 3
Stellar life cycle section 3MrHopkinsTMS
 
Sun Spot Talk
Sun Spot TalkSun Spot Talk
Sun Spot Talkvittalp88
 
Quarter Century Discovery with Hubble.
Quarter Century Discovery with Hubble.Quarter Century Discovery with Hubble.
Quarter Century Discovery with Hubble.Ashraful Muku
 
The Orion nebula LA175 OL1
The Orion nebula LA175 OL1The Orion nebula LA175 OL1
The Orion nebula LA175 OL1April Snow
 
Rubric evaluation media instructional k7
Rubric evaluation media instructional k7Rubric evaluation media instructional k7
Rubric evaluation media instructional k7alatifgapor
 
Evolution of a star 26 3
Evolution of a star 26 3Evolution of a star 26 3
Evolution of a star 26 3robtownsend
 
Instructional Materials
Instructional MaterialsInstructional Materials
Instructional Materials15sheena
 
The Evolution of a Star
The Evolution of a StarThe Evolution of a Star
The Evolution of a StarNoor Pyarali
 
Naturalists at Large - Nebula
Naturalists at Large - NebulaNaturalists at Large - Nebula
Naturalists at Large - NebulaPhat Nattie
 
Completing the learning experience: Instructional materials
Completing the learning experience: Instructional materialsCompleting the learning experience: Instructional materials
Completing the learning experience: Instructional materialsDea Timbreza
 
Life Cycle of Stars and its Kinds
Life Cycle of Stars and its KindsLife Cycle of Stars and its Kinds
Life Cycle of Stars and its KindsIda Regine
 
Selection and preparation of instructional materials
Selection and preparation of instructional materialsSelection and preparation of instructional materials
Selection and preparation of instructional materialsMits
 
Instructional Materials in Mathematics
Instructional Materials in MathematicsInstructional Materials in Mathematics
Instructional Materials in MathematicsBlenda Sotto
 

Destaque (20)

Sunspot
SunspotSunspot
Sunspot
 
Asteroide troiano
Asteroide troianoAsteroide troiano
Asteroide troiano
 
Stellar life cycle section 3
Stellar life cycle section 3Stellar life cycle section 3
Stellar life cycle section 3
 
Star evolution
Star evolutionStar evolution
Star evolution
 
Sun Spot Talk
Sun Spot TalkSun Spot Talk
Sun Spot Talk
 
Quarter Century Discovery with Hubble.
Quarter Century Discovery with Hubble.Quarter Century Discovery with Hubble.
Quarter Century Discovery with Hubble.
 
The Orion nebula LA175 OL1
The Orion nebula LA175 OL1The Orion nebula LA175 OL1
The Orion nebula LA175 OL1
 
05 Stellar Evolution Mc Neely
05 Stellar Evolution Mc Neely05 Stellar Evolution Mc Neely
05 Stellar Evolution Mc Neely
 
Rubric evaluation media instructional k7
Rubric evaluation media instructional k7Rubric evaluation media instructional k7
Rubric evaluation media instructional k7
 
Evolution of a star 26 3
Evolution of a star 26 3Evolution of a star 26 3
Evolution of a star 26 3
 
Reflections of God's creation
Reflections of God's creationReflections of God's creation
Reflections of God's creation
 
Instructional Materials
Instructional MaterialsInstructional Materials
Instructional Materials
 
The Evolution of a Star
The Evolution of a StarThe Evolution of a Star
The Evolution of a Star
 
Naturalists at Large - Nebula
Naturalists at Large - NebulaNaturalists at Large - Nebula
Naturalists at Large - Nebula
 
Stars
StarsStars
Stars
 
Completing the learning experience: Instructional materials
Completing the learning experience: Instructional materialsCompleting the learning experience: Instructional materials
Completing the learning experience: Instructional materials
 
Instructional material
Instructional material Instructional material
Instructional material
 
Life Cycle of Stars and its Kinds
Life Cycle of Stars and its KindsLife Cycle of Stars and its Kinds
Life Cycle of Stars and its Kinds
 
Selection and preparation of instructional materials
Selection and preparation of instructional materialsSelection and preparation of instructional materials
Selection and preparation of instructional materials
 
Instructional Materials in Mathematics
Instructional Materials in MathematicsInstructional Materials in Mathematics
Instructional Materials in Mathematics
 

Semelhante a Sun SPOTs by Ritter

Living on the iot edge
Living on the iot edgeLiving on the iot edge
Living on the iot edgeSteve Mylroie
 
Internet of Things to Internet of Everythings
Internet of Things to Internet of Everythings Internet of Things to Internet of Everythings
Internet of Things to Internet of Everythings Laxmi Kant Tiwari
 
Bluetooth Home Automation
Bluetooth Home AutomationBluetooth Home Automation
Bluetooth Home AutomationApoorv Gupta
 
Practical introduction to IoT
Practical introduction to IoTPractical introduction to IoT
Practical introduction to IoTpekkanikander
 
POWER EFFICIENT SOFTWARE DEFINED RADIO FOR DISASTER AFFECTED REGIONS USING R...
POWER EFFICIENT SOFTWARE DEFINED RADIO FOR DISASTER AFFECTED REGIONS  USING R...POWER EFFICIENT SOFTWARE DEFINED RADIO FOR DISASTER AFFECTED REGIONS  USING R...
POWER EFFICIENT SOFTWARE DEFINED RADIO FOR DISASTER AFFECTED REGIONS USING R...Nishmi Suresh
 
ハイブリッドLoRa-BLEモジュールとTTN対応キャリアグレードLoRaWANゲートウェイの紹介
ハイブリッドLoRa-BLEモジュールとTTN対応キャリアグレードLoRaWANゲートウェイの紹介ハイブリッドLoRa-BLEモジュールとTTN対応キャリアグレードLoRaWANゲートウェイの紹介
ハイブリッドLoRa-BLEモジュールとTTN対応キャリアグレードLoRaWANゲートウェイの紹介ShinsukeAiki1
 
Industrial Networks: the Choices for Real Time Motion Control
Industrial Networks: the Choices for Real Time Motion ControlIndustrial Networks: the Choices for Real Time Motion Control
Industrial Networks: the Choices for Real Time Motion ControlDesign World
 
Microcontrollers (Rex St. John)
Microcontrollers (Rex St. John)Microcontrollers (Rex St. John)
Microcontrollers (Rex St. John)Future Insights
 
ARDUINO AND RASPBERRYPI.pptx
ARDUINO AND RASPBERRYPI.pptxARDUINO AND RASPBERRYPI.pptx
ARDUINO AND RASPBERRYPI.pptxvennetikiran1
 
RIT 2nd ARM Developer Day - Texas Instruments Presentation
RIT 2nd ARM Developer Day - Texas Instruments PresentationRIT 2nd ARM Developer Day - Texas Instruments Presentation
RIT 2nd ARM Developer Day - Texas Instruments PresentationAntonio Mondragon
 
RTOS based Confidential Area Security System
RTOS based Confidential Area Security SystemRTOS based Confidential Area Security System
RTOS based Confidential Area Security Systemajinky gadewar
 
Track 2 session 3 - st dev con 2016 - simplifying cloud connectivity
Track 2   session 3 - st dev con 2016 - simplifying cloud connectivityTrack 2   session 3 - st dev con 2016 - simplifying cloud connectivity
Track 2 session 3 - st dev con 2016 - simplifying cloud connectivityST_World
 
Zigbee based metal detecting robot to assist bomb detection and rescue team
Zigbee based metal detecting robot to assist bomb detection and rescue teamZigbee based metal detecting robot to assist bomb detection and rescue team
Zigbee based metal detecting robot to assist bomb detection and rescue teamshiva kumar cheruku
 
I2C And SPI Part-23
I2C And  SPI Part-23I2C And  SPI Part-23
I2C And SPI Part-23Techvilla
 
seminar.pptx
seminar.pptxseminar.pptx
seminar.pptxAmanKaim
 
3 phase energy meter on Zigbee1
3 phase energy meter on Zigbee13 phase energy meter on Zigbee1
3 phase energy meter on Zigbee1Sumit Vyas
 
Introducttion to robotics and microcontrollers
Introducttion to robotics and microcontrollersIntroducttion to robotics and microcontrollers
Introducttion to robotics and microcontrollersSandeep Kamath
 
Embedded system and its platforms
Embedded system and its platformsEmbedded system and its platforms
Embedded system and its platformsMrunal Deshkar
 
Hp embedd system and basic obotics
Hp embedd system and basic oboticsHp embedd system and basic obotics
Hp embedd system and basic oboticsPallavi Bharti
 

Semelhante a Sun SPOTs by Ritter (20)

Living on the iot edge
Living on the iot edgeLiving on the iot edge
Living on the iot edge
 
Internet of Things to Internet of Everythings
Internet of Things to Internet of Everythings Internet of Things to Internet of Everythings
Internet of Things to Internet of Everythings
 
Bluetooth Home Automation
Bluetooth Home AutomationBluetooth Home Automation
Bluetooth Home Automation
 
Practical introduction to IoT
Practical introduction to IoTPractical introduction to IoT
Practical introduction to IoT
 
POWER EFFICIENT SOFTWARE DEFINED RADIO FOR DISASTER AFFECTED REGIONS USING R...
POWER EFFICIENT SOFTWARE DEFINED RADIO FOR DISASTER AFFECTED REGIONS  USING R...POWER EFFICIENT SOFTWARE DEFINED RADIO FOR DISASTER AFFECTED REGIONS  USING R...
POWER EFFICIENT SOFTWARE DEFINED RADIO FOR DISASTER AFFECTED REGIONS USING R...
 
ハイブリッドLoRa-BLEモジュールとTTN対応キャリアグレードLoRaWANゲートウェイの紹介
ハイブリッドLoRa-BLEモジュールとTTN対応キャリアグレードLoRaWANゲートウェイの紹介ハイブリッドLoRa-BLEモジュールとTTN対応キャリアグレードLoRaWANゲートウェイの紹介
ハイブリッドLoRa-BLEモジュールとTTN対応キャリアグレードLoRaWANゲートウェイの紹介
 
Industrial Networks: the Choices for Real Time Motion Control
Industrial Networks: the Choices for Real Time Motion ControlIndustrial Networks: the Choices for Real Time Motion Control
Industrial Networks: the Choices for Real Time Motion Control
 
Microcontrollers (Rex St. John)
Microcontrollers (Rex St. John)Microcontrollers (Rex St. John)
Microcontrollers (Rex St. John)
 
ARDUINO AND RASPBERRYPI.pptx
ARDUINO AND RASPBERRYPI.pptxARDUINO AND RASPBERRYPI.pptx
ARDUINO AND RASPBERRYPI.pptx
 
RIT 2nd ARM Developer Day - Texas Instruments Presentation
RIT 2nd ARM Developer Day - Texas Instruments PresentationRIT 2nd ARM Developer Day - Texas Instruments Presentation
RIT 2nd ARM Developer Day - Texas Instruments Presentation
 
RTOS based Confidential Area Security System
RTOS based Confidential Area Security SystemRTOS based Confidential Area Security System
RTOS based Confidential Area Security System
 
Track 2 session 3 - st dev con 2016 - simplifying cloud connectivity
Track 2   session 3 - st dev con 2016 - simplifying cloud connectivityTrack 2   session 3 - st dev con 2016 - simplifying cloud connectivity
Track 2 session 3 - st dev con 2016 - simplifying cloud connectivity
 
Zigbee based metal detecting robot to assist bomb detection and rescue team
Zigbee based metal detecting robot to assist bomb detection and rescue teamZigbee based metal detecting robot to assist bomb detection and rescue team
Zigbee based metal detecting robot to assist bomb detection and rescue team
 
I2C And SPI Part-23
I2C And  SPI Part-23I2C And  SPI Part-23
I2C And SPI Part-23
 
Wifi ac light dimmer
Wifi ac light dimmerWifi ac light dimmer
Wifi ac light dimmer
 
seminar.pptx
seminar.pptxseminar.pptx
seminar.pptx
 
3 phase energy meter on Zigbee1
3 phase energy meter on Zigbee13 phase energy meter on Zigbee1
3 phase energy meter on Zigbee1
 
Introducttion to robotics and microcontrollers
Introducttion to robotics and microcontrollersIntroducttion to robotics and microcontrollers
Introducttion to robotics and microcontrollers
 
Embedded system and its platforms
Embedded system and its platformsEmbedded system and its platforms
Embedded system and its platforms
 
Hp embedd system and basic obotics
Hp embedd system and basic oboticsHp embedd system and basic obotics
Hp embedd system and basic obotics
 

Mais de Wireless Sensor Networks Apellidos (7)

Zolertia presentation @ CTTC
Zolertia presentation @ CTTCZolertia presentation @ CTTC
Zolertia presentation @ CTTC
 
2005, Robert Poor (ex-CTO Ember)
2005, Robert Poor (ex-CTO Ember)2005, Robert Poor (ex-CTO Ember)
2005, Robert Poor (ex-CTO Ember)
 
XBow: Wireless Sensor Networks in Industry by Alan Broad (CTO)
XBow: Wireless Sensor Networks in Industry by Alan Broad (CTO)XBow: Wireless Sensor Networks in Industry by Alan Broad (CTO)
XBow: Wireless Sensor Networks in Industry by Alan Broad (CTO)
 
XBow: Enabling Anywhere, Anytime, Wireless Network Solutions by Mike Horton
XBow: Enabling Anywhere, Anytime, Wireless Network Solutions by Mike HortonXBow: Enabling Anywhere, Anytime, Wireless Network Solutions by Mike Horton
XBow: Enabling Anywhere, Anytime, Wireless Network Solutions by Mike Horton
 
2008, IBM: WSN by John Dorn
2008, IBM: WSN by John Dorn2008, IBM: WSN by John Dorn
2008, IBM: WSN by John Dorn
 
2007, Radiocrafts: Make Or Buy, Life cycle cost of ZigBee® solution
2007, Radiocrafts: Make Or Buy, Life cycle cost of ZigBee® solution2007, Radiocrafts: Make Or Buy, Life cycle cost of ZigBee® solution
2007, Radiocrafts: Make Or Buy, Life cycle cost of ZigBee® solution
 
2006, Moteiv
2006, Moteiv2006, Moteiv
2006, Moteiv
 

Último

A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilV3cube
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsRoshan Dwivedi
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...gurkirankumar98700
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 

Último (20)

A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 

Sun SPOTs by Ritter

  • 1. Sun SPOTs Simon Ritter Technology Evangelist Sun Microsystems Inc. 1
  • 2. Sun Small Programmable Object Technology (SPOT) • Sun has licensed Java on over 1 billion cell phones • How do we encourage Sun technology in whatever comes next?
  • 3. Wireless Sensor Networks Sensors Miniaturization, MEMS, lower power, and cost Smart Dust Communication Computing Power Wireless: Wi-Fi, Results of Moore’s law Bluetooth
  • 4. Better Sensor Networks • 40% of energy costs in an office building is lighting • U.S. movie theaters > Some have energy costs >$400 per day > Can vary by a factor of 10 • Sensor market in 2001 was ~$11 Billion* > Wiring installation costs > $100 Billion • Wireless sensor market in 2010 of $7 Billion† • 1.5 Billion transducer devices installed by 2010 ‡ † ‡ * Freedonia Group report on sensors, 2002 ON World Report Harbour research report
  • 5. SPOT Processor Board • 180MHz 32-bit ARM 920T CPU > 512Kb RAM, 4Mb FLASH • Chipcon 2420 radio package > 2.4GHz frequency > IEEE 802.15.4 (Low rate PAN protocol) • USB interface • 3.7V 750 mAh Li-Ion battery • Power consumption 40-100mA > Depending on radio/LED/peripheral usage > 40 µA deep sleep mode
  • 6. SPOT Demo Sensor Board • Accelerometer • Temperature sensor • Light sensor • 8 tri-colour LEDs • 2 push-button switches • Analog to digital input pins • GPIO pins • High current (100mA) output pins
  • 7. SPOT Prototype Board • Direct access to processor board signals • Serial access via UART and then MAX chip to drive RS-232 • SD Card reader for persistent storage • Others
  • 8. Squawk Virtual Machine • Objective: very portable, small footprint JVM > No underlying OS > Runs on “bare metal” • Most of code written in Java > Interpreter and low level I/O code written in C > Everything else in Java • Provides Java ME CLDC 1.1 environment > Additional libraries for specific functions such as sensors, LEDs, etc • Supports JSR 121 Isolate Architecture
  • 9. The Sun SPOT SDK—Libraries • Squawk Java VM: desktop and Sun SPOT • Libraries > Java ME CLDC 1.1 libraries > Hardware libraries > SPI, AIC, TC, PIO drivers all written in the Java programming language > Demo sensor board library > Radio libraries > Network libraries > 802.15.4 MAC layer written in the Java programming language, uses GCF > Desktop libraries
  • 10. Accelerometer • SPOT has built in 3-axis accelerometer > Uses ST-Micro LIS3L02 component • Scale can be set to 2G or 6G > Good sensitivity • Acceleration is measured relative to gravity > Tilting the SPOT changes the value EDemoBoard db = EDemoBoard.getInstance(); IAccelerometer3D acc = db.getAccelerometer(); acc.setRange(0); // 2G IScalarInput xAccel = acc.getX(); int xa = xAccel.getValue();
  • 11. Light/Temperature Sensor EDemoBoard db = EDemoBoard.getInstance(); ILightSensor light = db.getLightSensor(); ITemperatureInput temp = db.getTemperatureInput(); int brightness = light.getValue(); int heat = temp.getValue();
  • 12. Switches and LEDs EDemoBoard db = EDemoBoard.getInstance(); ISwitch sw1 = db.bindSwitch(EDemoBoard.SW1); ISwitch sw2 = db.bindSwitch(EDemoBoard.SW2); ITriColorLED[] leds = db.getLEDs(); leds[0].setRGB(0, 255, 0); leds[7].setRGB(0, 0, 255); while (true) { leds[0].setOff(); if (sw1.isClosed()) leds[0].setOn(); }
  • 13. Radio Positioning • SPOT sends 'ping' radio signal • APIs provide simple radio signal strength access > Radiogram.getRssi() • Take signal strength from multiple basestations > Inverse square law for distance > Triangulate position > More basestations means more degrees of accuracy • Stability of signal strength is not high > Resolution of position changes is therefore low > Good enough for some situations
  • 15. Digital Lines • Can be used for either input or output • Input > isHigh()/isLow() > getPulse() • Output (can be used to drive servo motors) > IServoController interface > bindServo()
  • 16. Analog To Digital Converters • SPOT has 6 ADC lines accessible via external header pins > Firmware currently only supports 4 • Apply input that is in range 0-3V • Read value with 10-bit resolution via IScalarInput class EDemoBoard db = EDemoBoard.getInstance(); IScalarInput analog = db.bindScalarInput(EDemoBoard.A0); int analogValue = analog.getValue();
  • 17. Solid State Gyroscope • IDG-300 dual-axis gyroscope • 3V supply can be taken from SPOT • X and Y lines connect to ADC pins on SPOT • Use 2 mounted orthogonally for full 3D data • Provides rotational velocity > Can be used to calculate change in orientation of SPOT > Change is 2mV/degree/second > Some drift creeps in – needs to be accounted for
  • 18. The P5 Data Glove • Designed for gaming applications • Uses proprietary hardware and software • Required modification to work with SPOT > Very fiddly soldering to surface mounted connector • Two gyros glued inside • SPOT mounted on top using velcro
  • 19. Game Pad Thumb Joystick • Remove from cheap game pad • Left-right and back-forward wired to ADC lines > Implemented as potentiometers • Push-button wired to digital input > Switch pulls pin from 0 to 3V
  • 20. Compass Sensor • Useful for determining orientation > Z-axis of accelometer not really suitable • CMPS03 magnetic compass module > Uses 2 Philips KMZ10A sensors > 0.1 degree reslution, 3-4 degrees accuracy • Separate head-mounted SPOT • I2C or PWM data connection > SPOT can do I2C via “bit-banging” > SPOT API has getPulse() method
  • 21. Feedback • Talking SPOT • RS-232 interface SP03 board > 30 pre-recorded phrases > Text to speech capable • SPOT can drive pins as UART > Required modified firmware for demo board > Or prototype board • Use MAX3232 as line driver > Convert TTL voltages to RS-232
  • 22. For More Information • Squawk (Now open sourced) > http://squawk.dev.java.net > http://research.sun.com/projects/squawk • Sun SPOT > http://www.sunspotworld.com • Papers > “Java™ on the Bare Metal of Wireless Sensor Devices—The Squawk Java Virtual Machine”, VEE, June 2006 > “The Squawk Virtual Machine: Java™ on the Bare Metal”, Extended Abstract, OOPSLA, Oct 2005
  • 23. Demos