nathanchantrell / tinytx Goto Github PK
View Code? Open in Web Editor NEWATtiny84 & RFM12B wireless sensor node
ATtiny84 & RFM12B wireless sensor node
Set the reed pin from falling to rising
Set pin as input.
Connect the reed to vcc instead of ground and put a 1M resistor between pin and ground.
In your case I see a 100uA consumption on close state. In my case the consumption is dropping around 4uA.
Hi Nathan,
I'm still new with github and not sure how to pull to your repo - but I have found a minor error in your/my code (TinyTX_LDR_Meter.ino), which produces an error if less than 1000 (in this case) millis since last blink.
...
} else if (interval > 1000) { // 1+ sec passed
// Blinks are 1000 per kWh, or 1 Wh each
// One hour has 3.6M milliseconds
watts = nBlinks * 1 * 3.6E6 / interval;
last = time;
nBlinks = 0;
}
tinytx.power = watts; // Get realtime power
tinytx.supplyV = readVcc(); // Get supply voltage
rfwrite(); // Send data via RF
}
}
Needs to be changed to:
...
} else if (interval > 1000) { // 1+ sec passed
// Blinks are 1000 per kWh, or 1 Wh each
// One hour has 3.6M milliseconds
watts = nBlinks * 1 * 3.6E6 / interval;
last = time;
nBlinks = 0;
tinytx.power = watts; // Get realtime power
tinytx.supplyV = readVcc(); // Get supply voltage
rfwrite(); // Send data via RF
}
}
}
Kind regards,
Troels
Is it possible to drive a tinyTX wit a BEM280 sensor with I2C wiring? Has anybody already tried it?
https://twitter.com/HD41117/status/1336524397721624577
Nathan's work inspired me for many years, so I am going to release an updated version of TinyTX4 over this year:
Hi Nathan Chantrell,
First of all thank you for sharing your experience
I made reference to TinyTX_nRF24L01_DS18B20.ino, and want to try to replicate the same situation
But I encountered at compile time error
I have tried to install the following library is still the same
DallasTemperature
mirf85
Narcoleptic
OneWire
RF24
SPI85
maybe I have missed what place?
Could you please help me? Thank you
digitalWrite(ONE_WIRE_GND, LOW); // set GND pin low <-------Verify error messages stay in this line
Hello there!
I have downloaded all requirements from TinyTX tutorial page and I can write bootloader with no problems.
When I try to write dht22.ino I get an error:
'Sleepy' has not been declared.
I've tried to copy the includes (DHT22.h and JeeLib.h) in the sketch folder but the error remains the same.
What am I doing wrong?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.