Step 8: Assemble Electronics and Test

Now that you have all of your electronics assembled individually, it's time to connect all of your breakout boards to your Arduino, program it and see if it works, this is also a good time to put everything into the main arch assembly to see if there is enough space and also to find the best layout for each of the individual systems.

How you connect the breakout boards to the Arduino is really up to you, the code lets you change the pin assignment easily so this isn't a problem, the only restriction is the SPI pins used by the Ethernet Shield, which I think are pins 50 upwards.

Once all of the connections have been made, connect a power source and power the system up, if all is well then the four individual 8x8 matrices should flash in sequence and the start up message should be shown on the LCDs, you may need to adjust the back light brightness and LCD contrast settings to get the displays looking clear and sharp.

If all is well so far, connect the Ethernet Shield to your network and the Arduino should update the LCDs with information from the web service, if this does not work, you should try connecting a PC via the same Ethernet connection and try to make a call to the web service, if this works then there may be a problem with the Arduino or Ethernet Shield, connecting the Arduino to your PC and looking at the serial messages being sent from the Arduino may help to find the problem in this case.

Now, if this part works try pressing the blue button to access the menu, this should be displayed on the 20x4 LCD. From here there are three options; close the menu, refresh the news and weather data and switch to media mode, selecting this option should clear the LCDs and turn on power to the amplifier modules, the 40x2 LCD should then update with the current song being played on Last.fm.

Pressing the blue button again should show the audio menu, from which the active input can be changed and the song data can be updated from Last.fm, there is no auto update feature for Last.fm as it interrupts the visualisation as it updates, switching the active input should toggle the signal select relay and Bluetooth power relay, during this time the LED matrix should also show a visualisation based on the magnitude of the active audio signal.

If everything works so far then it is a safe assumption that you have done everything right, this stage is a good time to add any other features you want.

Note: I thought I had more pictures of testing the electronics in the arch frame, but can't seem to find them, sorry about that.
cool... i loved the song and album display! <br>Also, the visualization light on the ceiling was awesome...
I can see this becoming the 2012 A-Lister must have addition to the penthouse furnishings.
Wow! Very cool!
Video when you have the chance, tables look great! Does it just tweet and play music? If so, still awesome! Now all you need is some sound reactive LEDs for the music! Maybe filling in the empty area around the electronics in the middle with an Aurora https://www.instructables.com/id/Aurora-18x18
I should get a video done later today that helps to explain the functionality of the table a little better. <br>The table has two &quot;modes&quot;, news and media, in news the LED matrix is blank and an RSS feed is shown on the green LCD and weather forecast on the blue LCD, in media mode the LED matrix reacts to the music, the blue LCD shows the current song (via Last.fm) and the green LCD is blank. <br>I hope to explain this better in a video, but it is difficult as I cannot take the table home as it has to be marked for my A level in Product Design and the Ethernet shield does not support networks that use a proxy server.
Dan - What was the final cost of the project? Excellent work by the way!
Thanks, total cost was around &Acirc;&pound;190, around &Acirc;&pound;60 for the electronics, &Acirc;&pound;75 for the glass surface and &Acirc;&pound;55 for the rest of the materials, plywood etc.
it looks like you have a dead led on your matrix in the test video
Yeah, there were about three that never lit and one that flickered occasionally, I'm not sure if it was because I burned them when soldering or they were just bad LEDs (I checked the polarity and that was fine). <br>This did really annoy me, but I couldn't see any easy way of fixing it.
Nice. When you get a video done you should add it to the intro
Thanks, and yeah I'll put it in the intro.

About This Instructable




More by DanNixon:Arduino Keyboard Learning Lights Attachment Google Play Music Internet Radio (Raspberry Pi and Arduino) Arduino Web Enabled RGB Lighting 
Add instructable to: