Tell us about yourself!

Complete Your Profile
  • DanL147 made the instructable Retro Pac-Man Clock2 years ago
    Retro Pac-Man Clock

    I just finished my clock in black. (Notice the Ms Pacman.)

    View Instructable »
  • DanL147 commented on TechKiwiGadgets's instructable Retro Pac-Man Clock2 years ago
    Retro Pac-Man Clock

    Have you been able to locate any documentation or pinout or even model number for this display? I was trying to determine if there was a way to accomplish the backlight dimming for this display, but have no documentation to go off of.

    View Instructable »
  • DanL147 commented on TechKiwiGadgets's instructable Retro Pac-Man Clock2 years ago
    Retro Pac-Man Clock

    The IDE version is 1.8.2See post #3 of this thread https://forum.arduino.cc/index.php?topic=451360.0

    View Instructable »
  • DanL147 commented on TechKiwiGadgets's instructable Retro Pac-Man Clock2 years ago
    Retro Pac-Man Clock

    I actually had to change the "Time.h" to "Timelib.h" in the code to get it to compile correctly. (Apparently there is another library file named "time.h" in one of the other sketches included with the Arduino IDE.)Since all Time.h has in it is a reference to Timelib.h this eliminates the problem.

    View Instructable »
  • DanL147 commented on TechKiwiGadgets's instructable Retro Pac-Man Clock2 years ago
    Retro Pac-Man Clock

    It looks really great!

    View Instructable »
  • DanL147 commented on TechKiwiGadgets's instructable Retro Pac-Man Clock2 years ago
    Retro Pac-Man Clock

    tronicgr,The lip really does dress it up a lot. Would it be possible to modify your case to include the lip on the front plate directly? (I like the added features of your design and plan to print it.) If you don't want to modify the original then maybe an alternative STL file could be supplied, or as you suggested an STL file for just the lip alone.

    View Instructable »
  • DanL147 commented on TechKiwiGadgets's instructable Retro Pac-Man Clock2 years ago
    Retro Pac-Man Clock

    In order to control the brightness of the display the LEDA line of the display which is currently held at 5V would need to be connected to a pin on the Mega2560 that is able to PWM. The pin can be set from 0-255 to control brightness. I do not have the shield yet but I believe cutting a trace on the shield and connecting it to a spare PWM directly would work.The following describes the SSD1289 interface and describes the LEDA line https://forum.arduino.cc/index.php?topic=101029.0

    Here is an article where someone is driving this same display with a Teensy 3.0 Arduino. If we look at the specs for the Mega2560 and the Teensy an they are the same I think we would probably be ok. http://microfabricator.com/articles/view/id/535b65be9aad9d085a000004/interfacing-a-tft320qvt-lcd-touchscreen-sd-to-a-teensy-3-0

    Here is a forum discussion about PWM current for the Teensy 3.0

    The backlight current for the TFT_320QVT is 15 ma. That is well below the limit for the Teensy and the Mega2560.http://www.embeddedartists.com/sites/default/files/docs/3.2_inch_QVGA_TFT_Color_LCD_Users_Guide-Version_2.1_Rev_A.pdf

    View Instructable »
  • DanL147 commented on TechKiwiGadgets's instructable Retro Pac-Man Clock2 years ago
    Retro Pac-Man Clock

    I will implement a function with the light sensor that I have not seen in a clock before. When the alarm is sounding, if the light sensor changes from dark to light then the clock can automatically silence the alarm.

    I will possibly interface a light sensor to the clock to dim the display using the ambient light. The light sensor is $4 and I would just drill a hole in the case to get light to the sensor.https://www.osepp.com/electronic-modules/sensor-mo...

    I just realized that the pixels on the 480x320 screen are not quite square. They are slightly taller than they are wide by a ratio of 1.125 = 1.5/1.3333So if you want the Pacman to be round you would need a new set of images which have more horizontal pixels than vertical pixels. (Currently the images are 28x28 pixels and appear round in the original screen.)

    Did you make the opening for the screen in your 3D printed case the same size as specified in TechKiwiGadgets case specification? (I just want to make sure the printed case will fit the 3.2" 320x240 screen.)

    View Instructable »
  • DanL147 commented on TechKiwiGadgets's instructable Retro Pac-Man Clock2 years ago
    Retro Pac-Man Clock

    If I made a new version of the code how would I make it available. Is there a way to attach it to the comments? (The code itself is far too large to paste directly into the comments.)As well as the screen being distorted due to the aspect ratio being different, if you review the code and how the libraries are used to draw the images on the screen work you will understand why ratio variables will not work.

    In addition to the 320x240 screen, I also ordered the 480x320 screen and sometime I will attempt to make a version of the code that allows using either screen via the settings menu. The biggest problem is that the aspect ratio of the two screens is different 1.333 versus 1.5 and the code has pixel positions all over the code. The best way to make the change would be to increase the number of rows and columns that the Pacman traverses. If you look at the code this make the already complicated code even more so. Each location of the Pacman and Ghost have specific direction options hard coded. Adding more rows and columns adds even more locations to the code. (I think that perhaps a table lookup could be used to consolidate the direction decisions.)

    I just reviewed the code and wanted to say thank you to TechKiwiGadgets as the code was a great deal of work. On that note, for those considering the higher resolution screen realize the changes to the code are extensive.I instead decided to get the recommended 320x240 3.2" screen and focus on improvements such as snooze, additional game features, alternate themes (Mario and DK perhaps), etc. Since the clock can be updated by plugging it into a USB port without disassembly the possibilities of additional features are unlimited.Also, thanks to tronicgr for the 3D STL files as I will be printing the case.The best price I found for the display can be found by searching Ebay for "3.2 TFT Touch Screen LCD Display+ TFT LCD Mega Shield V2.2 for Arduino Mega2560". I bought the ...

    see more »

    I just reviewed the code and wanted to say thank you to TechKiwiGadgets as the code was a great deal of work. On that note, for those considering the higher resolution screen realize the changes to the code are extensive.I instead decided to get the recommended 320x240 3.2" screen and focus on improvements such as snooze, additional game features, alternate themes (Mario and DK perhaps), etc. Since the clock can be updated by plugging it into a USB port without disassembly the possibilities of additional features are unlimited.Also, thanks to tronicgr for the 3D STL files as I will be printing the case.The best price I found for the display can be found by searching Ebay for "3.2 TFT Touch Screen LCD Display+ TFT LCD Mega Shield V2.2 for Arduino Mega2560". I bought the display and shield that was available for a flat $19.99 (no shipping or tax).

    View Instructable »