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 What is the problem?
  • 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 33 replies
  • Answers 3 answers
  • Subscribers 394 subscribers
  • Views 2141 views
  • Users 0 members are here
  • flickering
Related

What is the problem?

rishi2628
rishi2628 over 10 years ago

I have made the following circuit, can anyone please tell me why the seven segments are flickering. I have used multiplexing, don't tell me it is because of that. I have tried it prototyping on an arduino uno and it worked perfectly.SO its not because of the multiplexing!! and its not the code. I think something is interfering or resetting the microcontroller because it does not store the values on the seven segments.The motors on the right are not connected. Any clue what is wrong?

  • Sign in to reply
  • Cancel

Top Replies

  • balearicdynamics
    balearicdynamics over 10 years ago in reply to rishi2628 +2
    RIshi, mcb1 told that there is a power problem NOT because the 7805 is a crap component but because, with a reasonable difficult we are trying to decode your info and seems that your schematic has issues…
  • mcb1
    mcb1 over 10 years ago in reply to balearicdynamics +2
    rishi2628 The syntax highlighting that Enrico is referring to is a little hidden. It's a shame there isn't a simple icon, but we struggled to get it added, so it's better than nothing. past you code, then…
  • clem57
    clem57 over 10 years ago +2
    Why do you automatically discount multiplexing? Just because it worked one place does not mean it works in ALL places... You could have affected other wires while hooking up from the old Uno. Many factors…
  • rishi2628
    0 rishi2628 over 10 years ago

    image

     

    here is the working, and the blinking glitch

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • michaelkellett
    0 michaelkellett over 10 years ago

    Can you post a schematic and the code as well as the video.

     

    (BTW the video is "currently being processed" according to E14.

     

    MK

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • clem57
    0 clem57 over 10 years ago in reply to rishi2628

    No video still and nothing to look at. Post information please....

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Robert Peter Oakes
    0 Robert Peter Oakes over 10 years ago

    Video did not process correctly, you need to re-upload it and verigy it works before we can help

     

    Posting the schematics and scketch would also help

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

    This is the circuit ................. i am trying to upload the video........it will be up soonimage

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • rishi2628
    0 rishi2628 over 10 years ago in reply to rishi2628

    Try to open the image in new tab for a magnified image. Let me make it easy for those who do not understand the circuit...................... the top row of push button is for the each seven segment respectively. The bottom row is reset and set. Now i am providing 5 volts using 7805 ic and a single 9v battery. This battery is driving the microcontroller and 2 pwm servos that will be connected at pins  16 and 17. As soon as i give power the 7 segments are on and they work ok but after a while they start to flicker and the values stored on the 7 segment become 0(the default values). My guess is that the microcontroller is some how resetting or the 7805 is not providing a continuous 5 v supply. Any clue what is happening?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • balearicdynamics
    0 balearicdynamics over 10 years ago in reply to rishi2628

    Frankly as for what I see in your circuit, I think none of both. I use 7805 and is you have done the circuit well it is very stable and also can support a reasonable temperature variation range. Thesame for the 328p

     

    The first question instead that rises is: what kind of device are you using for the 7segments display? When I made the project for this circuit (see link here ) I had several problems with the LEDs. I am asking about this because there are two kind of LEDs one is with positive logic and one with negative logic. The last, I suggest to use (but this is my approach to circuitry) if possible a shift-out register (latched, like the 74HC595 family) saving a lot of micro controller pins.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • balearicdynamics
    0 balearicdynamics over 10 years ago in reply to rishi2628

    Again ... I am not an expert in circuit interpretation but I don't see any GND connected to the LEDs...

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • rishi2628
    0 rishi2628 over 10 years ago in reply to balearicdynamics

    the segments have common anode

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • rishi2628
    0 rishi2628 over 10 years ago in reply to balearicdynamics

    i assure you they are grounded and are working

    • Cancel
    • Vote Up 0 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