is it coding or connection problem?

Discussion in 'The Projects Forum' started by haiqal291269, Oct 30, 2016.

  1. haiqal291269

    Thread Starter New Member

    Oct 30, 2016
    4
    0
    I am currently facing a problem where when i upload my arduino program to my mega, supposedly the 3 components in it should work: biometric, rfid and keypad but apparently i can't even use any of them and the fingerprint sensor cannot even be found. When i used another arduino to test it, everything is working fine. So is it a problem with the coding or connection? I can even upload my program here if its needed.
     
  2. AlbertHall

    AAC Fanatic!

    Jun 4, 2014
    5,766
    1,358
    Assuming they are the same arduino model then either the first arduino is faulty or the connections to it were incorrect/faulty.
     
  3. haiqal291269

    Thread Starter New Member

    Oct 30, 2016
    4
    0
    If so, when i add in the code for the biometric, the keypad and rfid is unable to work. Any ideas why is this happening? Is it because there is not enough power going in or is it because of other reasons?
     
  4. AlbertHall

    AAC Fanatic!

    Jun 4, 2014
    5,766
    1,358
    It is impossible to tell from here exactly why it is happening.
    Do other applications work correctly with the problem arduino?

    Do you have the same power arrangement for both scenarios?
     
  5. djsfantasi

    AAC Fanatic!

    Apr 11, 2010
    3,503
    1,266
    Look carefully at the three devices. How do you communicate to them? Is there a conflict (like two devices using the same default pins or default device ids). Using stub sketches, does each work on the Mega? Someone else asked but you didn't answer, is the other Arduino also a Mega? Note there are pin level differences between the Mega and Uno.
     
  6. haiqal291269

    Thread Starter New Member

    Oct 30, 2016
    4
    0
    Yes. All the power arrangements are the same. Everything is connected to a Vcc pin
     
  7. haiqal291269

    Thread Starter New Member

    Oct 30, 2016
    4
    0
    The only thing that is similar between all the devices is the Vcc and Ground. Other than that, all the pin connections are different. We also took note of the pin level differences betweeen the different Arduinos and changed it respectively.
     
Loading...