1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Guide Make your own USB LCD controller!

Discussion in 'Modding' started by ch424, 23 Jun 2006.

  1. Erik

    Erik What's a Dremel?

    Joined:
    8 Oct 2007
    Posts:
    51
    Likes Received:
    1
    Buttons...

    Does anyone have a schematic or a pcb picture using buttons instead of the rotary encoder? I just need to see how to connect the buttons...

    Thanks
     
  2. ch424

    ch424 Design Warrior

    Joined:
    26 May 2004
    Posts:
    3,112
    Likes Received:
    41
    Good job Erik! There's no difference for the buttons - you use the common ground to one pin on each button, then one of the resistors to one button each.

    ch424
     
  3. Erik

    Erik What's a Dremel?

    Joined:
    8 Oct 2007
    Posts:
    51
    Likes Received:
    1
    CH424...

    I might be being a little dense here...I've wired them up the way you say (I think)...LCD Smartie not seing the buttons pressed...any suggestions? Basically, I think I need pictures...
     
    Last edited: 9 Oct 2007
  4. Longbow

    Longbow What's a Dremel?

    Joined:
    9 Oct 2007
    Posts:
    1
    Likes Received:
    0
    Who's selling these controllers pre-built (with the rotary encoder), or at least with all the components?

    Thanks.
     
  5. derbaum

    derbaum What's a Dremel?

    Joined:
    11 Apr 2004
    Posts:
    221
    Likes Received:
    0
    i want to build this with 2x16vfd, as far is i could read it out this thread, the power consumption of a vfd could course trouble? would an external pwr supply, for example my normal atx psu, fix this prob ?
     
  6. One~Zero

    One~Zero What's a Dremel?

    Joined:
    9 Sep 2004
    Posts:
    214
    Likes Received:
    2
    Yes. Just use the ATX to power the VFD and the USB to power the rest of the circuit. Make sure all the grounds are tied together though.
     
  7. Erik

    Erik What's a Dremel?

    Joined:
    8 Oct 2007
    Posts:
    51
    Likes Received:
    1
    Aidlover, not sure if you got an answer, I did not see one so far. I was getting the exact smae error, once I set the fuses in the programmer correctly it worked fine. This is the change I had to make: oscillator setting to HS+PLL HS-USB

    Hope that helps,

    Erik
     
  8. Erik

    Erik What's a Dremel?

    Joined:
    8 Oct 2007
    Posts:
    51
    Likes Received:
    1

    Latvian3Dman,

    I had the same issue, this is from the plugin page: You will also want to change your refresh interval (on Screens page) and dll check interval (on Misc tab) rate as low as possible (12 is perfect, 25 is v.good, 75 fair...).

    Once I made the changes, it was smooth...very nice.

    Hope this helps.
    Erik
     
  9. Latvian3Dman

    Latvian3Dman What's a Dremel?

    Joined:
    25 May 2007
    Posts:
    14
    Likes Received:
    0
    Thank you for hints/suggestions, Erik! I will try that. :cooldude:
     
  10. Ismael

    Ismael What's a Dremel?

    Joined:
    10 Oct 2007
    Posts:
    8
    Likes Received:
    0
    Hi!!

    Very good project!
    Next monday I will start to build the project and post some photos.

    The source-code is avaiable for custom modifications?

    []'s
    Ismael
     
  11. Erik

    Erik What's a Dremel?

    Joined:
    8 Oct 2007
    Posts:
    51
    Likes Received:
    1
    Not a problem. I noticed earlier that you were including buttons on yours, did you manage to get them working? If so how did you connect them? Were they momentary switches, normally open? I am having a hard time getting the buttons to work.

    Thanks,
    Erik
     
  12. Erik

    Erik What's a Dremel?

    Joined:
    8 Oct 2007
    Posts:
    51
    Likes Received:
    1
    After Playing around with the wiring, I managed to get the buttons to work. Just a silly mistake...

    Thanks ch424...Awesome project. Would it be possible to get the source code, I would like to add a few more buttons. If possible could you please email it to

    erikjjenkins##at##gmail.com--without the #s.

    Thanks.
     
    Last edited: 11 Oct 2007
  13. Project_Nightmare

    Project_Nightmare What's a Dremel?

    Joined:
    14 Oct 2006
    Posts:
    54
    Likes Received:
    0
    Capacitor Values

    I bought some of the parts for some of my various projects (some of the parts I plan to use on this projects), and I noticed something on the package of my crystal :eyebrow: Looking at the crystal package, it said to use the capacitor value of 20pF :jawdrop: , instead of the values you posted ch424 of 22pF :waah: . Since I didn't buy the 20pF capacitors, would the 22pF capacitors work on all the crystals that have the rated capacitor value of 20pF:confused:
     
  14. Project_Nightmare

    Project_Nightmare What's a Dremel?

    Joined:
    14 Oct 2006
    Posts:
    54
    Likes Received:
    0
    Oops, I can't find how to delete this post that I wrote this text in. Plus the post above it is perfectly fine
     
  15. Stonewall78

    Stonewall78 What's a Dremel?

    Joined:
    21 Oct 2005
    Posts:
    90
    Likes Received:
    0
    The 20pF caps should be fine, really with the tolerance errors they will be very close. At worst you may have the off start up problem. I think for most crystals I have seen anything in the 18-22pf range work fine.
     
  16. Project_Nightmare

    Project_Nightmare What's a Dremel?

    Joined:
    14 Oct 2006
    Posts:
    54
    Likes Received:
    0
    BTW I have 22pF caps, not the crystal's rated 20pF caps:nono:. I read something about that in the PIC's manual, it mentioned that higher caps have alonger start-up time but are more stable than lesser values when used on a crystal:dremel:. Hopefully I wouldn't have any problems:sigh:....Hopefully:rolleyes:
     
  17. Erik

    Erik What's a Dremel?

    Joined:
    8 Oct 2007
    Posts:
    51
    Likes Received:
    1
    ICSP

    I have never used the ICSP function on my programmer. What pins should I connect the leads to from my programmer, and is there anything else I need to connect or disconnect to program this in circuit.

    My programmer is marked with the following connections for ICSP:

    GND - Yellow Wire (ground)
    VCC - Black Wire (Positive power)
    CLK - White Wire (PIN 27 - RB6)
    DAT - Green Wire (PIN 28 - RB7)
    VPP - Red Wire (PIN 1 - MCLR)

    The information between the () are my assumptions.

    Works fine now, I have to disconnect pin 1 from the circuit to use the ICSP.
     
    Last edited: 13 Oct 2007
  18. Erik

    Erik What's a Dremel?

    Joined:
    8 Oct 2007
    Posts:
    51
    Likes Received:
    1
    button = double

    Changed the encoder in the source to buttons, it is now the following:

    Button "A" still RC2 - Pin 13
    Button "B" still RC1 - Pin 12
    Button "S" still RC0 - Pin 11

    Added:
    Button "C" to RC7 - Pin 17
    Button "D" to RC6 - Pin 18

    I added a toggle switch between Pin 1 on the PIC and the power so I can now hit the switch...reprogram the PIC and hit the switch again to test it out.

    Erik
     
    Last edited: 14 Oct 2007
  19. Erik

    Erik What's a Dremel?

    Joined:
    8 Oct 2007
    Posts:
    51
    Likes Received:
    1
    Latest Version board

    I plan on using the toner method to make a few PCBs for this, does anyone have a Hi-res image of the latest board that I can use?

    Thanks a lot,

    Erik
     
  20. Wayneeboy

    Wayneeboy What's a Dremel?

    Joined:
    5 Mar 2007
    Posts:
    28
    Likes Received:
    0
    why dont you download some pcb cad software and make your own.
     
Tags:

Share This Page