--
You received this message because you are subscribed to the Google Groups "HomeBrew Robotics Club" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hbrobotics+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hbrobotics/7FEAEC2C-F30E-4713-B9CD-041A91671023%40comcast.net.
To view this discussion on the web visit https://groups.google.com/d/msgid/hbrobotics/F818874F-F68D-484D-BAC1-61701802D527%40comcast.net.
On Jul 24, 2020, at 11:12 PM, Chris Albertson <alberts...@gmail.com> wrote:
To view this discussion on the web visit https://groups.google.com/d/msgid/hbrobotics/CABbxVHvAfAFyn1ew2ExsiN0be%2BwWDT2wX1Jq-Fau79AOhYp3Tg%40mail.gmail.com.
| There seems to be a note in the Garmin sketch for the I2C. |
| (Capacitor recommended to mitigate inrush current when device is enabled) |
| 680uF capacitor (+) to Arduino 5v |
| 680uF capacitor (-) to Arduino GND https://github.com/garmin/LIDARLite_Arduino_Library/blob/master/examples/v3/GetDistanceI2c/GetDistanceI2c.ino |
To view this discussion on the web visit https://groups.google.com/d/msgid/hbrobotics/CBD0FEDD-6316-443D-9CBB-CE7DF7C074CB%40comcast.net.
--
You received this message because you are subscribed to the Google Groups "HomeBrew Robotics Club" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hbrobotics+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hbrobotics/7FEAEC2C-F30E-4713-B9CD-041A91671023%40comcast.net.
Hey Brian,It looks like from Hackaday that it is a bit more involved to debug the I2C problems.In addition to software debugging the hardware debugging might need an oscilloscope.
On Jul 25, 2020, at 6:21 PM, Chris Albertson <alberts...@gmail.com> wrote:
--
You received this message because you are subscribed to the Google Groups "HomeBrew Robotics Club" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hbrobotics+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hbrobotics/CABbxVHt%3Dv1s8BDqDVvguWX%3DXLJzvRUyUr0dRN-%3DmFWOQm8ia3g%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hbrobotics/66ED67E0-7B7C-424C-911A-9B817D3E83B7%40comcast.net.
--
You received this message because you are subscribed to the Google Groups "HomeBrew Robotics Club" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hbrobotics+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hbrobotics/CABbxVHt%3Dv1s8BDqDVvguWX%3DXLJzvRUyUr0dRN-%3DmFWOQm8ia3g%40mail.gmail.com.
On Jul 25, 2020, at 11:24 PM, Mark Johnston <mjst...@gmail.com> wrote:
--
You received this message because you are subscribed to the Google Groups "HomeBrew Robotics Club" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hbrobotics+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hbrobotics/8f84aed1-491c-403e-87ca-13a9edea5de2o%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "HomeBrew Robotics Club" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hbrobotics+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hbrobotics/8f84aed1-491c-403e-87ca-13a9edea5de2o%40googlegroups.com.
| void loop() |
| { |
| pulseWidth = pulseIn(3, HIGH); // Count how long the pulse is high in microseconds |
|
|
| // If we get a reading that isn't zero, let's print it |
| if(pulseWidth != 0) |
| { |
| pulseWidth = pulseWidth / 10; // 10usec = 1 cm of distance |
| Serial.println(pulseWidth); // Print the distance |
| } |
| void loop() |
| { |
| /* |
| distance(bool biasCorrection, char lidarliteAddress) |
| Take a distance measurement and read the result. |
| Parameters |
| ---------------------------------------------------------------------------- |
| biasCorrection: Default true. Take aquisition with receiver bias |
| correction. If set to false measurements will be faster. Receiver bias |
| correction must be performed periodically. (e.g. 1 out of every 100 |
| readings). |
| lidarliteAddress: Default 0x62. Fill in new address here if changed. See |
| operating manual for instructions. |
| */ |
|
|
| // Take a measurement with receiver bias correction and print to serial terminal |
| Serial.println(myLidarLite.distance()); |
|
|
| // Take 99 measurements without receiver bias correction and print to serial terminal |
| for(int i = 0; i < 99; i++) |
| { |
| Serial.println(myLidarLite.distance(false)); |
| } |
To view this discussion on the web visit https://groups.google.com/d/msgid/hbrobotics/29D7CE80-E9B0-4A89-AE67-9B3E92E7E59C%40comcast.net.
On Jul 26, 2020, at 7:58 PM, andy <aj48...@gmail.com> wrote:
To view this discussion on the web visit https://groups.google.com/d/msgid/hbrobotics/CAJZ%2Bfr1edLBiMPUf-1jOzMgHqVLUTVuTP%3DgPe0DeL%3DOXNDQL9g%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "HomeBrew Robotics Club" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hbrobotics+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hbrobotics/8f84aed1-491c-403e-87ca-13a9edea5de2o%40googlegroups.com.
As far as wiring goes, I would use twisted pair which limits crossover talk.
To view this discussion on the web visit https://groups.google.com/d/msgid/hbrobotics/29D7CE80-E9B0-4A89-AE67-9B3E92E7E59C%40comcast.net.
To view this discussion on the web visit https://groups.google.com/d/msgid/hbrobotics/7BBA98CF-62B0-4A36-A0E2-FD86E5F0B41A%40comcast.net.
--
You received this message because you are subscribed to the Google Groups "HomeBrew Robotics Club" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hbrobotics+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hbrobotics/511fd350-3e1a-44ec-ba12-a192f9df1764o%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "HomeBrew Robotics Club" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hbrobotics+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hbrobotics/CABbxVHuzMZZ869-eF2c%2BTvfkZisJYoKKNicnac6bFP-c2mnnOA%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hbrobotics/CAB4wyt0EPjKBH5RN4f9Dnf_RRtf8rNXogyt6g1wngyUH%2BpfLhw%40mail.gmail.com.
A twisted pair only works well when driven by a balanced driver,
which is what the PCA9605 does. You aren't using the second wire
as a shield, you drive the pair of wires with a balanced signal
(each in opposite polarity), which helps it ignore outside noise
(and reduces noise emission as well).
https://en.wikipedia.org/wiki/Twisted_pair
Just using a twisted pair without a proper driver will not likely
extend your range and will not give you any real noise immunity.
Shielded wire has varying characteristics - foil shields mess up
higher frequencies (due to mutual transconductance), and you do
have to consider capacitance between the inner conductor and the
shield. If noise is your problem, low capacitance shielded cable
may extend your range. RG62 coax is one of the lower capacitance
cables that you can probably find around (IBM computer terminals
used a lot of it), RG6 is not too bad (commonly used for CATV and
SATTV), RG174 is somewhat higher in capacitance but is small and
flexible, and will be better than using an audio cable.
If you really want to extend your range, do get a driver like the PCA9605 and use the twisted pair cable that they recommend. CAT5e is what the PCA9605 application note mentions, at the frequencies involved in I2C I would suggest that CAT5 or better would work just fine.
If you just need to extend your range and/or reduce noise issues
a bit, try a good quality RF coax cable first.
- Richard, VE7CVS
To view this discussion on the web visit https://groups.google.com/d/msgid/hbrobotics/CAJZ%2Bfr3G4Cw6xu2WtdtVBZKavmMuJxO-OaOzah48j3soAeBJZA%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hbrobotics/CAJZ%2Bfr3G4Cw6xu2WtdtVBZKavmMuJxO-OaOzah48j3soAeBJZA%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hbrobotics/d178c89d-2026-95c8-91b8-1c6dbf7f3586%40gmail.com.
To unsubscribe from this group and stop receiving emails from it, send an email to hbrob...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hbrobotics/CABbxVHuzMZZ869-eF2c%2BTvfkZisJYoKKNicnac6bFP-c2mnnOA%40mail.gmail.com.
--Rafael--You received this message because you are subscribed to the Google Groups "HomeBrew Robotics Club" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hbrob...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hbrobotics/CAB4wyt0EPjKBH5RN4f9Dnf_RRtf8rNXogyt6g1wngyUH%2BpfLhw%40mail.gmail.com.
--You received this message because you are subscribed to the Google Groups "HomeBrew Robotics Club" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hbrob...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hbrobotics/CAJZ%2Bfr3G4Cw6xu2WtdtVBZKavmMuJxO-OaOzah48j3soAeBJZA%40mail.gmail.com.
--You received this message because you are subscribed to the Google Groups "HomeBrew Robotics Club" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hbrob...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hbrobotics/CAB4wyt032MUu%2BjN9W15E7-fjqFfkCrpThQ3xJQaRjE72CJ6cug%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hbrobotics/701ce964-d09c-38d1-6521-50e11b75e320%40uks.org.uk.