What? a Music Player Without Speaker Wires !?

by David_Lin in Circuits > Wireless

694 Views, 5 Favorites, 0 Comments

What? a Music Player Without Speaker Wires !?

player_02.jpg
_20180415_115648.JPG
A player without speaker wires!

i am wondering about the speakers' wires.....

but how can i remove all the wires and keep rooms

clean and no wire but with fun music.

the other thing is i don't wanna to put the old SD cards

and the old PI ZERO(s) to waste bin .

Protype With UNO

UNO.png
DSC_0898.JPG

Shrink It With Nano

arduino_nano.png

Finished With Nano

DSC_0133.JPG
player_02.jpg

1) write some music into SD-card.

2) power it on and play.

ps : i put SD card break kit and nano back-to-back !

Remove the Speaker and Wire

DSC_0900.JPG

but how?

what you need is to put arduino away.

Integrate It and Rebuild It

Raspberry-Pi-Zero-web.jpg
_20180415_115648.JPG

1) REMOVE ANY THING, besides the old 1GB SD card

2) insert it into a card reader

3) FORMAT this SD card.

4) download the tinyCore OS to your computer.

5) write the tinyCore OS onto it.

6) insert it into the old pi zero.

7) boot it up and set up.

ps : the tinyCore OS will take place less than 65 MB ON SD card.

What Does a TinyCore Look Like

tiny-core.jpg

What is Tiny Core?
First, if you don't know what Linux and distributions are,

you should read some interesting and

conflicting definitions of Linux.

Then, read about distributions. In short, the Tiny Core

distribution is like a customized version of the Linux kernel and other tools.

download it here:

tiny_Core_linux

how to install it (Tiny Core)?

how to install Tiny Core

Download Pifm

tinyCore01.png

1) download pifm from GITHUB.

2) use g++ to compile the pifm.c for your zero.

g++ -O3 -o pifm pifm.c

3) then you can put a wire at GPIO4 as an Antenna !

4) receiving music from anywhere without wires including mobile.

ex : sudo ./pifm sound.wav 87.5 22050

then use a RADIO

or cell-phone turnning to 87.5MHz could hear a stereo sound.wav

Test Run

tinyCore01.png
DSC_0904.jpg
A player without speaker wires!

ps : the GPIO4 is board.pin7, and the files should be 16 bits in 22K format.

i write many command into a pi0fm.c

and use gcc to compile the pi0fm.c into an executable,

which including ex :

system("sudo ./pi2fm 001.wav 87.5 22050");

system("sudo ./pi2fm 002.wav 87.5 22050");

system("sudo ./pi2fm 003.wav 87.5 22050");

system("sudo ./pi2fm 004.wav 87.5 22050");

system("sudo ./pi2fm 005.wav 87.5 22050");

...

...

.... and so on.

HAVE FUN !

Done

Player without speaker wires

HAVE FUN !