Hello!

Welcome to my random collection of LED projects. Hope you find something interesting. If you make the pong clock send me a pic, or if you’re feeling really generous my bitcoin address is… 1JPdDk4DiKYDsjTYghHatJp1FFQsv6bpEv

Cheers!

Nick, London

34 thoughts on “Hello!

  1. Hi

    Came across your site and the Pong Clock, only problem is that I have the older LED Matrix boards. So………..any plans to release code for working with these boards.

    Thanks

  2. Hey i’m new to Electronic circuiting and I would like to know where to begin. I have a strong want to build and create but I have no idea where to begin. Can you help me??

    • I would look at some of the sites that do kits – e.g. sparkful electronics. Those will give you a good introduction.

      If you like the idea of programming, look at the Arduino kits. There are lots of interesting starter kits that let you do all sorts of cool things. Good luck!

      Nick

  3. Hey nick,
    I got my sure-16X24 board working. But the problems is that to turn on the single display i need to select both cs1 and cs2 dip switches. I think there is some thing wrong in my code. Can please send me your code. So that I can learn my mistakes. My id is dudedevil100@gmail.com

    Regards,
    Pratik .R. Bhagat

    • Hi Pratik, you can download my code from this pong clock page at the bottom if you want to have a look. Or else there are demos on the arduino site if you search for sure electronics.

      Nick

  4. hey, i was searching the web and came across this awsome pong clock so i decided to spend the money and do all ur steps but im confused im getting
    pongclock_v2_27.cpp:177:1: error: unterminated #ifndef
    pongclock_v2_27:50: error: redefinition of ‘class Button’
    C:\Program Files\Arduino\arduino-0022\libraries\Button/Button.h:32: error: previous definition of ‘class Button’
    pongclock_v2_27.cpp: In function ‘void gettime()’:
    pongclock_v2_27:142: error: expected `}’ at end of input

    when i try to compile can u please help me fix

    thanks alot it is so cool i cant wait to show it off

  5. Hi Nick,
    I’ve just received the displays for PONG from China and want to start this very interesting project soon.
    While compiling I got some nice messages like:

    In file included from pongclock_v2_27.ino:20:
    F:\Daten\Privat\Arduino\arduino-1.0.4\libraries\DS1307/DS1307.h:51: error: ‘boolean’ has not been declared
    F:\Daten\Privat\Arduino\arduino-1.0.4\libraries\DS1307/DS1307.h:52: error: ‘boolean’ has not been declared
    F:\Daten\Privat\Arduino\arduino-1.0.4\libraries\DS1307/DS1307.h:53: error: ‘boolean’ has not been declared
    F:\Daten\Privat\Arduino\arduino-1.0.4\libraries\DS1307/DS1307.h:57: error: ‘byte’ has not been declared
    F:\Daten\Privat\Arduino\arduino-1.0.4\libraries\DS1307/DS1307.h:58: error: ‘byte’ has not been declared
    F:\Daten\Privat\Arduino\arduino-1.0.4\libraries\DS1307/DS1307.h:59: error: ‘byte’ does not name a type
    F:\Daten\Privat\Arduino\arduino-1.0.4\libraries\DS1307/DS1307.h:60: error: ‘byte’ has not been declared
    F:\Daten\Privat\Arduino\arduino-1.0.4\libraries\DS1307/DS1307.h:63: error: ‘byte’ does not name a type
    In file included from pongclock_v2_27.ino:21:
    F:\Daten\Privat\Arduino\arduino-1.0.4\libraries\Button/Button.h:34: error: ‘LOW’ was not declared in this scope

    Any idea ??

    If PONG is working (with red LEDs) I will put it into a nice case and sure I will send you pictures.

    Best regards from good old and cold Germany

    • Hello from sunny London… I know, who would have thought!

      Have you got the right version of the arduino software… From the instructions:

      “Important! The pongclock code is not yet compatible with the latest version of the Arduino IDE called 1.0. To get the pongclock software to work, you need to download version 0023 of the Arduino IDE software.”

      Nick

  6. Hello Nick,

    Thanks for your support, I should have found it out by myself because it’s written in your project file…
    It’s working now and I will try to transfer it into German (month names etc.). Red display is looking great, I will put it behind a coloured Alu plate with red glass as front pane.

    However I did not yet find out how to set time, date or so. Maybe with my 61 years I’m a little bit too old. Can you give me a hint…
    I’m hardware professional but regarding arduino programming it’s only my 4th project.

    Regards
    Dieter

    • Hey, glad it’s working! To set the clock go to “set clk” in the menu, then use one button to advance the day, hour etc and the other button to step through the items to set. It could be better I admit!

      • Hi Nick,

        I promised to send you pictures of my Pong Clock construction. It’s working since several weeks and looks great.

        As you will see I have used two red acrylic plates. One holds the display and the other stuff and the other plate covers the srews. Recently I have closed the gap between the two plates by clear tape to protect the plates from dust inside. It looks better in reality than on the images.

        Thanks again for that great project

        Dieter

  7. Hey Nick,
    I built my own Pong Clock but am having some troubles setting the time!! Any help would be appreciated!!! Please Help!!!!
    -David

      • At first I omitted the coin cell battery just because I couldnt find the right one and decided that it can work without it. However yesterday I bought the coin cell and holder and its still not working. For some reason every time I set the time, it always goes back to the default setting of 00:00 or 12:00 depending if I set it on the 12 hour or 24 hour time. Ive racked my brain trying to think of a solution to why its not working. I know that 1 and 8 are opposite legs of the RTC chip and there was an issue with that in your diagram and I caught that so I know that’s not the problem, I just have no idea what it could be. Is there something you have to do in the coding before using it??
        -David

      • Yes you do need the battery – a few other people have tried without it and it doesn’t work.

        Does the clock time change at all? If you don’t set it, it should just work from 12pm on, even if you don’t do anything.

        If you don’t see that, and if the LED on the arduino on pin 13 doesn’t flash every second, you’ll know there may be a problem with the RTC chip in some way. If you look at it with the semi circle to your left then pin 1 is on the bottom left. Check all your soldering too,

        There is nothing you need to do change in the code either, and you don’t need to program the RTC in any way – the main code does that in setup.

        Another thing to try is to see if the power supply is dodgy. Try a different one, or try unplugging one matrix so it draws less power. Someone else had funny results and is was because of this.

        Good Luck!

      • For some reason I couldnt reply to your comment below so I really hope you see this one!!! Also I used several different RTC chips none of which worked, but I noticed that the light near Arduino pin 13 isnt blinking, it just stays lit. Anything you could think of to fix it??

      • Strange, I’ve never seen that behaviour reported before and am not too sure what could cause it. Try Dieter’s suggestion.

      • Well, in the beginning I faced similar problems. I changed the RTC and even the 32 kHz quartz without results. In the end I found out that the RTC needed any signal via the I2C lines (i.e. pressing a key) to start generating a pulse on the quartz inputs. This may take a while, but you will only have to do it once (because of the battery).

        Regards

        Dieter from Germany

      • So Dieter, Im a little confused on what to do, there is a key I have to press in order for the RTC to start working?? What exactly should I do??
        -David

      • Hi David,

        it was trial and error with my Pong clock. I remember however that the RTC only started to work after it received any signals from the Arduino. And even then it took time.

        Dieter

      • Hmm, that doesn’t sound right, it should just work straight off the bat.

        If the LED isn’t flashing it’s not getting time from the RTC. Could you hook the RTC up on a breadboard to check it? That would eliminate bad soldering etc.

      • in case it didnt work I used a breadboard from the start instead of soldering, its still not getting signals

  8. Hi,
    I had a problem a few months ago with my pong clock about not setting the time right and I fixed it! but now the time wont change! I dont know why! I read the troubleshooting and comments to see if I could get any ideas and I noticed the LED next to pin 13 isnt flashing and I dont know how to fix it. The RTC seems to be wired up correctly but I dont know what else I could do. Any Ideas????

    -David

    • Hey,

      Hard to say without looking unfortunately. Check the wiring, check the crystal is connected and the battery too – it wont work without those. Also try a different power supply, I’ve heard of funny behaviour with bad PSU’s.

      Nick

      • Hey Nick,

        So im pretty sure the wiring is all right and the crystal and battery are definitely hooked up. Besides a wall outlet and a computer USB, theres no other power supply I can really give it and it still doesnt seem to work. Is there a specific crystal oscillator I need?? Cause honestly I just picked one randomly off the internet to order…

        -David

      • Hey,

        Yes you need one that works with the DS1307 – if it never ever worked that could be a reason why.

        If you google DS1307 you should be able to find the correct crystal specs. Otherwise it’s hard to know what to suggest without having a look.

        Nick

      • Hey david,

        when I started with the clock construction I faced similar experiences. I used 2 SMD quartzes with nice gold plated housings which didn’t let the clock IC swing. Then I tried a very simple and cheap quartz which you can find in any wrist watch and it worked.
        Check the datasheet of the DS1307 in which you will find which capacity the quartz should have and choose the quartz accordingly
        It will surely work with the right quartz and you will not have to ajust the frequency, which we did 20 years ago with extra trimmers ;–))

        I ordered my quartzes on http://www.reichelt.de which is my favourite dealer. At least you will find any kind of specs there. I hope they have their website in English…

        Regards from Bavaria in good old Germany

        Dieter

      • Hey guys, thank you so much for all the help…I ordered a 32 kHz crystal and it came and i tried it out and it works!!! I am so happy thank you guys for everything and I would have never been able to figure this out without you guys!!!

  9. Hi David,

    Congratulations and well done ! Sometimes the cheapest crystal is the best…

    Best regards
    Dieter

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s