- Announcement about May 10th, 2018 update and your password.
Using DHB-10 with Arduino Mega
I am trying to use the DHB-10 with the Arduino Mega. I'm running this script here, https://learn.parallax.com/tutorials/robot/arlo/arlo-arduino-uno-boe-shield-brain/test-shield-electrical-connections/test
I am not using a BOE shield; I am just making the individual connections myself.
When I run the test with my Propeller to DHB-10 connection, I get the correct FWVER = 10 and HWVER = 1. When I try to run the test between the Arduino and DHB-10 from the link above, I keep getting FWVER = 0, HWVER = 0.
I am using this previous Parallax forum post for reference: https://forums.parallax.com/discussion/166289/dhb-10-with-raspberry-pi-3
From the DHB 10, I connect the red from both Channel 1 and Channel 2 into a 5V from the arduino. I connect the black from both Ch1, Ch2 into a GND from the arduino. I connect the White from CH 1 to TX pin (defined 12 in the test) digital 12 on the Mega, and the White from CH 2 to RX pin (defined 13 in the test) digital 13 on the mega. I switched both in case I got TX/RX messed up, but both times I cannot get the test to pass.
Can someone give any insight? Thanks. I have attached a picture of my connections in the post.
_ _ _ _
So I learned that the B and W pin on the DHB-10 are not connected to anything. I used just a single female to female to connect both CH1 and CH2 to pins P12 and P13 on the activity board, and was successfully run the .side file and return the correct FWVER and HWVER. When I try this with the Arduino Mega, connect it to my pins 12 and 13, still I get HWVER/FWVER = 0.