Arduradio oshwcon2012 20120922

955 views

Published on

Presentation at OSHWCON 2012, Madrid

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
955
On SlideShare
0
From Embeds
0
Number of Embeds
16
Actions
Shares
0
Downloads
3
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Arduradio oshwcon2012 20120922

  1. 1. ArduRadio:Playing Internet Radio with Arduino Javier Montaner montanerj@yahoo.com @tumaku_ OSHWCON 2012 (Madrid)
  2. 2. Agenda  Introduction  Bill of Materials  Key Learnings  Project Status & Next Steps2 OSHWCON 2012 (Madrid) © Javier Montaner 2012
  3. 3. Introduction3 OSHWCON 2012 (Madrid) © Javier Montaner 2012
  4. 4. Internet Radio on Arduino  Exploratory work to understand what can(not) be done with Arduino and similar HW platforms  Based on commercial Arduino boards and shields:  Arduino Mega  Ethernet  MP3  NFC  Final source code will be opened through github4 OSHWCON 2012 (Madrid) © Javier Montaner 2012
  5. 5. Project Scope  Build an Arduino-based device that plays internet streaming radio  Use simple touch user interface (NFC/RFID) to select radio stations  Learn about open HW  Share results with the community  A similar concept has been explored by Jordi Parra (@zenona) in its SpotifyBox project: http://postscapes.com/spotify-box5 OSHWCON 2012 (Madrid) © Javier Montaner 2012
  6. 6. Bill of Materials (BOM)6 OSHWCON 2012 (Madrid) © Javier Montaner 2012
  7. 7. Arduino Mega 2560  256 KB  54 Digital I/O Pins Can be implemented on Arduino UNO but memory and available PINs start being a problem http://arduino.cc/en/Main/ArduinoBoardMega25607 OSHWCON 2012 (Madrid) © Javier Montaner 2012
  8. 8. Arduino Ethernet Shield  Based on Wiznet W5100  10/100 Mb  TCP/IP library  Includes micro-SD card slot  Controlled through SPI http://arduino.cc/en/Main/ArduinoEthernetShield8 OSHWCON 2012 (Madrid) © Javier Montaner 2012
  9. 9. Sparkfun MP3 Player Shield  Based on VS1053B  Plays Ogg Vorbis/MP3/ AAC/WMA/MIDI  3.5mm stereo output jack  Includes micro SD card slot  Controlled through SPI https://www.sparkfun.com/products/106289 OSHWCON 2012 (Madrid) © Javier Montaner 2012
  10. 10. SeeedStudio NFC Shield  Based on NXP PN532  Support Reader, Card emulation and Peer to Peer  PCB printed antenna  Controlled through software SPI http://www.seeedstudio.com/depot/nfc-shield-p-916.html10 OSHWCON 2012 (Madrid) © Javier Montaner 2012
  11. 11. Total Cost of Prototype in € Component Price Arduino Mega €41 Ethernet Shield €29 MP3 Shield €32 NFC Shield €24 Speaker €15 Total €141 This cost is not suitable for a commercial product but it is extremely cheap to build a working prototype12 OSHWCON 2012 (Madrid) © Javier Montaner 2012
  12. 12. Key Learnings14 OSHWCON 2012 (Madrid) © Javier Montaner 2012
  13. 13. General  Open HW community is very active  Quality of documentation varies greatly but people are usually helpful and reactive  Google is a great source of (hidden) information  Arduino is a learning and prototyping tool. There are definitely more powerful and cheaper platforms but almost any technology that you can think of has already been integrated in/through an Arduino shield  There are other HW solutions from alternative vendors for all the elements in the BOM15 OSHWCON 2012 (Madrid) © Javier Montaner 2012
  14. 14. Project Status & Next Steps23 OSHWCON 2012 (Madrid) © Javier Montaner 2012
  15. 15. Current Status of the Project  I have built a working and stable prototype  It plays32kbps streams from internet  It works with NDEF formatted (NFC Forum) Mifare Ultralight tags (type 2)  I use Android application to write the content of the tags  Arduino script size is around 34kB (including all the libraries)24 OSHWCON 2012 (Madrid) © Javier Montaner 2012
  16. 16. Next Steps?  Clean up all the code and publish it in github  Replace the Ethernet shield by the new Arduino WiFi shield and try to play streams with higher bitrates  Integrate AM/FM Radio shield  Improve the NFC library to support other types of NFC Tags  Implement Card Emulation and/or Peer-to-Peer mode in NFC library to interact directly with an Android application over NFC  Port the solution to an Android USB dongle (can be bought now for less than €50)25 OSHWCON 2012 (Madrid) © Javier Montaner 2012
  17. 17. More Info Javier Montaner (Madrid, Spain) montanerj@yahoo.com @tumaku_ (twitter)26 OSHWCON 2012 (Madrid) © Javier Montaner 2012

×