+ All Categories
Home > Technology > Arduradio oshwcon2012 20120922

Arduradio oshwcon2012 20120922

Date post: 14-Jan-2015
Category:
Upload: javier-montaner
View: 550 times
Download: 6 times
Share this document with a friend
Description:
Presentation at OSHWCON 2012, Madrid
Popular Tags:
17
OSHWCON 2012 (Madrid) Javier Montaner [email protected] @tumaku_ ArduRadio: Playing Internet Radio with Arduino
Transcript
Page 1: Arduradio oshwcon2012 20120922

OSHWCON 2012 (Madrid)

Javier Montaner

[email protected]

@tumaku_

ArduRadio:

Playing Internet Radio with Arduino

Page 2: Arduradio oshwcon2012 20120922

OSHWCON 2012 (Madrid)

Agenda

Introduction

Bill of Materials

Key Learnings

Project Status & Next Steps

© Javier Montaner 2012 2

Page 3: Arduradio oshwcon2012 20120922

OSHWCON 2012 (Madrid)

Introduction

© Javier Montaner 2012 3

Page 4: Arduradio oshwcon2012 20120922

OSHWCON 2012 (Madrid)

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 github

© Javier Montaner 2012 4

Page 5: Arduradio oshwcon2012 20120922

OSHWCON 2012 (Madrid)

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-box

© Javier Montaner 2012 5

Page 6: Arduradio oshwcon2012 20120922

OSHWCON 2012 (Madrid)

Bill of Materials (BOM)

© Javier Montaner 2012 6

Page 7: Arduradio oshwcon2012 20120922

OSHWCON 2012 (Madrid)

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/ArduinoBoardMega2560

© Javier Montaner 2012 7

Page 8: Arduradio oshwcon2012 20120922

OSHWCON 2012 (Madrid)

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/ArduinoEthernetShield

© Javier Montaner 2012 8

Page 9: Arduradio oshwcon2012 20120922

OSHWCON 2012 (Madrid)

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/10628

© Javier Montaner 2012 9

Page 10: Arduradio oshwcon2012 20120922

OSHWCON 2012 (Madrid)

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.html

© Javier Montaner 2012 10

Page 11: Arduradio oshwcon2012 20120922

OSHWCON 2012 (Madrid)

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 prototype

© Javier Montaner 2012 12

Page 12: Arduradio oshwcon2012 20120922

OSHWCON 2012 (Madrid)

Key Learnings

© Javier Montaner 2012 14

Page 13: Arduradio oshwcon2012 20120922

OSHWCON 2012 (Madrid)

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 BOM

© Javier Montaner 2012 15

Page 14: Arduradio oshwcon2012 20120922

OSHWCON 2012 (Madrid)

Project Status & Next Steps

© Javier Montaner 2012 23

Page 15: Arduradio oshwcon2012 20120922

OSHWCON 2012 (Madrid)

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)

© Javier Montaner 2012 24

Page 16: Arduradio oshwcon2012 20120922

OSHWCON 2012 (Madrid)

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)

© Javier Montaner 2012 25

Page 17: Arduradio oshwcon2012 20120922

OSHWCON 2012 (Madrid) © Javier Montaner 2012

26

More Info

Javier Montaner (Madrid, Spain)

[email protected]

@tumaku_ (twitter)


Recommended