Hi!
I have the same problem as terxw. allpcb.com is missing the "NC drill date". Unfortunately I am not able to create this on my own. Can anybody upload this file?
Thanks
I built a trip wire for the post box that I'm connecting. It's however based on a mercury tilt sensor so I'm really not sure whether I think it's a great idea putting it to use (at least not with a sturdy case...). However, I can share my code:
#define DIGITAL_INPUT_SENSOR 2 // The digital input you attached your motion sensor. (Only 2 and 3 generates interrupt!)
#define INTERRUPT DIGITAL_INPUT_SENSOR-2 // Usually the interrupt = pin -2 (on uno/nano anyway)
MyMessage msgTripped(CHILD_ID_TRIPPED, V_TRIPPED);
void setup()
{
gw.sendSketchInfo("Postal", "1.0");
gw.present(CHILD_ID_TRIPPED, S_MOTION);
pinMode(DIGITAL_INPUT_SENSOR, INPUT); // sets the motion sensor digital pin as input
}
void loop()
{
boolean tripped = digitalRead(DIGITAL_INPUT_SENSOR) == LOW;
if(tripped) {
gw.send(msgTripped.set("1")); // Send tripped value to gw
}
gw.sleep(INTERRUPT,FALLING, SLEEP_TIME);
}
@sebdetours said in MDMSPanel "Nextion":
Did you take a standart case that you cut out?
Hi @sebdetours, yes. This is G1910 (Gainta) box. See drawing attached to projet files.
Awesome project, I wish I made something like this.
(I actually wanted to make something like this when I was in school)
Very clean and nice presentation and realization, with a lot of attention to details. All is very realistic, I can imagine that it took quite some time making it.
Thanks for sharing the details!
New to electronics and progamming.... hence excuse rather dumb nature of my query .. recently purchase the Devduino V2.2 OTA version and am trying to figure out if the device comes pre loaded with the arduino bootloader. ??
@MiKa
Hi.
oki, in case i'll add some explanation.. I'll be busy for this week but you can simply use the serial gw example from MySensors for getting started, this should work. I didn't need to create a special board in arduino for this board, so if you're using it, you'll need to install&use the mattairtech SAMD21 board definition for the pin mapping.
https://github.com/mattairtech/ArduinoCore-samd