Giter Club home page Giter Club logo

calipile's People

Contributors

kriswiner avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

calipile's Issues

Wire.tranfer is no longer used

Hi, if I compile your code, I get this error
sketch\CaliPile.cpp:248:14: error: 'class TwoWire' has no member named 'transfer' Wire.transfer(address, &temp[0], 2, NULL, 0); ^

If I see in the Wire library (https://www.arduino.cc/en/Reference/Wire) I cannot see this wire.transfer();
Do you know what is the alternative function to be used?

Thank you for your support ๐Ÿ‘

TPOBJ computation needs a cast to uint32_t to reliably produce correct result

For correct result on Arduino UNO, I had to change this line:
//TPOBJ = ( (uint32_t) ( (uint32_t)rawData[0] << 24) | ( (uint32_t)rawData[1] << 16) | (rawData[2] & 0x80) << 8) >> 15;
to

  TPOBJ = ( (uint32_t) ( (uint32_t)rawData[0] << 24) | ( (uint32_t)rawData[1] << 16) | ((uint32_t)rawData[2] & 0x80) << 8) >> 15; 
//rawData[2] needs cast to uint32_t

temp threshold exceeded interrupt mask

In CaliPile_Butterfly.ino, should the temp threshold exceeded interrupt mask be:
if(intStatus & 0x02) // not 0x10)
{bin 0000 0010 is 0x02 not 0x10} ?

motion detected without anyone

hello,
I use CaliPile_Butterfly.ino in arduino nano this code contentiously print Presence detected! Motion detected! without anyone in the room. how to tune this module to detect human motion...???

Presence detection not work continuously

I try to work presence and motion detection concept in same code CaliPile_Butterfly.ino in motion detection part everything work but in presence finding part detect once or twice but my exception is continuous signal if person is present ...???

writeByte(CALIPILE_ADDRESS, CALIPILE_SLP12, TC_8s << 4 | TC_1s);
writeByte(CALIPILE_ADDRESS, CALIPILE_TP_PRES_THLD, 0x32);
writeByte(CALIPILE_ADDRESS, CALIPILE_TP_MOT_THLD, 0x0A);
writeByte(CALIPILE_ADDRESS, CALIPILE_SRC_SELECT, temp | src_TPOBJLP1_TPOBJLP2 << 2 | cycTime_30ms);

i set the above value as per data sheet in (session 7.2)

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.