Navigation

    • Register
    • Login
    • OpenHardware.io
    • Categories
    • Recent
    • Tags
    • Popular
    1. Home
    2. sonicblaze
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    sonicblaze

    @sonicblaze

    0
    Reputation
    22
    Posts
    529
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    sonicblaze Follow

    Best posts made by sonicblaze

    This user hasn't posted anything yet.

    Latest posts made by sonicblaze

    • RE: Battery Powered Distance Sensor reports incorrect

      @m26872 Good call on the 9v. It reminded me I had a couple 9V battery holders sitting around. I ran it into Raw/Ground as suggested, and the ping sensor is right on the target with distances now.

      Someone more talented than me might be able to modify the NewPing code to listen only for echos without sending out triggers, and I'd be willing to test it with the StepUp module and see if it's hearing responses without sending out pings.

      @hek it might be worth adding a note to the Distance sensor page about StepUp's possibly interfering.

      posted in Troubleshooting
      sonicblaze
      sonicblaze
    • RE: Battery Powered Distance Sensor reports incorrect

      @m26872 A stepdown wouldn't work. Using a stepup on the 3AA's is to provide constant 5V, even when the batteries are almost dead.

      posted in Troubleshooting
      sonicblaze
      sonicblaze
    • RE: Battery Powered Distance Sensor reports incorrect

      It's only incorrect when something is powered by the battery + stepup it seems.

      Sr04 via benchtop + arduino via battery/stepup = incorrect

      Sr04 via battery + aruino via benchtop = invorrect

      Sr04 & arduino via battery/stepup = incorrect

      Sr04 & arduino via benchtop OR ftdi/usb = correct

      The only thing I can guess is the Stepup module is emitting a frequency that the SR04 is picking up as the "echo" to the "ping" it sends out on trigger.

      posted in Troubleshooting
      sonicblaze
      sonicblaze
    • RE: Battery Powered Distance Sensor reports incorrect

      And I did check the dc-dc stepup, it's rated for 500ma, so it shouldn't be an issue of trying to draw too much current through it.

      And as for the decoupling capacitor across both radio/SR04 circuits, I figured moving the SR04 to be powered from my benchtop supply should achieve the same thing/more, since any spikes/valleys/noise introduced by the draw of the radio would be isolated away at that point.

      posted in Troubleshooting
      sonicblaze
      sonicblaze
    • RE: Battery Powered Distance Sensor reports incorrect

      I actually just tried powering the distance sensor from my bench power supply, while the arduino was powered via battery. I still got inaccurate readings. However all the same components powered through the Arduino while powered by the FTDI via USB and it's accurate every time.

      I'm at a loss...I've got this same setup of 3AA->Booster->Arduino running temperature sensors and they are working perfect.

      posted in Troubleshooting
      sonicblaze
      sonicblaze
    • RE: Battery Powered Distance Sensor reports incorrect

      @BulldogLowell I tried a cap across the SR04 and it made no difference. I never added one to my radio as I didn't have comm problems and it's going through a step-down.

      posted in Troubleshooting
      sonicblaze
      sonicblaze
    • Battery Powered Distance Sensor reports incorrect

      I have a 3AA battery pack, going through a DC-DC Step Up Boost Module to ensure 5V. This is feeding a 5V Arduino Pro Mini 5V, which feeds a HC-SR04.

      When the Arduino is powered via USB outputting ~5.2V through the FTDI, it reports distance properly. I can measure to my ceiling 8ft away and it's accurate to 2-3cm.

      When fed via the battery/step up either feeding into RAW or VCC on the Arduino, the distance reports incorrectly. It's accurate up to about 9cm, and then it just never reports anything further away.

      I've verified voltage at the Arduino via the StepUp and I'm getting 5.13. Verified voltage at the Sr04 as well from both power sources, and USB is 5.04v and StepUp is 5.13v via VCC and 4.94 via RAW.

      posted in Troubleshooting
      sonicblaze
      sonicblaze
    • Humidity sensor page wrong

      The data table on the Humidity sensor page, http://mysensors.org/build/humidity, is incorrect. It lists the DHT22 having a top temperature range of 125C, however it is only 80C.

      posted in General Discussion
      sonicblaze
      sonicblaze
    • RE: Radio setup give: "check wires"

      I finally got some + versions from AliExpress. Plugged them in, and everything came to life immediately. Amazing what happens when you receive the right parts.

      posted in Troubleshooting
      sonicblaze
      sonicblaze
    • RE: Radio setup give: "check wires"

      FYI Alice's breaking point seems to be leaving negative feedback on their seller account. As soon as I did that, their messages immediately turned to "I'll do whatever, please change your feedback. Is a refund ok?"

      posted in Troubleshooting
      sonicblaze
      sonicblaze