Code Monkey home page Code Monkey logo

Comments (6)

 avatar commented on August 24, 2024

What's the issue?

from grovepi.

dsoukup avatar dsoukup commented on August 24, 2024

I am using the grove_collision sensor: http://www.seeedstudio.com/depot/Grove-Collision-Sensor-p-1132.html
I do notice that it appears to be slightly different than the one shown on the wiki page:
http://www.seeedstudio.com/wiki/Grove_-_Collision_Sensor

When I run the program the grove_collision_sensor.py program, the output is 0, and it seems inconsistent with what is happening to the sensor. I did see a reading of 255 one time, but again, it didn't seem to correlate with what is happening to the sensor.

The information that I find on it says that it goes low when it detects vibration, but the information says that normal shaking does not cause any output. I am not experiencing this to be true.

Please advise. Thank you!

from grovepi.

dsoukup avatar dsoukup commented on August 24, 2024

My apologizes. I meant to say that I am getting an output of 1. I can get outputs of 1 and 255, but, as I was saying, the output is not consistent with what is happening to the sensor.

from grovepi.

 avatar commented on August 24, 2024

Have you tried it out on a regular Grove system? I'm not totally familiar with the code, but my best guess is that if you're not getting a response, you might have received some bad hardware?

from grovepi.

dsoukup avatar dsoukup commented on August 24, 2024

I wish it were just bad hardware, but I have 4 (one from a different
vendor) and I have swapped out the collision sensors already to check if it
was just a faulty hardware issue. However, the issue persists with all 4
collision sensors.

Today, I also noticed that I am having an issue with the 3 axis digital
accelerometer (+-16), which reads zero on the tilt buzzer program. When I
tested it with the example program in the values read very low decimals,
near zero.

If I understand correctly, the collision sensor is an accelerometer too --
so I am wondering if something larger is creating a problem with
accelerometer readings for me.

The tilt buzzer program is also acting up with the switch, reading the
switch is off at times when it is in the high position (and then returning
to reading the accelerometer, albeit what appears to be erroneous values of
low decimals close to zero) and then returning to reading as off (without
any intervention by the user).

I did recently update the firmware.

I very much appreciate help with these issues because I am a teacher, and
my students are participating in a city-wide IoT challenge. Getting these
sensors properly working is essential to two teams of students' working
prototypes which they are demonstrating on Thursday for city tech leaders.
Thank you so much!

On Mon, Feb 29, 2016 at 12:39 AM, Dexter Industries <
[email protected]> wrote:

Have you tried it out on a regular Grove system? I'm not totally familiar
with the code, but my best guess is that if you're not getting a response,
you might have received some bad hardware?


Reply to this email directly or view it on GitHub
#206 (comment).

from grovepi.

karan259 avatar karan259 commented on August 24, 2024

Hey @dsoukup,
It would be great if we could continue the discussion on the Forums here: http://www.dexterindustries.com/forum/grovepi/. We don;t have that sensor and it was a user contributed code, but from the looks of the Seeed code, it should work. Can you post some sample output of what you are getting. Are you not getting an output 0 on it. Can you also post a few pictures of your setup on the forums

from grovepi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.