Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

My Project is failed #7

Open
zidanjulio opened this issue Jul 18, 2024 · 1 comment
Open

My Project is failed #7

zidanjulio opened this issue Jul 18, 2024 · 1 comment

Comments

@zidanjulio
Copy link

hello bro I made a design using, Pro micro usb, AD9833, PAM8403, 40Khz. but my project was not successful I want to ask:

  1. I did not find pins 11 and 13 on my pro micro module, then I searched the internet about the pro micro schematic. and I replaced them with pins 14,15 as sck and miso. Am I wrong / right?

  2. Is there a positive and negative transducer? how to distinguish it, any solution?

@mcore1976
Copy link
Owner

First of all please use 25kHz transducers not 40KHz. Also please use TPA3116D2 based audio amplifier not PAM8403 (this one is to o weak).

  1. For "original" Arduino Pro micr module here is the link : https://learn.sparkfun.com/tutorials/pro-micro--fio-v3-hookup-guide/hardware-overview-pro-micro
    You can find there that it Serial bus uses pins : 15 SCK, 14 MISO, 16 MOSI, for CS you can use any other pin like A10 for example, but you have to declare it in the source code here : https://raw.githubusercontent.com/mcore1976/antispy-jammer/main/mic-jammer-ad9833-new-version2.ino
    // Definition of FSYNC , CHIP SELECT pin in Arduino board
    #define FNC_PIN A10

  2. Yes, the transducers do have polarity. The isolated pin is "+", the one connected to the housing is "-". In general it does not matter but in this case all transducers need to have same pin selected as "+" otherwise the air audio wave will cancel itself due to the phase mismatch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants