20150622

 

 

It's the last week of the Enchanted Objects design challenge. The Enchanted Player plays, the blogs are blogged.


I'm closing with this video. Thank You All!


 

 

What's That Enchanted Player

 

A Perpetuum Ebner turntable from 1958 is controlled by modern technology. Microcontrollers measure the table speed and control the motor.

The audio is sampled and run through Fast Fourier Transform to turn it into chunks of the audio spectrum.

A light organ is hidden inside the belly of the turntable. It uses the spectrum info to flash Bass, Mids and Highs LEDs.

It's motorized, and only appears when there's music playing.

The audio spectrum is published to the cloud, where other applications can tap into it.

Uses Arduino UNO, Arduino Yún, Infineon Motor Shield, Arduino Proto Board

 

tabledrawing.jpg

 

The remote light organ plugs into the cloud to receive the spectrum info published by the player.

Because it uses WiFi, it can operate wireless if we desire to do so. Audio is again split in H/M/B.

This time the LEDs are driven by the RGB shield.

Uses extra Arduino Yún, Infineon RGB LED shield

 

sensorprinciple.jpg

 

The SAMA5D4 is plugged into my home network and also subscribes to the spectrum info. The Xplained Ultra board logs the received info to the console.

A great starting point to build a spectrum analyzer or a graphic spectrum display if screen is added.

All code and libraries are in C, cross-built on a Windows platform.

Uses the SAMA5D4 Xplained Ultra, GNU Toolchan and the Eclipse Paho client libraries.

 

What Happened

 

I've turned a defect 1950's treasure into a working turntable - without making a single scratch or permanent change.

All content from the challenge is used. Both Infineon boards, the Yún, the SAMA5D4, the UNO and the Arduino protoboard.

The servo motor - that didn't make it into the final design, has been featured in two technical blogs.

For the speed measurement and motor steering I've made a custom PCB. I added a single transistor pre-amp - an excuse to show that a very simple electronics design can be valuable.

 

large_i.png

I've made detailed drawings of the design concepts. I've also tried to use graphics to better explain processes and to lighten up the posts.

Photos - plenty of them, including more than 20 oscilloscope captures.

 

schema_kicad.png

 

Videos, plenty of those too. My youtube stats say that I've published 9 videos. That doesn't include the smaller ones that are embedded in the posts but don't tell a story on their own.

40+ blog posts.

There was a very deep dive into the SAMA5D4, and how to develop for it in C. That has resulted into 8 additional side posts on working with this board and reviews.

I've told the History of the Perpetuum Ebner company until World War 1.

dual 1010

 

Going Public

 

All my code and design files are published in the blogs, and where I used someone else's work, I've linked to that.

I've made my plans and progress (sometimes regress) public - including failures, mishaps and flukes.

Whenever I worked with the support teams of the devices, I've shared my experience - and links to the support portal items - to my story.

 

 

perpetuum ebner musical 1

 

And I enjoyed all of this a lot - and I have learned so much on the road.

If you want to check how good the turntable actually sounds, check out the video at the top of this post.

The soundbites you hear at the start and end are directly taken from this project; no tricks - no filtering.

 

You'll hear Eddy Romy telling Swedish Stories (in Dutch ) from this childhood record (Monopole 719 - Belgium, 1971)

enchanted objects enchanted player

 

 

 

 

Table of Contents
Chapter 1: Fix the turntable
1: Perpetuum Ebner Musical 1
2: A Time to Kill and a Time to Heal
3: Preparation for Motor Drive
4: Motor control with Infineon Motor Shield and Arduino UNO
5: Turntable speed sample testbed with Arduino UNO
6: Turntable Speed Sensor design
7: Control Theory - End of Chapter 1
Chapter 2: First Enchantments
8: Digital Light Organ Enchantment
9: Autonomous Servo Lift
10: SMD Time - Solder the IR Speed Sensor PCB
11: Yelp - who can Help me to Compile and Run my First SAMA5D4 C Program
12: Son et Lumiere - End of Chapter 2
Chapter 3: Taming the Board
13: Breakthrough - Run my own C++ Program on the SAMA5D4
14: Digital Light Organ Input Buffer
15: SAMA5D4 Blinky
16: Scope Creep
17: Audio Sampling with 16-bit ADC ADS8343
18: Sending Files to SAMA5D4 over USB
19: Port my Light Organ from Arduino to SAMA5D4
20: Fast Fourier Transform on the SAMA5D4 - End of Chapter 3
Epilogue: Reaching for the Clouds
21: Right-Sizing my Plans
22: My Own C++ Buffered Sampler on the SAMA5D4
Interlude
23: Building In the Motorized Light Organ
24: Up to the Clouds with Yún
25: Publish or Perish
26: Turntable Finished
Stretch & Boni
Bonus 1a: Remote Light Organ with WiFI pt. 1
Bonus 1b: Remote Light Organ with WiFI pt. 2
Grande Finale: Paho MQTT Client on the SAMA5D4
Related blog
Vintage Turntable repair: Can I fix a Perpetuum Ebner from 1958
Review 1: Atmel SMART SAMA5D4 Xplained Ultra Unboxing and First Steps
Review 2: Atmel SMART SAMA5D4 Xplained Ultra - Building the Libraries from Source
Review 3: Digital Continuous Rotation (360°) Servo Part 1
Review 4: Digital Continuous Rotation (360°) Servo Part 2
Review 5: Atmel SMART SAMA5D4 Xplained Ultra - TCP/IP running
Review 6: Atmel SMART SAMA5D4 Xplained Ultra - LINUX Distro with SSH support
poem
Enchanted Objects: Let's work together to tame the ATMEL SMART SAMA5D4 Xplained Ultra kit
17 bis: Off South...
Review 7: Atmel SMART SAMA5D4 Xplained Ultra - C++ ADC Example on Linux
Review 8: Atmel SMART SAMA5D4 Xplained Ultra - Product Review
Review 9a: Atmel SMART SAMA5D4 Xplained Ultra - Set up ADC Buffer with Hardware Trigger Part 1
Review 9b: Atmel SMART SAMA5D4 Xplained Ultra - Set up ADC Buffer with Hardware Trigger Part 2
Review 10: Atmel SMART SAMA5D4 Xplained Ultra - New Content on AT91.com
1958 Turntable from the Black Forest - Summary of the Enchanted Player Story

 

 

Bye Bye