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

Pin Assignment Issue #26

Open
GabStP13rr3 opened this issue Mar 9, 2021 · 1 comment
Open

Pin Assignment Issue #26

GabStP13rr3 opened this issue Mar 9, 2021 · 1 comment

Comments

@GabStP13rr3
Copy link

I'm using all components proposed in the video with the exception of a 5x5 array instead of an 8x8. A clear 40Khz signal is observed with the scope for all transducers. Regarding the phase detector circuit, components and schematic were selected as proposed in the video. The code for the Arduino Nano was compiled using Arduino version 1.8.11. I'm running the simulation software on MAC. Each communication port can be correctly selected for the MEGA and the NANO in the simulation software as indicated in the video.

After selecting the button "check" during the pin assignment procedure, the amplitude reports as (MinAmp not reached!!!) and the phase as (Time Out!!). When the MinAmp and MaxAmp parameters are unselected, the result for the amplitude is -1 for all transducers and the phase still report as (Time Out!!). Aso, the pin assignment parameters report as being -1 for all transducer. I tried adjusting the MinAmp and MaxAmp values but did not affect the outcome.

Any idea what could be the issue and potential solutions?

@TianLuke33
Copy link

I am running into the same problem with 8x8 array. Everything is the same as the video and paper, following step by step.
My guess is the sensor in the array and the pins on the driver board are not match each other. So, when the phase detector sensor moved to the unexpected sport the signal didn't be received. That is the reason the error is timeout. However, the ArduinoMEGA 64 pin layout doesn't looks right which is under "Ultraino-2.5.0\DriverBoards\ArduinoMega64\driver board" I don't understand why it has #69.

Please let me know if you solved this problem.

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