Compare commits
6 Commits
42fe04f747
...
14616fd7d4
| Author | SHA1 | Date |
|---|---|---|
|
|
14616fd7d4 | |
|
|
6f6bade822 | |
|
|
98e822ceec | |
|
|
7041ec9e09 | |
|
|
19c530a054 | |
|
|
a1ca1f589f |
|
|
@ -0,0 +1,66 @@
|
|||
|
||||
#define MY_NODE_ID 143
|
||||
// Enable debug prints
|
||||
#define MY_DEBUG
|
||||
|
||||
// Enable and select radio type attached
|
||||
//#define MY_RADIO_RF24
|
||||
#define MY_RADIO_NRF5_ESB
|
||||
//#define MY_RADIO_RFM69
|
||||
//#define MY_RADIO_RFM95
|
||||
|
||||
#include <MySensors.h>
|
||||
|
||||
uint32_t SLEEP_TIME = 5000; // Sleep time between reports (in milliseconds)
|
||||
#define DIGITAL_INPUT_SENSOR 6 // The digital input you attached your motion sensor. (Only 2 and 3 generates interrupt!)
|
||||
#define LED 10
|
||||
#define CHILD_ID 1 // Id of the sensor child
|
||||
|
||||
// Initialize motion message
|
||||
MyMessage msg(CHILD_ID, V_TRIPPED);
|
||||
|
||||
void blinkityBlink(uint8_t repetitions) {
|
||||
for (int x=0;x<repetitions;x++) {
|
||||
digitalWrite(LED,HIGH);
|
||||
wait(20);
|
||||
digitalWrite(LED,LOW);
|
||||
wait(100);
|
||||
digitalWrite(LED,HIGH);
|
||||
wait(20);
|
||||
digitalWrite(LED,LOW);
|
||||
if (x<(repetitions-1)) { //skip waiting at the end of the final repetition
|
||||
wait(500);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
void setup()
|
||||
{
|
||||
pinMode(DIGITAL_INPUT_SENSOR, INPUT); // sets the motion sensor digital pin as input
|
||||
hwPinMode(LED,OUTPUT_D0H1);
|
||||
pinMode(LED,OUTPUT);
|
||||
blinkityBlink(2,1);
|
||||
}
|
||||
|
||||
void presentation()
|
||||
{
|
||||
// Send the sketch version information to the gateway and Controller
|
||||
sendSketchInfo("Motion Sensor", "1.0");
|
||||
|
||||
// Register all sensors to gw (they will be created as child devices)
|
||||
present(CHILD_ID, S_MOTION);
|
||||
}
|
||||
|
||||
void loop()
|
||||
{
|
||||
// Read digital motion value
|
||||
bool tripped = digitalRead(DIGITAL_INPUT_SENSOR) == HIGH;
|
||||
|
||||
Serial.println(tripped);
|
||||
send(msg.set(tripped?"1":"0")); // Send tripped value to gw
|
||||
|
||||
// Sleep until interrupt comes in on motion sensor. Send update every two minute.
|
||||
sleep(digitalPinToInterrupt(DIGITAL_INPUT_SENSOR), CHANGE, SLEEP_TIME);
|
||||
}
|
||||
|
||||
|
|
@ -0,0 +1,14 @@
|
|||
; PlatformIO Project Configuration File
|
||||
;
|
||||
; Build options: build flags, source filter
|
||||
; Upload options: custom upload port, speed and extra flags
|
||||
; Library options: dependencies, extra library storages
|
||||
; Advanced options: extra scripting
|
||||
;
|
||||
; Please visit documentation for the other options and examples
|
||||
; http://docs.platformio.org/page/projectconf.html
|
||||
; [
|
||||
[env:pro16MHzatmega328]
|
||||
platform = atmelavr
|
||||
framework = arduino
|
||||
board = pro16MHzatmega328
|
||||
|
|
@ -0,0 +1,287 @@
|
|||
//## INCLUDES ##
|
||||
#define MY_DEBUG
|
||||
#define MY_RADIO_NRF24
|
||||
#define MY_NODE_ID 31
|
||||
|
||||
#include <MySensors.h>
|
||||
#include <SPI.h>
|
||||
#include <FastLED.h>
|
||||
|
||||
#define cID_RGB_SELECTOR 0
|
||||
#define cID_CYCLE_EFFECT 1
|
||||
#define cID_CYCLE_EFFECT_SPEED 2
|
||||
|
||||
#define PIN_RED 3
|
||||
#define PIN_GREEN 5
|
||||
#define PIN_BLUE 6
|
||||
|
||||
//## VARIABLES ##
|
||||
// MySensors
|
||||
#define MySensors_SketchName "RGB LED Strip"
|
||||
#define MySensors_SketchVersion "v0.3"
|
||||
MyMessage MySensors_MSG_Last_Color(cID_RGB_SELECTOR,V_VAR1);
|
||||
MyMessage MySensors_MSG_RGB_Selector(cID_RGB_SELECTOR, V_LIGHT);
|
||||
MyMessage MySeonsors_MSG_CYCLE_EFFECT(cID_CYCLE_EFFECT, V_LIGHT);
|
||||
MyMessage MySensors_MSG_CYCLE_EFFECT_SPEED(cID_CYCLE_EFFECT_SPEED, V_DIMMER);
|
||||
bool MySensors_RequestACK = false;
|
||||
// Single color
|
||||
int Solid_RGB_Active=0;
|
||||
char Solid_RGB_Color[] = "000000";
|
||||
uint16_t Solid_RGB_Brightness = 0xFF;
|
||||
// Cycle effect
|
||||
int Cycle_Effect_Active=0;
|
||||
unsigned long Cycle_Effect_pMillis = 0;
|
||||
long Cycle_Effect_Speed = 20;
|
||||
static uint8_t Cycle_Effect_Current_Hue;
|
||||
// Supporting
|
||||
bool Status_Change = false;
|
||||
bool Print_Debug = false;
|
||||
|
||||
// ## Primary flow control
|
||||
void setup() {
|
||||
Serial.begin(115200);
|
||||
while (!Serial) ;
|
||||
Serial.print("compiled: ");Serial.print(__DATE__);Serial.println(__TIME__);
|
||||
|
||||
pinMode(PIN_RED, OUTPUT);
|
||||
pinMode(PIN_GREEN, OUTPUT);
|
||||
pinMode(PIN_BLUE, OUTPUT);
|
||||
|
||||
Event_ColorTestBars();
|
||||
|
||||
request(cID_RGB_SELECTOR, V_VAR1);
|
||||
request(cID_RGB_SELECTOR, V_LIGHT);
|
||||
request(cID_CYCLE_EFFECT, V_LIGHT);
|
||||
request(cID_CYCLE_EFFECT_SPEED, V_DIMMER);
|
||||
}
|
||||
void loop() {
|
||||
if (Cycle_Effect_Active == 1){
|
||||
unsigned long currentMillis = millis();
|
||||
Event_RunCycleEffect(currentMillis);
|
||||
} else if (Status_Change){
|
||||
Status_Change = false;
|
||||
#ifdef MY_DEBUG
|
||||
if (Print_Debug) {Serial.println("STATUS CHANGE");}
|
||||
#endif
|
||||
if (Solid_RGB_Active == 0){
|
||||
Event_SetLEDColors( CRGB::Black );
|
||||
}else if (Solid_RGB_Active == 1){
|
||||
CHSV colorHSV = rgb2hsv_approximate(str2CRGB(Solid_RGB_Color));
|
||||
Event_SetLEDColors(CHSV(colorHSV.h, colorHSV.s, Solid_RGB_Brightness));
|
||||
}
|
||||
}
|
||||
}
|
||||
// ## MySensors Methods
|
||||
void presentation() {
|
||||
sendSketchInfo(MySensors_SketchName, MySensors_SketchVersion);
|
||||
|
||||
present(cID_RGB_SELECTOR, S_RGB_LIGHT, "RGB Color Selector", MySensors_RequestACK);
|
||||
present(cID_CYCLE_EFFECT, S_LIGHT, "RGB Cycle Effect", MySensors_RequestACK);
|
||||
present(cID_CYCLE_EFFECT_SPEED, S_DIMMER, "RGB Cycle Effect Speed", MySensors_RequestACK);
|
||||
}
|
||||
void receive(const MyMessage &message){
|
||||
#ifdef MY_DEBUG
|
||||
if (message.isAck()){
|
||||
Serial.println("Got ack from gateway");
|
||||
}
|
||||
#endif
|
||||
if (message.type == V_LIGHT){
|
||||
#ifdef MY_DEBUG
|
||||
if (Print_Debug) {Serial.println("message v_light");}
|
||||
#endif
|
||||
int current_Light_State = message.getString()[0] == '1';// Incoming on/off command sent from controller ("1" or "0")
|
||||
if (message.sensor==cID_CYCLE_EFFECT){// is Cycle Message
|
||||
if (current_Light_State==1){//turn cycle on
|
||||
Event_LightCycle(true, true, false);
|
||||
Event_SolidColor(false, false, true);
|
||||
} else {//turn cycle off
|
||||
Event_LightCycle(false, true, false);
|
||||
Event_SolidColor(false, false, true);
|
||||
}
|
||||
} else if (message.sensor==cID_RGB_SELECTOR){// is RGB Message
|
||||
if (current_Light_State==1){//turn RGB on
|
||||
Event_SolidColor(true, true, false);
|
||||
Event_LightCycle(false, false, true);
|
||||
} else {//turn RGB off
|
||||
Event_SolidColor(false, true, false);
|
||||
Event_LightCycle(false, false, true);
|
||||
}
|
||||
} else {
|
||||
#ifdef MY_DEBUG
|
||||
Serial.print("UNKNOWN Light - Message:");
|
||||
Serial.print(message.getString());
|
||||
Serial.print(" - Sensor:");
|
||||
Serial.println(message.sensor);
|
||||
#endif
|
||||
}
|
||||
} else if (message.type == V_RGB){
|
||||
#ifdef MY_DEBUG
|
||||
if (Print_Debug) {Serial.println("message v_rgb");}
|
||||
#endif
|
||||
String szMessage=message.getString();
|
||||
strcpy(Solid_RGB_Color, getValue(szMessage,'&',0).c_str());
|
||||
Solid_RGB_Active = 1;
|
||||
}else if (message.type == V_DIMMER) {// if DIMMER type, adjust brightness
|
||||
#ifdef MY_DEBUG
|
||||
if (Print_Debug) {Serial.println("message v_dimmer");}
|
||||
#endif
|
||||
if (message.sensor==cID_RGB_SELECTOR){// is single Message
|
||||
if (Solid_RGB_Active==1){//turn RGB on
|
||||
Event_SolidColor(true, true, false);
|
||||
Event_LightCycle(false, false, true);
|
||||
} else {//turn RGB off
|
||||
Event_SolidColor(false, true, false);
|
||||
Event_LightCycle(false, false, true);
|
||||
}
|
||||
Solid_RGB_Brightness = map(message.getLong(), 0, 100, 0, 255);
|
||||
CRGB colorRGB = str2CRGB(Solid_RGB_Color);
|
||||
CHSV colorHSV = rgb2hsv_approximate(colorRGB);
|
||||
colorHSV = CHSV(colorHSV.h, colorHSV.s, Solid_RGB_Brightness);
|
||||
Event_SetLEDColors(colorHSV);
|
||||
#ifdef MY_DEBUG
|
||||
if (Print_Debug) {
|
||||
Serial.print("colorHSV.h:");
|
||||
Serial.println(colorHSV.h);
|
||||
Serial.print("colorHSV.s:");
|
||||
Serial.println(colorHSV.s);
|
||||
Serial.print("colorHSV.v:");
|
||||
Serial.println(colorHSV.v);
|
||||
}
|
||||
#endif
|
||||
Event_SendLastColor();
|
||||
} else if (message.sensor==cID_CYCLE_EFFECT_SPEED){// is Speed dimmer Message
|
||||
Cycle_Effect_Speed = map(message.getLong(), 0, 100, 1, 202);
|
||||
#ifdef MY_DEBUG
|
||||
if (Print_Debug) {
|
||||
Serial.print("Cycle_Effect_Speed: ");
|
||||
Serial.println(Cycle_Effect_Speed);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
}else if (message.type == V_STATUS) { // if on/off type, toggle brightness
|
||||
#ifdef MY_DEBUG
|
||||
if (Print_Debug) {Serial.println("message v_status");}
|
||||
#endif
|
||||
Solid_RGB_Active = message.getInt();
|
||||
Cycle_Effect_Active = 0;
|
||||
if (Solid_RGB_Active == 0){
|
||||
if (Print_Debug) {Serial.println("Strip OFF");}
|
||||
Event_SetLEDColors( CRGB::Black );
|
||||
}else{
|
||||
if (Print_Debug) {Serial.println("Strip ON");}
|
||||
Event_SetLEDColors(strtol(Solid_RGB_Color, NULL, 16));
|
||||
}
|
||||
//Event_SendLastColor();
|
||||
}else if (message.type==V_VAR1) { // color status
|
||||
String szMessage=message.getString();
|
||||
#ifdef MY_DEBUG
|
||||
if (Print_Debug) {
|
||||
Serial.println("message v_var1");
|
||||
Serial.println(szMessage);
|
||||
}
|
||||
#endif
|
||||
strcpy(Solid_RGB_Color, getValue(szMessage,'&',0).c_str());
|
||||
Solid_RGB_Active = 1;
|
||||
Cycle_Effect_Active = 0;
|
||||
}
|
||||
Status_Change = true;
|
||||
}
|
||||
// ## Events
|
||||
void Event_LightCycle(bool t, bool s, bool u) {
|
||||
Cycle_Effect_Active = (t) ? 1 : 0;
|
||||
if (u){
|
||||
send(MySeonsors_MSG_CYCLE_EFFECT.set(Cycle_Effect_Active),MySensors_RequestACK);
|
||||
}
|
||||
}
|
||||
void Event_SolidColor(bool t, bool s, bool u) {
|
||||
Solid_RGB_Active = (t) ? 1 : 0;
|
||||
if (u){
|
||||
send(MySensors_MSG_RGB_Selector.set(Solid_RGB_Active),MySensors_RequestACK);
|
||||
}
|
||||
}
|
||||
void Event_SetLEDColors( const CRGB& rgb){
|
||||
analogWrite(PIN_RED, rgb.r );
|
||||
analogWrite(PIN_GREEN, rgb.g );
|
||||
analogWrite(PIN_BLUE, rgb.b );
|
||||
}
|
||||
void Event_SendLastColor(){
|
||||
String current_status=Solid_RGB_Color+String("&")+String(Solid_RGB_Brightness)+String("&")+String(Solid_RGB_Active);
|
||||
send(MySensors_MSG_Last_Color.set(current_status.c_str()),MySensors_RequestACK);
|
||||
}
|
||||
void Event_RunCycleEffect(unsigned long theMills){
|
||||
if (theMills - Cycle_Effect_pMillis >= Cycle_Effect_Speed){
|
||||
Cycle_Effect_pMillis = theMills;
|
||||
Cycle_Effect_Current_Hue = Cycle_Effect_Current_Hue + 1;
|
||||
Event_SetLEDColors( CHSV( Cycle_Effect_Current_Hue, 255, 255) );
|
||||
}
|
||||
}
|
||||
void Event_ColorTestBars(){// Event_ColorTestBars: flashes Red, then Green, then Blue, then Black. Helpful for diagnosing if you've mis-wired which is which.
|
||||
Event_SetLEDColors( CRGB::Red ); delay(500);
|
||||
Event_SetLEDColors( CRGB::Green ); delay(500);
|
||||
Event_SetLEDColors( CRGB::Blue ); delay(500);
|
||||
Event_SetLEDColors( CRGB::Black ); delay(500);
|
||||
}
|
||||
// ## Helper Functions
|
||||
String getValue(String data, char separator, int index){
|
||||
int found = 0;
|
||||
int strIndex[] = {0, -1};
|
||||
int maxIndex = data.length()-1;
|
||||
for(int i=0; i<=maxIndex && found<=index; i++){
|
||||
if(data.charAt(i)==separator || i==maxIndex){
|
||||
found++;
|
||||
strIndex[0] = strIndex[1]+1;
|
||||
strIndex[1] = (i == maxIndex) ? i+1 : i;
|
||||
}
|
||||
}
|
||||
return found>index ? data.substring(strIndex[0], strIndex[1]) : "";
|
||||
}
|
||||
|
||||
int x2i(char *s) {
|
||||
int x = 0;
|
||||
for(;;) {
|
||||
char c = *s;
|
||||
if (c >= '0' && c <= '9') {
|
||||
x *= 16;
|
||||
x += c - '0';
|
||||
}else if (c >= 'A' && c <= 'F') {
|
||||
x *= 16;
|
||||
x += (c - 'A') + 10;
|
||||
}else {
|
||||
break;
|
||||
}
|
||||
s++;
|
||||
}
|
||||
return x;
|
||||
}
|
||||
char* str2char(String command){
|
||||
if(command.length()!=0){
|
||||
char *p = const_cast<char*>(command.c_str());
|
||||
return p;
|
||||
}
|
||||
}
|
||||
CRGB str2CRGB(String s){
|
||||
String r = str2char(s.substring(0,2));
|
||||
String g = str2char(s.substring(2,4));
|
||||
String b = str2char(s.substring(4,6));
|
||||
uint8_t red = x2i(r.c_str());
|
||||
uint8_t green = x2i(g.c_str());
|
||||
uint8_t blue = x2i(b.c_str());
|
||||
#ifdef MY_DEBUG
|
||||
if (Print_Debug) {
|
||||
Serial.print("r:");
|
||||
Serial.println(r);
|
||||
Serial.print("g:");
|
||||
Serial.println(g);
|
||||
Serial.print("b:");
|
||||
Serial.println(b);
|
||||
Serial.print("red:");
|
||||
Serial.println(red);
|
||||
Serial.print("green:");
|
||||
Serial.println(green);
|
||||
Serial.print("blue:");
|
||||
Serial.println(blue);
|
||||
}
|
||||
#endif
|
||||
CRGB colorRGB = CRGB(red, green, blue);
|
||||
return colorRGB;
|
||||
}
|
||||
|
|
@ -0,0 +1,209 @@
|
|||
/******************************************************************
|
||||
DHT Temperature & Humidity Sensor library for Arduino.
|
||||
|
||||
Features:
|
||||
- Support for DHT11 and DHT22/AM2302/RHT03
|
||||
- Auto detect sensor model
|
||||
- Very low memory footprint
|
||||
- Very small code
|
||||
|
||||
http://www.github.com/markruys/arduino-DHT
|
||||
|
||||
Written by Mark Ruys, mark@paracas.nl.
|
||||
|
||||
BSD license, check license.txt for more information.
|
||||
All text above must be included in any redistribution.
|
||||
|
||||
Datasheets:
|
||||
- http://www.micro4you.com/files/sensor/DHT11.pdf
|
||||
- http://www.adafruit.com/datasheets/DHT22.pdf
|
||||
- http://dlnmh9ip6v2uc.cloudfront.net/datasheets/Sensors/Weather/RHT03.pdf
|
||||
- http://meteobox.tk/files/AM2302.pdf
|
||||
|
||||
Changelog:
|
||||
2013-06-10: Initial version
|
||||
2013-06-12: Refactored code
|
||||
2013-07-01: Add a resetTimer method
|
||||
2016-07-20: Add force parameter - Torben Woltjen (mozzbozz)
|
||||
******************************************************************/
|
||||
|
||||
#include "DHT.h"
|
||||
|
||||
void DHT::setup(uint8_t pin, DHT_MODEL_t model)
|
||||
{
|
||||
DHT::pin = pin;
|
||||
DHT::model = model;
|
||||
DHT::resetTimer(); // Make sure we do read the sensor in the next readSensor()
|
||||
|
||||
if ( model == AUTO_DETECT) {
|
||||
DHT::model = DHT22;
|
||||
readSensor();
|
||||
if ( error == ERROR_TIMEOUT ) {
|
||||
DHT::model = DHT11;
|
||||
// Warning: in case we auto detect a DHT11, you should wait at least 1000 msec
|
||||
// before your first read request. Otherwise you will get a time out error.
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void DHT::resetTimer()
|
||||
{
|
||||
DHT::lastReadTime = millis() - 3000;
|
||||
}
|
||||
|
||||
float DHT::getHumidity()
|
||||
{
|
||||
readSensor();
|
||||
return humidity;
|
||||
}
|
||||
|
||||
float DHT::getTemperature()
|
||||
{
|
||||
readSensor();
|
||||
return temperature;
|
||||
}
|
||||
|
||||
#ifndef OPTIMIZE_SRAM_SIZE
|
||||
|
||||
const char* DHT::getStatusString()
|
||||
{
|
||||
switch ( error ) {
|
||||
case DHT::ERROR_TIMEOUT:
|
||||
return "TIMEOUT";
|
||||
|
||||
case DHT::ERROR_CHECKSUM:
|
||||
return "CHECKSUM";
|
||||
|
||||
default:
|
||||
return "OK";
|
||||
}
|
||||
}
|
||||
|
||||
#else
|
||||
|
||||
// At the expense of 26 bytes of extra PROGMEM, we save 11 bytes of
|
||||
// SRAM by using the following method:
|
||||
|
||||
prog_char P_OK[] PROGMEM = "OK";
|
||||
prog_char P_TIMEOUT[] PROGMEM = "TIMEOUT";
|
||||
prog_char P_CHECKSUM[] PROGMEM = "CHECKSUM";
|
||||
|
||||
const char *DHT::getStatusString() {
|
||||
prog_char *c;
|
||||
switch ( error ) {
|
||||
case DHT::ERROR_CHECKSUM:
|
||||
c = P_CHECKSUM; break;
|
||||
|
||||
case DHT::ERROR_TIMEOUT:
|
||||
c = P_TIMEOUT; break;
|
||||
|
||||
default:
|
||||
c = P_OK; break;
|
||||
}
|
||||
|
||||
static char buffer[9];
|
||||
strcpy_P(buffer, c);
|
||||
|
||||
return buffer;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
void DHT::readSensor(bool force)
|
||||
{
|
||||
// Make sure we don't poll the sensor too often
|
||||
// - Max sample rate DHT11 is 1 Hz (duty cicle 1000 ms)
|
||||
// - Max sample rate DHT22 is 0.5 Hz (duty cicle 2000 ms)
|
||||
// If 'force' is true, the user has to take care of this -> this way, the
|
||||
// microcontroller can be set to sleep where it doesn't increase millis().
|
||||
unsigned long startTime = millis();
|
||||
if ( !force && (unsigned long)(startTime - lastReadTime) < (model == DHT11 ? 999L : 1999L) ) {
|
||||
return;
|
||||
}
|
||||
lastReadTime = startTime;
|
||||
|
||||
temperature = NAN;
|
||||
humidity = NAN;
|
||||
|
||||
// Request sample
|
||||
|
||||
digitalWrite(pin, LOW); // Send start signal
|
||||
pinMode(pin, OUTPUT);
|
||||
if ( model == DHT11 ) {
|
||||
delay(18);
|
||||
}
|
||||
else {
|
||||
// This will fail for a DHT11 - that's how we can detect such a device
|
||||
delayMicroseconds(800);
|
||||
}
|
||||
|
||||
pinMode(pin, INPUT);
|
||||
digitalWrite(pin, HIGH); // Switch bus to receive data
|
||||
|
||||
// We're going to read 83 edges:
|
||||
// - First a FALLING, RISING, and FALLING edge for the start bit
|
||||
// - Then 40 bits: RISING and then a FALLING edge per bit
|
||||
// To keep our code simple, we accept any HIGH or LOW reading if it's max 85 usecs long
|
||||
|
||||
word rawHumidity = 0;
|
||||
word rawTemperature = 0;
|
||||
word data = 0;
|
||||
|
||||
for ( int8_t i = -3 ; i < 2 * 40; i++ ) {
|
||||
byte age;
|
||||
startTime = micros();
|
||||
|
||||
do {
|
||||
age = (unsigned long)(micros() - startTime);
|
||||
if ( age > 90 ) {
|
||||
error = ERROR_TIMEOUT;
|
||||
return;
|
||||
}
|
||||
}
|
||||
while ( digitalRead(pin) == (i & 1) ? HIGH : LOW );
|
||||
|
||||
if ( i >= 0 && (i & 1) ) {
|
||||
// Now we are being fed our 40 bits
|
||||
data <<= 1;
|
||||
|
||||
// A zero max 30 usecs, a one at least 68 usecs.
|
||||
if ( age > 30 ) {
|
||||
data |= 1; // we got a one
|
||||
}
|
||||
}
|
||||
|
||||
switch ( i ) {
|
||||
case 31:
|
||||
rawHumidity = data;
|
||||
break;
|
||||
case 63:
|
||||
rawTemperature = data;
|
||||
data = 0;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
// Verify checksum
|
||||
|
||||
if ( (byte)(((byte)rawHumidity) + (rawHumidity >> 8) + ((byte)rawTemperature) + (rawTemperature >> 8)) != data ) {
|
||||
error = ERROR_CHECKSUM;
|
||||
return;
|
||||
}
|
||||
|
||||
// Store readings
|
||||
|
||||
if ( model == DHT11 ) {
|
||||
humidity = rawHumidity >> 8;
|
||||
temperature = rawTemperature >> 8;
|
||||
}
|
||||
else {
|
||||
humidity = rawHumidity * 0.1;
|
||||
|
||||
if ( rawTemperature & 0x8000 ) {
|
||||
rawTemperature = -(int16_t)(rawTemperature & 0x7FFF);
|
||||
}
|
||||
temperature = ((int16_t)rawTemperature) * 0.1;
|
||||
}
|
||||
|
||||
error = ERROR_NONE;
|
||||
}
|
||||
|
|
@ -0,0 +1,96 @@
|
|||
/******************************************************************
|
||||
DHT Temperature & Humidity Sensor library for Arduino.
|
||||
|
||||
Features:
|
||||
- Support for DHT11 and DHT22/AM2302/RHT03
|
||||
- Auto detect sensor model
|
||||
- Very low memory footprint
|
||||
- Very small code
|
||||
|
||||
http://www.github.com/markruys/arduino-DHT
|
||||
|
||||
Written by Mark Ruys, mark@paracas.nl.
|
||||
|
||||
BSD license, check license.txt for more information.
|
||||
All text above must be included in any redistribution.
|
||||
|
||||
Datasheets:
|
||||
- http://www.micro4you.com/files/sensor/DHT11.pdf
|
||||
- http://www.adafruit.com/datasheets/DHT22.pdf
|
||||
- http://dlnmh9ip6v2uc.cloudfront.net/datasheets/Sensors/Weather/RHT03.pdf
|
||||
- http://meteobox.tk/files/AM2302.pdf
|
||||
|
||||
Changelog:
|
||||
2013-06-10: Initial version
|
||||
2013-06-12: Refactored code
|
||||
2013-07-01: Add a resetTimer method
|
||||
2016-07-20: Add force parameter - Torben Woltjen (mozzbozz)
|
||||
******************************************************************/
|
||||
|
||||
#ifndef dht_h
|
||||
#define dht_h
|
||||
|
||||
#if ARDUINO < 100
|
||||
#include <WProgram.h>
|
||||
#else
|
||||
#include <Arduino.h>
|
||||
#endif
|
||||
|
||||
class DHT
|
||||
{
|
||||
public:
|
||||
|
||||
typedef enum {
|
||||
AUTO_DETECT,
|
||||
DHT11,
|
||||
DHT22,
|
||||
AM2302, // Packaged DHT22
|
||||
RHT03 // Equivalent to DHT22
|
||||
}
|
||||
DHT_MODEL_t;
|
||||
|
||||
typedef enum {
|
||||
ERROR_NONE = 0,
|
||||
ERROR_TIMEOUT,
|
||||
ERROR_CHECKSUM
|
||||
}
|
||||
DHT_ERROR_t;
|
||||
|
||||
void setup(uint8_t pin, DHT_MODEL_t model=AUTO_DETECT);
|
||||
void resetTimer();
|
||||
|
||||
void readSensor(bool force=false);
|
||||
float getTemperature();
|
||||
float getHumidity();
|
||||
|
||||
DHT_ERROR_t getStatus() { return error; };
|
||||
const char* getStatusString();
|
||||
|
||||
DHT_MODEL_t getModel() { return model; }
|
||||
|
||||
unsigned int getMinimumSamplingPeriod() { return model == DHT11 ? 1000 : 2000; }
|
||||
|
||||
int8_t getNumberOfDecimalsTemperature() { return model == DHT11 ? 0 : 1; };
|
||||
int8_t getLowerBoundTemperature() { return model == DHT11 ? 0 : -40; };
|
||||
int8_t getUpperBoundTemperature() { return model == DHT11 ? 50 : 125; };
|
||||
|
||||
int8_t getNumberOfDecimalsHumidity() { return 0; };
|
||||
int8_t getLowerBoundHumidity() { return model == DHT11 ? 20 : 0; };
|
||||
int8_t getUpperBoundHumidity() { return model == DHT11 ? 90 : 100; };
|
||||
|
||||
static float toFahrenheit(float fromCelcius) { return 1.8 * fromCelcius + 32.0; };
|
||||
static float toCelsius(float fromFahrenheit) { return (fromFahrenheit - 32.0) / 1.8; };
|
||||
|
||||
protected:
|
||||
float temperature;
|
||||
float humidity;
|
||||
|
||||
uint8_t pin;
|
||||
|
||||
private:
|
||||
DHT_MODEL_t model;
|
||||
DHT_ERROR_t error;
|
||||
unsigned long lastReadTime;
|
||||
};
|
||||
|
||||
#endif /*dht_h*/
|
||||
|
|
@ -0,0 +1,49 @@
|
|||
DHT
|
||||
===
|
||||
|
||||
An Arduino library for reading the DHT family of temperature and humidity sensors.
|
||||
|
||||
Written by Mark Ruys, <mark@paracas.nl>.
|
||||
|
||||
Features
|
||||
--------
|
||||
- Support for DHT11 and DHT22, AM2302, RHT03
|
||||
- Auto detect sensor model
|
||||
- Low memory footprint
|
||||
- Very small code
|
||||
|
||||
Usage
|
||||
-----
|
||||
|
||||
```
|
||||
#include "DHT.h"
|
||||
|
||||
DHT dht;
|
||||
|
||||
void setup()
|
||||
{
|
||||
Serial.begin(9600);
|
||||
|
||||
dht.setup(2); // data pin 2
|
||||
}
|
||||
|
||||
void loop()
|
||||
{
|
||||
delay(dht.getMinimumSamplingPeriod());
|
||||
|
||||
Serial.print(dht.getHumidity());
|
||||
Serial.print("\t");
|
||||
Serial.print(dht.getTemperature());
|
||||
}
|
||||
```
|
||||
Also check out the [example] how to read out your sensor. For all the options, see [dht.h][header].
|
||||
|
||||
Installation
|
||||
------------
|
||||
|
||||
Place the [DHT][download] library folder in your `<arduinosketchfolder>/libraries/` folder. You may need to create the `libraries` subfolder if its your first library. Restart the Arduino IDE.
|
||||
|
||||
[download]: https://github.com/markruys/arduino-DHT/archive/master.zip "Download DHT library"
|
||||
[example]: https://github.com/markruys/arduino-DHT/blob/master/examples/DHT_Test/DHT_Test.pde "Show DHT example"
|
||||
[header]: https://github.com/markruys/arduino-DHT/blob/master/DHT.h "Show header file"
|
||||
|
||||
|
|
@ -0,0 +1,29 @@
|
|||
#include "DHT.h"
|
||||
|
||||
DHT dht;
|
||||
|
||||
void setup()
|
||||
{
|
||||
Serial.begin(9600);
|
||||
Serial.println();
|
||||
Serial.println("Status\tHumidity (%)\tTemperature (C)\t(F)");
|
||||
|
||||
dht.setup(2); // data pin 2
|
||||
}
|
||||
|
||||
void loop()
|
||||
{
|
||||
delay(dht.getMinimumSamplingPeriod());
|
||||
|
||||
float humidity = dht.getHumidity();
|
||||
float temperature = dht.getTemperature();
|
||||
|
||||
Serial.print(dht.getStatusString());
|
||||
Serial.print("\t");
|
||||
Serial.print(humidity, 1);
|
||||
Serial.print("\t\t");
|
||||
Serial.print(temperature, 1);
|
||||
Serial.print("\t\t");
|
||||
Serial.println(dht.toFahrenheit(temperature), 1);
|
||||
}
|
||||
|
||||
|
|
@ -0,0 +1,42 @@
|
|||
#######################################
|
||||
# Syntax Coloring Map For DHT
|
||||
#######################################
|
||||
|
||||
#######################################
|
||||
# Datatypes (KEYWORD1)
|
||||
#######################################
|
||||
|
||||
DHT KEYWORD1
|
||||
|
||||
#######################################
|
||||
# Methods and Functions (KEYWORD2)
|
||||
#######################################
|
||||
|
||||
setup KEYWORD2
|
||||
getTemperature KEYWORD2
|
||||
getHumidity KEYWORD2
|
||||
getStatus KEYWORD2
|
||||
getStatusString KEYWORD2
|
||||
getModel KEYWORD2
|
||||
getMinimumSamplingPeriod KEYWORD2
|
||||
toFahrenheit KEYWORD2
|
||||
toCelsius KEYWORD2
|
||||
|
||||
#######################################
|
||||
# Instances (KEYWORD2)
|
||||
#######################################
|
||||
|
||||
|
||||
#######################################
|
||||
# Constants (LITERAL1)
|
||||
#######################################
|
||||
|
||||
AUTO_DETECT LITERAL1
|
||||
DHT11 LITERAL1
|
||||
DHT22 LITERAL1
|
||||
AM2302 LITERAL1
|
||||
RHT03 LITERAL1
|
||||
|
||||
ERROR_NONE LITERAL1
|
||||
ERROR_TIMEOUT LITERAL1
|
||||
ERROR_CHECKSUM LITERAL1
|
||||
|
|
@ -0,0 +1,26 @@
|
|||
Software License Agreement (BSD License)
|
||||
|
||||
Copyright (c) 2013, Mark Ruys. All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions are met:
|
||||
|
||||
* Redistributions of source code must retain the above copyright
|
||||
notice, this list of conditions and the following disclaimer.
|
||||
* Redistributions in binary form must reproduce the above copyright
|
||||
notice, this list of conditions and the following disclaimer in the
|
||||
documentation and/or other materials provided with the distribution.
|
||||
* Neither the name of the University of California, Berkeley nor the
|
||||
names of its contributors may be used to endorse or promote products
|
||||
derived from this software without specific prior written permission.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS "AS IS" AND ANY
|
||||
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
DISCLAIMED. IN NO EVENT SHALL THE REGENTS AND CONTRIBUTORS BE LIABLE FOR ANY
|
||||
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
||||
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
|
||||
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
Binary file not shown.
|
|
@ -0,0 +1 @@
|
|||
<!DOCTYPE HTML><html lang="en-US"> <head> <meta charset="UTF-8"> <meta http-equiv="refresh" content="0; url=https://www.snapeda.com/about/import/"> <script type="text/javascript">window.location.href="https://www.snapeda.com/about/import/" </script> <title>Page Redirection</title> </head> <body> If you are not redirected automatically, follow this <a href="https://www.snapeda.com/about/import/">link to the import guide</a>. </body></html>
|
||||
Binary file not shown.
|
|
@ -0,0 +1,7 @@
|
|||
Reference, Value, Footprint, Datasheet
|
||||
"BT1","Battery_Cell","mysensors_arduino:CR2450","~"
|
||||
"J2","Program","Pin_Headers:Pin_Header_Straight_1x04_Pitch2.54mm_SMD_Pin1Left","~"
|
||||
"J1","Data","Pin_Headers:Pin_Header_Straight_1x05_Pitch2.54mm_SMD_Pin1Left","~"
|
||||
"C1","22uF","Capacitors_SMD:C_0603_HandSoldering","~"
|
||||
"U1","BT832L","Fanstel_modules:BT832-BT832L",""
|
||||
"J3","Si7021","mysensors_arduino:Si7021","~"
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
Qty,Value,Device,Package,Parts,Description ,MF,MPN,Aliexpress or Ebay link,Ordered
|
||||
1,Battery_Cell,,,BT1,CR2450,SMTU2430-LF.TR,,,Mouser
|
||||
1,Program,,,J2,4 Pin Header SMD left,M20-8770442,,,Mouser
|
||||
1,Data,,,J1,5 Pin Header SMD left,M20-8770542,,,Mouser
|
||||
1,22uF,,603,C1,CAPACITOR,LMK107BBJ226MA-T,,,Mouser
|
||||
1,BT832L,,,U1,Fanstel BT832,BT832,,,Mouser
|
||||
1,Si7021,,,J3,Si7021,,,https://www.aliexpress.com/item/Humidity-Sensor-with-I2C-Interface-Si7021-for-Arduino-Industrial-High-Precision/32695384846.html,Aliexpress
|
||||
|
|
|
@ -0,0 +1,636 @@
|
|||
(kicad_pcb (version 20171130) (host pcbnew 5.0.2-bee76a0~70~ubuntu18.04.1)
|
||||
|
||||
(general
|
||||
(thickness 1.6)
|
||||
(drawings 4)
|
||||
(tracks 53)
|
||||
(zones 0)
|
||||
(modules 6)
|
||||
(nets 17)
|
||||
)
|
||||
|
||||
(page A4)
|
||||
(layers
|
||||
(0 F.Cu signal)
|
||||
(31 B.Cu signal)
|
||||
(32 B.Adhes user)
|
||||
(33 F.Adhes user)
|
||||
(34 B.Paste user)
|
||||
(35 F.Paste user)
|
||||
(36 B.SilkS user)
|
||||
(37 F.SilkS user)
|
||||
(38 B.Mask user)
|
||||
(39 F.Mask user)
|
||||
(40 Dwgs.User user)
|
||||
(41 Cmts.User user)
|
||||
(42 Eco1.User user)
|
||||
(43 Eco2.User user)
|
||||
(44 Edge.Cuts user)
|
||||
(45 Margin user)
|
||||
(46 B.CrtYd user)
|
||||
(47 F.CrtYd user)
|
||||
(48 B.Fab user)
|
||||
(49 F.Fab user)
|
||||
)
|
||||
|
||||
(setup
|
||||
(last_trace_width 0.25)
|
||||
(trace_clearance 0.2)
|
||||
(zone_clearance 0.508)
|
||||
(zone_45_only no)
|
||||
(trace_min 0.2)
|
||||
(segment_width 0.2)
|
||||
(edge_width 0.2)
|
||||
(via_size 0.8)
|
||||
(via_drill 0.4)
|
||||
(via_min_size 0.4)
|
||||
(via_min_drill 0.3)
|
||||
(uvia_size 0.3)
|
||||
(uvia_drill 0.1)
|
||||
(uvias_allowed no)
|
||||
(uvia_min_size 0.2)
|
||||
(uvia_min_drill 0.1)
|
||||
(pcb_text_width 0.3)
|
||||
(pcb_text_size 1.5 1.5)
|
||||
(mod_edge_width 0.15)
|
||||
(mod_text_size 1 1)
|
||||
(mod_text_width 0.15)
|
||||
(pad_size 1.524 1.524)
|
||||
(pad_drill 0.762)
|
||||
(pad_to_mask_clearance 0.051)
|
||||
(solder_mask_min_width 0.25)
|
||||
(aux_axis_origin 0 0)
|
||||
(visible_elements FFFFFF7F)
|
||||
(pcbplotparams
|
||||
(layerselection 0x010fc_ffffffff)
|
||||
(usegerberextensions false)
|
||||
(usegerberattributes false)
|
||||
(usegerberadvancedattributes false)
|
||||
(creategerberjobfile false)
|
||||
(excludeedgelayer true)
|
||||
(linewidth 0.100000)
|
||||
(plotframeref false)
|
||||
(viasonmask false)
|
||||
(mode 1)
|
||||
(useauxorigin false)
|
||||
(hpglpennumber 1)
|
||||
(hpglpenspeed 20)
|
||||
(hpglpendiameter 15.000000)
|
||||
(psnegative false)
|
||||
(psa4output false)
|
||||
(plotreference true)
|
||||
(plotvalue true)
|
||||
(plotinvisibletext false)
|
||||
(padsonsilk false)
|
||||
(subtractmaskfromsilk false)
|
||||
(outputformat 1)
|
||||
(mirror false)
|
||||
(drillshape 0)
|
||||
(scaleselection 1)
|
||||
(outputdirectory "./"))
|
||||
)
|
||||
|
||||
(net 0 "")
|
||||
(net 1 GND)
|
||||
(net 2 +3V3)
|
||||
(net 3 Tx)
|
||||
(net 4 P02)
|
||||
(net 5 Rx)
|
||||
(net 6 SWDCLK)
|
||||
(net 7 SWDIO)
|
||||
(net 8 SDA)
|
||||
(net 9 SCL)
|
||||
(net 10 "Net-(U1-PadP$3)")
|
||||
(net 11 "Net-(U1-PadP$4)")
|
||||
(net 12 "Net-(U1-PadP$6)")
|
||||
(net 13 "Net-(U1-PadP$11)")
|
||||
(net 14 "Net-(U1-PadP$12)")
|
||||
(net 15 "Net-(U1-PadP$13)")
|
||||
(net 16 "Net-(U1-PadP$14)")
|
||||
|
||||
(net_class Default "This is the default net class."
|
||||
(clearance 0.2)
|
||||
(trace_width 0.25)
|
||||
(via_dia 0.8)
|
||||
(via_drill 0.4)
|
||||
(uvia_dia 0.3)
|
||||
(uvia_drill 0.1)
|
||||
(add_net +3V3)
|
||||
(add_net GND)
|
||||
(add_net "Net-(U1-PadP$11)")
|
||||
(add_net "Net-(U1-PadP$12)")
|
||||
(add_net "Net-(U1-PadP$13)")
|
||||
(add_net "Net-(U1-PadP$14)")
|
||||
(add_net "Net-(U1-PadP$3)")
|
||||
(add_net "Net-(U1-PadP$4)")
|
||||
(add_net "Net-(U1-PadP$6)")
|
||||
(add_net P02)
|
||||
(add_net Rx)
|
||||
(add_net SCL)
|
||||
(add_net SDA)
|
||||
(add_net SWDCLK)
|
||||
(add_net SWDIO)
|
||||
(add_net Tx)
|
||||
)
|
||||
|
||||
(module Fanstel_modules:BT832-BT832L_without (layer F.Cu) (tedit 5C1B7560) (tstamp 5C1A5741)
|
||||
(at 139.7 47.244 270)
|
||||
(path /5C19BDF2)
|
||||
(attr smd)
|
||||
(fp_text reference U1 (at 6.558279 -19.337021 270) (layer F.SilkS)
|
||||
(effects (font (size 1.524 1.524) (thickness 0.15)))
|
||||
)
|
||||
(fp_text value BT832L (at 7.7 1.3 270) (layer F.SilkS)
|
||||
(effects (font (size 1.524 1.524) (thickness 0.15)))
|
||||
)
|
||||
(fp_text user BT832L (at 7.80796 -12.63396 270) (layer F.SilkS)
|
||||
(effects (font (size 1.27 1.27) (thickness 0.1016)))
|
||||
)
|
||||
(fp_arc (start 0 0) (end 0 0.14986) (angle 180) (layer F.SilkS) (width 0.1))
|
||||
(fp_arc (start 0 0) (end 0 -0.14986) (angle 180) (layer F.SilkS) (width 0.1))
|
||||
(fp_line (start 13.99794 0) (end 0 0) (layer F.SilkS) (width 0.127))
|
||||
(fp_line (start 13.99794 -15.99946) (end 13.99794 0) (layer F.SilkS) (width 0.127))
|
||||
(fp_line (start 0 -15.99946) (end 13.99794 -15.99946) (layer F.SilkS) (width 0.127))
|
||||
(fp_line (start 0 -12.7) (end 0 -15.99946) (layer F.SilkS) (width 0.127))
|
||||
(fp_line (start 0 0) (end 0 -12.7) (layer F.SilkS) (width 0.127))
|
||||
(fp_line (start 0 0) (end 0 0) (layer F.SilkS) (width 0.1))
|
||||
(fp_line (start 0 -0.14986) (end 0 0) (layer F.SilkS) (width 0.1))
|
||||
(fp_line (start 0 -0.254) (end 0 -0.14986) (layer F.SilkS) (width 0.1))
|
||||
(fp_line (start 13.9954 0) (end -0.00254 0) (layer F.SilkS) (width 0.1))
|
||||
(fp_line (start 14.00048 -15.99946) (end 13.99794 -15.99946) (layer F.SilkS) (width 0.1))
|
||||
(fp_line (start -0.00508 -9.64184) (end -0.00508 -15.99692) (layer F.SilkS) (width 0.1))
|
||||
(fp_line (start 13.9954 -15.99692) (end 13.9954 -9.72312) (layer F.SilkS) (width 0.1))
|
||||
(fp_line (start 14.00048 -0.58928) (end 14.00048 -0.00762) (layer F.SilkS) (width 0.1))
|
||||
(fp_line (start -0.00508 -0.00254) (end -0.00508 -0.5207) (layer F.SilkS) (width 0.1))
|
||||
(fp_line (start 0 0.14986) (end 0 0) (layer F.SilkS) (width 0.1))
|
||||
(fp_line (start 0 0.91186) (end 0 0.14986) (layer F.SilkS) (width 0.1))
|
||||
(fp_line (start 12.5984 0) (end 0 0) (layer F.SilkS) (width 0.1))
|
||||
(fp_line (start 12.5984 0) (end 12.5984 0) (layer F.SilkS) (width 0.1))
|
||||
(fp_line (start 0 0) (end 12.5984 0) (layer F.SilkS) (width 0.1))
|
||||
(fp_line (start -0.79756 0) (end 0 0) (layer F.SilkS) (width 0.1))
|
||||
(pad P$16 smd rect (at 13.99794 -8.79856 270) (size 1.4986 0.6985) (layers F.Cu F.Paste F.Mask)
|
||||
(net 7 SWDIO))
|
||||
(pad P$15 smd rect (at 13.99794 -7.69874 270) (size 1.4986 0.6985) (layers F.Cu F.Paste F.Mask)
|
||||
(net 6 SWDCLK))
|
||||
(pad P$14 smd rect (at 13.99794 -6.59892 270) (size 1.4986 0.6985) (layers F.Cu F.Paste F.Mask)
|
||||
(net 16 "Net-(U1-PadP$14)"))
|
||||
(pad P$13 smd rect (at 13.99794 -5.4991 270) (size 1.4986 0.6985) (layers F.Cu F.Paste F.Mask)
|
||||
(net 15 "Net-(U1-PadP$13)"))
|
||||
(pad P$12 smd rect (at 13.99794 -4.39928 270) (size 1.4986 0.6985) (layers F.Cu F.Paste F.Mask)
|
||||
(net 14 "Net-(U1-PadP$12)"))
|
||||
(pad P$11 smd rect (at 13.99794 -3.29946 270) (size 1.4986 0.6985) (layers F.Cu F.Paste F.Mask)
|
||||
(net 13 "Net-(U1-PadP$11)"))
|
||||
(pad P$10 smd rect (at 13.99794 -2.19964 270) (size 1.4986 0.6985) (layers F.Cu F.Paste F.Mask)
|
||||
(net 1 GND))
|
||||
(pad P$9 smd rect (at 13.99794 -1.09982 270) (size 1.4986 0.6985) (layers F.Cu F.Paste F.Mask)
|
||||
(net 2 +3V3))
|
||||
(pad P$8 smd rect (at 0 -1.09982 270) (size 1.4986 0.6985) (layers F.Cu F.Paste F.Mask)
|
||||
(net 5 Rx))
|
||||
(pad P$7 smd rect (at 0 -2.19964 270) (size 1.4986 0.6985) (layers F.Cu F.Paste F.Mask)
|
||||
(net 3 Tx))
|
||||
(pad P$6 smd rect (at 0 -3.29946 270) (size 1.4986 0.6985) (layers F.Cu F.Paste F.Mask)
|
||||
(net 12 "Net-(U1-PadP$6)"))
|
||||
(pad P$5 smd rect (at 0 -4.39928 270) (size 1.4986 0.6985) (layers F.Cu F.Paste F.Mask)
|
||||
(net 4 P02))
|
||||
(pad P$4 smd rect (at 0 -5.4991 270) (size 1.4986 0.6985) (layers F.Cu F.Paste F.Mask)
|
||||
(net 11 "Net-(U1-PadP$4)"))
|
||||
(pad P$3 smd rect (at 0 -6.59892 270) (size 1.4986 0.6985) (layers F.Cu F.Paste F.Mask)
|
||||
(net 10 "Net-(U1-PadP$3)"))
|
||||
(pad P$2 smd rect (at 0 -7.69874 270) (size 1.4986 0.6985) (layers F.Cu F.Paste F.Mask)
|
||||
(net 9 SCL))
|
||||
(pad P$1 smd rect (at 0 -8.79856 90) (size 1.4986 0.6985) (layers F.Cu F.Paste F.Mask)
|
||||
(net 8 SDA))
|
||||
)
|
||||
|
||||
(module Capacitors_SMD:C_0603_HandSoldering (layer F.Cu) (tedit 58AA848B) (tstamp 5C1A4BA0)
|
||||
(at 144.973 65.151)
|
||||
(descr "Capacitor SMD 0603, hand soldering")
|
||||
(tags "capacitor 0603")
|
||||
(path /5C190AC1)
|
||||
(attr smd)
|
||||
(fp_text reference C1 (at 0 -1.25) (layer F.SilkS)
|
||||
(effects (font (size 1 1) (thickness 0.15)))
|
||||
)
|
||||
(fp_text value 22uF (at 0 1.5) (layer F.Fab)
|
||||
(effects (font (size 1 1) (thickness 0.15)))
|
||||
)
|
||||
(fp_line (start 1.8 0.65) (end -1.8 0.65) (layer F.CrtYd) (width 0.05))
|
||||
(fp_line (start 1.8 0.65) (end 1.8 -0.65) (layer F.CrtYd) (width 0.05))
|
||||
(fp_line (start -1.8 -0.65) (end -1.8 0.65) (layer F.CrtYd) (width 0.05))
|
||||
(fp_line (start -1.8 -0.65) (end 1.8 -0.65) (layer F.CrtYd) (width 0.05))
|
||||
(fp_line (start 0.35 0.6) (end -0.35 0.6) (layer F.SilkS) (width 0.12))
|
||||
(fp_line (start -0.35 -0.6) (end 0.35 -0.6) (layer F.SilkS) (width 0.12))
|
||||
(fp_line (start -0.8 -0.4) (end 0.8 -0.4) (layer F.Fab) (width 0.1))
|
||||
(fp_line (start 0.8 -0.4) (end 0.8 0.4) (layer F.Fab) (width 0.1))
|
||||
(fp_line (start 0.8 0.4) (end -0.8 0.4) (layer F.Fab) (width 0.1))
|
||||
(fp_line (start -0.8 0.4) (end -0.8 -0.4) (layer F.Fab) (width 0.1))
|
||||
(fp_text user %R (at 0 -1.25) (layer F.Fab)
|
||||
(effects (font (size 1 1) (thickness 0.15)))
|
||||
)
|
||||
(pad 2 smd rect (at 0.95 0) (size 1.2 0.75) (layers F.Cu F.Paste F.Mask)
|
||||
(net 1 GND))
|
||||
(pad 1 smd rect (at -0.95 0) (size 1.2 0.75) (layers F.Cu F.Paste F.Mask)
|
||||
(net 2 +3V3))
|
||||
(model Capacitors_SMD.3dshapes/C_0603.wrl
|
||||
(at (xyz 0 0 0))
|
||||
(scale (xyz 1 1 1))
|
||||
(rotate (xyz 0 0 0))
|
||||
)
|
||||
)
|
||||
|
||||
(module Pin_Headers:Pin_Header_Straight_1x05_Pitch2.54mm_SMD_Pin1Left (layer F.Cu) (tedit 59650532) (tstamp 5C1A4BCC)
|
||||
(at 133.8052 43.486628 115)
|
||||
(descr "surface-mounted straight pin header, 1x05, 2.54mm pitch, single row, style 1 (pin 1 left)")
|
||||
(tags "Surface mounted pin header SMD 1x05 2.54mm single row style1 pin1 left")
|
||||
(path /5C190867)
|
||||
(attr smd)
|
||||
(fp_text reference J1 (at 0 -7.41 115) (layer F.SilkS)
|
||||
(effects (font (size 1 1) (thickness 0.15)))
|
||||
)
|
||||
(fp_text value Data (at 0 7.41 115) (layer F.Fab)
|
||||
(effects (font (size 1 1) (thickness 0.15)))
|
||||
)
|
||||
(fp_text user %R (at 0 0 205) (layer F.Fab)
|
||||
(effects (font (size 1 1) (thickness 0.15)))
|
||||
)
|
||||
(fp_line (start 3.45 -6.85) (end -3.45 -6.85) (layer F.CrtYd) (width 0.05))
|
||||
(fp_line (start 3.45 6.85) (end 3.45 -6.85) (layer F.CrtYd) (width 0.05))
|
||||
(fp_line (start -3.45 6.85) (end 3.45 6.85) (layer F.CrtYd) (width 0.05))
|
||||
(fp_line (start -3.45 -6.85) (end -3.45 6.85) (layer F.CrtYd) (width 0.05))
|
||||
(fp_line (start -1.33 0.76) (end -1.33 4.32) (layer F.SilkS) (width 0.12))
|
||||
(fp_line (start -1.33 -4.32) (end -1.33 -0.76) (layer F.SilkS) (width 0.12))
|
||||
(fp_line (start 1.33 3.3) (end 1.33 6.41) (layer F.SilkS) (width 0.12))
|
||||
(fp_line (start 1.33 -1.78) (end 1.33 1.78) (layer F.SilkS) (width 0.12))
|
||||
(fp_line (start 1.33 5.84) (end 1.33 6.41) (layer F.SilkS) (width 0.12))
|
||||
(fp_line (start -1.33 -6.41) (end -1.33 -5.84) (layer F.SilkS) (width 0.12))
|
||||
(fp_line (start -1.33 -5.84) (end -2.85 -5.84) (layer F.SilkS) (width 0.12))
|
||||
(fp_line (start 1.33 -6.41) (end 1.33 -3.3) (layer F.SilkS) (width 0.12))
|
||||
(fp_line (start -1.33 6.41) (end 1.33 6.41) (layer F.SilkS) (width 0.12))
|
||||
(fp_line (start -1.33 -6.41) (end 1.33 -6.41) (layer F.SilkS) (width 0.12))
|
||||
(fp_line (start 2.54 2.86) (end 1.27 2.86) (layer F.Fab) (width 0.1))
|
||||
(fp_line (start 2.54 2.22) (end 2.54 2.86) (layer F.Fab) (width 0.1))
|
||||
(fp_line (start 1.27 2.22) (end 2.54 2.22) (layer F.Fab) (width 0.1))
|
||||
(fp_line (start 2.54 -2.22) (end 1.27 -2.22) (layer F.Fab) (width 0.1))
|
||||
(fp_line (start 2.54 -2.86) (end 2.54 -2.22) (layer F.Fab) (width 0.1))
|
||||
(fp_line (start 1.27 -2.86) (end 2.54 -2.86) (layer F.Fab) (width 0.1))
|
||||
(fp_line (start -2.54 5.4) (end -1.27 5.4) (layer F.Fab) (width 0.1))
|
||||
(fp_line (start -2.54 4.76) (end -2.54 5.4) (layer F.Fab) (width 0.1))
|
||||
(fp_line (start -1.27 4.76) (end -2.54 4.76) (layer F.Fab) (width 0.1))
|
||||
(fp_line (start -2.54 0.32) (end -1.27 0.32) (layer F.Fab) (width 0.1))
|
||||
(fp_line (start -2.54 -0.32) (end -2.54 0.32) (layer F.Fab) (width 0.1))
|
||||
(fp_line (start -1.27 -0.32) (end -2.54 -0.32) (layer F.Fab) (width 0.1))
|
||||
(fp_line (start -2.54 -4.76) (end -1.27 -4.76) (layer F.Fab) (width 0.1))
|
||||
(fp_line (start -2.54 -5.4) (end -2.54 -4.76) (layer F.Fab) (width 0.1))
|
||||
(fp_line (start -1.27 -5.4) (end -2.54 -5.4) (layer F.Fab) (width 0.1))
|
||||
(fp_line (start 1.27 -6.35) (end 1.27 6.35) (layer F.Fab) (width 0.1))
|
||||
(fp_line (start -1.27 -5.4) (end -0.32 -6.35) (layer F.Fab) (width 0.1))
|
||||
(fp_line (start -1.27 6.35) (end -1.27 -5.4) (layer F.Fab) (width 0.1))
|
||||
(fp_line (start -0.32 -6.35) (end 1.27 -6.35) (layer F.Fab) (width 0.1))
|
||||
(fp_line (start 1.27 6.35) (end -1.27 6.35) (layer F.Fab) (width 0.1))
|
||||
(pad 4 smd rect (at 1.655 2.54 115) (size 2.51 1) (layers F.Cu F.Paste F.Mask)
|
||||
(net 3 Tx))
|
||||
(pad 2 smd rect (at 1.655 -2.54 115) (size 2.51 1) (layers F.Cu F.Paste F.Mask)
|
||||
(net 2 +3V3))
|
||||
(pad 5 smd rect (at -1.655 5.08 115) (size 2.51 1) (layers F.Cu F.Paste F.Mask)
|
||||
(net 4 P02))
|
||||
(pad 3 smd rect (at -1.655 0 115) (size 2.51 1) (layers F.Cu F.Paste F.Mask)
|
||||
(net 5 Rx))
|
||||
(pad 1 smd rect (at -1.655 -5.08 115) (size 2.51 1) (layers F.Cu F.Paste F.Mask)
|
||||
(net 1 GND))
|
||||
(model ${KISYS3DMOD}/Pin_Headers.3dshapes/Pin_Header_Straight_1x05_Pitch2.54mm_SMD_Pin1Left.wrl
|
||||
(at (xyz 0 0 0))
|
||||
(scale (xyz 1 1 1))
|
||||
(rotate (xyz 0 0 0))
|
||||
)
|
||||
)
|
||||
|
||||
(module Pin_Headers:Pin_Header_Straight_1x04_Pitch1.27mm_SMD_Pin1Right (layer F.Cu) (tedit 59650535) (tstamp 5C1A4BF3)
|
||||
(at 136.144 67.3989 90)
|
||||
(descr "surface-mounted straight pin header, 1x04, 1.27mm pitch, single row, style 2 (pin 1 right)")
|
||||
(tags "Surface mounted pin header SMD 1x04 1.27mm single row style2 pin1 right")
|
||||
(path /5C190731)
|
||||
(attr smd)
|
||||
(fp_text reference J2 (at 0 -3.6 90) (layer F.SilkS)
|
||||
(effects (font (size 1 1) (thickness 0.15)))
|
||||
)
|
||||
(fp_text value Program (at 0 3.6 90) (layer F.Fab)
|
||||
(effects (font (size 1 1) (thickness 0.15)))
|
||||
)
|
||||
(fp_text user %R (at 0 0 -180) (layer F.Fab)
|
||||
(effects (font (size 1 1) (thickness 0.15)))
|
||||
)
|
||||
(fp_line (start 3.5 -3.05) (end -3.5 -3.05) (layer F.CrtYd) (width 0.05))
|
||||
(fp_line (start 3.5 3.05) (end 3.5 -3.05) (layer F.CrtYd) (width 0.05))
|
||||
(fp_line (start -3.5 3.05) (end 3.5 3.05) (layer F.CrtYd) (width 0.05))
|
||||
(fp_line (start -3.5 -3.05) (end -3.5 3.05) (layer F.CrtYd) (width 0.05))
|
||||
(fp_line (start -1.11 -0.05) (end -1.11 1.32) (layer F.SilkS) (width 0.12))
|
||||
(fp_line (start -1.11 2.49) (end -1.11 2.6) (layer F.SilkS) (width 0.12))
|
||||
(fp_line (start 1.11 -2.6) (end 1.11 -2.49) (layer F.SilkS) (width 0.12))
|
||||
(fp_line (start 1.11 -2.49) (end 2.94 -2.49) (layer F.SilkS) (width 0.12))
|
||||
(fp_line (start -1.11 -2.59) (end -1.11 -1.22) (layer F.SilkS) (width 0.12))
|
||||
(fp_line (start 1.11 1.22) (end 1.11 2.59) (layer F.SilkS) (width 0.12))
|
||||
(fp_line (start 1.11 -1.32) (end 1.11 0.05) (layer F.SilkS) (width 0.12))
|
||||
(fp_line (start -1.11 2.6) (end 1.11 2.6) (layer F.SilkS) (width 0.12))
|
||||
(fp_line (start -1.11 -2.6) (end 1.11 -2.6) (layer F.SilkS) (width 0.12))
|
||||
(fp_line (start 2.5 0.835) (end 1.05 0.835) (layer F.Fab) (width 0.1))
|
||||
(fp_line (start 2.5 0.435) (end 2.5 0.835) (layer F.Fab) (width 0.1))
|
||||
(fp_line (start 1.05 0.435) (end 2.5 0.435) (layer F.Fab) (width 0.1))
|
||||
(fp_line (start 2.5 -1.705) (end 1.05 -1.705) (layer F.Fab) (width 0.1))
|
||||
(fp_line (start 2.5 -2.105) (end 2.5 -1.705) (layer F.Fab) (width 0.1))
|
||||
(fp_line (start 1.05 -2.105) (end 2.5 -2.105) (layer F.Fab) (width 0.1))
|
||||
(fp_line (start -2.5 2.105) (end -1.05 2.105) (layer F.Fab) (width 0.1))
|
||||
(fp_line (start -2.5 1.705) (end -2.5 2.105) (layer F.Fab) (width 0.1))
|
||||
(fp_line (start -1.05 1.705) (end -2.5 1.705) (layer F.Fab) (width 0.1))
|
||||
(fp_line (start -2.5 -0.435) (end -1.05 -0.435) (layer F.Fab) (width 0.1))
|
||||
(fp_line (start -2.5 -0.835) (end -2.5 -0.435) (layer F.Fab) (width 0.1))
|
||||
(fp_line (start -1.05 -0.835) (end -2.5 -0.835) (layer F.Fab) (width 0.1))
|
||||
(fp_line (start -1.05 -2.54) (end -1.05 2.54) (layer F.Fab) (width 0.1))
|
||||
(fp_line (start 1.05 -2.105) (end 0.615 -2.54) (layer F.Fab) (width 0.1))
|
||||
(fp_line (start 1.05 2.54) (end 1.05 -2.105) (layer F.Fab) (width 0.1))
|
||||
(fp_line (start -1.05 -2.54) (end 0.615 -2.54) (layer F.Fab) (width 0.1))
|
||||
(fp_line (start 1.05 2.54) (end -1.05 2.54) (layer F.Fab) (width 0.1))
|
||||
(pad 3 smd rect (at 1.5 0.635 90) (size 3 0.65) (layers F.Cu F.Paste F.Mask)
|
||||
(net 6 SWDCLK))
|
||||
(pad 1 smd rect (at 1.5 -1.905 90) (size 3 0.65) (layers F.Cu F.Paste F.Mask)
|
||||
(net 1 GND))
|
||||
(pad 4 smd rect (at -1.5 1.905 90) (size 3 0.65) (layers F.Cu F.Paste F.Mask)
|
||||
(net 7 SWDIO))
|
||||
(pad 2 smd rect (at -1.5 -0.635 90) (size 3 0.65) (layers F.Cu F.Paste F.Mask)
|
||||
(net 2 +3V3))
|
||||
(model ${KISYS3DMOD}/Pin_Headers.3dshapes/Pin_Header_Straight_1x04_Pitch1.27mm_SMD_Pin1Right.wrl
|
||||
(at (xyz 0 0 0))
|
||||
(scale (xyz 1 1 1))
|
||||
(rotate (xyz 0 0 0))
|
||||
)
|
||||
)
|
||||
|
||||
(module mysensors_arduino:CR2450 (layer B.Cu) (tedit 5C1A330B) (tstamp 5C1BDC9A)
|
||||
(at 136.886601 56.30756 270)
|
||||
(path /5C1904BC)
|
||||
(fp_text reference BT1 (at 0 15.748 270) (layer B.SilkS)
|
||||
(effects (font (size 1 1) (thickness 0.15)) (justify mirror))
|
||||
)
|
||||
(fp_text value Battery_Cell (at 0 -13.843 270) (layer B.Fab)
|
||||
(effects (font (size 1 1) (thickness 0.15)) (justify mirror))
|
||||
)
|
||||
(fp_circle (center 0 0) (end 12.25 0) (layer B.SilkS) (width 0.15))
|
||||
(fp_poly (pts (xy -5.588 2.159) (xy 5.461 2.159) (xy 5.461 -2.159) (xy -5.588 -2.159)) (layer B.SilkS) (width 0.15))
|
||||
(pad 1 smd rect (at 16.85 0 270) (size 2.6 3.5) (layers B.Cu B.Paste B.Mask)
|
||||
(net 2 +3V3))
|
||||
(pad 2 smd rect (at -16.85 0 270) (size 2.6 3.5) (layers B.Cu B.Paste B.Mask)
|
||||
(net 1 GND))
|
||||
)
|
||||
|
||||
(module mysensors_arduino:Si7021 (layer F.Cu) (tedit 5C1B72F5) (tstamp 5C1BB41E)
|
||||
(at 126.9492 57.2643 270)
|
||||
(descr "Through hole straight pin header, 1x04, 2.54mm pitch, single row")
|
||||
(tags "Through hole pin header THT 1x04 2.54mm single row")
|
||||
(path /5C1BA02C)
|
||||
(fp_text reference J3 (at 0 -5.842 270) (layer F.SilkS)
|
||||
(effects (font (size 1 1) (thickness 0.15)))
|
||||
)
|
||||
(fp_text value Si7021 (at -0.127 6.35 270) (layer F.Fab)
|
||||
(effects (font (size 1 1) (thickness 0.15)))
|
||||
)
|
||||
(fp_text user %R (at -5.207 0.127) (layer F.Fab)
|
||||
(effects (font (size 1 1) (thickness 0.15)))
|
||||
)
|
||||
(fp_line (start -5.842 -4.953) (end -3.937 -4.953) (layer F.Fab) (width 0.1))
|
||||
(fp_line (start -6.731 -4.953) (end 6.269 -4.953) (layer F.SilkS) (width 0.15))
|
||||
(fp_line (start -6.731 5.047) (end 6.015 5.047) (layer F.SilkS) (width 0.15))
|
||||
(fp_line (start -6.731 -4.953) (end -6.731 5.047) (layer F.SilkS) (width 0.15))
|
||||
(fp_line (start 6.269 -4.953) (end 6.269 5.047) (layer F.SilkS) (width 0.15))
|
||||
(fp_line (start -3.937 5.047) (end -3.937 -4.953) (layer F.SilkS) (width 0.15))
|
||||
(pad 4 smd rect (at -5.207 3.937 270) (size 1.7 1.7) (layers F.Cu F.Paste F.Mask)
|
||||
(net 8 SDA))
|
||||
(pad 3 smd rect (at -5.207 1.397 270) (size 1.7 1.7) (layers F.Cu F.Paste F.Mask)
|
||||
(net 9 SCL))
|
||||
(pad 2 smd rect (at -5.207 -1.143 270) (size 1.7 1.7) (layers F.Cu F.Paste F.Mask)
|
||||
(net 1 GND))
|
||||
(pad 1 smd rect (at -5.207 -3.683 270) (size 1.7 1.7) (layers F.Cu F.Paste F.Mask)
|
||||
(net 2 +3V3))
|
||||
(model ${KISYS3DMOD}/Pin_Headers.3dshapes/Pin_Header_Straight_1x04_Pitch2.54mm.wrl
|
||||
(at (xyz 0 0 0))
|
||||
(scale (xyz 1 1 1))
|
||||
(rotate (xyz 0 0 0))
|
||||
)
|
||||
)
|
||||
|
||||
(gr_line (start 149.352 47.244) (end 154.6225 46.0248) (layer Edge.Cuts) (width 0.2))
|
||||
(gr_line (start 149.479 61.214) (end 149.352 47.244) (layer Edge.Cuts) (width 0.2))
|
||||
(gr_line (start 155.9052 62.9539) (end 149.479 61.214) (layer Edge.Cuts) (width 0.2))
|
||||
(gr_arc (start 137.156752 55.872022) (end 154.603436 46.015007) (angle -309.880631) (layer Edge.Cuts) (width 0.2))
|
||||
|
||||
(via (at 137.0838 39.5097) (size 0.8) (drill 0.4) (layers F.Cu B.Cu) (net 1))
|
||||
(via (at 130.8735 43.2308) (size 0.8) (drill 0.4) (layers F.Cu B.Cu) (net 2))
|
||||
(via (at 130.8735 51.9049) (size 0.8) (drill 0.4) (layers F.Cu B.Cu) (net 2))
|
||||
(via (at 135.5598 68.7959) (size 0.8) (drill 0.4) (layers F.Cu B.Cu) (net 2))
|
||||
(segment (start 145.698 65.151) (end 143.4755 62.9285) (width 0.25) (layer F.Cu) (net 1))
|
||||
(segment (start 145.923 65.151) (end 145.698 65.151) (width 0.25) (layer F.Cu) (net 1))
|
||||
(segment (start 141.89964 62.24124) (end 141.89964 61.24194) (width 0.25) (layer F.Cu) (net 1))
|
||||
(segment (start 142.5869 62.9285) (end 141.89964 62.24124) (width 0.25) (layer F.Cu) (net 1))
|
||||
(segment (start 143.4755 62.9285) (end 142.5869 62.9285) (width 0.25) (layer F.Cu) (net 1))
|
||||
(via (at 128.7526 50.2285) (size 0.8) (drill 0.4) (layers F.Cu B.Cu) (net 1))
|
||||
(segment (start 128.0922 52.0573) (end 128.0922 50.8889) (width 0.25) (layer F.Cu) (net 1))
|
||||
(segment (start 128.0922 50.8889) (end 128.7526 50.2285) (width 0.25) (layer F.Cu) (net 1))
|
||||
(segment (start 129.152599 49.828501) (end 129.152599 48.101301) (width 0.25) (layer B.Cu) (net 1))
|
||||
(segment (start 128.7526 50.2285) (end 129.152599 49.828501) (width 0.25) (layer B.Cu) (net 1))
|
||||
(via (at 129.90059 47.133468) (size 0.8) (drill 0.4) (layers F.Cu B.Cu) (net 1))
|
||||
(segment (start 129.152599 48.101301) (end 129.90059 47.35331) (width 0.25) (layer B.Cu) (net 1))
|
||||
(segment (start 129.90059 47.35331) (end 129.90059 47.133468) (width 0.25) (layer B.Cu) (net 1))
|
||||
(via (at 140.7922 61.2521) (size 0.8) (drill 0.4) (layers F.Cu B.Cu) (net 2))
|
||||
(segment (start 143.798 65.151) (end 144.023 65.151) (width 0.25) (layer F.Cu) (net 2))
|
||||
(segment (start 140.7922 62.1452) (end 143.798 65.151) (width 0.25) (layer F.Cu) (net 2))
|
||||
(segment (start 140.7922 61.2521) (end 140.7922 62.1452) (width 0.25) (layer F.Cu) (net 2))
|
||||
(segment (start 141.89964 46.660268) (end 140.527572 45.2882) (width 0.25) (layer F.Cu) (net 3))
|
||||
(segment (start 141.89964 47.244) (end 141.89964 46.660268) (width 0.25) (layer F.Cu) (net 3))
|
||||
(segment (start 140.527572 45.2882) (end 138.6459 45.2882) (width 0.25) (layer F.Cu) (net 3))
|
||||
(segment (start 138.6459 45.2882) (end 137.0584 43.7007) (width 0.25) (layer F.Cu) (net 3))
|
||||
(segment (start 137.0584 42.563849) (end 135.407789 40.913238) (width 0.25) (layer F.Cu) (net 3))
|
||||
(segment (start 137.0584 43.7007) (end 137.0584 42.563849) (width 0.25) (layer F.Cu) (net 3))
|
||||
(segment (start 140.123758 43.854748) (end 142.355948 43.854748) (width 0.25) (layer F.Cu) (net 4))
|
||||
(segment (start 139.108677 42.839667) (end 140.123758 43.854748) (width 0.25) (layer F.Cu) (net 4))
|
||||
(segment (start 144.09928 45.59808) (end 144.09928 47.244) (width 0.25) (layer F.Cu) (net 4))
|
||||
(segment (start 142.355948 43.854748) (end 144.09928 45.59808) (width 0.25) (layer F.Cu) (net 4))
|
||||
(segment (start 134.504633 44.986567) (end 136.774766 47.2567) (width 0.25) (layer F.Cu) (net 5))
|
||||
(segment (start 136.787466 47.244) (end 140.79982 47.244) (width 0.25) (layer F.Cu) (net 5))
|
||||
(segment (start 136.774766 47.2567) (end 136.787466 47.244) (width 0.25) (layer F.Cu) (net 5))
|
||||
(segment (start 137.354 65.8989) (end 137.9904 66.5353) (width 0.25) (layer F.Cu) (net 6))
|
||||
(segment (start 136.779 65.8989) (end 137.354 65.8989) (width 0.25) (layer F.Cu) (net 6))
|
||||
(segment (start 137.9904 66.5353) (end 146.304 66.5353) (width 0.25) (layer F.Cu) (net 6))
|
||||
(segment (start 147.39874 65.44056) (end 147.39874 61.24194) (width 0.25) (layer F.Cu) (net 6))
|
||||
(segment (start 146.304 66.5353) (end 147.39874 65.44056) (width 0.25) (layer F.Cu) (net 6))
|
||||
(segment (start 144.57681 68.8989) (end 138.624 68.8989) (width 0.25) (layer F.Cu) (net 7))
|
||||
(segment (start 138.624 68.8989) (end 138.049 68.8989) (width 0.25) (layer F.Cu) (net 7))
|
||||
(segment (start 148.49856 64.97715) (end 144.57681 68.8989) (width 0.25) (layer F.Cu) (net 7))
|
||||
(segment (start 148.49856 61.24194) (end 148.49856 64.97715) (width 0.25) (layer F.Cu) (net 7))
|
||||
(segment (start 123.0122 53.1573) (end 123.741 53.8861) (width 0.25) (layer F.Cu) (net 8))
|
||||
(segment (start 123.0122 52.0573) (end 123.0122 53.1573) (width 0.25) (layer F.Cu) (net 8))
|
||||
(segment (start 123.741 53.8861) (end 143.2814 53.8861) (width 0.25) (layer F.Cu) (net 8))
|
||||
(segment (start 148.49856 48.66894) (end 148.49856 47.244) (width 0.25) (layer F.Cu) (net 8))
|
||||
(segment (start 143.2814 53.8861) (end 148.49856 48.66894) (width 0.25) (layer F.Cu) (net 8))
|
||||
(segment (start 147.39874 48.2433) (end 146.69624 48.9458) (width 0.25) (layer F.Cu) (net 9))
|
||||
(segment (start 147.39874 47.244) (end 147.39874 48.2433) (width 0.25) (layer F.Cu) (net 9))
|
||||
(segment (start 125.5522 50.9573) (end 125.5522 52.0573) (width 0.25) (layer F.Cu) (net 9))
|
||||
(segment (start 127.5637 48.9458) (end 125.5522 50.9573) (width 0.25) (layer F.Cu) (net 9))
|
||||
(segment (start 146.69624 48.9458) (end 127.5637 48.9458) (width 0.25) (layer F.Cu) (net 9))
|
||||
|
||||
(zone (net 2) (net_name +3V3) (layer B.Cu) (tstamp 5C1BDD08) (hatch edge 0.508)
|
||||
(connect_pads (clearance 0.508))
|
||||
(min_thickness 0.254)
|
||||
(fill yes (arc_segments 16) (thermal_gap 0.508) (thermal_bridge_width 0.508))
|
||||
(polygon
|
||||
(pts
|
||||
(xy 128.5494 39.0271) (xy 121.8565 44.4627) (xy 118.0084 52.8828) (xy 118.2751 60.6298) (xy 122.9868 68.5165)
|
||||
(xy 131.5339 73.8886) (xy 142.2654 74.2315) (xy 151.0919 68.8594) (xy 154.0637 63.9572) (xy 148.6281 61.7601)
|
||||
(xy 148.5646 46.9138) (xy 148.5646 45.6819) (xy 152.3492 44.6278) (xy 144.5895 38.5699) (xy 137.7696 36.8681)
|
||||
(xy 130.3909 38.1127)
|
||||
)
|
||||
)
|
||||
(filled_polygon
|
||||
(pts
|
||||
(xy 144.532598 38.686596) (xy 152.072624 44.572999) (xy 148.530525 45.559557) (xy 148.4863 45.58191) (xy 148.453995 45.619485)
|
||||
(xy 148.4376 45.6819) (xy 148.4376 46.9138) (xy 148.437601 46.914343) (xy 148.501101 61.760643) (xy 148.510976 61.809202)
|
||||
(xy 148.538682 61.850286) (xy 148.580507 61.877845) (xy 153.877717 64.019007) (xy 150.999375 68.767041) (xy 142.231668 74.103358)
|
||||
(xy 139.271601 74.008776) (xy 139.271601 73.44331) (xy 139.112851 73.28456) (xy 137.013601 73.28456) (xy 137.013601 73.30456)
|
||||
(xy 136.759601 73.30456) (xy 136.759601 73.28456) (xy 134.660351 73.28456) (xy 134.501601 73.44331) (xy 134.501601 73.856361)
|
||||
(xy 131.57235 73.762764) (xy 128.340179 71.731251) (xy 134.501601 71.731251) (xy 134.501601 72.87181) (xy 134.660351 73.03056)
|
||||
(xy 136.759601 73.03056) (xy 136.759601 71.38131) (xy 137.013601 71.38131) (xy 137.013601 73.03056) (xy 139.112851 73.03056)
|
||||
(xy 139.271601 72.87181) (xy 139.271601 71.731251) (xy 139.174928 71.497862) (xy 138.9963 71.319233) (xy 138.762911 71.22256)
|
||||
(xy 137.172351 71.22256) (xy 137.013601 71.38131) (xy 136.759601 71.38131) (xy 136.600851 71.22256) (xy 135.010291 71.22256)
|
||||
(xy 134.776902 71.319233) (xy 134.598274 71.497862) (xy 134.501601 71.731251) (xy 128.340179 71.731251) (xy 123.08019 68.425196)
|
||||
(xy 118.501626 60.761346) (xy 118.391493 60.319502) (xy 118.136355 52.908355) (xy 119.455172 50.022626) (xy 127.7176 50.022626)
|
||||
(xy 127.7176 50.434374) (xy 127.875169 50.81478) (xy 128.16632 51.105931) (xy 128.546726 51.2635) (xy 128.958474 51.2635)
|
||||
(xy 129.33888 51.105931) (xy 129.630031 50.81478) (xy 129.7876 50.434374) (xy 129.7876 50.246118) (xy 129.868503 50.125038)
|
||||
(xy 129.912599 49.903353) (xy 129.912599 49.903349) (xy 129.927487 49.828502) (xy 129.912599 49.753655) (xy 129.912599 48.416102)
|
||||
(xy 130.198254 48.130447) (xy 130.48687 48.010899) (xy 130.778021 47.719748) (xy 130.93559 47.339342) (xy 130.93559 46.927594)
|
||||
(xy 130.778021 46.547188) (xy 130.48687 46.256037) (xy 130.106464 46.098468) (xy 129.694716 46.098468) (xy 129.31431 46.256037)
|
||||
(xy 129.023159 46.547188) (xy 128.86559 46.927594) (xy 128.86559 47.313509) (xy 128.668127 47.510972) (xy 128.604671 47.553372)
|
||||
(xy 128.562271 47.616828) (xy 128.56227 47.616829) (xy 128.436696 47.804764) (xy 128.377711 48.101301) (xy 128.3926 48.176153)
|
||||
(xy 128.392599 49.257341) (xy 128.16632 49.351069) (xy 127.875169 49.64222) (xy 127.7176 50.022626) (xy 119.455172 50.022626)
|
||||
(xy 121.959648 44.542537) (xy 128.618515 39.134576) (xy 130.430553 38.234805) (xy 130.888505 38.15756) (xy 134.489161 38.15756)
|
||||
(xy 134.489161 40.75756) (xy 134.538444 41.005325) (xy 134.678792 41.215369) (xy 134.888836 41.355717) (xy 135.136601 41.405)
|
||||
(xy 138.636601 41.405) (xy 138.884366 41.355717) (xy 139.09441 41.215369) (xy 139.234758 41.005325) (xy 139.284041 40.75756)
|
||||
(xy 139.284041 38.15756) (xy 139.234758 37.909795) (xy 139.09441 37.699751) (xy 138.884366 37.559403) (xy 138.636601 37.51012)
|
||||
(xy 135.136601 37.51012) (xy 134.888836 37.559403) (xy 134.678792 37.699751) (xy 134.538444 37.909795) (xy 134.489161 38.15756)
|
||||
(xy 130.888505 38.15756) (xy 137.764577 36.997741)
|
||||
)
|
||||
)
|
||||
)
|
||||
(zone (net 1) (net_name GND) (layer F.Cu) (tstamp 5C1BDD05) (hatch edge 0.508)
|
||||
(connect_pads (clearance 0.508))
|
||||
(min_thickness 0.254)
|
||||
(fill yes (arc_segments 16) (thermal_gap 0.508) (thermal_bridge_width 0.508))
|
||||
(polygon
|
||||
(pts
|
||||
(xy 128.428967 39.006182) (xy 121.736067 44.441782) (xy 117.887967 52.861882) (xy 118.154667 60.608882) (xy 122.866367 68.495582)
|
||||
(xy 131.413467 73.867682) (xy 142.144967 74.210582) (xy 150.971467 68.838482) (xy 153.943267 63.936282) (xy 148.507667 61.739182)
|
||||
(xy 148.444167 46.892882) (xy 148.444167 45.660982) (xy 152.228767 44.606882) (xy 144.469067 38.548982) (xy 137.649167 36.847182)
|
||||
(xy 130.270467 38.091782)
|
||||
)
|
||||
)
|
||||
(filled_polygon
|
||||
(pts
|
||||
(xy 144.412165 38.665678) (xy 151.952191 44.552081) (xy 148.410092 45.538639) (xy 148.365867 45.560992) (xy 148.333562 45.598567)
|
||||
(xy 148.317167 45.660982) (xy 148.317167 45.84726) (xy 148.14931 45.84726) (xy 147.94865 45.887173) (xy 147.74799 45.84726)
|
||||
(xy 147.04949 45.84726) (xy 146.84883 45.887173) (xy 146.64817 45.84726) (xy 145.94967 45.84726) (xy 145.74901 45.887173)
|
||||
(xy 145.54835 45.84726) (xy 144.85928 45.84726) (xy 144.85928 45.672928) (xy 144.874168 45.59808) (xy 144.85928 45.523232)
|
||||
(xy 144.85928 45.523228) (xy 144.822638 45.339016) (xy 144.815184 45.301542) (xy 144.689609 45.113607) (xy 144.647209 45.050151)
|
||||
(xy 144.583753 45.007751) (xy 142.946279 43.370278) (xy 142.903877 43.306819) (xy 142.652485 43.138844) (xy 142.4308 43.094748)
|
||||
(xy 142.430795 43.094748) (xy 142.355948 43.07986) (xy 142.281101 43.094748) (xy 140.493683 43.094748) (xy 139.618225 41.217322)
|
||||
(xy 139.468849 41.013599) (xy 139.252883 40.882547) (xy 139.003204 40.844118) (xy 138.757825 40.904162) (xy 137.851517 41.32678)
|
||||
(xy 137.647794 41.476156) (xy 137.516742 41.692123) (xy 137.482694 41.91334) (xy 136.840959 41.271606) (xy 135.917337 39.290893)
|
||||
(xy 135.767961 39.08717) (xy 135.551995 38.956118) (xy 135.302316 38.917689) (xy 135.056937 38.977733) (xy 134.150629 39.400351)
|
||||
(xy 133.946906 39.549727) (xy 133.815854 39.765694) (xy 133.777425 40.015372) (xy 133.837469 40.260751) (xy 134.898241 42.535583)
|
||||
(xy 135.047617 42.739306) (xy 135.263583 42.870358) (xy 135.513262 42.908787) (xy 135.758641 42.848743) (xy 136.106352 42.686603)
|
||||
(xy 136.298401 42.878652) (xy 136.2984 43.625853) (xy 136.283512 43.7007) (xy 136.2984 43.775547) (xy 136.2984 43.775551)
|
||||
(xy 136.342496 43.997236) (xy 136.510471 44.248629) (xy 136.57393 44.291031) (xy 138.05557 45.772672) (xy 138.097971 45.836129)
|
||||
(xy 138.349363 46.004104) (xy 138.571048 46.0482) (xy 138.571052 46.0482) (xy 138.645899 46.063088) (xy 138.720746 46.0482)
|
||||
(xy 139.985205 46.0482) (xy 139.852413 46.246935) (xy 139.805258 46.484) (xy 137.076868 46.484) (xy 135.937804 45.344936)
|
||||
(xy 135.014181 43.364222) (xy 134.864805 43.160499) (xy 134.648839 43.029447) (xy 134.39916 42.991018) (xy 134.153781 43.051062)
|
||||
(xy 133.247473 43.47368) (xy 133.04375 43.623056) (xy 132.912698 43.839023) (xy 132.874269 44.088701) (xy 132.934313 44.33408)
|
||||
(xy 133.995085 46.608912) (xy 134.144461 46.812635) (xy 134.360427 46.943687) (xy 134.610106 46.982116) (xy 134.855485 46.922072)
|
||||
(xy 135.203196 46.759932) (xy 136.184438 47.741174) (xy 136.226837 47.804629) (xy 136.290292 47.847028) (xy 136.290293 47.847029)
|
||||
(xy 136.478228 47.972603) (xy 136.774766 48.031588) (xy 136.91346 48.004) (xy 139.805258 48.004) (xy 139.84142 48.1858)
|
||||
(xy 131.51394 48.1858) (xy 131.524035 48.158065) (xy 131.513016 47.905687) (xy 131.050013 46.912774) (xy 130.839045 46.835988)
|
||||
(xy 130.069364 47.194897) (xy 130.077816 47.213023) (xy 129.847613 47.320368) (xy 129.839161 47.302242) (xy 129.06948 47.66115)
|
||||
(xy 128.992694 47.872117) (xy 129.138967 48.1858) (xy 127.638548 48.1858) (xy 127.5637 48.170912) (xy 127.488852 48.1858)
|
||||
(xy 127.488848 48.1858) (xy 127.267163 48.229896) (xy 127.015771 48.397871) (xy 126.973371 48.461327) (xy 125.06773 50.366969)
|
||||
(xy 125.004271 50.409371) (xy 124.903718 50.55986) (xy 124.7022 50.55986) (xy 124.454435 50.609143) (xy 124.2822 50.724228)
|
||||
(xy 124.109965 50.609143) (xy 123.8622 50.55986) (xy 122.1622 50.55986) (xy 121.914435 50.609143) (xy 121.704391 50.749491)
|
||||
(xy 121.564043 50.959535) (xy 121.51476 51.2073) (xy 121.51476 52.9073) (xy 121.564043 53.155065) (xy 121.704391 53.365109)
|
||||
(xy 121.914435 53.505457) (xy 122.1622 53.55474) (xy 122.363718 53.55474) (xy 122.386986 53.589562) (xy 122.464272 53.705229)
|
||||
(xy 122.527728 53.747629) (xy 123.150671 54.370573) (xy 123.193071 54.434029) (xy 123.256527 54.476429) (xy 123.444462 54.602004)
|
||||
(xy 123.470484 54.60718) (xy 123.666148 54.6461) (xy 123.666152 54.6461) (xy 123.741 54.660988) (xy 123.815848 54.6461)
|
||||
(xy 143.206553 54.6461) (xy 143.2814 54.660988) (xy 143.356247 54.6461) (xy 143.356252 54.6461) (xy 143.577937 54.602004)
|
||||
(xy 143.829329 54.434029) (xy 143.871731 54.37057) (xy 148.33008 49.912223) (xy 148.372565 59.8452) (xy 148.14931 59.8452)
|
||||
(xy 147.94865 59.885113) (xy 147.74799 59.8452) (xy 147.04949 59.8452) (xy 146.84883 59.885113) (xy 146.64817 59.8452)
|
||||
(xy 145.94967 59.8452) (xy 145.74901 59.885113) (xy 145.54835 59.8452) (xy 144.84985 59.8452) (xy 144.64919 59.885113)
|
||||
(xy 144.44853 59.8452) (xy 143.75003 59.8452) (xy 143.54937 59.885113) (xy 143.34871 59.8452) (xy 142.65021 59.8452)
|
||||
(xy 142.444129 59.886192) (xy 142.3752 59.85764) (xy 142.18539 59.85764) (xy 142.02664 60.01639) (xy 142.02664 60.372636)
|
||||
(xy 142.00277 60.49264) (xy 142.00277 61.38894) (xy 141.8272 61.38894) (xy 141.8272 61.046226) (xy 141.79651 60.972134)
|
||||
(xy 141.79651 60.49264) (xy 141.77264 60.372636) (xy 141.77264 60.01639) (xy 141.61389 59.85764) (xy 141.42408 59.85764)
|
||||
(xy 141.355151 59.886192) (xy 141.14907 59.8452) (xy 140.45057 59.8452) (xy 140.202805 59.894483) (xy 139.992761 60.034831)
|
||||
(xy 139.852413 60.244875) (xy 139.80313 60.49264) (xy 139.80313 60.935341) (xy 139.7572 61.046226) (xy 139.7572 61.457974)
|
||||
(xy 139.80313 61.568859) (xy 139.80313 61.99124) (xy 139.852413 62.239005) (xy 139.992761 62.449049) (xy 140.152501 62.555785)
|
||||
(xy 140.180254 62.597319) (xy 140.244272 62.693129) (xy 140.307728 62.735529) (xy 142.77556 65.203362) (xy 142.77556 65.526)
|
||||
(xy 142.824843 65.773765) (xy 142.825869 65.7753) (xy 138.305202 65.7753) (xy 137.944331 65.41443) (xy 137.901929 65.350971)
|
||||
(xy 137.75144 65.250417) (xy 137.75144 64.3989) (xy 137.702157 64.151135) (xy 137.561809 63.941091) (xy 137.351765 63.800743)
|
||||
(xy 137.104 63.75146) (xy 136.454 63.75146) (xy 136.206235 63.800743) (xy 135.996191 63.941091) (xy 135.855843 64.151135)
|
||||
(xy 135.80656 64.3989) (xy 135.80656 66.75146) (xy 135.199 66.75146) (xy 135.199 66.18465) (xy 135.04025 66.0259)
|
||||
(xy 134.366 66.0259) (xy 134.366 67.87515) (xy 134.52475 68.0339) (xy 134.53656 68.0339) (xy 134.53656 68.561635)
|
||||
(xy 134.5248 68.590026) (xy 134.5248 69.001774) (xy 134.53656 69.030165) (xy 134.53656 70.3989) (xy 134.585843 70.646665)
|
||||
(xy 134.726191 70.856709) (xy 134.936235 70.997057) (xy 135.184 71.04634) (xy 135.834 71.04634) (xy 136.081765 70.997057)
|
||||
(xy 136.291809 70.856709) (xy 136.432157 70.646665) (xy 136.48144 70.3989) (xy 136.48144 69.27545) (xy 136.5948 69.001774)
|
||||
(xy 136.5948 68.590026) (xy 136.48144 68.31635) (xy 136.48144 68.04634) (xy 137.07656 68.04634) (xy 137.07656 70.3989)
|
||||
(xy 137.125843 70.646665) (xy 137.266191 70.856709) (xy 137.476235 70.997057) (xy 137.724 71.04634) (xy 138.374 71.04634)
|
||||
(xy 138.621765 70.997057) (xy 138.831809 70.856709) (xy 138.972157 70.646665) (xy 139.02144 70.3989) (xy 139.02144 69.6589)
|
||||
(xy 144.501963 69.6589) (xy 144.57681 69.673788) (xy 144.651657 69.6589) (xy 144.651662 69.6589) (xy 144.873347 69.614804)
|
||||
(xy 145.124739 69.446829) (xy 145.167141 69.38337) (xy 148.983033 65.567479) (xy 149.046489 65.525079) (xy 149.214464 65.273687)
|
||||
(xy 149.25856 65.052002) (xy 149.25856 65.051998) (xy 149.273448 64.977151) (xy 149.25856 64.902304) (xy 149.25856 62.480493)
|
||||
(xy 149.305619 62.449049) (xy 149.437326 62.251938) (xy 153.757284 63.998089) (xy 150.878942 68.746123) (xy 142.111235 74.08244)
|
||||
(xy 131.451917 73.741846) (xy 122.959757 68.404278) (xy 121.6337 66.18465) (xy 133.279 66.18465) (xy 133.279 67.525209)
|
||||
(xy 133.375673 67.758598) (xy 133.554301 67.937227) (xy 133.78769 68.0339) (xy 133.95325 68.0339) (xy 134.112 67.87515)
|
||||
(xy 134.112 66.0259) (xy 133.43775 66.0259) (xy 133.279 66.18465) (xy 121.6337 66.18465) (xy 120.491391 64.272591)
|
||||
(xy 133.279 64.272591) (xy 133.279 65.61315) (xy 133.43775 65.7719) (xy 134.112 65.7719) (xy 134.112 63.92265)
|
||||
(xy 134.366 63.92265) (xy 134.366 65.7719) (xy 135.04025 65.7719) (xy 135.199 65.61315) (xy 135.199 64.272591)
|
||||
(xy 135.102327 64.039202) (xy 134.923699 63.860573) (xy 134.69031 63.7639) (xy 134.52475 63.7639) (xy 134.366 63.92265)
|
||||
(xy 134.112 63.92265) (xy 133.95325 63.7639) (xy 133.78769 63.7639) (xy 133.554301 63.860573) (xy 133.375673 64.039202)
|
||||
(xy 133.279 64.272591) (xy 120.491391 64.272591) (xy 118.5789 61.07136) (xy 118.252597 59.762261) (xy 118.032569 53.371006)
|
||||
(xy 118.089053 52.867748) (xy 118.140543 52.61475) (xy 121.113819 46.108871) (xy 128.277145 46.108871) (xy 128.288164 46.361249)
|
||||
(xy 128.751167 47.354162) (xy 128.962135 47.430948) (xy 129.731816 47.072039) (xy 129.053831 45.618095) (xy 128.842864 45.541309)
|
||||
(xy 128.763162 45.578475) (xy 128.534212 45.685236) (xy 128.363545 45.871486) (xy 128.277145 46.108871) (xy 121.113819 46.108871)
|
||||
(xy 121.387168 45.51075) (xy 129.284033 45.51075) (xy 129.962019 46.964694) (xy 130.7317 46.605786) (xy 130.808486 46.394819)
|
||||
(xy 130.345483 45.401905) (xy 130.159233 45.231239) (xy 129.921849 45.144837) (xy 129.669471 45.155856) (xy 129.440521 45.262618)
|
||||
(xy 129.360819 45.299783) (xy 129.284033 45.51075) (xy 121.387168 45.51075) (xy 121.839215 44.521619) (xy 124.744297 42.162273)
|
||||
(xy 129.173381 42.162273) (xy 129.233425 42.407652) (xy 130.294197 44.682484) (xy 130.443573 44.886207) (xy 130.659539 45.017259)
|
||||
(xy 130.909218 45.055688) (xy 131.154597 44.995644) (xy 132.060905 44.573026) (xy 132.264628 44.42365) (xy 132.39568 44.207683)
|
||||
(xy 132.434109 43.958005) (xy 132.374065 43.712626) (xy 131.313293 41.437794) (xy 131.163917 41.234071) (xy 130.947951 41.103019)
|
||||
(xy 130.698272 41.06459) (xy 130.452893 41.124634) (xy 129.546585 41.547252) (xy 129.342862 41.696628) (xy 129.21181 41.912595)
|
||||
(xy 129.173381 42.162273) (xy 124.744297 42.162273) (xy 128.498082 39.113658) (xy 130.31012 38.213887) (xy 137.644144 36.976823)
|
||||
)
|
||||
)
|
||||
(filled_polygon
|
||||
(pts
|
||||
(xy 142.65021 62.63868) (xy 143.34871 62.63868) (xy 143.54937 62.598767) (xy 143.75003 62.63868) (xy 144.44853 62.63868)
|
||||
(xy 144.64919 62.598767) (xy 144.84985 62.63868) (xy 145.54835 62.63868) (xy 145.74901 62.598767) (xy 145.94967 62.63868)
|
||||
(xy 146.638741 62.63868) (xy 146.63874 64.141) (xy 146.20875 64.141) (xy 146.05 64.29975) (xy 146.05 65.024)
|
||||
(xy 146.07 65.024) (xy 146.07 65.278) (xy 146.05 65.278) (xy 146.05 65.298) (xy 145.796 65.298)
|
||||
(xy 145.796 65.278) (xy 145.776 65.278) (xy 145.776 65.024) (xy 145.796 65.024) (xy 145.796 64.29975)
|
||||
(xy 145.63725 64.141) (xy 145.196691 64.141) (xy 144.963302 64.237673) (xy 144.962102 64.238873) (xy 144.870765 64.177843)
|
||||
(xy 144.623 64.12856) (xy 143.850362 64.12856) (xy 142.348041 62.62624) (xy 142.3752 62.62624) (xy 142.444129 62.597688)
|
||||
)
|
||||
)
|
||||
(filled_polygon
|
||||
(pts
|
||||
(xy 142.966599 53.1261) (xy 132.086118 53.1261) (xy 132.12964 52.9073) (xy 132.12964 51.2073) (xy 132.080357 50.959535)
|
||||
(xy 131.940009 50.749491) (xy 131.729965 50.609143) (xy 131.4822 50.55986) (xy 129.7822 50.55986) (xy 129.534435 50.609143)
|
||||
(xy 129.359175 50.726249) (xy 129.301899 50.668973) (xy 129.06851 50.5723) (xy 128.37795 50.5723) (xy 128.2192 50.73105)
|
||||
(xy 128.2192 51.9303) (xy 128.2392 51.9303) (xy 128.2392 52.1843) (xy 128.2192 52.1843) (xy 128.2192 52.2043)
|
||||
(xy 127.9652 52.2043) (xy 127.9652 52.1843) (xy 127.9452 52.1843) (xy 127.9452 51.9303) (xy 127.9652 51.9303)
|
||||
(xy 127.9652 50.73105) (xy 127.80645 50.5723) (xy 127.11589 50.5723) (xy 126.938541 50.64576) (xy 127.878502 49.7058)
|
||||
(xy 146.386898 49.7058)
|
||||
)
|
||||
)
|
||||
)
|
||||
)
|
||||
|
|
@ -0,0 +1,259 @@
|
|||
(export (version D)
|
||||
(design
|
||||
(source /home/simon/repo/mysensors/temp_hum_sensor/schematics_nrf52/temp_hum/temp_hum.sch)
|
||||
(date "tor 20 dec 2018 11:47:03")
|
||||
(tool "Eeschema 5.0.2-bee76a0~70~ubuntu18.04.1")
|
||||
(sheet (number 1) (name /) (tstamps /)
|
||||
(title_block
|
||||
(title)
|
||||
(company)
|
||||
(rev)
|
||||
(date)
|
||||
(source temp_hum.sch)
|
||||
(comment (number 1) (value ""))
|
||||
(comment (number 2) (value ""))
|
||||
(comment (number 3) (value ""))
|
||||
(comment (number 4) (value "")))))
|
||||
(components
|
||||
(comp (ref BT1)
|
||||
(value Battery_Cell)
|
||||
(footprint mysensors_arduino:CR2450)
|
||||
(datasheet ~)
|
||||
(libsource (lib Device) (part Battery_Cell) (description "Single-cell battery"))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5C1904BC))
|
||||
(comp (ref J2)
|
||||
(value Program)
|
||||
(footprint Pin_Headers:Pin_Header_Straight_1x04_Pitch2.54mm_SMD_Pin1Left)
|
||||
(datasheet ~)
|
||||
(libsource (lib Connector_Generic) (part Conn_01x04) (description "Generic connector, single row, 01x04, script generated (kicad-library-utils/schlib/autogen/connector/)"))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5C190731))
|
||||
(comp (ref J1)
|
||||
(value Data)
|
||||
(footprint Pin_Headers:Pin_Header_Straight_1x05_Pitch2.54mm_SMD_Pin1Left)
|
||||
(datasheet ~)
|
||||
(libsource (lib Connector_Generic) (part Conn_01x05) (description "Generic connector, single row, 01x05, script generated (kicad-library-utils/schlib/autogen/connector/)"))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5C190867))
|
||||
(comp (ref C1)
|
||||
(value 22uF)
|
||||
(footprint Capacitors_SMD:C_0603_HandSoldering)
|
||||
(datasheet ~)
|
||||
(libsource (lib Device) (part C) (description "Unpolarized capacitor"))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5C190AC1))
|
||||
(comp (ref U1)
|
||||
(value BT832L)
|
||||
(footprint Fanstel_modules:BT832-BT832L)
|
||||
(libsource (lib Fanstel-modules) (part BT832L) (description ""))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5C19BDF2))
|
||||
(comp (ref J3)
|
||||
(value Si7021)
|
||||
(footprint mysensors_arduino:Si7021)
|
||||
(datasheet ~)
|
||||
(libsource (lib Connector_Generic) (part Conn_01x04) (description "Generic connector, single row, 01x04, script generated (kicad-library-utils/schlib/autogen/connector/)"))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5C1BA02C)))
|
||||
(libparts
|
||||
(libpart (lib Connector_Generic) (part Conn_01x04)
|
||||
(description "Generic connector, single row, 01x04, script generated (kicad-library-utils/schlib/autogen/connector/)")
|
||||
(docs ~)
|
||||
(footprints
|
||||
(fp Connector*:*_1x??_*))
|
||||
(fields
|
||||
(field (name Reference) J)
|
||||
(field (name Value) Conn_01x04))
|
||||
(pins
|
||||
(pin (num 1) (name Pin_1) (type passive))
|
||||
(pin (num 2) (name Pin_2) (type passive))
|
||||
(pin (num 3) (name Pin_3) (type passive))
|
||||
(pin (num 4) (name Pin_4) (type passive))))
|
||||
(libpart (lib Connector_Generic) (part Conn_01x05)
|
||||
(description "Generic connector, single row, 01x05, script generated (kicad-library-utils/schlib/autogen/connector/)")
|
||||
(docs ~)
|
||||
(footprints
|
||||
(fp Connector*:*_1x??_*))
|
||||
(fields
|
||||
(field (name Reference) J)
|
||||
(field (name Value) Conn_01x05))
|
||||
(pins
|
||||
(pin (num 1) (name Pin_1) (type passive))
|
||||
(pin (num 2) (name Pin_2) (type passive))
|
||||
(pin (num 3) (name Pin_3) (type passive))
|
||||
(pin (num 4) (name Pin_4) (type passive))
|
||||
(pin (num 5) (name Pin_5) (type passive))))
|
||||
(libpart (lib Device) (part Battery_Cell)
|
||||
(description "Single-cell battery")
|
||||
(docs ~)
|
||||
(fields
|
||||
(field (name Reference) BT)
|
||||
(field (name Value) Battery_Cell))
|
||||
(pins
|
||||
(pin (num 1) (name +) (type passive))
|
||||
(pin (num 2) (name -) (type passive))))
|
||||
(libpart (lib Device) (part C)
|
||||
(description "Unpolarized capacitor")
|
||||
(docs ~)
|
||||
(footprints
|
||||
(fp C_*))
|
||||
(fields
|
||||
(field (name Reference) C)
|
||||
(field (name Value) C))
|
||||
(pins
|
||||
(pin (num 1) (name ~) (type passive))
|
||||
(pin (num 2) (name ~) (type passive))))
|
||||
(libpart (lib Fanstel-modules) (part BT832L)
|
||||
(footprints
|
||||
(fp *BT832L*))
|
||||
(fields
|
||||
(field (name Reference) U)
|
||||
(field (name Value) BT832L)
|
||||
(field (name Footprint) BT832_BT832L))
|
||||
(pins
|
||||
(pin (num P$1) (name P26/SDA) (type BiDi))
|
||||
(pin (num P$2) (name P27/SCL) (type BiDi))
|
||||
(pin (num P$3) (name P00/XL1) (type BiDi))
|
||||
(pin (num P$4) (name P01/XL2) (type BiDi))
|
||||
(pin (num P$5) (name P02/AIN0) (type BiDi))
|
||||
(pin (num P$6) (name P03/AIN1) (type BiDi))
|
||||
(pin (num P$7) (name P09) (type BiDi))
|
||||
(pin (num P$8) (name P10) (type BiDi))
|
||||
(pin (num P$9) (name VDD) (type BiDi))
|
||||
(pin (num P$10) (name GND) (type BiDi))
|
||||
(pin (num P$11) (name P13) (type BiDi))
|
||||
(pin (num P$12) (name P18) (type BiDi))
|
||||
(pin (num P$13) (name P20) (type BiDi))
|
||||
(pin (num P$14) (name P21/RESET) (type BiDi))
|
||||
(pin (num P$15) (name SWCLK) (type BiDi))
|
||||
(pin (num P$16) (name SWDIO) (type BiDi))
|
||||
(pin (num P$A0) (name A0/VSS1) (type BiDi))
|
||||
(pin (num P$A1) (name A1/P28) (type BiDi))
|
||||
(pin (num P$A2) (name A2/P29) (type BiDi))
|
||||
(pin (num P$A3) (name A3/P04) (type BiDi))
|
||||
(pin (num P$A4) (name A4/P05) (type BiDi))
|
||||
(pin (num P$A5) (name A5/P07) (type BiDi))
|
||||
(pin (num P$B0) (name B0/VSS2) (type BiDi))
|
||||
(pin (num P$B1) (name B1/P25) (type BiDi))
|
||||
(pin (num P$B2) (name B2/P30) (type BiDi))
|
||||
(pin (num P$B3) (name B3/P31) (type BiDi))
|
||||
(pin (num P$B4) (name B4/P06) (type BiDi))
|
||||
(pin (num P$B5) (name B5/P08) (type BiDi))
|
||||
(pin (num P$C0) (name C0/VSS3) (type BiDi))
|
||||
(pin (num P$C1) (name C1/P24) (type BiDi))
|
||||
(pin (num P$C2) (name C2/P22) (type BiDi))
|
||||
(pin (num P$C3) (name C3/P17) (type BiDi))
|
||||
(pin (num P$C4) (name C4/P15) (type BiDi))
|
||||
(pin (num P$C5) (name C5/P12) (type BiDi))
|
||||
(pin (num P$D0) (name D0/VSS4) (type BiDi))
|
||||
(pin (num P$D1) (name D1/P23) (type BiDi))
|
||||
(pin (num P$D2) (name D2/P19) (type BiDi))
|
||||
(pin (num P$D3) (name D3/P16) (type BiDi))
|
||||
(pin (num P$D4) (name D4/P14) (type BiDi))
|
||||
(pin (num P$D5) (name D5/P11) (type BiDi)))))
|
||||
(libraries
|
||||
(library (logical Connector_Generic)
|
||||
(uri /usr/share/kicad/library/Connector_Generic.lib))
|
||||
(library (logical Device)
|
||||
(uri /usr/share/kicad/library/Device.lib))
|
||||
(library (logical Fanstel-modules)
|
||||
(uri /home/simon/repo/Fanstel-kicad-library/Fanstel-modules.lib)))
|
||||
(nets
|
||||
(net (code 1) (name "Net-(U1-PadP$B4)")
|
||||
(node (ref U1) (pin P$B4)))
|
||||
(net (code 2) (name "Net-(U1-PadP$C4)")
|
||||
(node (ref U1) (pin P$C4)))
|
||||
(net (code 3) (name "Net-(U1-PadP$D4)")
|
||||
(node (ref U1) (pin P$D4)))
|
||||
(net (code 4) (name "Net-(U1-PadP$A5)")
|
||||
(node (ref U1) (pin P$A5)))
|
||||
(net (code 5) (name "Net-(U1-PadP$B5)")
|
||||
(node (ref U1) (pin P$B5)))
|
||||
(net (code 6) (name "Net-(U1-PadP$C5)")
|
||||
(node (ref U1) (pin P$C5)))
|
||||
(net (code 7) (name "Net-(U1-PadP$D5)")
|
||||
(node (ref U1) (pin P$D5)))
|
||||
(net (code 8) (name "Net-(U1-PadP$A4)")
|
||||
(node (ref U1) (pin P$A4)))
|
||||
(net (code 9) (name P02)
|
||||
(node (ref U1) (pin P$5))
|
||||
(node (ref J1) (pin 5)))
|
||||
(net (code 10) (name Tx)
|
||||
(node (ref U1) (pin P$7))
|
||||
(node (ref J1) (pin 4)))
|
||||
(net (code 11) (name "Net-(U1-PadP$3)")
|
||||
(node (ref U1) (pin P$3)))
|
||||
(net (code 12) (name "Net-(U1-PadP$B2)")
|
||||
(node (ref U1) (pin P$B2)))
|
||||
(net (code 13) (name "Net-(U1-PadP$C0)")
|
||||
(node (ref U1) (pin P$C0)))
|
||||
(net (code 14) (name "Net-(U1-PadP$D0)")
|
||||
(node (ref U1) (pin P$D0)))
|
||||
(net (code 15) (name "Net-(U1-PadP$11)")
|
||||
(node (ref U1) (pin P$11)))
|
||||
(net (code 16) (name "Net-(U1-PadP$A1)")
|
||||
(node (ref U1) (pin P$A1)))
|
||||
(net (code 17) (name "Net-(U1-PadP$B1)")
|
||||
(node (ref U1) (pin P$B1)))
|
||||
(net (code 18) (name "Net-(U1-PadP$C1)")
|
||||
(node (ref U1) (pin P$C1)))
|
||||
(net (code 19) (name "Net-(U1-PadP$D1)")
|
||||
(node (ref U1) (pin P$D1)))
|
||||
(net (code 20) (name "Net-(U1-PadP$12)")
|
||||
(node (ref U1) (pin P$12)))
|
||||
(net (code 21) (name "Net-(U1-PadP$A2)")
|
||||
(node (ref U1) (pin P$A2)))
|
||||
(net (code 22) (name "Net-(U1-PadP$4)")
|
||||
(node (ref U1) (pin P$4)))
|
||||
(net (code 23) (name "Net-(U1-PadP$C2)")
|
||||
(node (ref U1) (pin P$C2)))
|
||||
(net (code 24) (name "Net-(U1-PadP$D2)")
|
||||
(node (ref U1) (pin P$D2)))
|
||||
(net (code 25) (name "Net-(U1-PadP$13)")
|
||||
(node (ref U1) (pin P$13)))
|
||||
(net (code 26) (name "Net-(U1-PadP$A3)")
|
||||
(node (ref U1) (pin P$A3)))
|
||||
(net (code 27) (name "Net-(U1-PadP$B3)")
|
||||
(node (ref U1) (pin P$B3)))
|
||||
(net (code 28) (name "Net-(U1-PadP$C3)")
|
||||
(node (ref U1) (pin P$C3)))
|
||||
(net (code 29) (name "Net-(U1-PadP$D3)")
|
||||
(node (ref U1) (pin P$D3)))
|
||||
(net (code 30) (name "Net-(U1-PadP$14)")
|
||||
(node (ref U1) (pin P$14)))
|
||||
(net (code 31) (name GND)
|
||||
(node (ref BT1) (pin 2))
|
||||
(node (ref J2) (pin 1))
|
||||
(node (ref J1) (pin 1))
|
||||
(node (ref C1) (pin 2))
|
||||
(node (ref U1) (pin P$10))
|
||||
(node (ref J3) (pin 2)))
|
||||
(net (code 32) (name "Net-(U1-PadP$6)")
|
||||
(node (ref U1) (pin P$6)))
|
||||
(net (code 33) (name +3V3)
|
||||
(node (ref U1) (pin P$9))
|
||||
(node (ref C1) (pin 1))
|
||||
(node (ref J1) (pin 2))
|
||||
(node (ref J3) (pin 1))
|
||||
(node (ref J2) (pin 2))
|
||||
(node (ref BT1) (pin 1)))
|
||||
(net (code 34) (name SCL)
|
||||
(node (ref U1) (pin P$2))
|
||||
(node (ref J3) (pin 3)))
|
||||
(net (code 35) (name SDA)
|
||||
(node (ref U1) (pin P$1))
|
||||
(node (ref J3) (pin 4)))
|
||||
(net (code 36) (name "Net-(U1-PadP$B0)")
|
||||
(node (ref U1) (pin P$B0)))
|
||||
(net (code 37) (name "Net-(U1-PadP$A0)")
|
||||
(node (ref U1) (pin P$A0)))
|
||||
(net (code 38) (name SWDCLK)
|
||||
(node (ref U1) (pin P$15))
|
||||
(node (ref J2) (pin 3)))
|
||||
(net (code 39) (name SWDIO)
|
||||
(node (ref U1) (pin P$16))
|
||||
(node (ref J2) (pin 4)))
|
||||
(net (code 40) (name Rx)
|
||||
(node (ref J1) (pin 3))
|
||||
(node (ref U1) (pin P$8)))))
|
||||
|
|
@ -0,0 +1,43 @@
|
|||
update=lör 22 dec 2018 19:35:27
|
||||
version=1
|
||||
last_client=kicad
|
||||
[general]
|
||||
version=1
|
||||
RootSch=
|
||||
BoardNm=
|
||||
[pcbnew]
|
||||
version=1
|
||||
LastNetListRead=
|
||||
UseCmpFile=1
|
||||
PadDrill=0.600000000000
|
||||
PadDrillOvalY=0.600000000000
|
||||
PadSizeH=1.500000000000
|
||||
PadSizeV=1.500000000000
|
||||
PcbTextSizeV=1.500000000000
|
||||
PcbTextSizeH=1.500000000000
|
||||
PcbTextThickness=0.300000000000
|
||||
ModuleTextSizeV=1.000000000000
|
||||
ModuleTextSizeH=1.000000000000
|
||||
ModuleTextSizeThickness=0.150000000000
|
||||
SolderMaskClearance=0.000000000000
|
||||
SolderMaskMinWidth=0.000000000000
|
||||
DrawSegmentWidth=0.200000000000
|
||||
BoardOutlineThickness=0.100000000000
|
||||
ModuleOutlineThickness=0.150000000000
|
||||
[cvpcb]
|
||||
version=1
|
||||
NetIExt=net
|
||||
[eeschema]
|
||||
version=1
|
||||
LibDir=
|
||||
[eeschema/libraries]
|
||||
[schematic_editor]
|
||||
version=1
|
||||
PageLayoutDescrFile=
|
||||
PlotDirectoryName=
|
||||
SubpartIdSeparator=0
|
||||
SubpartFirstId=65
|
||||
NetFmtName=
|
||||
SpiceAjustPassiveValues=0
|
||||
LabSize=50
|
||||
ERC_TestSimilarLabels=1
|
||||
|
|
@ -0,0 +1,314 @@
|
|||
EESchema Schematic File Version 4
|
||||
LIBS:temp_hum-cache
|
||||
EELAYER 26 0
|
||||
EELAYER END
|
||||
$Descr A4 11693 8268
|
||||
encoding utf-8
|
||||
Sheet 1 1
|
||||
Title ""
|
||||
Date ""
|
||||
Rev ""
|
||||
Comp ""
|
||||
Comment1 ""
|
||||
Comment2 ""
|
||||
Comment3 ""
|
||||
Comment4 ""
|
||||
$EndDescr
|
||||
$Comp
|
||||
L Device:Battery_Cell BT1
|
||||
U 1 1 5C1904BC
|
||||
P 8300 1450
|
||||
F 0 "BT1" H 8418 1546 50 0000 L CNN
|
||||
F 1 "Battery_Cell" H 8418 1455 50 0000 L CNN
|
||||
F 2 "mysensors_arduino:CR2450" V 8300 1510 50 0001 C CNN
|
||||
F 3 "~" V 8300 1510 50 0001 C CNN
|
||||
1 8300 1450
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
$Comp
|
||||
L Connector_Generic:Conn_01x04 J2
|
||||
U 1 1 5C190731
|
||||
P 7050 1900
|
||||
F 0 "J2" H 7129 1892 50 0000 L CNN
|
||||
F 1 "Program" H 7129 1801 50 0000 L CNN
|
||||
F 2 "Pin_Headers:Pin_Header_Straight_1x04_Pitch2.54mm_SMD_Pin1Left" H 7050 1900 50 0001 C CNN
|
||||
F 3 "~" H 7050 1900 50 0001 C CNN
|
||||
1 7050 1900
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
$Comp
|
||||
L Connector_Generic:Conn_01x05 J1
|
||||
U 1 1 5C190867
|
||||
P 9250 2650
|
||||
F 0 "J1" H 9330 2692 50 0000 L CNN
|
||||
F 1 "Data" H 9330 2601 50 0000 L CNN
|
||||
F 2 "Pin_Headers:Pin_Header_Straight_1x05_Pitch2.54mm_SMD_Pin1Left" H 9250 2650 50 0001 C CNN
|
||||
F 3 "~" H 9250 2650 50 0001 C CNN
|
||||
1 9250 2650
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
$Comp
|
||||
L power:+3.3V #PWR0101
|
||||
U 1 1 5C19096E
|
||||
P 8300 850
|
||||
F 0 "#PWR0101" H 8300 700 50 0001 C CNN
|
||||
F 1 "+3.3V" H 8315 1023 50 0000 C CNN
|
||||
F 2 "" H 8300 850 50 0001 C CNN
|
||||
F 3 "" H 8300 850 50 0001 C CNN
|
||||
1 8300 850
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
$Comp
|
||||
L power:GND #PWR0102
|
||||
U 1 1 5C1909A6
|
||||
P 8300 1850
|
||||
F 0 "#PWR0102" H 8300 1600 50 0001 C CNN
|
||||
F 1 "GND" H 8305 1677 50 0000 C CNN
|
||||
F 2 "" H 8300 1850 50 0001 C CNN
|
||||
F 3 "" H 8300 1850 50 0001 C CNN
|
||||
1 8300 1850
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
$Comp
|
||||
L Device:C C1
|
||||
U 1 1 5C190AC1
|
||||
P 7900 1400
|
||||
F 0 "C1" H 8015 1446 50 0000 L CNN
|
||||
F 1 "22uF" H 8015 1355 50 0000 L CNN
|
||||
F 2 "Capacitors_SMD:C_0603_HandSoldering" H 7938 1250 50 0001 C CNN
|
||||
F 3 "~" H 7900 1400 50 0001 C CNN
|
||||
1 7900 1400
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
Wire Wire Line
|
||||
8300 1250 8300 1000
|
||||
Wire Wire Line
|
||||
8300 1000 7900 1000
|
||||
Wire Wire Line
|
||||
7900 1000 7900 1250
|
||||
Connection ~ 8300 1000
|
||||
Wire Wire Line
|
||||
8300 1000 8300 850
|
||||
Wire Wire Line
|
||||
7900 1550 7900 1700
|
||||
Wire Wire Line
|
||||
7900 1700 8300 1700
|
||||
Wire Wire Line
|
||||
8300 1700 8300 1550
|
||||
Wire Wire Line
|
||||
8300 1700 8300 1850
|
||||
Connection ~ 8300 1700
|
||||
Text GLabel 6650 2850 0 50 Input ~ 0
|
||||
SDA
|
||||
Text GLabel 6650 2750 0 50 Input ~ 0
|
||||
SCL
|
||||
$Comp
|
||||
L power:GND #PWR0103
|
||||
U 1 1 5C190D12
|
||||
P 6500 2650
|
||||
F 0 "#PWR0103" H 6500 2400 50 0001 C CNN
|
||||
F 1 "GND" H 6505 2477 50 0000 C CNN
|
||||
F 2 "" H 6500 2650 50 0001 C CNN
|
||||
F 3 "" H 6500 2650 50 0001 C CNN
|
||||
1 6500 2650
|
||||
0 1 1 0
|
||||
$EndComp
|
||||
$Comp
|
||||
L power:+3.3V #PWR0104
|
||||
U 1 1 5C190D29
|
||||
P 6750 2550
|
||||
F 0 "#PWR0104" H 6750 2400 50 0001 C CNN
|
||||
F 1 "+3.3V" H 6765 2723 50 0000 C CNN
|
||||
F 2 "" H 6750 2550 50 0001 C CNN
|
||||
F 3 "" H 6750 2550 50 0001 C CNN
|
||||
1 6750 2550
|
||||
0 -1 -1 0
|
||||
$EndComp
|
||||
Text GLabel 6550 2000 0 50 Input ~ 0
|
||||
SWDCLK
|
||||
Text GLabel 6550 2100 0 50 Input ~ 0
|
||||
SWDIO
|
||||
$Comp
|
||||
L power:GND #PWR0105
|
||||
U 1 1 5C190DD0
|
||||
P 6500 1800
|
||||
F 0 "#PWR0105" H 6500 1550 50 0001 C CNN
|
||||
F 1 "GND" V 6505 1672 50 0000 R CNN
|
||||
F 2 "" H 6500 1800 50 0001 C CNN
|
||||
F 3 "" H 6500 1800 50 0001 C CNN
|
||||
1 6500 1800
|
||||
0 1 1 0
|
||||
$EndComp
|
||||
$Comp
|
||||
L power:+3.3V #PWR0106
|
||||
U 1 1 5C190DED
|
||||
P 6250 1900
|
||||
F 0 "#PWR0106" H 6250 1750 50 0001 C CNN
|
||||
F 1 "+3.3V" V 6265 2028 50 0000 L CNN
|
||||
F 2 "" H 6250 1900 50 0001 C CNN
|
||||
F 3 "" H 6250 1900 50 0001 C CNN
|
||||
1 6250 1900
|
||||
0 -1 -1 0
|
||||
$EndComp
|
||||
Wire Wire Line
|
||||
6500 1800 6850 1800
|
||||
Wire Wire Line
|
||||
6850 1900 6250 1900
|
||||
Wire Wire Line
|
||||
6550 2000 6850 2000
|
||||
Wire Wire Line
|
||||
6850 2100 6550 2100
|
||||
Text GLabel 8550 2650 0 50 Input ~ 0
|
||||
Rx
|
||||
Text GLabel 8550 2750 0 50 Input ~ 0
|
||||
Tx
|
||||
$Comp
|
||||
L power:GND #PWR0107
|
||||
U 1 1 5C191261
|
||||
P 8500 2450
|
||||
F 0 "#PWR0107" H 8500 2200 50 0001 C CNN
|
||||
F 1 "GND" V 8505 2322 50 0000 R CNN
|
||||
F 2 "" H 8500 2450 50 0001 C CNN
|
||||
F 3 "" H 8500 2450 50 0001 C CNN
|
||||
1 8500 2450
|
||||
0 1 1 0
|
||||
$EndComp
|
||||
$Comp
|
||||
L power:+3.3V #PWR0108
|
||||
U 1 1 5C191267
|
||||
P 8250 2550
|
||||
F 0 "#PWR0108" H 8250 2400 50 0001 C CNN
|
||||
F 1 "+3.3V" V 8265 2678 50 0000 L CNN
|
||||
F 2 "" H 8250 2550 50 0001 C CNN
|
||||
F 3 "" H 8250 2550 50 0001 C CNN
|
||||
1 8250 2550
|
||||
0 -1 -1 0
|
||||
$EndComp
|
||||
Text GLabel 8550 2850 0 50 Input ~ 0
|
||||
P02
|
||||
Wire Wire Line
|
||||
8550 2750 9050 2750
|
||||
Wire Wire Line
|
||||
8550 2650 9050 2650
|
||||
Wire Wire Line
|
||||
8250 2550 9050 2550
|
||||
Wire Wire Line
|
||||
8500 2450 9050 2450
|
||||
Wire Wire Line
|
||||
9050 2850 8550 2850
|
||||
Text GLabel 4950 1400 2 50 Input ~ 0
|
||||
SWDCLK
|
||||
Text GLabel 4950 1250 2 50 Input ~ 0
|
||||
SWDIO
|
||||
Text GLabel 1550 2250 0 50 Input ~ 0
|
||||
Rx
|
||||
Text GLabel 1550 2100 0 50 Input ~ 0
|
||||
Tx
|
||||
Text GLabel 1500 1800 0 50 Input ~ 0
|
||||
P02
|
||||
Text GLabel 1400 1200 0 50 Input ~ 0
|
||||
SDA
|
||||
Text GLabel 1400 1350 0 50 Input ~ 0
|
||||
SCL
|
||||
$Comp
|
||||
L power:GND #PWR0109
|
||||
U 1 1 5C194BF7
|
||||
P 4900 2150
|
||||
F 0 "#PWR0109" H 4900 1900 50 0001 C CNN
|
||||
F 1 "GND" H 4905 1977 50 0000 C CNN
|
||||
F 2 "" H 4900 2150 50 0001 C CNN
|
||||
F 3 "" H 4900 2150 50 0001 C CNN
|
||||
1 4900 2150
|
||||
0 -1 -1 0
|
||||
$EndComp
|
||||
$Comp
|
||||
L power:+3.3V #PWR0110
|
||||
U 1 1 5C1951EC
|
||||
P 4900 2300
|
||||
F 0 "#PWR0110" H 4900 2150 50 0001 C CNN
|
||||
F 1 "+3.3V" H 4915 2473 50 0000 C CNN
|
||||
F 2 "" H 4900 2300 50 0001 C CNN
|
||||
F 3 "" H 4900 2300 50 0001 C CNN
|
||||
1 4900 2300
|
||||
0 1 1 0
|
||||
$EndComp
|
||||
$Comp
|
||||
L Fanstel-modules:BT832L U1
|
||||
U 1 1 5C19BDF2
|
||||
P 3100 1850
|
||||
F 0 "U1" H 3100 2904 45 0000 C CNN
|
||||
F 1 "BT832L" H 3100 2820 45 0000 C CNN
|
||||
F 2 "Fanstel_modules:BT832-BT832L" H 3180 2000 20 0001 C CNN
|
||||
F 3 "" H 3150 1850 60 0001 C CNN
|
||||
1 3100 1850
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
Wire Wire Line
|
||||
1400 1200 1700 1200
|
||||
Wire Wire Line
|
||||
1400 1350 1700 1350
|
||||
Wire Wire Line
|
||||
1700 1800 1500 1800
|
||||
Wire Wire Line
|
||||
1700 2100 1550 2100
|
||||
Wire Wire Line
|
||||
1550 2250 1700 2250
|
||||
Wire Wire Line
|
||||
4900 2300 4500 2300
|
||||
Wire Wire Line
|
||||
4900 2150 4500 2150
|
||||
Wire Wire Line
|
||||
4500 1400 4950 1400
|
||||
Wire Wire Line
|
||||
4500 1250 4950 1250
|
||||
NoConn ~ 1700 1500
|
||||
NoConn ~ 1700 1650
|
||||
NoConn ~ 1700 1950
|
||||
NoConn ~ 4500 1550
|
||||
NoConn ~ 4500 1700
|
||||
NoConn ~ 4500 1850
|
||||
NoConn ~ 4500 2000
|
||||
$Comp
|
||||
L Connector_Generic:Conn_01x04 J3
|
||||
U 1 1 5C1BA02C
|
||||
P 7050 2650
|
||||
F 0 "J3" H 7129 2642 50 0000 L CNN
|
||||
F 1 "Si7021" H 7129 2551 50 0000 L CNN
|
||||
F 2 "mysensors_arduino:Si7021" H 7050 2650 50 0001 C CNN
|
||||
F 3 "~" H 7050 2650 50 0001 C CNN
|
||||
1 7050 2650
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
Wire Wire Line
|
||||
6850 2650 6500 2650
|
||||
Wire Wire Line
|
||||
6750 2550 6850 2550
|
||||
Wire Wire Line
|
||||
6650 2850 6850 2850
|
||||
Wire Wire Line
|
||||
6650 2750 6850 2750
|
||||
NoConn ~ 1950 3100
|
||||
NoConn ~ 2050 3100
|
||||
NoConn ~ 2150 3100
|
||||
NoConn ~ 2250 3100
|
||||
NoConn ~ 2350 3100
|
||||
NoConn ~ 2450 3100
|
||||
NoConn ~ 2550 3100
|
||||
NoConn ~ 2650 3100
|
||||
NoConn ~ 2750 3100
|
||||
NoConn ~ 2850 3100
|
||||
NoConn ~ 2950 3100
|
||||
NoConn ~ 3050 3100
|
||||
NoConn ~ 3150 3100
|
||||
NoConn ~ 3250 3100
|
||||
NoConn ~ 3350 3100
|
||||
NoConn ~ 3450 3100
|
||||
NoConn ~ 3550 3100
|
||||
NoConn ~ 3650 3100
|
||||
NoConn ~ 3750 3100
|
||||
NoConn ~ 3850 3100
|
||||
NoConn ~ 3950 3100
|
||||
NoConn ~ 4050 3100
|
||||
NoConn ~ 4150 3100
|
||||
NoConn ~ 4250 3100
|
||||
$EndSCHEMATC
|
||||
|
|
@ -0,0 +1,336 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<export version="D">
|
||||
<design>
|
||||
<source>/home/simon/repo/mysensors/temp_hum_sensor/schematics_nrf52/temp_hum/temp_hum.sch</source>
|
||||
<date>lör 22 dec 2018 19:22:38</date>
|
||||
<tool>Eeschema 5.0.2-bee76a0~70~ubuntu18.04.1</tool>
|
||||
<sheet number="1" name="/" tstamps="/">
|
||||
<title_block>
|
||||
<title/>
|
||||
<company/>
|
||||
<rev/>
|
||||
<date/>
|
||||
<source>temp_hum.sch</source>
|
||||
<comment number="1" value=""/>
|
||||
<comment number="2" value=""/>
|
||||
<comment number="3" value=""/>
|
||||
<comment number="4" value=""/>
|
||||
</title_block>
|
||||
</sheet>
|
||||
</design>
|
||||
<components>
|
||||
<comp ref="BT1">
|
||||
<value>Battery_Cell</value>
|
||||
<footprint>mysensors_arduino:CR2450</footprint>
|
||||
<datasheet>~</datasheet>
|
||||
<libsource lib="Device" part="Battery_Cell" description="Single-cell battery"/>
|
||||
<sheetpath names="/" tstamps="/"/>
|
||||
<tstamp>5C1904BC</tstamp>
|
||||
</comp>
|
||||
<comp ref="J2">
|
||||
<value>Program</value>
|
||||
<footprint>Pin_Headers:Pin_Header_Straight_1x04_Pitch2.54mm_SMD_Pin1Left</footprint>
|
||||
<datasheet>~</datasheet>
|
||||
<libsource lib="Connector_Generic" part="Conn_01x04" description="Generic connector, single row, 01x04, script generated (kicad-library-utils/schlib/autogen/connector/)"/>
|
||||
<sheetpath names="/" tstamps="/"/>
|
||||
<tstamp>5C190731</tstamp>
|
||||
</comp>
|
||||
<comp ref="J1">
|
||||
<value>Data</value>
|
||||
<footprint>Pin_Headers:Pin_Header_Straight_1x05_Pitch2.54mm_SMD_Pin1Left</footprint>
|
||||
<datasheet>~</datasheet>
|
||||
<libsource lib="Connector_Generic" part="Conn_01x05" description="Generic connector, single row, 01x05, script generated (kicad-library-utils/schlib/autogen/connector/)"/>
|
||||
<sheetpath names="/" tstamps="/"/>
|
||||
<tstamp>5C190867</tstamp>
|
||||
</comp>
|
||||
<comp ref="C1">
|
||||
<value>22uF</value>
|
||||
<footprint>Capacitors_SMD:C_0603_HandSoldering</footprint>
|
||||
<datasheet>~</datasheet>
|
||||
<libsource lib="Device" part="C" description="Unpolarized capacitor"/>
|
||||
<sheetpath names="/" tstamps="/"/>
|
||||
<tstamp>5C190AC1</tstamp>
|
||||
</comp>
|
||||
<comp ref="U1">
|
||||
<value>BT832L</value>
|
||||
<footprint>Fanstel_modules:BT832-BT832L</footprint>
|
||||
<libsource lib="Fanstel-modules" part="BT832L" description=""/>
|
||||
<sheetpath names="/" tstamps="/"/>
|
||||
<tstamp>5C19BDF2</tstamp>
|
||||
</comp>
|
||||
<comp ref="J3">
|
||||
<value>Si7021</value>
|
||||
<footprint>mysensors_arduino:Si7021</footprint>
|
||||
<datasheet>~</datasheet>
|
||||
<libsource lib="Connector_Generic" part="Conn_01x04" description="Generic connector, single row, 01x04, script generated (kicad-library-utils/schlib/autogen/connector/)"/>
|
||||
<sheetpath names="/" tstamps="/"/>
|
||||
<tstamp>5C1BA02C</tstamp>
|
||||
</comp>
|
||||
</components>
|
||||
<libparts>
|
||||
<libpart lib="Connector_Generic" part="Conn_01x04">
|
||||
<description>Generic connector, single row, 01x04, script generated (kicad-library-utils/schlib/autogen/connector/)</description>
|
||||
<docs>~</docs>
|
||||
<footprints>
|
||||
<fp>Connector*:*_1x??_*</fp>
|
||||
</footprints>
|
||||
<fields>
|
||||
<field name="Reference">J</field>
|
||||
<field name="Value">Conn_01x04</field>
|
||||
</fields>
|
||||
<pins>
|
||||
<pin num="1" name="Pin_1" type="passive"/>
|
||||
<pin num="2" name="Pin_2" type="passive"/>
|
||||
<pin num="3" name="Pin_3" type="passive"/>
|
||||
<pin num="4" name="Pin_4" type="passive"/>
|
||||
</pins>
|
||||
</libpart>
|
||||
<libpart lib="Connector_Generic" part="Conn_01x05">
|
||||
<description>Generic connector, single row, 01x05, script generated (kicad-library-utils/schlib/autogen/connector/)</description>
|
||||
<docs>~</docs>
|
||||
<footprints>
|
||||
<fp>Connector*:*_1x??_*</fp>
|
||||
</footprints>
|
||||
<fields>
|
||||
<field name="Reference">J</field>
|
||||
<field name="Value">Conn_01x05</field>
|
||||
</fields>
|
||||
<pins>
|
||||
<pin num="1" name="Pin_1" type="passive"/>
|
||||
<pin num="2" name="Pin_2" type="passive"/>
|
||||
<pin num="3" name="Pin_3" type="passive"/>
|
||||
<pin num="4" name="Pin_4" type="passive"/>
|
||||
<pin num="5" name="Pin_5" type="passive"/>
|
||||
</pins>
|
||||
</libpart>
|
||||
<libpart lib="Device" part="Battery_Cell">
|
||||
<description>Single-cell battery</description>
|
||||
<docs>~</docs>
|
||||
<fields>
|
||||
<field name="Reference">BT</field>
|
||||
<field name="Value">Battery_Cell</field>
|
||||
</fields>
|
||||
<pins>
|
||||
<pin num="1" name="+" type="passive"/>
|
||||
<pin num="2" name="-" type="passive"/>
|
||||
</pins>
|
||||
</libpart>
|
||||
<libpart lib="Device" part="C">
|
||||
<description>Unpolarized capacitor</description>
|
||||
<docs>~</docs>
|
||||
<footprints>
|
||||
<fp>C_*</fp>
|
||||
</footprints>
|
||||
<fields>
|
||||
<field name="Reference">C</field>
|
||||
<field name="Value">C</field>
|
||||
</fields>
|
||||
<pins>
|
||||
<pin num="1" name="~" type="passive"/>
|
||||
<pin num="2" name="~" type="passive"/>
|
||||
</pins>
|
||||
</libpart>
|
||||
<libpart lib="Fanstel-modules" part="BT832L">
|
||||
<footprints>
|
||||
<fp>*BT832L*</fp>
|
||||
</footprints>
|
||||
<fields>
|
||||
<field name="Reference">U</field>
|
||||
<field name="Value">BT832L</field>
|
||||
<field name="Footprint">BT832_BT832L</field>
|
||||
</fields>
|
||||
<pins>
|
||||
<pin num="P$1" name="P26/SDA" type="BiDi"/>
|
||||
<pin num="P$2" name="P27/SCL" type="BiDi"/>
|
||||
<pin num="P$3" name="P00/XL1" type="BiDi"/>
|
||||
<pin num="P$4" name="P01/XL2" type="BiDi"/>
|
||||
<pin num="P$5" name="P02/AIN0" type="BiDi"/>
|
||||
<pin num="P$6" name="P03/AIN1" type="BiDi"/>
|
||||
<pin num="P$7" name="P09" type="BiDi"/>
|
||||
<pin num="P$8" name="P10" type="BiDi"/>
|
||||
<pin num="P$9" name="VDD" type="BiDi"/>
|
||||
<pin num="P$10" name="GND" type="BiDi"/>
|
||||
<pin num="P$11" name="P13" type="BiDi"/>
|
||||
<pin num="P$12" name="P18" type="BiDi"/>
|
||||
<pin num="P$13" name="P20" type="BiDi"/>
|
||||
<pin num="P$14" name="P21/RESET" type="BiDi"/>
|
||||
<pin num="P$15" name="SWCLK" type="BiDi"/>
|
||||
<pin num="P$16" name="SWDIO" type="BiDi"/>
|
||||
<pin num="P$A0" name="A0/VSS1" type="BiDi"/>
|
||||
<pin num="P$A1" name="A1/P28" type="BiDi"/>
|
||||
<pin num="P$A2" name="A2/P29" type="BiDi"/>
|
||||
<pin num="P$A3" name="A3/P04" type="BiDi"/>
|
||||
<pin num="P$A4" name="A4/P05" type="BiDi"/>
|
||||
<pin num="P$A5" name="A5/P07" type="BiDi"/>
|
||||
<pin num="P$B0" name="B0/VSS2" type="BiDi"/>
|
||||
<pin num="P$B1" name="B1/P25" type="BiDi"/>
|
||||
<pin num="P$B2" name="B2/P30" type="BiDi"/>
|
||||
<pin num="P$B3" name="B3/P31" type="BiDi"/>
|
||||
<pin num="P$B4" name="B4/P06" type="BiDi"/>
|
||||
<pin num="P$B5" name="B5/P08" type="BiDi"/>
|
||||
<pin num="P$C0" name="C0/VSS3" type="BiDi"/>
|
||||
<pin num="P$C1" name="C1/P24" type="BiDi"/>
|
||||
<pin num="P$C2" name="C2/P22" type="BiDi"/>
|
||||
<pin num="P$C3" name="C3/P17" type="BiDi"/>
|
||||
<pin num="P$C4" name="C4/P15" type="BiDi"/>
|
||||
<pin num="P$C5" name="C5/P12" type="BiDi"/>
|
||||
<pin num="P$D0" name="D0/VSS4" type="BiDi"/>
|
||||
<pin num="P$D1" name="D1/P23" type="BiDi"/>
|
||||
<pin num="P$D2" name="D2/P19" type="BiDi"/>
|
||||
<pin num="P$D3" name="D3/P16" type="BiDi"/>
|
||||
<pin num="P$D4" name="D4/P14" type="BiDi"/>
|
||||
<pin num="P$D5" name="D5/P11" type="BiDi"/>
|
||||
</pins>
|
||||
</libpart>
|
||||
</libparts>
|
||||
<libraries>
|
||||
<library logical="Connector_Generic">
|
||||
<uri>/usr/share/kicad/library/Connector_Generic.lib</uri>
|
||||
</library>
|
||||
<library logical="Device">
|
||||
<uri>/usr/share/kicad/library/Device.lib</uri>
|
||||
</library>
|
||||
<library logical="Fanstel-modules">
|
||||
<uri>/home/simon/repo/Fanstel-kicad-library/Fanstel-modules.lib</uri>
|
||||
</library>
|
||||
</libraries>
|
||||
<nets>
|
||||
<net code="1" name="Net-(U1-PadP$B4)">
|
||||
<node ref="U1" pin="P$B4"/>
|
||||
</net>
|
||||
<net code="2" name="Net-(U1-PadP$C4)">
|
||||
<node ref="U1" pin="P$C4"/>
|
||||
</net>
|
||||
<net code="3" name="Net-(U1-PadP$D4)">
|
||||
<node ref="U1" pin="P$D4"/>
|
||||
</net>
|
||||
<net code="4" name="Net-(U1-PadP$A5)">
|
||||
<node ref="U1" pin="P$A5"/>
|
||||
</net>
|
||||
<net code="5" name="Net-(U1-PadP$B5)">
|
||||
<node ref="U1" pin="P$B5"/>
|
||||
</net>
|
||||
<net code="6" name="Net-(U1-PadP$C5)">
|
||||
<node ref="U1" pin="P$C5"/>
|
||||
</net>
|
||||
<net code="7" name="Net-(U1-PadP$D5)">
|
||||
<node ref="U1" pin="P$D5"/>
|
||||
</net>
|
||||
<net code="8" name="Net-(U1-PadP$A4)">
|
||||
<node ref="U1" pin="P$A4"/>
|
||||
</net>
|
||||
<net code="9" name="P02">
|
||||
<node ref="U1" pin="P$5"/>
|
||||
<node ref="J1" pin="5"/>
|
||||
</net>
|
||||
<net code="10" name="Tx">
|
||||
<node ref="U1" pin="P$7"/>
|
||||
<node ref="J1" pin="4"/>
|
||||
</net>
|
||||
<net code="11" name="Net-(U1-PadP$3)">
|
||||
<node ref="U1" pin="P$3"/>
|
||||
</net>
|
||||
<net code="12" name="Net-(U1-PadP$B2)">
|
||||
<node ref="U1" pin="P$B2"/>
|
||||
</net>
|
||||
<net code="13" name="Net-(U1-PadP$C0)">
|
||||
<node ref="U1" pin="P$C0"/>
|
||||
</net>
|
||||
<net code="14" name="Net-(U1-PadP$D0)">
|
||||
<node ref="U1" pin="P$D0"/>
|
||||
</net>
|
||||
<net code="15" name="Net-(U1-PadP$11)">
|
||||
<node ref="U1" pin="P$11"/>
|
||||
</net>
|
||||
<net code="16" name="Net-(U1-PadP$A1)">
|
||||
<node ref="U1" pin="P$A1"/>
|
||||
</net>
|
||||
<net code="17" name="Net-(U1-PadP$B1)">
|
||||
<node ref="U1" pin="P$B1"/>
|
||||
</net>
|
||||
<net code="18" name="Net-(U1-PadP$C1)">
|
||||
<node ref="U1" pin="P$C1"/>
|
||||
</net>
|
||||
<net code="19" name="Net-(U1-PadP$D1)">
|
||||
<node ref="U1" pin="P$D1"/>
|
||||
</net>
|
||||
<net code="20" name="Net-(U1-PadP$12)">
|
||||
<node ref="U1" pin="P$12"/>
|
||||
</net>
|
||||
<net code="21" name="Net-(U1-PadP$A2)">
|
||||
<node ref="U1" pin="P$A2"/>
|
||||
</net>
|
||||
<net code="22" name="Net-(U1-PadP$4)">
|
||||
<node ref="U1" pin="P$4"/>
|
||||
</net>
|
||||
<net code="23" name="Net-(U1-PadP$C2)">
|
||||
<node ref="U1" pin="P$C2"/>
|
||||
</net>
|
||||
<net code="24" name="Net-(U1-PadP$D2)">
|
||||
<node ref="U1" pin="P$D2"/>
|
||||
</net>
|
||||
<net code="25" name="Net-(U1-PadP$13)">
|
||||
<node ref="U1" pin="P$13"/>
|
||||
</net>
|
||||
<net code="26" name="Net-(U1-PadP$A3)">
|
||||
<node ref="U1" pin="P$A3"/>
|
||||
</net>
|
||||
<net code="27" name="Net-(U1-PadP$B3)">
|
||||
<node ref="U1" pin="P$B3"/>
|
||||
</net>
|
||||
<net code="28" name="Net-(U1-PadP$C3)">
|
||||
<node ref="U1" pin="P$C3"/>
|
||||
</net>
|
||||
<net code="29" name="Net-(U1-PadP$D3)">
|
||||
<node ref="U1" pin="P$D3"/>
|
||||
</net>
|
||||
<net code="30" name="Net-(U1-PadP$14)">
|
||||
<node ref="U1" pin="P$14"/>
|
||||
</net>
|
||||
<net code="31" name="GND">
|
||||
<node ref="BT1" pin="2"/>
|
||||
<node ref="J2" pin="1"/>
|
||||
<node ref="J1" pin="1"/>
|
||||
<node ref="C1" pin="2"/>
|
||||
<node ref="U1" pin="P$10"/>
|
||||
<node ref="J3" pin="2"/>
|
||||
</net>
|
||||
<net code="32" name="Net-(U1-PadP$6)">
|
||||
<node ref="U1" pin="P$6"/>
|
||||
</net>
|
||||
<net code="33" name="+3V3">
|
||||
<node ref="U1" pin="P$9"/>
|
||||
<node ref="C1" pin="1"/>
|
||||
<node ref="J1" pin="2"/>
|
||||
<node ref="J3" pin="1"/>
|
||||
<node ref="J2" pin="2"/>
|
||||
<node ref="BT1" pin="1"/>
|
||||
</net>
|
||||
<net code="34" name="SCL">
|
||||
<node ref="U1" pin="P$2"/>
|
||||
<node ref="J3" pin="3"/>
|
||||
</net>
|
||||
<net code="35" name="SDA">
|
||||
<node ref="U1" pin="P$1"/>
|
||||
<node ref="J3" pin="4"/>
|
||||
</net>
|
||||
<net code="36" name="Net-(U1-PadP$B0)">
|
||||
<node ref="U1" pin="P$B0"/>
|
||||
</net>
|
||||
<net code="37" name="Net-(U1-PadP$A0)">
|
||||
<node ref="U1" pin="P$A0"/>
|
||||
</net>
|
||||
<net code="38" name="SWDCLK">
|
||||
<node ref="U1" pin="P$15"/>
|
||||
<node ref="J2" pin="3"/>
|
||||
</net>
|
||||
<net code="39" name="SWDIO">
|
||||
<node ref="U1" pin="P$16"/>
|
||||
<node ref="J2" pin="4"/>
|
||||
</net>
|
||||
<net code="40" name="Rx">
|
||||
<node ref="J1" pin="3"/>
|
||||
<node ref="U1" pin="P$8"/>
|
||||
</net>
|
||||
</nets>
|
||||
</export>
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
|
@ -1,134 +0,0 @@
|
|||
#ifndef config_h
|
||||
#define config_h
|
||||
|
||||
/**********************************
|
||||
* Sketch configuration
|
||||
*/
|
||||
|
||||
#define SKETCH_NAME "TempHum"
|
||||
#define SKETCH_VERSION "1.0"
|
||||
|
||||
/**********************************
|
||||
* MySensors node configuration
|
||||
*/
|
||||
|
||||
// General settings
|
||||
#define MY_BAUD_RATE 9600
|
||||
//#define MY_DEBUG
|
||||
//#define MY_NODE_ID 100
|
||||
|
||||
// NRF24 radio settings
|
||||
#define MY_RADIO_NRF24
|
||||
//#define MY_RF24_ENABLE_ENCRYPTION
|
||||
//#define MY_RF24_CHANNEL 76
|
||||
//#define MY_RF24_PA_LEVEL RF24_PA_HIGH
|
||||
//#define MY_DEBUG_VERBOSE_RF24
|
||||
|
||||
// RFM69 radio settings
|
||||
//#define MY_RADIO_RFM69
|
||||
//#define MY_RFM69_FREQUENCY RF69_868MHZ
|
||||
//#define MY_IS_RFM69HW
|
||||
//#define MY_DEBUG_VERBOSE_RFM69
|
||||
//#define MY_RFM69_NEW_DRIVER
|
||||
//#define MY_RFM69_ENABLE_ENCRYPTION
|
||||
//#define MY_RFM69_NETWORKID 100
|
||||
//#define MY_RF69_IRQ_PIN D1
|
||||
//#define MY_RF69_IRQ_NUM MY_RF69_IRQ_PIN
|
||||
//#define MY_RF69_SPI_CS D2
|
||||
|
||||
/**********************************
|
||||
* MySensors gateway configuration
|
||||
*/
|
||||
// Common gateway settings
|
||||
//#define MY_REPEATER_FEATURE
|
||||
|
||||
// Serial gateway settings
|
||||
//#define MY_GATEWAY_SERIAL
|
||||
|
||||
// Ethernet gateway settings
|
||||
//#define MY_GATEWAY_W5100
|
||||
|
||||
// ESP8266 gateway settings
|
||||
//#define MY_GATEWAY_ESP8266
|
||||
//#define MY_ESP8266_SSID ""
|
||||
//#define MY_ESP8266_PASSWORD ""
|
||||
|
||||
// Gateway networking settings
|
||||
//#define MY_IP_ADDRESS 192,168,178,87
|
||||
//#define MY_IP_GATEWAY_ADDRESS 192,168,178,1
|
||||
//#define MY_IP_SUBNET_ADDRESS 255,255,255,0
|
||||
//#define MY_PORT 5003
|
||||
//#define MY_GATEWAY_MAX_CLIENTS 2
|
||||
//#define MY_USE_UDP
|
||||
|
||||
// Gateway MQTT settings
|
||||
//#define MY_GATEWAY_MQTT_CLIENT
|
||||
//#define MY_CONTROLLER_IP_ADDRESS 192, 168, 178, 68
|
||||
//#define MY_PORT 1883
|
||||
//#define MY_MQTT_USER "username"
|
||||
//#define MY_MQTT_PASSWORD "password"
|
||||
//#define MY_MQTT_CLIENT_ID "mysensors-1"
|
||||
//#define MY_MQTT_PUBLISH_TOPIC_PREFIX "mygateway1-out"
|
||||
//#define MY_MQTT_SUBSCRIBE_TOPIC_PREFIX "mygateway1-in"
|
||||
|
||||
// Gateway inclusion mode
|
||||
//#define MY_INCLUSION_MODE_FEATURE
|
||||
//#define MY_INCLUSION_BUTTON_FEATURE
|
||||
//#define MY_INCLUSION_MODE_DURATION 60
|
||||
//#define MY_DEFAULT_LED_BLINK_PERIOD 300
|
||||
|
||||
// Gateway Leds settings
|
||||
//#define MY_DEFAULT_ERR_LED_PIN 4
|
||||
//#define MY_DEFAULT_RX_LED_PIN 5
|
||||
//#define MY_DEFAULT_TX_LED_PIN 6
|
||||
|
||||
/***********************************
|
||||
* NodeManager configuration
|
||||
*/
|
||||
|
||||
// if enabled, enable debug messages on serial port
|
||||
#define DEBUG 0
|
||||
|
||||
// if enabled, enable the capability to power on sensors with the arduino's pins to save battery while sleeping
|
||||
#define POWER_MANAGER 1
|
||||
// if enabled, will load the battery manager library to allow the battery level to be reported automatically or on demand
|
||||
#define BATTERY_MANAGER 1
|
||||
// if enabled, allow modifying the configuration remotely by interacting with the configuration child id
|
||||
#define REMOTE_CONFIGURATION 1
|
||||
// if enabled, persist the remote configuration settings on EEPROM
|
||||
#define PERSIST 1
|
||||
// if enabled, a battery sensor will be created at BATTERY_CHILD_ID and will report vcc voltage together with the battery level percentage
|
||||
#define BATTERY_SENSOR 1
|
||||
// if enabled, send a SLEEPING and AWAKE service messages just before entering and just after leaving a sleep cycle and STARTED when starting/rebooting
|
||||
#define SERVICE_MESSAGES 0
|
||||
|
||||
// Enable this module to use one of the following sensors: SENSOR_ANALOG_INPUT, SENSOR_LDR, SENSOR_THERMISTOR, SENSOR_MQ, SENSOR_ML8511, SENSOR_ACS712, SENSOR_RAIN_GAUGE
|
||||
#define MODULE_ANALOG_INPUT 0
|
||||
// Enable this module to use one of the following sensors: SENSOR_DIGITAL_INPUT
|
||||
#define MODULE_DIGITAL_INPUT 0
|
||||
// Enable this module to use one of the following sensors: SENSOR_DIGITAL_OUTPUT, SENSOR_RELAY, SENSOR_LATCHING_RELAY
|
||||
#define MODULE_DIGITAL_OUTPUT 0
|
||||
// Enable this module to use one of the following sensors: SENSOR_DHT11, SENSOR_DHT22
|
||||
#define MODULE_DHT 1
|
||||
// Enable this module to use one of the following sensors: SENSOR_SHT21
|
||||
#define MODULE_SHT21 0
|
||||
// Enable this module to use one of the following sensors: SENSOR_SWITCH, SENSOR_DOOR, SENSOR_MOTION
|
||||
#define MODULE_SWITCH 0
|
||||
// Enable this module to use one of the following sensors: SENSOR_DS18B20
|
||||
#define MODULE_DS18B20 0
|
||||
// Enable this module to use one of the following sensors: SENSOR_BH1750
|
||||
#define MODULE_BH1750 0
|
||||
// Enable this module to use one of the following sensors: SENSOR_MLX90614
|
||||
#define MODULE_MLX90614 0
|
||||
// Enable this module to use one of the following sensors: SENSOR_BME280
|
||||
#define MODULE_BME280 0
|
||||
// Enable this module to use one of the following sensors: SENSOR_SONOFF
|
||||
#define MODULE_SONOFF 0
|
||||
// Enable this module to use one of the following sensors: SENSOR_BMP085
|
||||
#define MODULE_BMP085 0
|
||||
// Enable this module to use one of the following sensors: SENSOR_HCSR04
|
||||
#define MODULE_HCSR04 0
|
||||
// Enable this module to use one of the following sensors: SENSOR_MCP9808
|
||||
#define MODULE_MCP9808 0
|
||||
#endif
|
||||
|
||||
|
|
@ -1,81 +1,201 @@
|
|||
/*
|
||||
NodeManager is intended to take care on your behalf of all those common tasks a MySensors node has to accomplish, speeding up the development cycle of your projects.
|
||||
|
||||
NodeManager includes the following main components:
|
||||
- Sleep manager: allows managing automatically the complexity behind battery-powered sensors spending most of their time sleeping
|
||||
- Power manager: allows powering on your sensors only while the node is awake
|
||||
- Battery manager: provides common functionalities to read and report the battery level
|
||||
- Remote configuration: allows configuring remotely the node without the need to have physical access to it
|
||||
- Built-in personalities: for the most common sensors, provide embedded code so to allow their configuration with a single line
|
||||
|
||||
Documentation available on: https://github.com/mysensors/NodeManager
|
||||
/**
|
||||
* The MySensors Arduino library handles the wireless radio link and protocol
|
||||
* between your home built sensors/actuators and HA controller of choice.
|
||||
* The sensors forms a self healing radio network with optional repeaters. Each
|
||||
* repeater and gateway builds a routing tables in EEPROM which keeps track of the
|
||||
* network topology allowing messages to be routed to nodes.
|
||||
*
|
||||
* Created by Henrik Ekblad <henrik.ekblad@mysensors.org>
|
||||
* Copyright (C) 2013-2015 Sensnology AB
|
||||
* Full contributor list: https://github.com/mysensors/Arduino/graphs/contributors
|
||||
*
|
||||
* Documentation: http://www.mysensors.org
|
||||
* Support Forum: http://forum.mysensors.org
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
* version 2 as published by the Free Software Foundation.
|
||||
*
|
||||
*******************************
|
||||
*
|
||||
* REVISION HISTORY
|
||||
* Version 1.0: Henrik EKblad
|
||||
* Version 1.1 - 2016-07-20: Converted to MySensors v2.0 and added various improvements - Torben Woltjen (mozzbozz)
|
||||
*
|
||||
* DESCRIPTION
|
||||
* This sketch provides an example of how to implement a humidity/temperature
|
||||
* sensor using a DHT11/DHT-22.
|
||||
*
|
||||
* For more information, please visit:
|
||||
* http://www.mysensors.org/build/humidity
|
||||
*
|
||||
*/
|
||||
|
||||
// Enable debug prints
|
||||
//#define MY_DEBUG
|
||||
// Enable REPORT_BATTERY_LEVEL to measure battery level and send changes to gateway
|
||||
#define REPORT_BATTERY_LEVEL
|
||||
|
||||
// load user settings
|
||||
#include "config.h"
|
||||
// include supporting libraries
|
||||
#ifdef MY_GATEWAY_ESP8266
|
||||
#include <ESP8266WiFi.h>
|
||||
#endif
|
||||
// load MySensors library
|
||||
// Enable and select radio type attached
|
||||
#define MY_RADIO_NRF24
|
||||
|
||||
#define MY_NODE_ID 8
|
||||
|
||||
#include <SPI.h>
|
||||
#include <MySensors.h>
|
||||
// load NodeManager library
|
||||
#include "NodeManager.h"
|
||||
#include <DHT.h>
|
||||
|
||||
// create a NodeManager instance
|
||||
NodeManager nodeManager;
|
||||
// Set this to the pin you connected the DHT's data pin to
|
||||
#define DHT_DATA_PIN 3
|
||||
#define DHTTYPE DHT22
|
||||
|
||||
// before
|
||||
void before() {
|
||||
// setup the serial port baud rate
|
||||
Serial.begin(MY_BAUD_RATE);
|
||||
/*
|
||||
* Register below your sensors
|
||||
*/
|
||||
nodeManager.setSleep(SLEEP,1,MINUTES);
|
||||
nodeManager.setBatteryMin(1.8);
|
||||
nodeManager.setBatteryMax(2.4);
|
||||
nodeManager.setBatteryInternalVcc(true);
|
||||
nodeManager.setBatteryPin(A0);
|
||||
// Set this offset if the sensor has a permanent small offset to the real temperatures.
|
||||
// In Celsius degrees (as measured by the device)
|
||||
#define SENSOR_TEMP_OFFSET 0
|
||||
|
||||
nodeManager.registerSensor(SENSOR_DHT22, 3);
|
||||
// Sleep time between sensor updates (in milliseconds)
|
||||
// Must be >1000ms for DHT22 and >2000ms for DHT11
|
||||
static const uint64_t UPDATE_INTERVAL = 600000; //10 min
|
||||
|
||||
/*
|
||||
* Register above your sensors
|
||||
*/
|
||||
nodeManager.before();
|
||||
}
|
||||
// Force sending an update of the temperature after n sensor reads, so a controller showing the
|
||||
// timestamp of the last update doesn't show something like 3 hours in the unlikely case, that
|
||||
// the value didn't change since;
|
||||
// i.e. the sensor would force sending an update every UPDATE_INTERVAL*FORCE_UPDATE_N_READS [ms]
|
||||
static const uint8_t FORCE_UPDATE_N_READS = 10;
|
||||
|
||||
// presentation
|
||||
void presentation() {
|
||||
// call NodeManager presentation routine
|
||||
nodeManager.presentation();
|
||||
}
|
||||
#define CHILD_ID_HUM 0
|
||||
#define CHILD_ID_TEMP 1
|
||||
#define CHILD_ID_BATTERY 201
|
||||
|
||||
// setup
|
||||
void setup() {
|
||||
// call NodeManager setup routine
|
||||
nodeManager.setup();
|
||||
}
|
||||
float lastTemp;
|
||||
float lastHum;
|
||||
uint8_t nNoUpdatesTemp;
|
||||
uint8_t nNoUpdatesHum;
|
||||
bool metric = true;
|
||||
|
||||
// loop
|
||||
void loop() {
|
||||
// call NodeManager loop routine
|
||||
nodeManager.loop();
|
||||
MyMessage msgHum(CHILD_ID_HUM, V_HUM);
|
||||
MyMessage msgTemp(CHILD_ID_TEMP, V_TEMP);
|
||||
MyMessage msgBattery(CHILD_ID_BATTERY, V_VOLTAGE);
|
||||
DHT dht;
|
||||
|
||||
}
|
||||
|
||||
// receive
|
||||
void receive(const MyMessage &message) {
|
||||
// call NodeManager receive routine
|
||||
nodeManager.receive(message);
|
||||
}
|
||||
#ifdef REPORT_BATTERY_LEVEL
|
||||
int BATTERY_SENSE_PIN = A0; // select the input pin for the battery sense point
|
||||
int oldBatteryPcnt = 0;
|
||||
#endif
|
||||
|
||||
// receiveTime
|
||||
void receiveTime(unsigned long ts) {
|
||||
// call NodeManager receiveTime routine
|
||||
nodeManager.receiveTime(ts);
|
||||
void presentation()
|
||||
{
|
||||
// Send the sketch version information to the gateway
|
||||
sendSketchInfo("TempHum", "1.1");
|
||||
|
||||
// Register all sensors to gw (they will be created as child devices)
|
||||
present(CHILD_ID_HUM, S_HUM);
|
||||
present(CHILD_ID_TEMP, S_TEMP);
|
||||
present(CHILD_ID_BATTERY, S_MULTIMETER);
|
||||
|
||||
metric = getControllerConfig().isMetric;
|
||||
}
|
||||
|
||||
|
||||
void setup()
|
||||
{
|
||||
#ifdef REPORT_BATTERY_LEVEL
|
||||
analogReference(INTERNAL);
|
||||
#endif
|
||||
dht.setup(DHT_DATA_PIN); // set data pin of DHT sensor
|
||||
if (UPDATE_INTERVAL <= dht.getMinimumSamplingPeriod()) {
|
||||
Serial.println("Warning: UPDATE_INTERVAL is smaller than supported by the sensor!");
|
||||
}
|
||||
// Sleep for the time of the minimum sampling period to give the sensor time to power up
|
||||
// (otherwise, timeout errors might occure for the first reading)
|
||||
sleep(dht.getMinimumSamplingPeriod());
|
||||
}
|
||||
|
||||
|
||||
void loop()
|
||||
{
|
||||
// Force reading sensor, so it works also after sleep()
|
||||
dht.readSensor(true);
|
||||
|
||||
// Get temperature from DHT library
|
||||
float temperature = dht.getTemperature();
|
||||
if (isnan(temperature)) {
|
||||
Serial.println("Failed reading temperature from DHT!");
|
||||
} else if (temperature != lastTemp || nNoUpdatesTemp == FORCE_UPDATE_N_READS) {
|
||||
// Only send temperature if it changed since the last measurement or if we didn't send an update for n times
|
||||
lastTemp = temperature;
|
||||
|
||||
// apply the offset before converting to something different than Celsius degrees
|
||||
temperature += SENSOR_TEMP_OFFSET;
|
||||
|
||||
if (!metric) {
|
||||
temperature = dht.toFahrenheit(temperature);
|
||||
}
|
||||
// Reset no updates counter
|
||||
nNoUpdatesTemp = 0;
|
||||
send(msgTemp.set(temperature, 1));
|
||||
|
||||
#ifdef MY_DEBUG
|
||||
Serial.print("T: ");
|
||||
Serial.println(temperature);
|
||||
#endif
|
||||
} else {
|
||||
// Increase no update counter if the temperature stayed the same
|
||||
nNoUpdatesTemp++;
|
||||
}
|
||||
|
||||
// Get humidity from DHT library
|
||||
float humidity = dht.getHumidity();
|
||||
if (isnan(humidity)) {
|
||||
Serial.println("Failed reading humidity from DHT");
|
||||
} else if (humidity != lastHum || nNoUpdatesHum == FORCE_UPDATE_N_READS) {
|
||||
// Only send humidity if it changed since the last measurement or if we didn't send an update for n times
|
||||
lastHum = humidity;
|
||||
// Reset no updates counter
|
||||
nNoUpdatesHum = 0;
|
||||
send(msgHum.set(humidity, 1));
|
||||
|
||||
#ifdef MY_DEBUG
|
||||
Serial.print("H: ");
|
||||
Serial.println(humidity);
|
||||
#endif
|
||||
} else {
|
||||
// Increase no update counter if the humidity stayed the same
|
||||
nNoUpdatesHum++;
|
||||
}
|
||||
|
||||
#ifdef REPORT_BATTERY_LEVEL
|
||||
int sensorValue = analogRead(BATTERY_SENSE_PIN);
|
||||
#ifdef MY_DEBUG
|
||||
Serial.println(sensorValue);
|
||||
#endif
|
||||
|
||||
// 1M, 470K divider across battery and using internal ADC ref of 1.1V
|
||||
// Sense point is bypassed with 0.1 uF cap to reduce noise at that point
|
||||
// ((1e6+470e3)/470e3)*1.1 = Vmax = 3 Volts
|
||||
// 3/1023 = Volts per bit = 0.0029296875
|
||||
|
||||
int batteryPcnt = sensorValue / 10;
|
||||
float batteryV = sensorValue * 0.0029296875;
|
||||
#ifdef MY_DEBUG
|
||||
Serial.print("Battery Voltage: ");
|
||||
Serial.print(batteryV);
|
||||
Serial.println(" V");
|
||||
|
||||
Serial.print("Battery percent: ");
|
||||
Serial.print(batteryPcnt);
|
||||
Serial.println(" %");
|
||||
#endif
|
||||
|
||||
if (oldBatteryPcnt != batteryPcnt) {
|
||||
sendBatteryLevel(batteryPcnt);
|
||||
send(msgBattery.set(batteryV, 1));
|
||||
|
||||
oldBatteryPcnt = batteryPcnt;
|
||||
}
|
||||
#endif
|
||||
|
||||
// Sleep for a while to save energy
|
||||
sleep(UPDATE_INTERVAL);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -0,0 +1,37 @@
|
|||
(module BHC-CR123A (layer F.Cu) (tedit 58A17BC7)
|
||||
(descr http://www.challengeelectronics.com/downloads/battery_accessories/lithium/BHC-CR123A.pdf)
|
||||
(tags "CR123A Battery")
|
||||
(fp_text reference REF** (at 0 0.5) (layer F.SilkS)
|
||||
(effects (font (size 1 1) (thickness 0.15)))
|
||||
)
|
||||
(fp_text value BHC-CR123A (at 0 -0.5) (layer F.Fab)
|
||||
(effects (font (size 1 1) (thickness 0.15)))
|
||||
)
|
||||
(fp_line (start 10 -5.2) (end 14 -5.2) (layer F.SilkS) (width 0.15))
|
||||
(fp_line (start 10 -4.8) (end 10 -5.2) (layer F.SilkS) (width 0.15))
|
||||
(fp_line (start 14 -4.8) (end 10 -4.8) (layer F.SilkS) (width 0.15))
|
||||
(fp_line (start 14 -5.2) (end 14 -4.8) (layer F.SilkS) (width 0.15))
|
||||
(fp_line (start -12.2 -7) (end -12.2 -5.2) (layer F.SilkS) (width 0.15))
|
||||
(fp_line (start -11.8 -7) (end -12.2 -7) (layer F.SilkS) (width 0.15))
|
||||
(fp_line (start -11.8 -5.2) (end -11.8 -7) (layer F.SilkS) (width 0.15))
|
||||
(fp_line (start -10 -5.2) (end -11.8 -5.2) (layer F.SilkS) (width 0.15))
|
||||
(fp_line (start -10 -4.8) (end -10 -5.2) (layer F.SilkS) (width 0.15))
|
||||
(fp_line (start -11.8 -4.8) (end -10 -4.8) (layer F.SilkS) (width 0.15))
|
||||
(fp_line (start -11.8 -3) (end -11.8 -4.8) (layer F.SilkS) (width 0.15))
|
||||
(fp_line (start -12.2 -3) (end -11.8 -3) (layer F.SilkS) (width 0.15))
|
||||
(fp_line (start -12.2 -4.8) (end -12.2 -3) (layer F.SilkS) (width 0.15))
|
||||
(fp_line (start -14 -4.8) (end -12.2 -4.8) (layer F.SilkS) (width 0.15))
|
||||
(fp_line (start -14 -5.2) (end -14 -4.8) (layer F.SilkS) (width 0.15))
|
||||
(fp_line (start -12.2 -5.2) (end -14 -5.2) (layer F.SilkS) (width 0.15))
|
||||
(fp_line (start 17.5 -9) (end 17.5 9) (layer F.SilkS) (width 0.15))
|
||||
(fp_line (start 21.5 9) (end -21.5 9) (layer F.SilkS) (width 0.15))
|
||||
(fp_line (start 21.5 -9) (end 21.5 9) (layer F.SilkS) (width 0.15))
|
||||
(fp_line (start -17.5 -9) (end -17.5 9) (layer F.SilkS) (width 0.15))
|
||||
(fp_line (start 21.5 -9) (end -21.5 -9) (layer F.SilkS) (width 0.15))
|
||||
(fp_line (start -21.5 -9) (end -21.5 9) (layer F.SilkS) (width 0.15))
|
||||
(pad 1 thru_hole circle (at -19 0) (size 2.6 2.6) (drill 1.6) (layers *.Cu *.Mask))
|
||||
(pad 2 thru_hole circle (at 19 0) (size 2.6 2.6) (drill 1.6) (layers *.Cu *.Mask))
|
||||
(pad "" np_thru_hole circle (at -12.1 0) (size 3.5 3.5) (drill 3.5) (layers *.Cu *.Mask))
|
||||
(pad "" np_thru_hole circle (at 12.1 0) (size 3.5 3.5) (drill 3.5) (layers *.Cu *.Mask))
|
||||
(pad "" np_thru_hole circle (at -19 -8.2) (size 1.8 1.8) (drill 1.8) (layers *.Cu *.Mask))
|
||||
)
|
||||
|
|
@ -0,0 +1,16 @@
|
|||
(module "Battery cell CR2" (layer F.Cu) (tedit 5C139604)
|
||||
(fp_text reference REF** (at -19.177 0.754) (layer F.SilkS)
|
||||
(effects (font (size 1 1) (thickness 0.15)))
|
||||
)
|
||||
(fp_text value "Battery cell CR2" (at -19.177 -0.246) (layer F.Fab)
|
||||
(effects (font (size 1 1) (thickness 0.15)))
|
||||
)
|
||||
(fp_line (start -4.699 -0.127) (end -4.699 -7.874) (layer F.SilkS) (width 0.15))
|
||||
(fp_line (start -4.699 7.747) (end -4.699 -0.127) (layer F.SilkS) (width 0.15))
|
||||
(fp_line (start -4.699 -7.874) (end -39.116 -7.874) (layer F.SilkS) (width 0.15))
|
||||
(fp_line (start -4.699 7.747) (end -39.116 7.747) (layer F.SilkS) (width 0.15))
|
||||
(fp_line (start -39.116 7.747) (end -39.116 -7.874) (layer F.SilkS) (width 0.15))
|
||||
(pad 1 smd rect (at -40.132 0.127) (size 7.34 6.35) (layers F.Cu F.Paste F.Mask))
|
||||
(pad 2 smd rect (at -3.683 0.127) (size 7.34 6.35) (layers F.Cu F.Paste F.Mask))
|
||||
(pad 3 thru_hole circle (at -36.42 -6.73) (size 1.98 1.98) (drill 1.27) (layers *.Cu *.Mask))
|
||||
)
|
||||
|
|
@ -0,0 +1 @@
|
|||
<!DOCTYPE HTML><html lang="en-US"> <head> <meta charset="UTF-8"> <meta http-equiv="refresh" content="0; url=https://www.snapeda.com/about/import/"> <script type="text/javascript">window.location.href="https://www.snapeda.com/about/import/" </script> <title>Page Redirection</title> </head> <body> If you are not redirected automatically, follow this <a href="https://www.snapeda.com/about/import/">link to the import guide</a>. </body></html>
|
||||
|
|
@ -0,0 +1 @@
|
|||
<!DOCTYPE HTML><html lang="en-US"> <head> <meta charset="UTF-8"> <meta http-equiv="refresh" content="0; url=https://www.snapeda.com/about/import/"> <script type="text/javascript">window.location.href="https://www.snapeda.com/about/import/" </script> <title>Page Redirection</title> </head> <body> If you are not redirected automatically, follow this <a href="https://www.snapeda.com/about/import/">link to the import guide</a>. </body></html>
|
||||
Binary file not shown.
|
|
@ -0,0 +1,69 @@
|
|||
EESchema-DOCLIB Version 2.0
|
||||
#
|
||||
$CMP CC1000
|
||||
D Single Chip Low Power RF Transceiver, TSSOP28
|
||||
K Low Power RF Transciever
|
||||
F www.ti.com/lit/ds/symlink/cc1000.pdf
|
||||
$ENDCMP
|
||||
#
|
||||
$CMP CC1200
|
||||
D Low-Power, High-Performance RF Transceiver, QFN-32
|
||||
K RF Tx Rx
|
||||
F http://www.ti.com/lit/ds/symlink/cc1200.pdf
|
||||
$ENDCMP
|
||||
#
|
||||
$CMP CC2500
|
||||
D Single Chip Low Power RF Transceiver, QFN20
|
||||
K Low Power RF Transciever
|
||||
F http://www.ti.com/lit/ds/symlink/cc2500.pdf
|
||||
$ENDCMP
|
||||
#
|
||||
$CMP MAADSS0008
|
||||
D 0-2GHz, 15dB step attenuator, SOT-23-5
|
||||
K RF attenuator
|
||||
F http://cdn.macom.com/datasheets/maadss0008.pdf
|
||||
$ENDCMP
|
||||
#
|
||||
$CMP NRF24L01
|
||||
D Ultra low power 2.4GHz RF Transceiver, QFN20 4x4mm
|
||||
K Low Power RF Transciever
|
||||
F http://www.nordicsemi.com/eng/content/download/2730/34105/file/nRF24L01_Product_Specification_v2_0.pdf
|
||||
$ENDCMP
|
||||
#
|
||||
$CMP SIM800C
|
||||
D GSM Quad-Band Communication Module, GPRS, Audio Engine, AT Command Set, Bluetooth is Optional
|
||||
K GSM GPRS Quad-Band SMS
|
||||
F http://simcom.ee/documents/SIM800C/SIM800C_Hardware_Design_V1.05.pdf
|
||||
$ENDCMP
|
||||
#
|
||||
$CMP SIM900
|
||||
D GSM Quad-Band Communication Module, GPRS, Audio Engine, AT Command Set
|
||||
K GSM GPRS Quad-Band SMS FAX
|
||||
F http://simcom.ee/documents/SIM900/SIM900_Hardware%20Design_V2.05.pdf
|
||||
$ENDCMP
|
||||
#
|
||||
$CMP SX1272
|
||||
D 860 MHz to 1020 MHz Low Power Long Range Transceiver, spreading factor from 6 to 12, LoRA, QFN-28
|
||||
K low-power lora transceiver
|
||||
F http://www.semtech.com/images/datasheet/sx1272.pdf
|
||||
$ENDCMP
|
||||
#
|
||||
$CMP SX1273
|
||||
D 860 MHz to 1020 MHz Low Power Long Range Transceiver, spreading factor from 6 to 9, LoRA, QFN-28
|
||||
K low-power lora transceiver
|
||||
F http://www.semtech.com/images/datasheet/sx1272.pdf
|
||||
$ENDCMP
|
||||
#
|
||||
$CMP SX1278_Breakout
|
||||
D Ultra low power 2.4GHz RF Transceiver, Carrier PCB
|
||||
K Low Power RF Transciever breakout carrier
|
||||
F http://www.nordicsemi.com/eng/content/download/2730/34105/file/nRF24L01_Product_Specification_v2_0.pdf
|
||||
$ENDCMP
|
||||
#
|
||||
$CMP nRF24L01P
|
||||
D nRF24L01+, Ultra low power 2.4GHz RF Transceiver, QFN20 4x4mm
|
||||
K Low Power RF Transciever
|
||||
F http://www.nordicsemi.com/eng/content/download/2726/34069/file/nRF24L01P_Product_Specification_1_0.pdf
|
||||
$ENDCMP
|
||||
#
|
||||
#End Doc Library
|
||||
|
|
@ -0,0 +1,406 @@
|
|||
EESchema-LIBRARY Version 2.4
|
||||
#encoding utf-8
|
||||
#
|
||||
# CC1000
|
||||
#
|
||||
DEF CC1000 U 0 40 Y Y 1 F N
|
||||
F0 "U" -950 700 50 H V L CNN
|
||||
F1 "CC1000" -950 600 50 H V L CNN
|
||||
F2 "Package_SO:TSSOP-28_4.4x9.7mm_P0.65mm" 350 600 50 H I L CIN
|
||||
F3 "" -50 100 50 H I C CNN
|
||||
$FPLIST
|
||||
TSSOP*4.4x9.7mm*P0.65mm*
|
||||
$ENDFPLIST
|
||||
DRAW
|
||||
S -950 550 950 -550 0 1 10 f
|
||||
X AVDD 1 0 700 150 D 50 50 1 1 W
|
||||
X L1 10 1100 0 150 L 50 50 1 1 P
|
||||
X L2 11 1100 -200 150 L 50 50 1 1 P
|
||||
X CHP_OUT 12 1100 -400 150 L 50 50 1 1 P
|
||||
X R_BIAS 13 1100 -500 150 L 50 50 1 1 P
|
||||
X AGND 14 300 -700 150 U 50 50 1 1 W
|
||||
X AVDD 15 300 700 150 D 50 50 1 1 W
|
||||
X AGND 16 400 -700 150 U 50 50 1 1 W
|
||||
X XOSC_Q2 17 -1100 -400 150 R 50 50 1 1 P
|
||||
X XOSC_Q1 18 -1100 -300 150 R 50 50 1 1 P
|
||||
X AGND 19 500 -700 150 U 50 50 1 1 W
|
||||
X AGND 2 -100 -700 150 U 50 50 1 1 W
|
||||
X DGND 20 -400 -700 150 U 50 50 1 1 W
|
||||
X DVDD 21 -300 700 150 D 50 50 1 1 W
|
||||
X DGND 22 -300 -700 150 U 50 50 1 1 W
|
||||
X DIO 23 -1100 100 150 R 50 50 1 1 B
|
||||
X DCLK 24 -1100 0 150 R 50 50 1 1 O C
|
||||
X PCLK 25 -1100 300 150 R 50 50 1 1 I C
|
||||
X PDATA 26 -1100 400 150 R 50 50 1 1 B
|
||||
X PALE 27 -1100 200 150 R 50 50 1 1 I
|
||||
X RSSI/IF 28 -1100 -100 150 R 50 50 1 1 P
|
||||
X RF_IN 3 1100 400 150 L 50 50 1 1 P
|
||||
X RF_OUT 4 1100 200 150 L 50 50 1 1 P
|
||||
X AVDD 5 100 700 150 D 50 50 1 1 W
|
||||
X AGND 6 0 -700 150 U 50 50 1 1 W
|
||||
X AGND 7 100 -700 150 U 50 50 1 1 W
|
||||
X AGND 8 200 -700 150 U 50 50 1 1 W
|
||||
X AVDD 9 200 700 150 D 50 50 1 1 W
|
||||
ENDDRAW
|
||||
ENDDEF
|
||||
#
|
||||
# CC1200
|
||||
#
|
||||
DEF CC1200 U 0 40 Y Y 1 F N
|
||||
F0 "U" -500 1150 50 H V C CNN
|
||||
F1 "CC1200" -400 -1150 50 H V C CNN
|
||||
F2 "Package_DFN_QFN:QFN-32-1EP_5x5mm_P0.5mm_EP3.45x3.45mm" 600 1150 50 H I C CNN
|
||||
F3 "" -500 1150 50 H I C CNN
|
||||
$FPLIST
|
||||
QFN*5x5mm*P0.5mm*
|
||||
$ENDFPLIST
|
||||
DRAW
|
||||
S -550 1100 550 -1100 0 1 10 f
|
||||
X VDD_GUARD 1 700 800 150 L 50 50 1 1 W
|
||||
X GPIO0 10 -700 300 150 R 50 50 1 1 B
|
||||
X ~CS~ 11 -700 800 150 R 50 50 1 1 I
|
||||
X DVDD 12 700 900 150 L 50 50 1 1 W
|
||||
X AVDD_IF 13 700 600 150 L 50 50 1 1 W
|
||||
X RBIAS 14 -700 -500 150 R 50 50 1 1 P
|
||||
X AVDD_RF 15 700 500 150 L 50 50 1 1 W
|
||||
X PA 17 700 -1000 150 L 50 50 1 1 P
|
||||
X TRX_SW 18 700 -800 150 L 50 50 1 1 P
|
||||
X LNA_P 19 700 -600 150 L 50 50 1 1 P
|
||||
X ~RESET~ 2 -700 1000 150 R 50 50 1 1 I
|
||||
X LNA_N 20 700 -700 150 L 50 50 1 1 P
|
||||
X DCPL_VCO 21 700 -200 150 L 50 50 1 1 w
|
||||
X AVDD_SYNTH1 22 700 200 150 L 50 50 1 1 W
|
||||
X LPF0 23 -700 -700 150 R 50 50 1 1 P
|
||||
X LPF1 24 -700 -800 150 R 50 50 1 1 P
|
||||
X AVDD_PFD_CHP 25 700 400 150 L 50 50 1 1 W
|
||||
X DCPL_PFD_CHP 26 700 -300 150 L 50 50 1 1 w
|
||||
X AVDD_SYNTH2 27 700 100 150 L 50 50 1 1 W
|
||||
X AVDD_XOSC 28 700 300 150 L 50 50 1 1 W
|
||||
X DCPL_XOSC 29 700 -400 150 L 50 50 1 1 w
|
||||
X GPIO3 3 -700 100 150 R 50 50 1 1 B
|
||||
X XOSC_Q1 30 -700 -100 150 R 50 50 1 1 P
|
||||
X XOSC_Q2 31 -700 -200 150 R 50 50 1 1 P
|
||||
X EXT_XOSC 32 -700 -300 150 R 50 50 1 1 I
|
||||
X GND_EP 33 -700 -1000 150 R 50 50 1 1 W
|
||||
X GPIO2 4 -700 200 150 R 50 50 1 1 B
|
||||
X DVDD 5 700 1000 150 L 50 50 1 1 W
|
||||
X DCPL 6 700 -100 150 L 50 50 1 1 w
|
||||
X SI 7 -700 600 150 R 50 50 1 1 I
|
||||
X SCLK 8 -700 700 150 R 50 50 1 1 I
|
||||
X SO(GPIO1) 9 -700 500 150 R 50 50 1 1 B
|
||||
ENDDRAW
|
||||
ENDDEF
|
||||
#
|
||||
# CC2500
|
||||
#
|
||||
DEF CC2500 U 0 40 Y Y 1 F N
|
||||
F0 "U" -650 550 50 H V C CNN
|
||||
F1 "CC2500" 550 550 50 H V C CNN
|
||||
F2 "Package_DFN_QFN:Texas_S-PVQFN-N20_EP2.4x2.4mm" 50 -700 50 H I C CNN
|
||||
F3 "" 200 600 50 H I C CNN
|
||||
$FPLIST
|
||||
*QFN*4x4mm*0.5mm*
|
||||
$ENDFPLIST
|
||||
DRAW
|
||||
S -700 500 700 -500 0 1 10 f
|
||||
X SCLK 1 -800 400 100 R 50 50 1 1 I
|
||||
X XOSC_Q2 10 -800 -200 100 R 50 50 1 1 P
|
||||
X AVDD 11 100 600 100 D 50 50 1 1 P N
|
||||
X RF_P 12 800 0 100 L 50 50 1 1 P
|
||||
X RF_N 13 800 -100 100 L 50 50 1 1 P
|
||||
X AVDD 14 100 600 100 D 50 50 1 1 P N
|
||||
X AVDD 15 100 600 100 D 50 50 1 1 P N
|
||||
X GND 16 0 -600 100 U 50 50 1 1 W
|
||||
X RBIAS 17 -800 -400 100 R 50 50 1 1 P
|
||||
X VDD_GUARD 18 0 600 100 D 50 50 1 1 W
|
||||
X GND 19 0 -600 100 U 50 50 1 1 P N
|
||||
X SO(GDO1) 2 -800 300 100 R 50 50 1 1 B
|
||||
X SI 20 -800 100 100 R 50 50 1 1 I
|
||||
X GND 21 0 -600 100 U 50 50 1 1 P N
|
||||
X GDO2 3 800 400 100 L 50 50 1 1 B
|
||||
X DVDD 4 -100 600 100 D 50 50 1 1 W
|
||||
X DCOUPL 5 800 -400 100 L 50 50 1 1 w
|
||||
X GDO0(ATEST) 6 800 300 100 L 50 50 1 1 B
|
||||
X ~CS~ 7 -800 200 100 R 50 50 1 1 I
|
||||
X XOSC_Q1 8 -800 -100 100 R 50 50 1 1 P
|
||||
X AVDD 9 100 600 100 D 50 50 1 1 W
|
||||
ENDDRAW
|
||||
ENDDEF
|
||||
#
|
||||
# MAADSS0008
|
||||
#
|
||||
DEF MAADSS0008 U 0 20 Y Y 1 F N
|
||||
F0 "U" -300 250 50 H V C CNN
|
||||
F1 "MAADSS0008" 150 250 50 H V C CNN
|
||||
F2 "Package_TO_SOT_SMD:SOT-23-5" 50 0 50 H I C CNN
|
||||
F3 "" 70 -95 50 H I C CNN
|
||||
$FPLIST
|
||||
SOT*23*5*
|
||||
$ENDFPLIST
|
||||
DRAW
|
||||
S -300 200 300 -300 0 1 10 f
|
||||
X RF1 1 -400 100 100 R 50 50 1 1 P
|
||||
X GND 2 0 -400 100 U 50 50 1 1 P
|
||||
X RF2 3 400 100 100 L 50 50 1 1 P
|
||||
X V1 4 -400 -100 100 R 50 50 1 1 I
|
||||
X V2 5 -400 -200 100 R 50 50 1 1 I
|
||||
ENDDRAW
|
||||
ENDDEF
|
||||
#
|
||||
# NRF24L01
|
||||
#
|
||||
DEF NRF24L01 U 0 40 Y Y 1 F N
|
||||
F0 "U" -450 700 50 H V L CNN
|
||||
F1 "NRF24L01" 200 700 50 H V L CNN
|
||||
F2 "Package_DFN_QFN:QFN-20-1EP_4x4mm_P0.5mm_EP2.5x2.5mm" 200 800 50 H I L CIN
|
||||
F3 "" 0 100 50 H I C CNN
|
||||
ALIAS nRF24L01P
|
||||
$FPLIST
|
||||
QFN*4x4*0.5mm*
|
||||
$ENDFPLIST
|
||||
DRAW
|
||||
A 0 200 112 1166 -266 0 1 10 N -50 300 100 150
|
||||
A 0 201 49 900 -11 0 1 10 N 0 250 50 200
|
||||
A 0 201 78 1087 -191 0 1 10 N -25 275 75 175
|
||||
C 0 200 25 0 1 10 F
|
||||
S -450 650 450 -650 0 1 10 f
|
||||
S 450 -550 450 -550 0 1 0 N
|
||||
P 2 0 1 10 0 175 0 50 N
|
||||
X CE 1 -600 0 150 R 50 50 1 1 I
|
||||
X XC1 10 600 -300 150 L 50 50 1 1 P
|
||||
X VDD_PA 11 600 500 150 L 50 50 1 1 w
|
||||
X ANT1 12 600 300 150 L 50 50 1 1 P
|
||||
X ANT2 13 600 100 150 L 50 50 1 1 P
|
||||
X VSS 14 0 -800 150 U 50 50 1 1 W
|
||||
X VDD 15 0 800 150 D 50 50 1 1 W
|
||||
X IREF 16 -600 -300 150 R 50 50 1 1 P
|
||||
X VSS 17 100 -800 150 U 50 50 1 1 W
|
||||
X VDD 18 100 800 150 D 50 50 1 1 W
|
||||
X DVDD 19 -600 -500 150 R 50 50 1 1 w
|
||||
X CSN 2 -600 200 150 R 50 50 1 1 I
|
||||
X VSS 20 200 -800 150 U 50 50 1 1 W
|
||||
X SCK 3 -600 300 150 R 50 50 1 1 I C
|
||||
X MOSI 4 -600 500 150 R 50 50 1 1 I
|
||||
X MISO 5 -600 400 150 R 50 50 1 1 O
|
||||
X IRQ 6 -600 -100 150 R 50 50 1 1 O
|
||||
X VDD 7 -100 800 150 D 50 50 1 1 W
|
||||
X VSS 8 -100 -800 150 U 50 50 1 1 W
|
||||
X XC2 9 600 -500 150 L 50 50 1 1 P
|
||||
ENDDRAW
|
||||
ENDDEF
|
||||
#
|
||||
# SIM800C
|
||||
#
|
||||
DEF SIM800C U 0 20 Y Y 1 F N
|
||||
F0 "U" -600 1050 50 H V C CNN
|
||||
F1 "SIM800C" 500 1050 50 H V C CNN
|
||||
F2 "RF_Module:SIMCom_SIM800C" 600 -1050 50 H I C CNN
|
||||
F3 "" -4650 -2350 50 H I C CNN
|
||||
$FPLIST
|
||||
SIMCom*SIM800C*
|
||||
$ENDFPLIST
|
||||
DRAW
|
||||
S -700 1000 700 -1000 0 1 10 f
|
||||
X UART1_TXD 1 -800 400 100 R 50 50 1 1 O
|
||||
X MICN 10 -800 -900 100 R 50 50 1 1 I
|
||||
X SPKP 11 800 -800 100 L 50 50 1 1 O
|
||||
X SPKN 12 800 -900 100 L 50 50 1 1 O
|
||||
X GND 13 0 -1100 100 U 50 50 1 1 P N
|
||||
X SIM_DET 14 800 100 100 L 50 50 1 1 I
|
||||
X SIM_DATA 15 800 400 100 L 50 50 1 1 B
|
||||
X SIM_CLK 16 800 300 100 L 50 50 1 1 O
|
||||
X SIM_RST 17 800 200 100 L 50 50 1 1 O
|
||||
X SIM_VDD 18 800 500 100 L 50 50 1 1 w
|
||||
X GND 19 0 -1100 100 U 50 50 1 1 P N
|
||||
X UART1_RXD 2 -800 300 100 R 50 50 1 1 I
|
||||
X BT_ANT 20 800 800 100 L 50 50 1 1 P
|
||||
X GND 21 0 -1100 100 U 50 50 1 1 P N
|
||||
X UART2_TXD 22 -800 100 100 R 50 50 1 1 O
|
||||
X UART2_RXD 23 -800 0 100 R 50 50 1 1 I
|
||||
X USB_VBUS 24 800 -100 100 L 50 50 1 1 I
|
||||
X USB_DP 25 800 -200 100 L 50 50 1 1 B
|
||||
X USB_DM 26 800 -300 100 L 50 50 1 1 B
|
||||
X GND 27 0 -1100 100 U 50 50 1 1 P N
|
||||
X VRTC 28 0 1100 100 D 50 50 1 1 W
|
||||
X RF_SYNC 29 800 700 100 L 50 50 1 1 O
|
||||
X UART1_RTS 3 -800 500 100 R 50 50 1 1 I
|
||||
X GND 30 0 -1100 100 U 50 50 1 1 P N
|
||||
X GND 31 0 -1100 100 U 50 50 1 1 P N
|
||||
X GSM_ANT 32 800 900 100 L 50 50 1 1 P
|
||||
X GND 33 0 -1100 100 U 50 50 1 1 P N
|
||||
X VBAT 34 200 1100 100 D 50 50 1 1 W
|
||||
X VBAT 35 200 1100 100 D 50 50 1 1 P N
|
||||
X GND 36 0 -1100 100 U 50 50 1 1 P N
|
||||
X GND 37 0 -1100 100 U 50 50 1 1 P N
|
||||
X ADC 38 -800 -400 100 R 50 50 1 1 I
|
||||
X ~PWRKEY 39 -800 -200 100 R 50 50 1 1 I
|
||||
X UART1_CTS 4 -800 600 100 R 50 50 1 1 O
|
||||
X VDD_EXT 40 -200 1100 100 D 50 50 1 1 w
|
||||
X NETLIGHT 41 800 -600 100 L 50 50 1 1 O
|
||||
X STATUS 42 800 -500 100 L 50 50 1 1 O
|
||||
X UART1_DCD 5 -800 700 100 R 50 50 1 1 O
|
||||
X UART1_DTR 6 -800 900 100 R 50 50 1 1 I
|
||||
X UART1_RI 7 -800 800 100 R 50 50 1 1 O
|
||||
X GND 8 0 -1100 100 U 50 50 1 1 W
|
||||
X MICP 9 -800 -800 100 R 50 50 1 1 I
|
||||
ENDDRAW
|
||||
ENDDEF
|
||||
#
|
||||
# SIM900
|
||||
#
|
||||
DEF SIM900 U 0 20 Y Y 1 F N
|
||||
F0 "U" -600 1650 50 H V L CNN
|
||||
F1 "SIM900" -600 1550 50 H V L CNN
|
||||
F2 "RF_Module:SIMCom_SIM900" 0 -800 50 H I C CNN
|
||||
F3 "" -2000 1300 50 H I C CNN
|
||||
$FPLIST
|
||||
SIMCom*SIM900*
|
||||
$ENDFPLIST
|
||||
DRAW
|
||||
S -600 1500 600 -1500 0 1 10 f
|
||||
X PWRKEY 1 -700 400 100 R 50 50 1 1 I
|
||||
X RXD 10 -700 600 100 R 50 50 1 1 I
|
||||
X DISP_CLK 11 -700 200 100 R 50 50 1 1 O
|
||||
X DISP_DATA 12 -700 100 100 R 50 50 1 1 B
|
||||
X DISP_D/C 13 -700 0 100 R 50 50 1 1 O
|
||||
X DISP_CS 14 -700 -100 100 R 50 50 1 1 O
|
||||
X VDD_EXT 15 -200 1600 100 D 50 50 1 1 w
|
||||
X ~RESET~ 16 -700 1400 100 R 50 50 1 1 I
|
||||
X GND 17 0 -1600 100 U 50 50 1 1 W
|
||||
X GND 18 0 -1600 100 U 50 50 1 1 P N
|
||||
X MIC_P 19 -700 -1200 100 R 50 50 1 1 I
|
||||
X NC 2 600 1300 100 L 50 50 1 1 N N
|
||||
X MIC_N 20 -700 -1300 100 R 50 50 1 1 I
|
||||
X SPK_P 21 700 -1200 100 L 50 50 1 1 O
|
||||
X SPK_N 22 700 -1300 100 L 50 50 1 1 O
|
||||
X NC 23 600 -600 100 L 50 50 1 1 N N
|
||||
X NC 24 600 -1100 100 L 50 50 1 1 N N
|
||||
X ADC 25 700 -700 100 L 50 50 1 1 I
|
||||
X VRTC 26 0 1600 100 D 50 50 1 1 W
|
||||
X DBG_TXD 27 -700 -600 100 R 50 50 1 1 O
|
||||
X DBG_RXD 28 -700 -700 100 R 50 50 1 1 I
|
||||
X GND 29 0 -1600 100 U 50 50 1 1 P N
|
||||
X DTR 3 -700 1200 100 R 50 50 1 1 I
|
||||
X SIM_VDD 30 700 1200 100 L 50 50 1 1 w
|
||||
X SIM_DATA 31 700 1100 100 L 50 50 1 1 B
|
||||
X SIM_CLK 32 700 1000 100 L 50 50 1 1 O
|
||||
X SIM_RST 33 700 900 100 L 50 50 1 1 O
|
||||
X SIM_PRESENCE 34 700 800 100 L 50 50 1 1 I
|
||||
X PWM1 35 700 -900 100 L 50 50 1 1 O
|
||||
X PWM2 36 700 -1000 100 L 50 50 1 1 O
|
||||
X SDA 37 -700 -900 100 R 50 50 1 1 B
|
||||
X SCL 38 -700 -1000 100 R 50 50 1 1 O
|
||||
X GND 39 0 -1600 100 U 50 50 1 1 P N
|
||||
X RI 4 -700 1100 100 R 50 50 1 1 O
|
||||
X GPIO1/KBR4 40 700 600 100 L 50 50 1 1 B
|
||||
X GPIO2/KBR3 41 700 500 100 L 50 50 1 1 B
|
||||
X GPIO3/KBR2 42 700 400 100 L 50 50 1 1 B
|
||||
X GPIO4/KBR1 43 700 300 100 L 50 50 1 1 B
|
||||
X GPIO5/KBR0 44 700 200 100 L 50 50 1 1 B
|
||||
X GND 45 0 -1600 100 U 50 50 1 1 P N
|
||||
X GND 46 0 -1600 100 U 50 50 1 1 P N
|
||||
X GPIO6/KBC4 47 700 100 100 L 50 50 1 1 B
|
||||
X GPIO7/KBC3 48 700 0 100 L 50 50 1 1 B
|
||||
X GPIO8/KBC2 49 700 -100 100 L 50 50 1 1 B
|
||||
X DCD 5 -700 1000 100 R 50 50 1 1 O
|
||||
X GPIO9/KBC1 50 700 -200 100 L 50 50 1 1 B
|
||||
X GPIO10 51 700 -300 100 L 50 50 1 1 B
|
||||
X NETLIGHT 52 -700 -300 100 R 50 50 1 1 O
|
||||
X GND 53 0 -1600 100 U 50 50 1 1 P N
|
||||
X GND 54 0 -1600 100 U 50 50 1 1 P N
|
||||
X VBAT 55 200 1600 100 D 50 50 1 1 W
|
||||
X VBAT 56 200 1600 100 D 50 50 1 1 P N
|
||||
X VBAT 57 200 1600 100 D 50 50 1 1 P N
|
||||
X GND 58 0 -1600 100 U 50 50 1 1 P N
|
||||
X GND 59 0 -1600 100 U 50 50 1 1 P N
|
||||
X NC 6 600 700 100 L 50 50 1 1 N N
|
||||
X RF_ANT 60 700 1400 100 L 50 50 1 1 P
|
||||
X GND 61 0 -1600 100 U 50 50 1 1 P N
|
||||
X GND 62 0 -1600 100 U 50 50 1 1 P N
|
||||
X GND 63 0 -1600 100 U 50 50 1 1 P N
|
||||
X GND 64 0 -1600 100 U 50 50 1 1 P N
|
||||
X GND 65 0 -1600 100 U 50 50 1 1 P N
|
||||
X STATUS 66 -700 -400 100 R 50 50 1 1 O
|
||||
X GPIO11 67 700 -400 100 L 50 50 1 1 B
|
||||
X GPIO12 68 700 -500 100 L 50 50 1 1 B
|
||||
X CTS 7 -700 900 100 R 50 50 1 1 O
|
||||
X RTS 8 -700 800 100 R 50 50 1 1 I
|
||||
X TXD 9 -700 700 100 R 50 50 1 1 O
|
||||
ENDDRAW
|
||||
ENDDEF
|
||||
#
|
||||
# SX1272
|
||||
#
|
||||
DEF SX1272 U 0 40 Y Y 1 F N
|
||||
F0 "U" -600 1000 50 H V L CNN
|
||||
F1 "SX1272" -600 900 50 H V L CNN
|
||||
F2 "Package_DFN_QFN:QFN-28-1EP_6x6mm_P0.65mm_EP4.25x4.25mm" 0 -300 50 H I C CNN
|
||||
F3 "" 0 -200 50 H I C CNN
|
||||
ALIAS SX1273
|
||||
$FPLIST
|
||||
QFN*1EP*6x6mm*P0.65mm*
|
||||
$ENDFPLIST
|
||||
DRAW
|
||||
S -450 850 450 -950 0 1 10 f
|
||||
X VBAT1 1 -200 1000 150 D 50 50 1 1 W
|
||||
X DIO1 10 600 0 150 L 50 50 1 1 B
|
||||
X DIO2 11 600 -100 150 L 50 50 1 1 B
|
||||
X DIO3 12 600 -200 150 L 50 50 1 1 B
|
||||
X DIO4 13 600 -300 150 L 50 50 1 1 B
|
||||
X DIO5 14 600 -400 150 L 50 50 1 1 B
|
||||
X VBAT2 15 -100 1000 150 D 50 50 1 1 W
|
||||
X GND 16 100 -1100 150 U 50 50 1 1 W
|
||||
X SCK 17 -600 -500 150 R 50 50 1 1 I
|
||||
X MISO 18 -600 -600 150 R 50 50 1 1 O
|
||||
X MOSI 19 -600 -700 150 R 50 50 1 1 I
|
||||
X VR_ANA 2 100 1000 150 D 50 50 1 1 W
|
||||
X ~CS~ 20 -600 -800 150 R 50 50 1 1 I
|
||||
X RF_MOD/NC 21 600 -600 150 L 50 50 1 1 O
|
||||
X GND 22 100 -1100 150 U 50 50 1 1 P N
|
||||
X RXTX 23 600 -700 150 L 50 50 1 1 O
|
||||
X RFO 24 -600 0 150 R 50 50 1 1 I
|
||||
X RFI 25 -600 -100 150 R 50 50 1 1 O
|
||||
X GND 26 100 -1100 150 U 50 50 1 1 P N
|
||||
X PA_BOOST 27 600 400 150 L 50 50 1 1 w
|
||||
X VR_PA 28 600 300 150 L 50 50 1 1 w
|
||||
X EP 29 -100 -1100 150 U 50 50 1 1 W
|
||||
X VR_DIG 3 200 1000 150 D 50 50 1 1 W
|
||||
X XTA 4 -600 600 150 R 50 50 1 1 B
|
||||
X XTB 5 -600 500 150 R 50 50 1 1 B
|
||||
X RESET 6 -600 400 150 R 50 50 1 1 I
|
||||
X NC 7 -600 200 150 R 50 50 1 1 N N
|
||||
X NC 8 -600 100 150 R 50 50 1 1 N N
|
||||
X DIO0 9 600 100 150 L 50 50 1 1 B
|
||||
ENDDRAW
|
||||
ENDDEF
|
||||
#
|
||||
# SX1278_Breakout
|
||||
#
|
||||
DEF SX1278_Breakout U 0 40 Y Y 1 F N
|
||||
F0 "U" -350 500 50 H V L CNN
|
||||
F1 "SX1278_Breakout" 150 500 50 H V L CNN
|
||||
F2 "RF_Module:nRF24L01_Breakout" 150 600 50 H I L CIN
|
||||
F3 "" 0 -100 50 H I C CNN
|
||||
$FPLIST
|
||||
nRF24L01*Breakout*
|
||||
$ENDFPLIST
|
||||
DRAW
|
||||
A 175 100 112 1166 -266 0 1 10 N 125 200 275 50
|
||||
A 175 101 49 900 -11 0 1 10 N 175 150 225 100
|
||||
A 175 101 78 1087 -191 0 1 10 N 150 175 250 75
|
||||
C 175 100 25 0 1 10 F
|
||||
S -350 450 350 -450 0 1 10 f
|
||||
S 450 -750 450 -750 0 1 0 N
|
||||
P 2 0 1 10 175 75 175 -50 N
|
||||
X GND 1 0 -600 150 U 50 50 1 1 W
|
||||
X VCC 2 0 600 150 D 50 50 1 1 W
|
||||
X RST 3 -500 -200 150 R 50 50 1 1 I
|
||||
X NSS 4 -500 0 150 R 50 50 1 1 I
|
||||
X SCK 5 -500 100 150 R 50 50 1 1 I C
|
||||
X MISO 6 -500 200 150 R 50 50 1 1 O
|
||||
X MOSI 7 -500 300 150 R 50 50 1 1 I
|
||||
X D1 8 -500 -300 150 R 50 50 1 1 O
|
||||
ENDDRAW
|
||||
ENDDEF
|
||||
#
|
||||
#End Library
|
||||
File diff suppressed because it is too large
Load Diff
|
|
@ -0,0 +1,31 @@
|
|||
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<title>KiCad BOM Example 5</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>/home/simon/repo/mysensors/water_eink_sensor/schematics/water_eink_sensor.sch</h1>
|
||||
<p>fre 14 dec 2018 18:40:52</p>
|
||||
<p>Eeschema 5.0.1-33cea8e~68~ubuntu18.04.1</p>
|
||||
<p><b>Component Count:</b>12</p>
|
||||
<table>
|
||||
<tr><th style='width:640px'>Ref</th><th>Qnty</th><th>Value</th><th>Part</th><th>Footprint</th><th>Description</th><th>Vendor</th></tr>
|
||||
<tr><td>BT1</td><td>1</td><td>Battery_Cell</td><td>water_eink_sensor-rescue:Battery_Cell</td><td>BH123A:Battery cell CR2</td><td></td><td></td></tr>
|
||||
<tr><td>C1</td><td>1</td><td>10nF</td><td>water_eink_sensor-rescue:C</td><td>Capacitors_SMD:C_0603_HandSoldering</td><td></td><td></td></tr>
|
||||
<tr><td>C2</td><td>1</td><td>10uF</td><td>water_eink_sensor-rescue:C</td><td>Capacitors_SMD:C_0603_HandSoldering</td><td></td><td></td></tr>
|
||||
<tr><td>J1</td><td>1</td><td>Eink</td><td>Connector_Generic:Conn_01x07</td><td>Pin_Headers:Pin_Header_Straight_1x07_Pitch2.54mm</td><td>Generic connector, single row, 01x07, script generated (kicad-library-utils/schlib/autogen/connector/)</td><td></td></tr>
|
||||
<tr><td>J2</td><td>1</td><td>data</td><td>Connector_Generic:Conn_01x05</td><td>Pin_Headers:Pin_Header_Straight_1x05_Pitch2.54mm_SMD_Pin1Left</td><td>Generic connector, single row, 01x05, script generated (kicad-library-utils/schlib/autogen/connector/)</td><td></td></tr>
|
||||
<tr><td>J3</td><td>1</td><td>Program</td><td>water_eink_sensor-rescue:CONN_01X04</td><td>Pin_Headers:Pin_Header_Straight_1x04_Pitch2.54mm_SMD_Pin1Right</td><td></td><td></td></tr>
|
||||
<tr><td>L1</td><td>1</td><td>10uH</td><td>pspice:INDUCTOR</td><td>Inductor:L_0603_1608Metric_Pad1.05x0.95mm_HandSolder</td><td>Capacitor symbol for simulation only</td><td></td></tr>
|
||||
<tr><td>L2</td><td>1</td><td>15nH</td><td>pspice:INDUCTOR</td><td>Inductor:L_0603_1608Metric_Pad1.05x0.95mm_HandSolder</td><td>Capacitor symbol for simulation only</td><td></td></tr>
|
||||
<tr><td>R1</td><td>1</td><td>4.7k1</td><td>water_eink_sensor-rescue:R</td><td>Resistors_SMD:R_0603</td><td></td><td></td></tr>
|
||||
<tr><td>U1</td><td>1</td><td>E73-2G4M04S-52832</td><td>RF_Module1:E73-2G4M04S-52832</td><td>RFmodule:E73-2G4M04S</td><td>nRF52832 BLE5 Module</td><td></td></tr>
|
||||
<tr><td>U2</td><td>1</td><td>DS18B20</td><td>Sensor_Temperature1:DS18B20</td><td>Pin_Headers:Pin_Header_Straight_1x03_Pitch2.54mm</td><td>Programmable Resolution 1-Wire Digital Thermometer TO-92</td><td></td></tr>
|
||||
<tr><td>U3</td><td>1</td><td>Ai-Thinker-Ra-01</td><td>RF_Module:Ai-Thinker-Ra-01</td><td>RFmodule:HOPERF_RFM9XW_SMD</td><td>Ai-Thinker LoRa Module Ra-01</td><td></td></tr><!--TABLEROW-->
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
|
@ -0,0 +1,14 @@
|
|||
Qty,Value,Device,Package,Parts,Description ,MF,MPN,Aliexpress or Ebay link,Ordered
|
||||
1,Battery_Cell,,,BT1,CR2 Battery holder,,1010,,Mouser
|
||||
1,10nF,,603,C1,CAPACITOR,,C0603C103M5RACTU,,Mouser
|
||||
1,10uF,,603,C2,CAPACITOR,,C0603C106M8PACTU,,Mouser
|
||||
1,Eink,,,J1,E paper 1.54 inch,,,https://www.aliexpress.com/item/1-54-Inch-E-Paper-Module-E-Ink-Electronic-Display-Screen-Black-White-Color-SPI-Z10/32873091740.html,Aliexpress
|
||||
1,data,,,J2,5 Pin Header SMD left,,,,Mouser
|
||||
1,Program,,,J3,4 Pin Header SMD left,,,,Mouser
|
||||
1,10uH,,603,L1,INDUCTOR,,KLZ1608MHR100WTD25,,Mouser
|
||||
1,15nH,,603,L2,INDUCTOR,,MLG0603S15NJT000,,Mouser
|
||||
1,4.7k1,,603,R1,RESISTOR,,,,
|
||||
1,E73-2G4M04S-52832,,,U1,nRF52832 BLE5 Module,,,https://www.aliexpress.com/item/CDEBYTE-E73-2G4M04S-BLE-4-2-5-0-long-distance-100m-2-4GHz-SMD-ARM-Core/32820692238.html,
|
||||
1,DS18B20,,,U2,DS18B20,,,https://www.aliexpress.com/item/Free-Shipping-1PCS-Digital-Temperature-Temp-Sensor-Probe-DS18B20-For-Thermometer-1m-Waterproof-100CM/32522322459.html,
|
||||
1,Ai-Thinker-Ra-01,,,U3,Ai-Thinker LoRa Module Ra-01,,,https://www.aliexpress.com/item/Ra-02-LoRa-SX1278-433M-10KM-Wireless-Spread-Spectrum-Transmission-Module-IPEX-Socket-DIY-Kit-For/32954956458.html?,
|
||||
,,,,,,,,https://www.ebay.com/itm/392103742321,
|
||||
|
File diff suppressed because it is too large
Load Diff
|
|
@ -0,0 +1,423 @@
|
|||
(export (version D)
|
||||
(design
|
||||
(source /home/simon/repo/mysensors/water_eink_sensor/schematics/water_eink_sensor.sch)
|
||||
(date "fre 14 dec 2018 20:27:29")
|
||||
(tool "Eeschema 5.0.1-33cea8e~68~ubuntu18.04.1")
|
||||
(sheet (number 1) (name /) (tstamps /)
|
||||
(title_block
|
||||
(title)
|
||||
(company)
|
||||
(rev)
|
||||
(date)
|
||||
(source water_eink_sensor.sch)
|
||||
(comment (number 1) (value ""))
|
||||
(comment (number 2) (value ""))
|
||||
(comment (number 3) (value ""))
|
||||
(comment (number 4) (value "")))))
|
||||
(components
|
||||
(comp (ref BT1)
|
||||
(value Battery_Cell)
|
||||
(footprint "BH123A:Battery cell CR2")
|
||||
(libsource (lib water_eink_sensor-rescue) (part Battery_Cell) (description ""))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5BA28CE2))
|
||||
(comp (ref J3)
|
||||
(value Program)
|
||||
(footprint Pin_Headers:Pin_Header_Straight_1x04_Pitch2.54mm_SMD_Pin1Right)
|
||||
(libsource (lib water_eink_sensor-rescue) (part CONN_01X04) (description ""))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5BA28D2D))
|
||||
(comp (ref U2)
|
||||
(value DS18B20)
|
||||
(footprint Pin_Headers:Pin_Header_Straight_1x03_Pitch2.54mm)
|
||||
(libsource (lib Sensor_Temperature1) (part DS18B20) (description "Programmable Resolution 1-Wire Digital Thermometer TO-92"))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5BA3F360))
|
||||
(comp (ref R1)
|
||||
(value 4.7k1)
|
||||
(footprint Resistors_SMD:R_0603)
|
||||
(libsource (lib water_eink_sensor-rescue) (part R) (description ""))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5BA3F6C7))
|
||||
(comp (ref C2)
|
||||
(value 10uF)
|
||||
(footprint Capacitors_SMD:C_0603_HandSoldering)
|
||||
(libsource (lib water_eink_sensor-rescue) (part C) (description ""))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5BC8E011))
|
||||
(comp (ref U1)
|
||||
(value E73-2G4M04S-52832)
|
||||
(footprint RFmodule:E73-2G4M04S)
|
||||
(libsource (lib RF_Module1) (part E73-2G4M04S-52832) (description "nRF52832 BLE5 Module"))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5BCE4EC0))
|
||||
(comp (ref L1)
|
||||
(value 10uH)
|
||||
(footprint Inductor:L_0603_1608Metric_Pad1.05x0.95mm_HandSolder)
|
||||
(libsource (lib pspice) (part INDUCTOR) (description "Capacitor symbol for simulation only"))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5BCEC060))
|
||||
(comp (ref L2)
|
||||
(value 15nH)
|
||||
(footprint Inductor:L_0603_1608Metric_Pad1.05x0.95mm_HandSolder)
|
||||
(libsource (lib pspice) (part INDUCTOR) (description "Capacitor symbol for simulation only"))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5BCEC0D0))
|
||||
(comp (ref C1)
|
||||
(value 10nF)
|
||||
(footprint Capacitors_SMD:C_0603_HandSoldering)
|
||||
(libsource (lib water_eink_sensor-rescue) (part C) (description ""))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5BCEE828))
|
||||
(comp (ref U3)
|
||||
(value Ai-Thinker-Ra-01)
|
||||
(footprint RFmodule:HOPERF_RFM9XW_SMD)
|
||||
(datasheet https://mikroelectron.com/Product/10KM-433M-LORA-LONG-RANGE-WIRELESS-MODULE-RA-01)
|
||||
(libsource (lib RF_Module) (part Ai-Thinker-Ra-01) (description "Ai-Thinker LoRa Module Ra-01"))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5C10158C))
|
||||
(comp (ref J1)
|
||||
(value Eink)
|
||||
(footprint Pin_Headers:Pin_Header_Straight_1x07_Pitch2.54mm)
|
||||
(datasheet ~)
|
||||
(libsource (lib Connector_Generic) (part Conn_01x07) (description "Generic connector, single row, 01x07, script generated (kicad-library-utils/schlib/autogen/connector/)"))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5C112C10))
|
||||
(comp (ref J2)
|
||||
(value data)
|
||||
(footprint Pin_Headers:Pin_Header_Straight_1x05_Pitch2.54mm_SMD_Pin1Left)
|
||||
(datasheet ~)
|
||||
(libsource (lib Connector_Generic) (part Conn_01x05) (description "Generic connector, single row, 01x05, script generated (kicad-library-utils/schlib/autogen/connector/)"))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5C11FC6E)))
|
||||
(libparts
|
||||
(libpart (lib Connector_Generic) (part Conn_01x05)
|
||||
(description "Generic connector, single row, 01x05, script generated (kicad-library-utils/schlib/autogen/connector/)")
|
||||
(docs ~)
|
||||
(footprints
|
||||
(fp Connector*:*_1x??_*))
|
||||
(fields
|
||||
(field (name Reference) J)
|
||||
(field (name Value) Conn_01x05))
|
||||
(pins
|
||||
(pin (num 1) (name Pin_1) (type passive))
|
||||
(pin (num 2) (name Pin_2) (type passive))
|
||||
(pin (num 3) (name Pin_3) (type passive))
|
||||
(pin (num 4) (name Pin_4) (type passive))
|
||||
(pin (num 5) (name Pin_5) (type passive))))
|
||||
(libpart (lib Connector_Generic) (part Conn_01x07)
|
||||
(description "Generic connector, single row, 01x07, script generated (kicad-library-utils/schlib/autogen/connector/)")
|
||||
(docs ~)
|
||||
(footprints
|
||||
(fp Connector*:*_1x??_*))
|
||||
(fields
|
||||
(field (name Reference) J)
|
||||
(field (name Value) Conn_01x07))
|
||||
(pins
|
||||
(pin (num 1) (name Pin_1) (type passive))
|
||||
(pin (num 2) (name Pin_2) (type passive))
|
||||
(pin (num 3) (name Pin_3) (type passive))
|
||||
(pin (num 4) (name Pin_4) (type passive))
|
||||
(pin (num 5) (name Pin_5) (type passive))
|
||||
(pin (num 6) (name Pin_6) (type passive))
|
||||
(pin (num 7) (name Pin_7) (type passive))))
|
||||
(libpart (lib RF_Module) (part Ai-Thinker-Ra-01)
|
||||
(description "Ai-Thinker LoRa Module Ra-01")
|
||||
(docs https://mikroelectron.com/Product/10KM-433M-LORA-LONG-RANGE-WIRELESS-MODULE-RA-01)
|
||||
(footprints
|
||||
(fp Ai?Thinker?Ra?01*))
|
||||
(fields
|
||||
(field (name Reference) U)
|
||||
(field (name Value) Ai-Thinker-Ra-01)
|
||||
(field (name Footprint) RF_Module:Ai-Thinker-Ra-01-LoRa))
|
||||
(pins
|
||||
(pin (num 1) (name Ant) (type input))
|
||||
(pin (num 2) (name Gnd) (type power_in))
|
||||
(pin (num 3) (name 3v3) (type power_in))
|
||||
(pin (num 4) (name ~Reset) (type input))
|
||||
(pin (num 5) (name DIO0) (type BiDi))
|
||||
(pin (num 6) (name DIO1) (type BiDi))
|
||||
(pin (num 7) (name DIO2) (type BiDi))
|
||||
(pin (num 8) (name DIO3) (type BiDi))
|
||||
(pin (num 9) (name Gnd) (type passive))
|
||||
(pin (num 10) (name DIO4) (type BiDi))
|
||||
(pin (num 11) (name DIO5) (type BiDi))
|
||||
(pin (num 12) (name SCK) (type BiDi))
|
||||
(pin (num 13) (name MISO) (type output))
|
||||
(pin (num 14) (name MOSI) (type input))
|
||||
(pin (num 15) (name ~NSS) (type input))
|
||||
(pin (num 16) (name Gnd) (type passive))))
|
||||
(libpart (lib RF_Module1) (part E73-2G4M04S-52832)
|
||||
(aliases
|
||||
(alias E73-2G4M04S-52810))
|
||||
(description "nRF52832 BLE5 Module")
|
||||
(docs http://www.cdebyte.com/en/downpdf.aspx?id=243)
|
||||
(footprints
|
||||
(fp E73*2G4M04S*))
|
||||
(fields
|
||||
(field (name Reference) U)
|
||||
(field (name Value) E73-2G4M04S-52832)
|
||||
(field (name Footprint) RF_Module:E73-2G4M04S))
|
||||
(pins
|
||||
(pin (num 0) (name GND) (type power_in))
|
||||
(pin (num 1) (name GND) (type passive))
|
||||
(pin (num 2) (name GND) (type passive))
|
||||
(pin (num 3) (name DEC2) (type passive))
|
||||
(pin (num 4) (name DEC3) (type passive))
|
||||
(pin (num 5) (name P0.25) (type BiDi))
|
||||
(pin (num 6) (name P0.26) (type BiDi))
|
||||
(pin (num 7) (name P0.27) (type BiDi))
|
||||
(pin (num 8) (name AIN4/P0.28) (type BiDi))
|
||||
(pin (num 9) (name AIN5/P0.29) (type BiDi))
|
||||
(pin (num 10) (name AIN6/P0.30) (type BiDi))
|
||||
(pin (num 11) (name AIN7/P0.31) (type BiDi))
|
||||
(pin (num 12) (name DEC4) (type passive))
|
||||
(pin (num 13) (name DCC) (type power_out))
|
||||
(pin (num 14) (name DEC1) (type passive))
|
||||
(pin (num 15) (name GND) (type passive))
|
||||
(pin (num 16) (name VCC) (type power_in))
|
||||
(pin (num 17) (name AIN0/P0.02) (type BiDi))
|
||||
(pin (num 18) (name AIN1/P0.03) (type BiDi))
|
||||
(pin (num 19) (name AIN2/P0.04) (type BiDi))
|
||||
(pin (num 20) (name AIN3/P0.05) (type BiDi))
|
||||
(pin (num 21) (name P0.06) (type BiDi))
|
||||
(pin (num 22) (name P0.07) (type BiDi))
|
||||
(pin (num 23) (name P0.08) (type BiDi))
|
||||
(pin (num 24) (name NFC1/P0.09) (type BiDi))
|
||||
(pin (num 25) (name NFC2/P0.10) (type BiDi))
|
||||
(pin (num 26) (name P0.11) (type BiDi))
|
||||
(pin (num 27) (name P0.12) (type BiDi))
|
||||
(pin (num 28) (name P0.13) (type BiDi))
|
||||
(pin (num 29) (name P0.14) (type BiDi))
|
||||
(pin (num 30) (name P0.15) (type BiDi))
|
||||
(pin (num 31) (name P0.16) (type BiDi))
|
||||
(pin (num 32) (name P0.17) (type BiDi))
|
||||
(pin (num 33) (name SWO/P0.18) (type BiDi))
|
||||
(pin (num 34) (name P0.19) (type BiDi))
|
||||
(pin (num 35) (name P0.20) (type BiDi))
|
||||
(pin (num 36) (name P0.21/~RESET) (type BiDi))
|
||||
(pin (num 37) (name SWDCLK) (type input))
|
||||
(pin (num 38) (name SWDIO) (type BiDi))
|
||||
(pin (num 39) (name P0.22) (type BiDi))
|
||||
(pin (num 40) (name P0.23) (type BiDi))
|
||||
(pin (num 41) (name P0.24) (type BiDi))
|
||||
(pin (num 42) (name GND) (type passive))
|
||||
(pin (num 43) (name GND) (type passive))))
|
||||
(libpart (lib Sensor_Temperature1) (part MAX31820)
|
||||
(aliases
|
||||
(alias DS1822)
|
||||
(alias DS18B20)
|
||||
(alias DS18S20)
|
||||
(alias DS1821C))
|
||||
(description "1-Wire Ambient Temperature Sensor TO-92")
|
||||
(docs http://datasheets.maximintegrated.com/en/ds/MAX31820.pdf)
|
||||
(footprints
|
||||
(fp TO*92*))
|
||||
(fields
|
||||
(field (name Reference) U)
|
||||
(field (name Value) MAX31820)
|
||||
(field (name Footprint) Package_TO_SOT_THT:TO-92_Inline))
|
||||
(pins
|
||||
(pin (num 1) (name GND) (type power_in))
|
||||
(pin (num 2) (name DQ) (type BiDi))
|
||||
(pin (num 3) (name VDD) (type power_in))))
|
||||
(libpart (lib pspice) (part INDUCTOR)
|
||||
(description "Capacitor symbol for simulation only")
|
||||
(docs ~)
|
||||
(fields
|
||||
(field (name Reference) L)
|
||||
(field (name Value) INDUCTOR))
|
||||
(pins
|
||||
(pin (num 1) (name 1) (type input))
|
||||
(pin (num 2) (name 2) (type input))))
|
||||
(libpart (lib water_eink_sensor-rescue) (part Battery_Cell)
|
||||
(fields
|
||||
(field (name Reference) BT)
|
||||
(field (name Value) Battery_Cell))
|
||||
(pins
|
||||
(pin (num 1) (name +) (type passive))
|
||||
(pin (num 2) (name -) (type passive))))
|
||||
(libpart (lib water_eink_sensor-rescue) (part C)
|
||||
(footprints
|
||||
(fp C_*))
|
||||
(fields
|
||||
(field (name Reference) C)
|
||||
(field (name Value) C))
|
||||
(pins
|
||||
(pin (num 1) (name ~) (type passive))
|
||||
(pin (num 2) (name ~) (type passive))))
|
||||
(libpart (lib water_eink_sensor-rescue) (part CONN_01X04)
|
||||
(footprints
|
||||
(fp Pin_Header_Straight_1X*)
|
||||
(fp Pin_Header_Angled_1X*)
|
||||
(fp Socket_Strip_Straight_1X*)
|
||||
(fp Socket_Strip_Angled_1X*))
|
||||
(fields
|
||||
(field (name Reference) J)
|
||||
(field (name Value) CONN_01X04))
|
||||
(pins
|
||||
(pin (num 1) (name P1) (type passive))
|
||||
(pin (num 2) (name P2) (type passive))
|
||||
(pin (num 3) (name P3) (type passive))
|
||||
(pin (num 4) (name P4) (type passive))))
|
||||
(libpart (lib water_eink_sensor-rescue) (part R)
|
||||
(footprints
|
||||
(fp R_*)
|
||||
(fp R_*))
|
||||
(fields
|
||||
(field (name Reference) R)
|
||||
(field (name Value) R))
|
||||
(pins
|
||||
(pin (num 1) (name ~) (type passive))
|
||||
(pin (num 2) (name ~) (type passive)))))
|
||||
(libraries
|
||||
(library (logical Connector_Generic)
|
||||
(uri /usr/share/kicad/library/Connector_Generic.lib))
|
||||
(library (logical RF_Module)
|
||||
(uri /usr/share/kicad/library/RF_Module.lib))
|
||||
(library (logical RF_Module1)
|
||||
(uri /home/simon/repo/mysensors/water_eink_sensor/schematics/RFM/RF_Module.lib))
|
||||
(library (logical Sensor_Temperature1)
|
||||
(uri /home/simon/repo/mysensors/water_eink_sensor/schematics/RFM/Sensor_Temperature.lib))
|
||||
(library (logical pspice)
|
||||
(uri /usr/share/kicad/library/pspice.lib))
|
||||
(library (logical water_eink_sensor-rescue)
|
||||
(uri /home/simon/repo/mysensors/water_eink_sensor/schematics/water_eink_sensor-rescue.lib)))
|
||||
(nets
|
||||
(net (code 1) (name P0.2)
|
||||
(node (ref J2) (pin 4))
|
||||
(node (ref U1) (pin 17)))
|
||||
(net (code 2) (name "Net-(U1-Pad8)")
|
||||
(node (ref U1) (pin 8)))
|
||||
(net (code 3) (name "Net-(U1-Pad9)")
|
||||
(node (ref U1) (pin 9)))
|
||||
(net (code 4) (name "Net-(U1-Pad10)")
|
||||
(node (ref U1) (pin 10)))
|
||||
(net (code 5) (name "Net-(U1-Pad11)")
|
||||
(node (ref U1) (pin 11)))
|
||||
(net (code 6) (name "Net-(U1-Pad36)")
|
||||
(node (ref U1) (pin 36)))
|
||||
(net (code 7) (name "Net-(U1-Pad24)")
|
||||
(node (ref U1) (pin 24)))
|
||||
(net (code 8) (name "Net-(U1-Pad25)")
|
||||
(node (ref U1) (pin 25)))
|
||||
(net (code 9) (name "Net-(U1-Pad4)")
|
||||
(node (ref U1) (pin 4)))
|
||||
(net (code 10) (name "Net-(U1-Pad3)")
|
||||
(node (ref U1) (pin 3)))
|
||||
(net (code 11) (name "Net-(U1-Pad14)")
|
||||
(node (ref U1) (pin 14)))
|
||||
(net (code 12) (name P0.3)
|
||||
(node (ref J2) (pin 5))
|
||||
(node (ref U1) (pin 18)))
|
||||
(net (code 13) (name "Net-(U1-Pad6)")
|
||||
(node (ref U1) (pin 6)))
|
||||
(net (code 14) (name "Net-(L1-Pad2)")
|
||||
(node (ref L2) (pin 1))
|
||||
(node (ref L1) (pin 2)))
|
||||
(net (code 15) (name Tx)
|
||||
(node (ref J2) (pin 3))
|
||||
(node (ref U1) (pin 23)))
|
||||
(net (code 16) (name Rx)
|
||||
(node (ref J2) (pin 2))
|
||||
(node (ref U1) (pin 21)))
|
||||
(net (code 17) (name "Net-(U1-Pad5)")
|
||||
(node (ref U1) (pin 5)))
|
||||
(net (code 18) (name "Net-(U3-Pad1)")
|
||||
(node (ref U3) (pin 1)))
|
||||
(net (code 19) (name "Net-(U3-Pad10)")
|
||||
(node (ref U3) (pin 10)))
|
||||
(net (code 20) (name DCC)
|
||||
(node (ref L2) (pin 2))
|
||||
(node (ref U1) (pin 13))
|
||||
(node (ref C1) (pin 2)))
|
||||
(net (code 21) (name DEC4)
|
||||
(node (ref U1) (pin 12))
|
||||
(node (ref L1) (pin 1)))
|
||||
(net (code 22) (name "Net-(U3-Pad11)")
|
||||
(node (ref U3) (pin 11)))
|
||||
(net (code 23) (name GND)
|
||||
(node (ref U3) (pin 9))
|
||||
(node (ref U3) (pin 2))
|
||||
(node (ref U3) (pin 16))
|
||||
(node (ref U2) (pin 1))
|
||||
(node (ref J3) (pin 1))
|
||||
(node (ref J1) (pin 2))
|
||||
(node (ref BT1) (pin 2))
|
||||
(node (ref C2) (pin 2))
|
||||
(node (ref J2) (pin 1))
|
||||
(node (ref U1) (pin 2))
|
||||
(node (ref U1) (pin 15))
|
||||
(node (ref U1) (pin 1))
|
||||
(node (ref U1) (pin 0))
|
||||
(node (ref C1) (pin 1))
|
||||
(node (ref U1) (pin 43))
|
||||
(node (ref U1) (pin 42)))
|
||||
(net (code 24) (name "Net-(U3-Pad5)")
|
||||
(node (ref U3) (pin 5)))
|
||||
(net (code 25) (name "Net-(U3-Pad7)")
|
||||
(node (ref U3) (pin 7)))
|
||||
(net (code 26) (name "Net-(U3-Pad8)")
|
||||
(node (ref U3) (pin 8)))
|
||||
(net (code 27) (name Eink)
|
||||
(node (ref U1) (pin 40))
|
||||
(node (ref J1) (pin 4)))
|
||||
(net (code 28) (name DCeink)
|
||||
(node (ref U1) (pin 41))
|
||||
(node (ref J1) (pin 3)))
|
||||
(net (code 29) (name CS_EINK)
|
||||
(node (ref J1) (pin 5))
|
||||
(node (ref U1) (pin 39)))
|
||||
(net (code 30) (name CLK_eink)
|
||||
(node (ref J1) (pin 6))
|
||||
(node (ref U1) (pin 35)))
|
||||
(net (code 31) (name BUSY_eink)
|
||||
(node (ref U1) (pin 34))
|
||||
(node (ref J1) (pin 7)))
|
||||
(net (code 32) (name "Net-(U1-Pad32)")
|
||||
(node (ref U1) (pin 32)))
|
||||
(net (code 33) (name "Net-(U1-Pad33)")
|
||||
(node (ref U1) (pin 33)))
|
||||
(net (code 34) (name "Net-(U1-Pad19)")
|
||||
(node (ref U1) (pin 19)))
|
||||
(net (code 35) (name "Net-(U1-Pad20)")
|
||||
(node (ref U1) (pin 20)))
|
||||
(net (code 36) (name "Net-(U1-Pad22)")
|
||||
(node (ref U1) (pin 22)))
|
||||
(net (code 37) (name MISO)
|
||||
(node (ref U1) (pin 28))
|
||||
(node (ref U3) (pin 13)))
|
||||
(net (code 38) (name SCK)
|
||||
(node (ref U3) (pin 12))
|
||||
(node (ref U1) (pin 29)))
|
||||
(net (code 39) (name MOSI)
|
||||
(node (ref U1) (pin 27))
|
||||
(node (ref U3) (pin 14)))
|
||||
(net (code 40) (name NSS)
|
||||
(node (ref U1) (pin 26))
|
||||
(node (ref U3) (pin 15)))
|
||||
(net (code 41) (name RADIO_RESET)
|
||||
(node (ref U3) (pin 4))
|
||||
(node (ref U1) (pin 30)))
|
||||
(net (code 42) (name DI01)
|
||||
(node (ref U3) (pin 6))
|
||||
(node (ref U1) (pin 31)))
|
||||
(net (code 43) (name +3V3)
|
||||
(node (ref BT1) (pin 1))
|
||||
(node (ref U1) (pin 16))
|
||||
(node (ref J1) (pin 1))
|
||||
(node (ref J3) (pin 2))
|
||||
(node (ref C2) (pin 1))
|
||||
(node (ref U2) (pin 3))
|
||||
(node (ref U3) (pin 3))
|
||||
(node (ref R1) (pin 1)))
|
||||
(net (code 44) (name SWDCLK)
|
||||
(node (ref J3) (pin 4))
|
||||
(node (ref U1) (pin 37)))
|
||||
(net (code 45) (name SWDIO)
|
||||
(node (ref U1) (pin 38))
|
||||
(node (ref J3) (pin 3)))
|
||||
(net (code 46) (name DataTemp)
|
||||
(node (ref U1) (pin 7))
|
||||
(node (ref R1) (pin 2))
|
||||
(node (ref U2) (pin 2)))))
|
||||
|
|
@ -0,0 +1,30 @@
|
|||
update=mån 22 okt 2018 21:08:35
|
||||
version=1
|
||||
last_client=kicad
|
||||
[pcbnew]
|
||||
version=1
|
||||
LastNetListRead=
|
||||
UseCmpFile=1
|
||||
PadDrill=0.600000000000
|
||||
PadDrillOvalY=0.600000000000
|
||||
PadSizeH=1.500000000000
|
||||
PadSizeV=1.500000000000
|
||||
PcbTextSizeV=1.500000000000
|
||||
PcbTextSizeH=1.500000000000
|
||||
PcbTextThickness=0.300000000000
|
||||
ModuleTextSizeV=1.000000000000
|
||||
ModuleTextSizeH=1.000000000000
|
||||
ModuleTextSizeThickness=0.150000000000
|
||||
SolderMaskClearance=0.000000000000
|
||||
SolderMaskMinWidth=0.000000000000
|
||||
DrawSegmentWidth=0.200000000000
|
||||
BoardOutlineThickness=0.100000000000
|
||||
ModuleOutlineThickness=0.150000000000
|
||||
[cvpcb]
|
||||
version=1
|
||||
NetIExt=net
|
||||
[general]
|
||||
version=1
|
||||
[eeschema]
|
||||
version=1
|
||||
LibDir=
|
||||
|
|
@ -0,0 +1,555 @@
|
|||
EESchema Schematic File Version 4
|
||||
LIBS:water_eink_sensor-cache
|
||||
EELAYER 26 0
|
||||
EELAYER END
|
||||
$Descr A4 11693 8268
|
||||
encoding utf-8
|
||||
Sheet 1 1
|
||||
Title ""
|
||||
Date ""
|
||||
Rev ""
|
||||
Comp ""
|
||||
Comment1 ""
|
||||
Comment2 ""
|
||||
Comment3 ""
|
||||
Comment4 ""
|
||||
$EndDescr
|
||||
$Comp
|
||||
L water_eink_sensor-rescue:Battery_Cell BT1
|
||||
U 1 1 5BA28CE2
|
||||
P 9050 1900
|
||||
F 0 "BT1" H 9150 2000 50 0000 L CNN
|
||||
F 1 "Battery_Cell" H 9150 1900 50 0000 L CNN
|
||||
F 2 "BH123A:Battery cell CR2" V 9050 1960 50 0001 C CNN
|
||||
F 3 "" V 9050 1960 50 0001 C CNN
|
||||
1 9050 1900
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
$Comp
|
||||
L water_eink_sensor-rescue:CONN_01X04 J3
|
||||
U 1 1 5BA28D2D
|
||||
P 6450 1050
|
||||
F 0 "J3" H 6450 1300 50 0000 C CNN
|
||||
F 1 "Program" V 6550 1050 50 0000 C CNN
|
||||
F 2 "Pin_Headers:Pin_Header_Straight_1x04_Pitch2.54mm_SMD_Pin1Right" H 6450 1050 50 0001 C CNN
|
||||
F 3 "" H 6450 1050 50 0001 C CNN
|
||||
1 6450 1050
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
$Comp
|
||||
L power:+3.3V #PWR01
|
||||
U 1 1 5BA3E555
|
||||
P 2450 1300
|
||||
F 0 "#PWR01" H 2450 1150 50 0001 C CNN
|
||||
F 1 "+3.3V" H 2450 1440 50 0000 C CNN
|
||||
F 2 "" H 2450 1300 50 0001 C CNN
|
||||
F 3 "" H 2450 1300 50 0001 C CNN
|
||||
1 2450 1300
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
$Comp
|
||||
L power:+3.3V #PWR014
|
||||
U 1 1 5BA3E602
|
||||
P 9050 1550
|
||||
F 0 "#PWR014" H 9050 1400 50 0001 C CNN
|
||||
F 1 "+3.3V" H 9050 1690 50 0000 C CNN
|
||||
F 2 "" H 9050 1550 50 0001 C CNN
|
||||
F 3 "" H 9050 1550 50 0001 C CNN
|
||||
1 9050 1550
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
$Comp
|
||||
L power:GND #PWR015
|
||||
U 1 1 5BA3E61C
|
||||
P 9050 2200
|
||||
F 0 "#PWR015" H 9050 1950 50 0001 C CNN
|
||||
F 1 "GND" H 9050 2050 50 0000 C CNN
|
||||
F 2 "" H 9050 2200 50 0001 C CNN
|
||||
F 3 "" H 9050 2200 50 0001 C CNN
|
||||
1 9050 2200
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
Text GLabel 3500 2950 2 60 Input ~ 0
|
||||
SCK
|
||||
Text GLabel 5450 1100 0 60 Input ~ 0
|
||||
SWDIO
|
||||
Text GLabel 1000 3850 0 60 Input ~ 0
|
||||
SWDIO
|
||||
Text GLabel 1000 3750 0 60 Input ~ 0
|
||||
SWDCLK
|
||||
Text GLabel 3500 2750 2 60 Input ~ 0
|
||||
MOSI
|
||||
Text GLabel 3500 2850 2 60 Input ~ 0
|
||||
MISO
|
||||
$Comp
|
||||
L power:+3.3V #PWR012
|
||||
U 1 1 5BA3EFDD
|
||||
P 5200 4100
|
||||
F 0 "#PWR012" H 5200 3950 50 0001 C CNN
|
||||
F 1 "+3.3V" H 5200 4240 50 0000 C CNN
|
||||
F 2 "" H 5200 4100 50 0001 C CNN
|
||||
F 3 "" H 5200 4100 50 0001 C CNN
|
||||
1 5200 4100
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
$Comp
|
||||
L power:GND #PWR013
|
||||
U 1 1 5BA3EFFA
|
||||
P 5200 6650
|
||||
F 0 "#PWR013" H 5200 6400 50 0001 C CNN
|
||||
F 1 "GND" H 5200 6500 50 0000 C CNN
|
||||
F 2 "" H 5200 6650 50 0001 C CNN
|
||||
F 3 "" H 5200 6650 50 0001 C CNN
|
||||
1 5200 6650
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
Text GLabel 3500 3150 2 60 Input ~ 0
|
||||
DI01
|
||||
$Comp
|
||||
L Sensor_Temperature1:DS18B20 U2
|
||||
U 1 1 5BA3F360
|
||||
P 6150 3150
|
||||
F 0 "U2" H 6000 3400 50 0000 C CNN
|
||||
F 1 "DS18B20" H 6400 3400 50 0000 C CNN
|
||||
F 2 "Pin_Headers:Pin_Header_Straight_1x03_Pitch2.54mm" H 5150 2900 50 0001 C CNN
|
||||
F 3 "" H 6000 3400 50 0001 C CNN
|
||||
1 6150 3150
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
$Comp
|
||||
L power:GND #PWR010
|
||||
U 1 1 5BA3F3EC
|
||||
P 6150 3700
|
||||
F 0 "#PWR010" H 6150 3450 50 0001 C CNN
|
||||
F 1 "GND" H 6150 3550 50 0000 C CNN
|
||||
F 2 "" H 6150 3700 50 0001 C CNN
|
||||
F 3 "" H 6150 3700 50 0001 C CNN
|
||||
1 6150 3700
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
$Comp
|
||||
L power:+3.3V #PWR09
|
||||
U 1 1 5BA3F40C
|
||||
P 6150 2500
|
||||
F 0 "#PWR09" H 6150 2350 50 0001 C CNN
|
||||
F 1 "+3.3V" H 6150 2640 50 0000 C CNN
|
||||
F 2 "" H 6150 2500 50 0001 C CNN
|
||||
F 3 "" H 6150 2500 50 0001 C CNN
|
||||
1 6150 2500
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
Text GLabel 7550 3150 2 60 Input ~ 0
|
||||
DataTemp
|
||||
Text GLabel 3600 4150 2 60 Input ~ 0
|
||||
DataTemp
|
||||
Text GLabel 5950 1200 0 60 Input ~ 0
|
||||
SWDCLK
|
||||
$Comp
|
||||
L power:GND #PWR08
|
||||
U 1 1 5BA3F58C
|
||||
P 6000 900
|
||||
F 0 "#PWR08" H 6000 650 50 0001 C CNN
|
||||
F 1 "GND" H 6000 750 50 0000 C CNN
|
||||
F 2 "" H 6000 900 50 0001 C CNN
|
||||
F 3 "" H 6000 900 50 0001 C CNN
|
||||
1 6000 900
|
||||
0 1 1 0
|
||||
$EndComp
|
||||
$Comp
|
||||
L power:+3.3V #PWR07
|
||||
U 1 1 5BA3F5DB
|
||||
P 5650 1000
|
||||
F 0 "#PWR07" H 5650 850 50 0001 C CNN
|
||||
F 1 "+3.3V" H 5650 1140 50 0000 C CNN
|
||||
F 2 "" H 5650 1000 50 0001 C CNN
|
||||
F 3 "" H 5650 1000 50 0001 C CNN
|
||||
1 5650 1000
|
||||
0 -1 -1 0
|
||||
$EndComp
|
||||
$Comp
|
||||
L water_eink_sensor-rescue:R R1
|
||||
U 1 1 5BA3F6C7
|
||||
P 7050 2850
|
||||
F 0 "R1" V 7130 2850 50 0000 C CNN
|
||||
F 1 "4.7k1" V 7050 2850 50 0000 C CNN
|
||||
F 2 "Resistors_SMD:R_0603" V 6980 2850 50 0001 C CNN
|
||||
F 3 "" H 7050 2850 50 0001 C CNN
|
||||
1 7050 2850
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
Wire Wire Line
|
||||
6250 1200 5950 1200
|
||||
Wire Wire Line
|
||||
6150 2850 6150 2650
|
||||
Wire Wire Line
|
||||
6450 3150 7050 3150
|
||||
Wire Wire Line
|
||||
5450 1100 6250 1100
|
||||
Wire Wire Line
|
||||
6000 900 6250 900
|
||||
Wire Wire Line
|
||||
5650 1000 6250 1000
|
||||
Wire Wire Line
|
||||
7050 3000 7050 3150
|
||||
Connection ~ 7050 3150
|
||||
Wire Wire Line
|
||||
7050 2700 7050 2650
|
||||
Wire Wire Line
|
||||
7050 2650 6150 2650
|
||||
Text GLabel 4550 5550 0 60 Input ~ 0
|
||||
SCK
|
||||
Text GLabel 4550 5750 0 60 Input ~ 0
|
||||
MOSI
|
||||
Text GLabel 4550 5650 0 60 Input ~ 0
|
||||
MISO
|
||||
Text GLabel 4550 5450 0 60 Input ~ 0
|
||||
NSS
|
||||
Text GLabel 4550 5250 0 60 Input ~ 0
|
||||
RADIO_RESET
|
||||
Wire Wire Line
|
||||
5200 4100 5200 4150
|
||||
$Comp
|
||||
L power:GND #PWR016
|
||||
U 1 1 5BC8DFF6
|
||||
P 5750 4150
|
||||
F 0 "#PWR016" H 5750 3900 50 0001 C CNN
|
||||
F 1 "GND" H 5750 4000 50 0000 C CNN
|
||||
F 2 "" H 5750 4150 50 0001 C CNN
|
||||
F 3 "" H 5750 4150 50 0001 C CNN
|
||||
1 5750 4150
|
||||
0 -1 -1 0
|
||||
$EndComp
|
||||
$Comp
|
||||
L water_eink_sensor-rescue:C C2
|
||||
U 1 1 5BC8E011
|
||||
P 5500 4150
|
||||
F 0 "C2" H 5525 4250 50 0000 L CNN
|
||||
F 1 "10uF" H 5525 4050 50 0000 L CNN
|
||||
F 2 "Capacitors_SMD:C_0603_HandSoldering" H 5538 4000 50 0001 C CNN
|
||||
F 3 "" H 5500 4150 50 0001 C CNN
|
||||
1 5500 4150
|
||||
0 -1 -1 0
|
||||
$EndComp
|
||||
Wire Wire Line
|
||||
5750 4150 5650 4150
|
||||
Wire Wire Line
|
||||
5350 4150 5200 4150
|
||||
Connection ~ 5200 4150
|
||||
Text GLabel 2950 6850 0 60 Input ~ 0
|
||||
Eink
|
||||
Text GLabel 2950 6750 0 60 Input ~ 0
|
||||
DCeink
|
||||
Text GLabel 2950 6950 0 60 Input ~ 0
|
||||
CS_EINK
|
||||
$Comp
|
||||
L power:GND #PWR03
|
||||
U 1 1 5BC8E471
|
||||
P 2950 6650
|
||||
F 0 "#PWR03" H 2950 6400 50 0001 C CNN
|
||||
F 1 "GND" H 2950 6500 50 0000 C CNN
|
||||
F 2 "" H 2950 6650 50 0001 C CNN
|
||||
F 3 "" H 2950 6650 50 0001 C CNN
|
||||
1 2950 6650
|
||||
0 1 1 0
|
||||
$EndComp
|
||||
$Comp
|
||||
L power:+3.3V #PWR04
|
||||
U 1 1 5BC8E4A0
|
||||
P 2850 6550
|
||||
F 0 "#PWR04" H 2850 6400 50 0001 C CNN
|
||||
F 1 "+3.3V" H 2850 6690 50 0000 C CNN
|
||||
F 2 "" H 2850 6550 50 0001 C CNN
|
||||
F 3 "" H 2850 6550 50 0001 C CNN
|
||||
1 2850 6550
|
||||
0 -1 -1 0
|
||||
$EndComp
|
||||
Text GLabel 2950 7050 0 60 Input ~ 0
|
||||
CLK_eink
|
||||
Text GLabel 2950 7150 0 60 Input ~ 0
|
||||
BUSY_eink
|
||||
$Comp
|
||||
L RF_Module1:E73-2G4M04S-52832 U1
|
||||
U 1 1 5BCE4EC0
|
||||
P 2450 3150
|
||||
F 0 "U1" H 2450 3200 50 0000 C CNN
|
||||
F 1 "E73-2G4M04S-52832" H 2450 3100 50 0000 C CNN
|
||||
F 2 "RFmodule:E73-2G4M04S" H 2450 3600 50 0001 C CNN
|
||||
F 3 "" H 2450 3600 50 0001 C CNN
|
||||
1 2450 3150
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
Wire Wire Line
|
||||
1550 3850 1000 3850
|
||||
Wire Wire Line
|
||||
1550 3750 1000 3750
|
||||
$Comp
|
||||
L power:GND #PWR02
|
||||
U 1 1 5BCEB72B
|
||||
P 2450 4900
|
||||
F 0 "#PWR02" H 2450 4650 50 0001 C CNN
|
||||
F 1 "GND" H 2450 4750 50 0000 C CNN
|
||||
F 2 "" H 2450 4900 50 0001 C CNN
|
||||
F 3 "" H 2450 4900 50 0001 C CNN
|
||||
1 2450 4900
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
Wire Wire Line
|
||||
2450 4750 2450 4900
|
||||
Wire Wire Line
|
||||
2450 1300 2450 1550
|
||||
Wire Wire Line
|
||||
7050 3150 7550 3150
|
||||
Text GLabel 3500 2650 2 60 Input ~ 0
|
||||
NSS
|
||||
Text GLabel 3500 3050 2 60 Input ~ 0
|
||||
RADIO_RESET
|
||||
Text GLabel 6400 1850 0 60 Input ~ 0
|
||||
DEC4
|
||||
$Comp
|
||||
L pspice:INDUCTOR L1
|
||||
U 1 1 5BCEC060
|
||||
P 6900 1850
|
||||
F 0 "L1" H 6900 2065 50 0000 C CNN
|
||||
F 1 "10uH" H 6900 1974 50 0000 C CNN
|
||||
F 2 "Inductor:L_0603_1608Metric_Pad1.05x0.95mm_HandSolder" H 6900 1850 50 0001 C CNN
|
||||
F 3 "" H 6900 1850 50 0001 C CNN
|
||||
1 6900 1850
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
$Comp
|
||||
L pspice:INDUCTOR L2
|
||||
U 1 1 5BCEC0D0
|
||||
P 7700 1850
|
||||
F 0 "L2" H 7700 2065 50 0000 C CNN
|
||||
F 1 "15nH" H 7700 1974 50 0000 C CNN
|
||||
F 2 "Inductor:L_0603_1608Metric_Pad1.05x0.95mm_HandSolder" H 7700 1850 50 0001 C CNN
|
||||
F 3 "" H 7700 1850 50 0001 C CNN
|
||||
1 7700 1850
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
Text GLabel 8350 1850 2 60 Input ~ 0
|
||||
DCC
|
||||
Wire Wire Line
|
||||
6400 1850 6650 1850
|
||||
Wire Wire Line
|
||||
7950 1850 8150 1850
|
||||
$Comp
|
||||
L water_eink_sensor-rescue:C C1
|
||||
U 1 1 5BCEE828
|
||||
P 8150 1550
|
||||
F 0 "C1" H 8175 1650 50 0000 L CNN
|
||||
F 1 "10nF" H 8175 1450 50 0000 L CNN
|
||||
F 2 "Capacitors_SMD:C_0603_HandSoldering" H 8188 1400 50 0001 C CNN
|
||||
F 3 "" H 8150 1550 50 0001 C CNN
|
||||
1 8150 1550
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
$Comp
|
||||
L power:GND #PWR011
|
||||
U 1 1 5BCEE8A4
|
||||
P 8450 1200
|
||||
F 0 "#PWR011" H 8450 950 50 0001 C CNN
|
||||
F 1 "GND" H 8450 1050 50 0000 C CNN
|
||||
F 2 "" H 8450 1200 50 0001 C CNN
|
||||
F 3 "" H 8450 1200 50 0001 C CNN
|
||||
1 8450 1200
|
||||
0 -1 -1 0
|
||||
$EndComp
|
||||
Wire Wire Line
|
||||
8150 1400 8150 1200
|
||||
Wire Wire Line
|
||||
8150 1200 8450 1200
|
||||
Wire Wire Line
|
||||
8150 1850 8150 1700
|
||||
Connection ~ 8150 1850
|
||||
Wire Wire Line
|
||||
8150 1850 8350 1850
|
||||
Text GLabel 2250 1300 1 60 Input ~ 0
|
||||
DEC4
|
||||
Text GLabel 2650 1250 1 60 Input ~ 0
|
||||
DCC
|
||||
Text GLabel 3500 2350 2 60 Input ~ 0
|
||||
Tx
|
||||
Text GLabel 3500 2150 2 60 Input ~ 0
|
||||
Rx
|
||||
Wire Wire Line
|
||||
3350 2150 3500 2150
|
||||
Wire Wire Line
|
||||
3500 2350 3350 2350
|
||||
Wire Wire Line
|
||||
2250 1550 2250 1300
|
||||
Wire Wire Line
|
||||
2650 1550 2650 1250
|
||||
Wire Wire Line
|
||||
3350 2650 3500 2650
|
||||
Wire Wire Line
|
||||
3500 2750 3350 2750
|
||||
Wire Wire Line
|
||||
3350 2850 3500 2850
|
||||
Wire Wire Line
|
||||
3500 2950 3350 2950
|
||||
Wire Wire Line
|
||||
3350 3050 3500 3050
|
||||
Wire Wire Line
|
||||
3500 3150 3350 3150
|
||||
Text GLabel 5950 5250 2 60 Input ~ 0
|
||||
DI01
|
||||
Wire Wire Line
|
||||
6150 3450 6150 3700
|
||||
Wire Wire Line
|
||||
6150 2650 6150 2500
|
||||
Connection ~ 6150 2650
|
||||
Wire Wire Line
|
||||
7450 1850 7150 1850
|
||||
NoConn ~ 3350 4250
|
||||
NoConn ~ 3350 4350
|
||||
NoConn ~ 3350 4450
|
||||
NoConn ~ 3350 4550
|
||||
NoConn ~ 1550 3650
|
||||
NoConn ~ 3350 2450
|
||||
NoConn ~ 3350 2550
|
||||
NoConn ~ 2150 1550
|
||||
NoConn ~ 2050 1550
|
||||
NoConn ~ 1950 1550
|
||||
Text GLabel 3500 1750 2 60 Input ~ 0
|
||||
P0.2
|
||||
Text GLabel 3500 1850 2 60 Input ~ 0
|
||||
P0.3
|
||||
NoConn ~ 3350 4050
|
||||
$Comp
|
||||
L power:GND #PWR017
|
||||
U 1 1 5C010BA2
|
||||
P 4400 1600
|
||||
F 0 "#PWR017" H 4400 1350 50 0001 C CNN
|
||||
F 1 "GND" H 4400 1450 50 0000 C CNN
|
||||
F 2 "" H 4400 1600 50 0001 C CNN
|
||||
F 3 "" H 4400 1600 50 0001 C CNN
|
||||
1 4400 1600
|
||||
-1 0 0 1
|
||||
$EndComp
|
||||
Wire Wire Line
|
||||
3350 1750 3500 1750
|
||||
Wire Wire Line
|
||||
3500 1850 3350 1850
|
||||
Text GLabel 4600 2200 0 60 Input ~ 0
|
||||
P0.3
|
||||
Text GLabel 4600 2100 0 60 Input ~ 0
|
||||
P0.2
|
||||
Text GLabel 4600 2000 0 60 Input ~ 0
|
||||
Tx
|
||||
Text GLabel 4600 1900 0 60 Input ~ 0
|
||||
Rx
|
||||
Wire Wire Line
|
||||
4600 1900 4700 1900
|
||||
Wire Wire Line
|
||||
4700 2000 4600 2000
|
||||
Wire Wire Line
|
||||
4600 2100 4700 2100
|
||||
Wire Wire Line
|
||||
4700 2200 4600 2200
|
||||
NoConn ~ 3350 3950
|
||||
Wire Wire Line
|
||||
3350 4150 3600 4150
|
||||
Wire Wire Line
|
||||
9050 1550 9050 1700
|
||||
Wire Wire Line
|
||||
9050 2000 9050 2200
|
||||
$Comp
|
||||
L RF_Module:Ai-Thinker-Ra-01 U3
|
||||
U 1 1 5C10158C
|
||||
P 5200 5550
|
||||
F 0 "U3" H 5200 6528 50 0000 C CNN
|
||||
F 1 "Ai-Thinker-Ra-01" H 5200 6437 50 0000 C CNN
|
||||
F 2 "RFmodule:HOPERF_RFM9XW_SMD" H 6200 5150 50 0001 C CNN
|
||||
F 3 "https://mikroelectron.com/Product/10KM-433M-LORA-LONG-RANGE-WIRELESS-MODULE-RA-01" H 5300 6250 50 0001 C CNN
|
||||
1 5200 5550
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
Wire Wire Line
|
||||
5200 6250 5200 6650
|
||||
Wire Wire Line
|
||||
4550 5750 4700 5750
|
||||
Wire Wire Line
|
||||
4700 5650 4550 5650
|
||||
Wire Wire Line
|
||||
4550 5550 4700 5550
|
||||
Wire Wire Line
|
||||
4700 5450 4550 5450
|
||||
Wire Wire Line
|
||||
4550 5250 4700 5250
|
||||
Wire Wire Line
|
||||
5700 5250 5950 5250
|
||||
Wire Wire Line
|
||||
5200 4150 5200 4750
|
||||
$Comp
|
||||
L Connector_Generic:Conn_01x07 J1
|
||||
U 1 1 5C112C10
|
||||
P 3900 6850
|
||||
F 0 "J1" H 3980 6892 50 0000 L CNN
|
||||
F 1 "Eink" H 3980 6801 50 0000 L CNN
|
||||
F 2 "Pin_Headers:Pin_Header_Straight_1x07_Pitch2.54mm" H 3900 6850 50 0001 C CNN
|
||||
F 3 "~" H 3900 6850 50 0001 C CNN
|
||||
1 3900 6850
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
Wire Wire Line
|
||||
2850 6550 3700 6550
|
||||
Wire Wire Line
|
||||
2950 6650 3700 6650
|
||||
$Comp
|
||||
L Connector_Generic:Conn_01x05 J2
|
||||
U 1 1 5C11FC6E
|
||||
P 4900 2000
|
||||
F 0 "J2" H 4979 2042 50 0000 L CNN
|
||||
F 1 "data" H 4979 1951 50 0000 L CNN
|
||||
F 2 "Pin_Headers:Pin_Header_Straight_1x05_Pitch2.54mm_SMD_Pin1Left" H 4900 2000 50 0001 C CNN
|
||||
F 3 "~" H 4900 2000 50 0001 C CNN
|
||||
1 4900 2000
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
Wire Wire Line
|
||||
4400 1800 4700 1800
|
||||
Wire Wire Line
|
||||
4400 1600 4400 1800
|
||||
Wire Wire Line
|
||||
2950 6750 3700 6750
|
||||
Wire Wire Line
|
||||
2950 6850 3700 6850
|
||||
Wire Wire Line
|
||||
2950 6950 3700 6950
|
||||
Wire Wire Line
|
||||
2950 7050 3700 7050
|
||||
Wire Wire Line
|
||||
2950 7150 3700 7150
|
||||
NoConn ~ 5700 5150
|
||||
NoConn ~ 5700 5350
|
||||
NoConn ~ 5700 5450
|
||||
NoConn ~ 5700 5550
|
||||
NoConn ~ 5700 5650
|
||||
NoConn ~ 4700 5050
|
||||
Text GLabel 3550 3750 2 60 Input ~ 0
|
||||
Eink
|
||||
Text GLabel 3550 3850 2 60 Input ~ 0
|
||||
DCeink
|
||||
Text GLabel 3550 3650 2 60 Input ~ 0
|
||||
CS_EINK
|
||||
Text GLabel 3550 3550 2 60 Input ~ 0
|
||||
CLK_eink
|
||||
Text GLabel 3550 3450 2 60 Input ~ 0
|
||||
BUSY_eink
|
||||
Wire Wire Line
|
||||
3350 3450 3550 3450
|
||||
Wire Wire Line
|
||||
3550 3550 3350 3550
|
||||
Wire Wire Line
|
||||
3350 3650 3550 3650
|
||||
Wire Wire Line
|
||||
3550 3750 3350 3750
|
||||
Wire Wire Line
|
||||
3350 3850 3550 3850
|
||||
NoConn ~ 3350 3250
|
||||
NoConn ~ 3350 3350
|
||||
NoConn ~ 3350 1950
|
||||
NoConn ~ 3350 2050
|
||||
NoConn ~ 3350 2250
|
||||
$EndSCHEMATC
|
||||
|
|
@ -0,0 +1,536 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<export version="D">
|
||||
<design>
|
||||
<source>/home/simon/repo/mysensors/water_eink_sensor/schematics/water_eink_sensor.sch</source>
|
||||
<date>fre 14 dec 2018 18:58:01</date>
|
||||
<tool>Eeschema 5.0.1-33cea8e~68~ubuntu18.04.1</tool>
|
||||
<sheet number="1" name="/" tstamps="/">
|
||||
<title_block>
|
||||
<title/>
|
||||
<company/>
|
||||
<rev/>
|
||||
<date/>
|
||||
<source>water_eink_sensor.sch</source>
|
||||
<comment number="1" value=""/>
|
||||
<comment number="2" value=""/>
|
||||
<comment number="3" value=""/>
|
||||
<comment number="4" value=""/>
|
||||
</title_block>
|
||||
</sheet>
|
||||
</design>
|
||||
<components>
|
||||
<comp ref="BT1">
|
||||
<value>Battery_Cell</value>
|
||||
<footprint>BH123A:Battery cell CR2</footprint>
|
||||
<libsource lib="water_eink_sensor-rescue" part="Battery_Cell" description=""/>
|
||||
<sheetpath names="/" tstamps="/"/>
|
||||
<tstamp>5BA28CE2</tstamp>
|
||||
</comp>
|
||||
<comp ref="J3">
|
||||
<value>Program</value>
|
||||
<footprint>Pin_Headers:Pin_Header_Straight_1x04_Pitch2.54mm_SMD_Pin1Right</footprint>
|
||||
<libsource lib="water_eink_sensor-rescue" part="CONN_01X04" description=""/>
|
||||
<sheetpath names="/" tstamps="/"/>
|
||||
<tstamp>5BA28D2D</tstamp>
|
||||
</comp>
|
||||
<comp ref="U2">
|
||||
<value>DS18B20</value>
|
||||
<footprint>Pin_Headers:Pin_Header_Straight_1x03_Pitch2.54mm</footprint>
|
||||
<libsource lib="Sensor_Temperature1" part="DS18B20" description="Programmable Resolution 1-Wire Digital Thermometer TO-92"/>
|
||||
<sheetpath names="/" tstamps="/"/>
|
||||
<tstamp>5BA3F360</tstamp>
|
||||
</comp>
|
||||
<comp ref="R1">
|
||||
<value>4.7k1</value>
|
||||
<footprint>Resistors_SMD:R_0603</footprint>
|
||||
<libsource lib="water_eink_sensor-rescue" part="R" description=""/>
|
||||
<sheetpath names="/" tstamps="/"/>
|
||||
<tstamp>5BA3F6C7</tstamp>
|
||||
</comp>
|
||||
<comp ref="C2">
|
||||
<value>10uF</value>
|
||||
<footprint>Capacitors_SMD:C_0603_HandSoldering</footprint>
|
||||
<libsource lib="water_eink_sensor-rescue" part="C" description=""/>
|
||||
<sheetpath names="/" tstamps="/"/>
|
||||
<tstamp>5BC8E011</tstamp>
|
||||
</comp>
|
||||
<comp ref="U1">
|
||||
<value>E73-2G4M04S-52832</value>
|
||||
<footprint>RFmodule:E73-2G4M04S</footprint>
|
||||
<libsource lib="RF_Module1" part="E73-2G4M04S-52832" description="nRF52832 BLE5 Module"/>
|
||||
<sheetpath names="/" tstamps="/"/>
|
||||
<tstamp>5BCE4EC0</tstamp>
|
||||
</comp>
|
||||
<comp ref="L1">
|
||||
<value>10uH</value>
|
||||
<footprint>Inductor:L_0603_1608Metric_Pad1.05x0.95mm_HandSolder</footprint>
|
||||
<libsource lib="pspice" part="INDUCTOR" description="Capacitor symbol for simulation only"/>
|
||||
<sheetpath names="/" tstamps="/"/>
|
||||
<tstamp>5BCEC060</tstamp>
|
||||
</comp>
|
||||
<comp ref="L2">
|
||||
<value>15nH</value>
|
||||
<footprint>Inductor:L_0603_1608Metric_Pad1.05x0.95mm_HandSolder</footprint>
|
||||
<libsource lib="pspice" part="INDUCTOR" description="Capacitor symbol for simulation only"/>
|
||||
<sheetpath names="/" tstamps="/"/>
|
||||
<tstamp>5BCEC0D0</tstamp>
|
||||
</comp>
|
||||
<comp ref="C1">
|
||||
<value>10nF</value>
|
||||
<footprint>Capacitors_SMD:C_0603_HandSoldering</footprint>
|
||||
<libsource lib="water_eink_sensor-rescue" part="C" description=""/>
|
||||
<sheetpath names="/" tstamps="/"/>
|
||||
<tstamp>5BCEE828</tstamp>
|
||||
</comp>
|
||||
<comp ref="U3">
|
||||
<value>Ai-Thinker-Ra-01</value>
|
||||
<footprint>RFmodule:HOPERF_RFM9XW_SMD</footprint>
|
||||
<datasheet>https://mikroelectron.com/Product/10KM-433M-LORA-LONG-RANGE-WIRELESS-MODULE-RA-01</datasheet>
|
||||
<libsource lib="RF_Module" part="Ai-Thinker-Ra-01" description="Ai-Thinker LoRa Module Ra-01"/>
|
||||
<sheetpath names="/" tstamps="/"/>
|
||||
<tstamp>5C10158C</tstamp>
|
||||
</comp>
|
||||
<comp ref="J1">
|
||||
<value>Eink</value>
|
||||
<footprint>Pin_Headers:Pin_Header_Straight_1x07_Pitch2.54mm</footprint>
|
||||
<datasheet>~</datasheet>
|
||||
<libsource lib="Connector_Generic" part="Conn_01x07" description="Generic connector, single row, 01x07, script generated (kicad-library-utils/schlib/autogen/connector/)"/>
|
||||
<sheetpath names="/" tstamps="/"/>
|
||||
<tstamp>5C112C10</tstamp>
|
||||
</comp>
|
||||
<comp ref="J2">
|
||||
<value>data</value>
|
||||
<footprint>Pin_Headers:Pin_Header_Straight_1x05_Pitch2.54mm_SMD_Pin1Left</footprint>
|
||||
<datasheet>~</datasheet>
|
||||
<libsource lib="Connector_Generic" part="Conn_01x05" description="Generic connector, single row, 01x05, script generated (kicad-library-utils/schlib/autogen/connector/)"/>
|
||||
<sheetpath names="/" tstamps="/"/>
|
||||
<tstamp>5C11FC6E</tstamp>
|
||||
</comp>
|
||||
</components>
|
||||
<libparts>
|
||||
<libpart lib="Connector_Generic" part="Conn_01x05">
|
||||
<description>Generic connector, single row, 01x05, script generated (kicad-library-utils/schlib/autogen/connector/)</description>
|
||||
<docs>~</docs>
|
||||
<footprints>
|
||||
<fp>Connector*:*_1x??_*</fp>
|
||||
</footprints>
|
||||
<fields>
|
||||
<field name="Reference">J</field>
|
||||
<field name="Value">Conn_01x05</field>
|
||||
</fields>
|
||||
<pins>
|
||||
<pin num="1" name="Pin_1" type="passive"/>
|
||||
<pin num="2" name="Pin_2" type="passive"/>
|
||||
<pin num="3" name="Pin_3" type="passive"/>
|
||||
<pin num="4" name="Pin_4" type="passive"/>
|
||||
<pin num="5" name="Pin_5" type="passive"/>
|
||||
</pins>
|
||||
</libpart>
|
||||
<libpart lib="Connector_Generic" part="Conn_01x07">
|
||||
<description>Generic connector, single row, 01x07, script generated (kicad-library-utils/schlib/autogen/connector/)</description>
|
||||
<docs>~</docs>
|
||||
<footprints>
|
||||
<fp>Connector*:*_1x??_*</fp>
|
||||
</footprints>
|
||||
<fields>
|
||||
<field name="Reference">J</field>
|
||||
<field name="Value">Conn_01x07</field>
|
||||
</fields>
|
||||
<pins>
|
||||
<pin num="1" name="Pin_1" type="passive"/>
|
||||
<pin num="2" name="Pin_2" type="passive"/>
|
||||
<pin num="3" name="Pin_3" type="passive"/>
|
||||
<pin num="4" name="Pin_4" type="passive"/>
|
||||
<pin num="5" name="Pin_5" type="passive"/>
|
||||
<pin num="6" name="Pin_6" type="passive"/>
|
||||
<pin num="7" name="Pin_7" type="passive"/>
|
||||
</pins>
|
||||
</libpart>
|
||||
<libpart lib="RF_Module" part="Ai-Thinker-Ra-01">
|
||||
<description>Ai-Thinker LoRa Module Ra-01</description>
|
||||
<docs>https://mikroelectron.com/Product/10KM-433M-LORA-LONG-RANGE-WIRELESS-MODULE-RA-01</docs>
|
||||
<footprints>
|
||||
<fp>Ai?Thinker?Ra?01*</fp>
|
||||
</footprints>
|
||||
<fields>
|
||||
<field name="Reference">U</field>
|
||||
<field name="Value">Ai-Thinker-Ra-01</field>
|
||||
<field name="Footprint">RF_Module:Ai-Thinker-Ra-01-LoRa</field>
|
||||
</fields>
|
||||
<pins>
|
||||
<pin num="1" name="Ant" type="input"/>
|
||||
<pin num="2" name="Gnd" type="power_in"/>
|
||||
<pin num="3" name="3v3" type="power_in"/>
|
||||
<pin num="4" name="~Reset" type="input"/>
|
||||
<pin num="5" name="DIO0" type="BiDi"/>
|
||||
<pin num="6" name="DIO1" type="BiDi"/>
|
||||
<pin num="7" name="DIO2" type="BiDi"/>
|
||||
<pin num="8" name="DIO3" type="BiDi"/>
|
||||
<pin num="9" name="Gnd" type="passive"/>
|
||||
<pin num="10" name="DIO4" type="BiDi"/>
|
||||
<pin num="11" name="DIO5" type="BiDi"/>
|
||||
<pin num="12" name="SCK" type="BiDi"/>
|
||||
<pin num="13" name="MISO" type="output"/>
|
||||
<pin num="14" name="MOSI" type="input"/>
|
||||
<pin num="15" name="~NSS" type="input"/>
|
||||
<pin num="16" name="Gnd" type="passive"/>
|
||||
</pins>
|
||||
</libpart>
|
||||
<libpart lib="RF_Module1" part="E73-2G4M04S-52832">
|
||||
<aliases>
|
||||
<alias>E73-2G4M04S-52810</alias>
|
||||
</aliases>
|
||||
<description>nRF52832 BLE5 Module</description>
|
||||
<docs>http://www.cdebyte.com/en/downpdf.aspx?id=243</docs>
|
||||
<footprints>
|
||||
<fp>E73*2G4M04S*</fp>
|
||||
</footprints>
|
||||
<fields>
|
||||
<field name="Reference">U</field>
|
||||
<field name="Value">E73-2G4M04S-52832</field>
|
||||
<field name="Footprint">RF_Module:E73-2G4M04S</field>
|
||||
</fields>
|
||||
<pins>
|
||||
<pin num="0" name="GND" type="power_in"/>
|
||||
<pin num="1" name="GND" type="passive"/>
|
||||
<pin num="2" name="GND" type="passive"/>
|
||||
<pin num="3" name="DEC2" type="passive"/>
|
||||
<pin num="4" name="DEC3" type="passive"/>
|
||||
<pin num="5" name="P0.25" type="BiDi"/>
|
||||
<pin num="6" name="P0.26" type="BiDi"/>
|
||||
<pin num="7" name="P0.27" type="BiDi"/>
|
||||
<pin num="8" name="AIN4/P0.28" type="BiDi"/>
|
||||
<pin num="9" name="AIN5/P0.29" type="BiDi"/>
|
||||
<pin num="10" name="AIN6/P0.30" type="BiDi"/>
|
||||
<pin num="11" name="AIN7/P0.31" type="BiDi"/>
|
||||
<pin num="12" name="DEC4" type="passive"/>
|
||||
<pin num="13" name="DCC" type="power_out"/>
|
||||
<pin num="14" name="DEC1" type="passive"/>
|
||||
<pin num="15" name="GND" type="passive"/>
|
||||
<pin num="16" name="VCC" type="power_in"/>
|
||||
<pin num="17" name="AIN0/P0.02" type="BiDi"/>
|
||||
<pin num="18" name="AIN1/P0.03" type="BiDi"/>
|
||||
<pin num="19" name="AIN2/P0.04" type="BiDi"/>
|
||||
<pin num="20" name="AIN3/P0.05" type="BiDi"/>
|
||||
<pin num="21" name="P0.06" type="BiDi"/>
|
||||
<pin num="22" name="P0.07" type="BiDi"/>
|
||||
<pin num="23" name="P0.08" type="BiDi"/>
|
||||
<pin num="24" name="NFC1/P0.09" type="BiDi"/>
|
||||
<pin num="25" name="NFC2/P0.10" type="BiDi"/>
|
||||
<pin num="26" name="P0.11" type="BiDi"/>
|
||||
<pin num="27" name="P0.12" type="BiDi"/>
|
||||
<pin num="28" name="P0.13" type="BiDi"/>
|
||||
<pin num="29" name="P0.14" type="BiDi"/>
|
||||
<pin num="30" name="P0.15" type="BiDi"/>
|
||||
<pin num="31" name="P0.16" type="BiDi"/>
|
||||
<pin num="32" name="P0.17" type="BiDi"/>
|
||||
<pin num="33" name="SWO/P0.18" type="BiDi"/>
|
||||
<pin num="34" name="P0.19" type="BiDi"/>
|
||||
<pin num="35" name="P0.20" type="BiDi"/>
|
||||
<pin num="36" name="P0.21/~RESET" type="BiDi"/>
|
||||
<pin num="37" name="SWDCLK" type="input"/>
|
||||
<pin num="38" name="SWDIO" type="BiDi"/>
|
||||
<pin num="39" name="P0.22" type="BiDi"/>
|
||||
<pin num="40" name="P0.23" type="BiDi"/>
|
||||
<pin num="41" name="P0.24" type="BiDi"/>
|
||||
<pin num="42" name="GND" type="passive"/>
|
||||
<pin num="43" name="GND" type="passive"/>
|
||||
</pins>
|
||||
</libpart>
|
||||
<libpart lib="Sensor_Temperature1" part="MAX31820">
|
||||
<aliases>
|
||||
<alias>DS1822</alias>
|
||||
<alias>DS18B20</alias>
|
||||
<alias>DS18S20</alias>
|
||||
<alias>DS1821C</alias>
|
||||
</aliases>
|
||||
<description>1-Wire Ambient Temperature Sensor TO-92</description>
|
||||
<docs>http://datasheets.maximintegrated.com/en/ds/MAX31820.pdf</docs>
|
||||
<footprints>
|
||||
<fp>TO*92*</fp>
|
||||
</footprints>
|
||||
<fields>
|
||||
<field name="Reference">U</field>
|
||||
<field name="Value">MAX31820</field>
|
||||
<field name="Footprint">Package_TO_SOT_THT:TO-92_Inline</field>
|
||||
</fields>
|
||||
<pins>
|
||||
<pin num="1" name="GND" type="power_in"/>
|
||||
<pin num="2" name="DQ" type="BiDi"/>
|
||||
<pin num="3" name="VDD" type="power_in"/>
|
||||
</pins>
|
||||
</libpart>
|
||||
<libpart lib="pspice" part="INDUCTOR">
|
||||
<description>Capacitor symbol for simulation only</description>
|
||||
<docs>~</docs>
|
||||
<fields>
|
||||
<field name="Reference">L</field>
|
||||
<field name="Value">INDUCTOR</field>
|
||||
</fields>
|
||||
<pins>
|
||||
<pin num="1" name="1" type="input"/>
|
||||
<pin num="2" name="2" type="input"/>
|
||||
</pins>
|
||||
</libpart>
|
||||
<libpart lib="water_eink_sensor-rescue" part="Battery_Cell">
|
||||
<fields>
|
||||
<field name="Reference">BT</field>
|
||||
<field name="Value">Battery_Cell</field>
|
||||
</fields>
|
||||
<pins>
|
||||
<pin num="1" name="+" type="passive"/>
|
||||
<pin num="2" name="-" type="passive"/>
|
||||
</pins>
|
||||
</libpart>
|
||||
<libpart lib="water_eink_sensor-rescue" part="C">
|
||||
<footprints>
|
||||
<fp>C_*</fp>
|
||||
</footprints>
|
||||
<fields>
|
||||
<field name="Reference">C</field>
|
||||
<field name="Value">C</field>
|
||||
</fields>
|
||||
<pins>
|
||||
<pin num="1" name="~" type="passive"/>
|
||||
<pin num="2" name="~" type="passive"/>
|
||||
</pins>
|
||||
</libpart>
|
||||
<libpart lib="water_eink_sensor-rescue" part="CONN_01X04">
|
||||
<footprints>
|
||||
<fp>Pin_Header_Straight_1X*</fp>
|
||||
<fp>Pin_Header_Angled_1X*</fp>
|
||||
<fp>Socket_Strip_Straight_1X*</fp>
|
||||
<fp>Socket_Strip_Angled_1X*</fp>
|
||||
</footprints>
|
||||
<fields>
|
||||
<field name="Reference">J</field>
|
||||
<field name="Value">CONN_01X04</field>
|
||||
</fields>
|
||||
<pins>
|
||||
<pin num="1" name="P1" type="passive"/>
|
||||
<pin num="2" name="P2" type="passive"/>
|
||||
<pin num="3" name="P3" type="passive"/>
|
||||
<pin num="4" name="P4" type="passive"/>
|
||||
</pins>
|
||||
</libpart>
|
||||
<libpart lib="water_eink_sensor-rescue" part="R">
|
||||
<footprints>
|
||||
<fp>R_*</fp>
|
||||
<fp>R_*</fp>
|
||||
</footprints>
|
||||
<fields>
|
||||
<field name="Reference">R</field>
|
||||
<field name="Value">R</field>
|
||||
</fields>
|
||||
<pins>
|
||||
<pin num="1" name="~" type="passive"/>
|
||||
<pin num="2" name="~" type="passive"/>
|
||||
</pins>
|
||||
</libpart>
|
||||
</libparts>
|
||||
<libraries>
|
||||
<library logical="Connector_Generic">
|
||||
<uri>/usr/share/kicad/library/Connector_Generic.lib</uri>
|
||||
</library>
|
||||
<library logical="RF_Module">
|
||||
<uri>/usr/share/kicad/library/RF_Module.lib</uri>
|
||||
</library>
|
||||
<library logical="RF_Module1">
|
||||
<uri>/home/simon/repo/mysensors/water_eink_sensor/schematics/RFM/RF_Module.lib</uri>
|
||||
</library>
|
||||
<library logical="Sensor_Temperature1">
|
||||
<uri>/home/simon/repo/mysensors/water_eink_sensor/schematics/RFM/Sensor_Temperature.lib</uri>
|
||||
</library>
|
||||
<library logical="pspice">
|
||||
<uri>/usr/share/kicad/library/pspice.lib</uri>
|
||||
</library>
|
||||
<library logical="water_eink_sensor-rescue">
|
||||
<uri>/home/simon/repo/mysensors/water_eink_sensor/schematics/water_eink_sensor-rescue.lib</uri>
|
||||
</library>
|
||||
</libraries>
|
||||
<nets>
|
||||
<net code="1" name="P0.2">
|
||||
<node ref="J2" pin="4"/>
|
||||
<node ref="U1" pin="17"/>
|
||||
</net>
|
||||
<net code="2" name="Net-(U1-Pad8)">
|
||||
<node ref="U1" pin="8"/>
|
||||
</net>
|
||||
<net code="3" name="Net-(U1-Pad9)">
|
||||
<node ref="U1" pin="9"/>
|
||||
</net>
|
||||
<net code="4" name="Net-(U1-Pad10)">
|
||||
<node ref="U1" pin="10"/>
|
||||
</net>
|
||||
<net code="5" name="Net-(U1-Pad11)">
|
||||
<node ref="U1" pin="11"/>
|
||||
</net>
|
||||
<net code="6" name="Net-(U1-Pad36)">
|
||||
<node ref="U1" pin="36"/>
|
||||
</net>
|
||||
<net code="7" name="Net-(U1-Pad24)">
|
||||
<node ref="U1" pin="24"/>
|
||||
</net>
|
||||
<net code="8" name="Net-(U1-Pad25)">
|
||||
<node ref="U1" pin="25"/>
|
||||
</net>
|
||||
<net code="9" name="Net-(U1-Pad4)">
|
||||
<node ref="U1" pin="4"/>
|
||||
</net>
|
||||
<net code="10" name="Net-(U1-Pad3)">
|
||||
<node ref="U1" pin="3"/>
|
||||
</net>
|
||||
<net code="11" name="Net-(U1-Pad14)">
|
||||
<node ref="U1" pin="14"/>
|
||||
</net>
|
||||
<net code="12" name="P0.3">
|
||||
<node ref="J2" pin="5"/>
|
||||
<node ref="U1" pin="18"/>
|
||||
</net>
|
||||
<net code="13" name="Net-(U1-Pad6)">
|
||||
<node ref="U1" pin="6"/>
|
||||
</net>
|
||||
<net code="14" name="Net-(L1-Pad2)">
|
||||
<node ref="L2" pin="1"/>
|
||||
<node ref="L1" pin="2"/>
|
||||
</net>
|
||||
<net code="15" name="Tx">
|
||||
<node ref="J2" pin="3"/>
|
||||
<node ref="U1" pin="23"/>
|
||||
</net>
|
||||
<net code="16" name="Rx">
|
||||
<node ref="J2" pin="2"/>
|
||||
<node ref="U1" pin="21"/>
|
||||
</net>
|
||||
<net code="17" name="Net-(U1-Pad5)">
|
||||
<node ref="U1" pin="5"/>
|
||||
</net>
|
||||
<net code="18" name="Net-(U3-Pad1)">
|
||||
<node ref="U3" pin="1"/>
|
||||
</net>
|
||||
<net code="19" name="Net-(U3-Pad10)">
|
||||
<node ref="U3" pin="10"/>
|
||||
</net>
|
||||
<net code="20" name="DCC">
|
||||
<node ref="L2" pin="2"/>
|
||||
<node ref="U1" pin="13"/>
|
||||
<node ref="C1" pin="2"/>
|
||||
</net>
|
||||
<net code="21" name="DEC4">
|
||||
<node ref="U1" pin="12"/>
|
||||
<node ref="L1" pin="1"/>
|
||||
</net>
|
||||
<net code="22" name="Net-(U3-Pad11)">
|
||||
<node ref="U3" pin="11"/>
|
||||
</net>
|
||||
<net code="23" name="GND">
|
||||
<node ref="U3" pin="9"/>
|
||||
<node ref="U3" pin="2"/>
|
||||
<node ref="U3" pin="16"/>
|
||||
<node ref="U2" pin="1"/>
|
||||
<node ref="J1" pin="1"/>
|
||||
<node ref="J3" pin="1"/>
|
||||
<node ref="BT1" pin="2"/>
|
||||
<node ref="C2" pin="2"/>
|
||||
<node ref="J2" pin="1"/>
|
||||
<node ref="U1" pin="2"/>
|
||||
<node ref="U1" pin="15"/>
|
||||
<node ref="U1" pin="1"/>
|
||||
<node ref="U1" pin="0"/>
|
||||
<node ref="C1" pin="1"/>
|
||||
<node ref="U1" pin="43"/>
|
||||
<node ref="U1" pin="42"/>
|
||||
</net>
|
||||
<net code="24" name="Net-(U3-Pad5)">
|
||||
<node ref="U3" pin="5"/>
|
||||
</net>
|
||||
<net code="25" name="Net-(U3-Pad7)">
|
||||
<node ref="U3" pin="7"/>
|
||||
</net>
|
||||
<net code="26" name="Net-(U3-Pad8)">
|
||||
<node ref="U3" pin="8"/>
|
||||
</net>
|
||||
<net code="27" name="Eink">
|
||||
<node ref="U1" pin="40"/>
|
||||
<node ref="J1" pin="4"/>
|
||||
</net>
|
||||
<net code="28" name="DCeink">
|
||||
<node ref="U1" pin="41"/>
|
||||
<node ref="J1" pin="3"/>
|
||||
</net>
|
||||
<net code="29" name="CS_EINK">
|
||||
<node ref="J1" pin="5"/>
|
||||
<node ref="U1" pin="39"/>
|
||||
</net>
|
||||
<net code="30" name="CLK_eink">
|
||||
<node ref="J1" pin="6"/>
|
||||
<node ref="U1" pin="35"/>
|
||||
</net>
|
||||
<net code="31" name="BUSY_eink">
|
||||
<node ref="U1" pin="34"/>
|
||||
<node ref="J1" pin="7"/>
|
||||
</net>
|
||||
<net code="32" name="Net-(U1-Pad32)">
|
||||
<node ref="U1" pin="32"/>
|
||||
</net>
|
||||
<net code="33" name="Net-(U1-Pad33)">
|
||||
<node ref="U1" pin="33"/>
|
||||
</net>
|
||||
<net code="34" name="Net-(U1-Pad19)">
|
||||
<node ref="U1" pin="19"/>
|
||||
</net>
|
||||
<net code="35" name="Net-(U1-Pad20)">
|
||||
<node ref="U1" pin="20"/>
|
||||
</net>
|
||||
<net code="36" name="Net-(U1-Pad22)">
|
||||
<node ref="U1" pin="22"/>
|
||||
</net>
|
||||
<net code="37" name="MISO">
|
||||
<node ref="U1" pin="28"/>
|
||||
<node ref="U3" pin="13"/>
|
||||
</net>
|
||||
<net code="38" name="SCK">
|
||||
<node ref="U3" pin="12"/>
|
||||
<node ref="U1" pin="29"/>
|
||||
</net>
|
||||
<net code="39" name="MOSI">
|
||||
<node ref="U1" pin="27"/>
|
||||
<node ref="U3" pin="14"/>
|
||||
</net>
|
||||
<net code="40" name="NSS">
|
||||
<node ref="U1" pin="26"/>
|
||||
<node ref="U3" pin="15"/>
|
||||
</net>
|
||||
<net code="41" name="RADIO_RESET">
|
||||
<node ref="U3" pin="4"/>
|
||||
<node ref="U1" pin="30"/>
|
||||
</net>
|
||||
<net code="42" name="DI01">
|
||||
<node ref="U3" pin="6"/>
|
||||
<node ref="U1" pin="31"/>
|
||||
</net>
|
||||
<net code="43" name="+3V3">
|
||||
<node ref="BT1" pin="1"/>
|
||||
<node ref="U1" pin="16"/>
|
||||
<node ref="J1" pin="2"/>
|
||||
<node ref="J3" pin="2"/>
|
||||
<node ref="C2" pin="1"/>
|
||||
<node ref="U2" pin="3"/>
|
||||
<node ref="U3" pin="3"/>
|
||||
<node ref="R1" pin="1"/>
|
||||
</net>
|
||||
<net code="44" name="SWDCLK">
|
||||
<node ref="J3" pin="4"/>
|
||||
<node ref="U1" pin="37"/>
|
||||
</net>
|
||||
<net code="45" name="SWDIO">
|
||||
<node ref="U1" pin="38"/>
|
||||
<node ref="J3" pin="3"/>
|
||||
</net>
|
||||
<net code="46" name="DataTemp">
|
||||
<node ref="U1" pin="7"/>
|
||||
<node ref="R1" pin="2"/>
|
||||
<node ref="U2" pin="2"/>
|
||||
</net>
|
||||
</nets>
|
||||
</export>
|
||||
Loading…
Reference in New Issue