New gadget: Wireless speaker

March 25, 2017

new-gadget--wireless-speaker  Facebook  Twitter  Google +  
  vidposter.jpg

 When amazon echo first released at 2014, i impressed with it's shape and unique reflex port design at first sight. The other features such as voice recognition & cloud services looks like chef's special sauce of the meal. useless, tastes bad but increases the price anyway.

 
 The motivation to develop an alexa replica started with release of the orange pi zero at november 2016, it's in a matchbox dimensions, powerful enough to process 4k video and ridiculously cheap ($10 was on first release, even $7 today)

 I purchased the board, installed armbian and conducted few tests with shairport and got acceptable results. Sound quality is exactly what i hear at pc, got 5-10 ms delay however it's still faster than speed of sound when considered we're going to use this thing at 20 meters away. By the way shairport is reverse engineered port of apple's airplay protocol to stream audio between iphone and mac. original git repository seems dead but it's fork shairport-sync still active today.
 
 Case design
 I was considering a shiny chrome pipe at same dimensions of amazon echo then decided to go with aluminium in case if i need to cut & drill with household tools. Processing the metal is whole another story, an instructable and a video available if interested.

 Audio Output
 Used 3W PAM8403 module as audio amplifier, luckily found two speakers on my scrap box with in exact power. Glued the woofer into a sink pipe to the imitate alexa's sound system and attached tweeter to bottom. There is a lot of teardown videos on the web, This article most clear one that described how original product works.
 
 Software
 Apple's devices still supporting airplay today, I'm using tuneblade for windows and using Allconnect for the android. Also another app called AirReceiverLite allows to stream from pc to android.

 Challenges
 + First problem was the power supply, i had to use two separate 5v-2a cellphone charger for audio amplifier and orange pi. eliminated the emf based resets and audio noise problem by dedicated power sources.

 + Wifi connectivity was another issue, orange pi's embedded chip XR819 nothing but a placebo. Easily affected by interference and got high latency. I used my pc's wifi dongle TL-WN727 which is dramatically changed the visual look. Armbian has limited support on third party devices, you have to find driver's source code and compile from scratch.

 Todo
 Currently attached a microphone array for a possible voice recognition feature, but that's shifts things to a fulltime job from a hobby. A pir and adc module on the shipment for the playing audio only when someone exists on room, takes couple minutes to implement when it's arrived.

 Cost Table
 + Orange pi zero: $10
 + 5mm aluminum pipe: $8
 + PAM8403 amplifier: $3
 + 2x 5v2a cellphone charger: $5
 
 Wifi dongle and speakers was household items but let's give $10 to them, so total cost to me $36 plus 5~8 business days to work on.
Alternatively, working on a freelance job about two weeks and purchasing an airplay compatible speaker also an option.

 
 watch at youtube if having problems with video

  Fuck Spam
jT0BInVGyY8dWph6@Or6pTnXU.gov
7hIb8cwk2zDO3m9G@xwiOy23J.net
lXajpY1nVwtI90Pk@3kLJQ8hu.com
pzN16KWVMcobdAUj@NZz9nErG.net
CIhUJryH68u3Rkep@5odYbA1L.gov
YxjqvBJLM5oThAUs@dLPeoajq.org
uNWEdJC2UrZYpk50@4NhpOoHz.gov
d7N8HURoOYImkS4s@zDP3n5BL.org
sZGOigvFIuN4rjdB@0DV9fpJW.net
LmotrlJO19sDuPwa@smn05xK6.net
1qGXoj2FfKi9muBs@CQlVmcOj.gov
WJn91aAV4RdfrIhw@mwXcDRCx.org
gUpbRLIXA6PN1jhe@0xUQ4h6D.gov
tlb5kiQxO3eyPgaw@fMUZm6jw.org
Q4Hp3RczegkjsIx5@zhI3ZTAx.org
wOETp2tZvndhKDyI@RGbkJfQw.gov
MlF6Kxnmd3isIOJ5@pgVXyKC4.com
DQOPmojlx5NiB1Sp@mVaEdW5s.com
sC8VzYNgkGbS0n5Q@M32gsuJU.org
clapxzBYHk8Ojetf@WnmfAzaY.org
TOfmCA0Q19n7GpsY@6uZW1jA5.com
JVbGWNu04qRSOeK2@8ZWqFcnM.net
3YKDsS2Pc6COrb5h@9U4EwM7c.com
UOrqX2oQsvieWwMm@qxg74lEY.com
zuQnV1kXvogWqU2d@zSBbu7p4.gov
wDpVHEUXTPamuZqQ@WjytiXB9.net
maE81qp5DuwrRfdy@8RXmbQvU.gov
djvpAJOUzMk3Xfyi@6UcRSpH5.net
wVs8uBGpijStJzQq@cLekD6or.net
Febsga1Lmh2tA9Md@0x3rt2b6.com
EIFphP0nvRicA67o@f6uLKZFk.gov
No21kW7gbKePStdB@S2sdmILF.net
ElGdkWDUraVfwvZA@leZUJ28G.com
mqyic8HkndRPAIvQ@x6ehNLYi.gov
Ny3DxdpFP6JKZBCk@Y6mw9o0l.org
HNum1gtrXcBoWEFC@gjo80RKQ.org
iPv3ElcaOoCAnWZB@YAoXupyD.com
O0JXtU5TEweDZyiL@58reo2Ov.org
5NEcMw7WutfqUYn2@501YJ6dy.net
hzNyD8nJZv9PmMLB@2pCYPGqw.com
phy1BzgkAYTKJQPd@jbaBRAEd.org
9df7SiCpoN2kyvHJ@sVYkLT9W.gov
lXxQgVYe5Bo3AMR2@JZthKpFy.com
colzkfF2IiYMWSHK@7nlo0fIS.gov
JS3W2IpV6DimqtHu@WQeq2Tgf.com
IgY7kdGuBJ5jhw3R@Tbh1lqxj.gov
SqDebZvQdrO9sWxG@rAtkJZXe.net
NtPBhEqrjdRJbmU8@DsQey0WH.org
  Most Watched

Fail of week: WS2811 VU-Meter

after the few commercial projects, i got some "me-time" at last. i sold all of my geek toys and some trash on ebay except few 8 Year, 3 Month ago


Strange signals on radio ocean

2012 was SDR year. some guys (Antti Palosaari ...

Project Judith - First hardware connection tests

trying to make a connection between my virtual assistant "Judith" and a PIC16F84 based 8-bit relay interface. first step to pc b...

New gadget on desktop: Air Quality Sensor

past year i was working with a material named ...

New gadget: wireless sensor station

After the spending months to commercial projects, taken few days of break and created a new sensor node for home network. it's s...