element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Arduino
  • Products
  • More
Arduino
Arduino Forum Uno circuit fault finding
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Arduino to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Verified Answer
  • Replies 11 replies
  • Answers 4 answers
  • Subscribers 392 subscribers
  • Views 1556 views
  • Users 0 members are here
  • lcd
  • keypad
  • digital code lock
  • uno
  • newbie
  • question
Related

Uno circuit fault finding

Fevvahz
Fevvahz over 8 years ago

Hi, i'm new to Arduino, and I'm having a few issues with my first project.  I decided to try and recreate the Digital Code Lock project posted on Digital Digest.  I'm struggling with configuring the circuit itself.

 

I've successfully uploaded the code to the Uno, but there's a few issues;

 

-the buzzer sounds constantly.

- the LCD display doesn't power up

 

I've tried to lay the circuit out in a way that's straightforward to follow, but as I say, i'm pretty new to this.  I found the circuit diagram hard to follow, as some of the connections shown differed slightly with my hardware (I tried to get as close to what the original poster listed as possible), especially the keypad.  I suspect I've connected it up wrong, or put a component the wrong way round.  I've dont some fault finding with my multi meter, and power seems to be getting to the components.

 

I've attached some images.  Can anyone tell me firstly if it looks like I've connected it up wrong?

 

Message was edited by: Chris Swann - pictures added.

Attachments:
image
image
  • Sign in to reply
  • Cancel

Top Replies

  • rachaelp
    rachaelp over 8 years ago +4 suggested
    Fevvahz wrote: -the buzzer sounds constantly. It looks from the pictures that you may have 3.3V permanently applied over the buzzer. If you follow the connection of the 3V3 and GND signals from the Arduino…
  • Fevvahz
    Fevvahz over 8 years ago +3 suggested
    Well the beer flowed, and was welcome. Now, its time to conclude my tale.... Firstly, I had the jumpers from outputs 8,9,10 and 11 on the Arduino to the pins 12, 13, 14 and 15 respectively, instead of…
  • gadget.iom
    gadget.iom over 8 years ago +2 suggested
    Hello Fevvahz I cannot see the images you attached. If you could post them on here I'll take a look at the circuit for you. Paul
  • rachaelp
    0 rachaelp over 8 years ago

    Fevvahz wrote:

     

    -the buzzer sounds constantly.

    It looks from the pictures that you may have 3.3V permanently applied over the buzzer. If you follow the connection of the 3V3 and GND signals from the Arduino to your prototype board you will see that you then have a link from GND to one side of the buzzer and from 3V3 to the other side of the buzzer so it will always be on.

     

    Fevvahz wrote:

     

    - the LCD display doesn't power up

    I can only see the display side of the connections but it looks like you are just holding the wires in place with hot glue. I suspect you don't have good electrical connections here so it's not working. Either solder the wires into the board directly or solder in a 0.1" socket strip into it do you can plug into it like you do the Arduino or the prototype board.

     

    I've not gone through the connections in detail to see if they are in the right places.

     

    Best Regards,


    Rachael

    • Cancel
    • Vote Up +4 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • gadget.iom
    0 gadget.iom over 8 years ago

    Hello Fevvahz

     

    I cannot see the images you attached. If you could post them on here I'll take a look at the circuit for you. image

     

    Paul

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • Fevvahz
    0 Fevvahz over 8 years ago in reply to rachaelp

    Rachael,  thanks for getting back to me.  Thanks for pointing that out about the buzzer, i added an extra wire to the 3.3V for some reason, I think the power needs to have come via the transistor.  To be honest I think its that part of the circuit that I need to look at again.

     

    image

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Fevvahz
    0 Fevvahz over 8 years ago in reply to gadget.iom

    Paul - sorry about that - I added them as attachments, but I'll post them inline instead;

    HOvimn8.jpg

     

    Yi209Lg.jpg

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • gadget.iom
    0 gadget.iom over 8 years ago in reply to Fevvahz

    Hi Fevvahz

     

    I'd go back over your wiring for the transistor/buzzer section of the circuit. The schematic shows the base of the transistor being connected to pin A1 of the Arduino through a resistor. I cannot see that connection on your photos, nor can I see a resistor.

     

    As rachaelp has already pointed out, the buzzer seems to be permanently wired to the 3.3V supply, completely bypassing the transistors. And as she also stated, you probably aren't getting a suitable connection from the glue on the LCD header.

     

    Also check the configuration of the wiring around the resistor for your LCD. It looks like you might have interpreted a join at the resistor/VEE junction which is actually not connected to VDD (No dot).

     

    Take a look at these suggestions and get back to us with your findings. image

     

    Paul

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • Fevvahz
    0 Fevvahz over 8 years ago in reply to gadget.iom

    Paul - thanks for your reply.  I did wonder about that resistor, it shows a 220 ohm on the diagram doesn't it?  I'll take another look at it and see how I get on once I've soldered on some 0.1 headers to the LCD screen.  Thanks again!

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Fevvahz
    0 Fevvahz over 8 years ago

    So thanks to your guidance, I ordered some female 0.1 headers, 220 ohm resistors, and took another look at the wiring diagram.  I also tested the LCD display using a spare Uno I now have, using the adafruit tutorial here and can confirm that it does indeed work.  After a little soldering, I think I'm nearly there.

     

    image

    image

     

    The problem I have at the moment is that the LCD display doesn't display text at all, but it does light up its backlight for a second or so.  I had previously successfully  the sketch, and it appears that the keypad etc is working.  If I type in four digits, the buzzer sounds, as if its an incorrect code, and the LCD backlight lights up breifly, but still no text.

     

    So in the adafruit tutorial I used a variable resistor, which I used to adjust until the LCD displayed correctly.  Do you think that this could be the issue causing the screen not to work?

     

    image

    image

     

    [EDIT] Images uploaded.

     

    rachaelp gadget.iom @

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Fevvahz
    0 Fevvahz over 8 years ago

    All sorted! It was a few things, and I'll detail them tomorrow, I'm going for a celebratory beer!

     

    Thanks every so much for all your help!

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • rachaelp
    0 rachaelp over 8 years ago in reply to Fevvahz

    Fevvahz wrote:

     

    All sorted! It was a few things, and I'll detail them tomorrow, I'm going for a celebratory beer!

     

    Thanks every so much for all your help!

    Yay, that's great news! I look forward to hearing what the final issues were. Go enjoy your beer! image

     

    Best Regards,

     

    Rachael

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • gadget.iom
    0 gadget.iom over 8 years ago in reply to Fevvahz

    Great to hear you're all sorted. image

    And thanks for coming back to us with the outcome. It helps not only us but other users.

     

    Enjoy the Beer. image

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
>
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube