💬 Stamp size MySensor node
-
And here is a ZIP file with my complete atmega328p definitions
@GertSanders Many thanks for your help. This is probably my bad luck, but I have mixed up C1 and R1 mounting them vertically (not horizontally). What a stupid mistake really given that I have checked it a few times. Anyway, now everything is working.
FYG, I looked at your pins_arduino.h - this is a standard one and it is not correct. I corrected the following entries:
static const uint8_t SS = 14; static const uint8_t MOSI = 15; static const uint8_t MISO = 16; static const uint8_t SCK = 17; static const uint8_t SDA = 27; static const uint8_t SCL = 28; #define LED_BUILTIN 8 static const uint8_t A0 = 23; static const uint8_t A1 = 24; static const uint8_t A2 = 25; static const uint8_t A3 = 26; static const uint8_t A4 = 27; static const uint8_t A5 = 28; static const uint8_t A6 = 19; static const uint8_t A7 = 22; -
@GertSanders Many thanks for your help. This is probably my bad luck, but I have mixed up C1 and R1 mounting them vertically (not horizontally). What a stupid mistake really given that I have checked it a few times. Anyway, now everything is working.
FYG, I looked at your pins_arduino.h - this is a standard one and it is not correct. I corrected the following entries:
static const uint8_t SS = 14; static const uint8_t MOSI = 15; static const uint8_t MISO = 16; static const uint8_t SCK = 17; static const uint8_t SDA = 27; static const uint8_t SCL = 28; #define LED_BUILTIN 8 static const uint8_t A0 = 23; static const uint8_t A1 = 24; static const uint8_t A2 = 25; static const uint8_t A3 = 26; static const uint8_t A4 = 27; static const uint8_t A5 = 28; static const uint8_t A6 = 19; static const uint8_t A7 = 22;@alexsh1
OK, I will check also on my side :-) Thanks for the feedback. -
@alexsh1
OK, I will check also on my side :-) Thanks for the feedback.@GertSanders No worries! And signing works flawlessly on this node as well with ATSHA204A by the way :)
-
-
@GertSanders You are welcome :) Btw, if you just patch in support to generate random data for a nonce, you can use the soft signing backend on rPi.
-
@GertSanders You are welcome :) Btw, if you just patch in support to generate random data for a nonce, you can use the soft signing backend on rPi.
@Anticimex
Well that sounds simple, but I'm more a hardware contributer, this is beyond my capabilities :-), especially in unix arena. I manage software developers for a living, so I know how much I do not know. -
Hello guys,
I am about to solder first PCB of this version. Just to be 100% sure, regarding C4 - what is the best value to use 1uF or 10uF, because I can see we can choose.
Regards,
MaciekBetter to use 10uF. The schematic needs to be updated (still shows 1uF, I use 10uF now).
-
Thank you for the update,
Last part what I am missing is battery holder. I was trying to search it in many stores located in my country however I was not able to get it. Is there any internet shop when I can buy online? I have one workaround to soldier different CR battery holder and connect via wires. -
Thank you for the update,
Last part what I am missing is battery holder. I was trying to search it in many stores located in my country however I was not able to get it. Is there any internet shop when I can buy online? I have one workaround to soldier different CR battery holder and connect via wires. -
@macieiks I bought the battery holder on http://www.ebay.co.uk/
-
@AWI I just put a link to an eBay. You put "Keystone 3013" in the search and hit search :-)
-
@alexsh1 do you plan to use this so small coincell with rfm69? very curious to see results regarding internal res during RX-Tx times...1.8V brownout should not be far i think..or maybe not :) because the voltage won't stay at 3v ;) but to counter effect, a nice capa at input with a current limiting resistor could help. reading/waiting voltage stabilize before transmitting can help too (I'm doing this with some CR2032 based nodes)
-
-
@alexsh1 do you plan to use this so small coincell with rfm69? very curious to see results regarding internal res during RX-Tx times...1.8V brownout should not be far i think..or maybe not :) because the voltage won't stay at 3v ;) but to counter effect, a nice capa at input with a current limiting resistor could help. reading/waiting voltage stabilize before transmitting can help too (I'm doing this with some CR2032 based nodes)
@scalz Yes, that's the plan, but I think I'll come across many difficulties. For now I have the nrf24l01+ version fully working. And started scratching the surface with RFM69. This is nrf24l01+ SMD version and swapping it for RFM69 is not going to be easy. So far I have not seen any adapters for the SMD version.
-
I have just updated a stamp size node to MySensors 2.1.1 and had to include the following into the sketch:
#define MY_RF24_CE_PIN 9
#define MY_RF24_CS_PIN 10
#define MY_SOFTSPI
#define MY_SOFT_SPI_SCK_PIN 13
#define MY_SOFT_SPI_MISO_PIN 12
#define MY_SOFT_SPI_MOSI_PIN 11The fist two lines are not required (it is in the MyConfig.h), but for me to understand how nrf24l01+ is connected.
I hope it helpsRegards
Alex -
Hi @GertSanders, @alexsh1
I'm considering to build a few nodes with this design, could anyone that have done and tested these give some feedback on how it work? Battery life etc. In my case I will mostly use it as window/door sensor and water leakage sensor so it would not send data to frequently.
Thanks for any input.
-
@GertSanders,
Thank you for the nice, small design. I'm trying to build one myself, but I'm running into issues burning the bootloader using the ArduinoISP sketch on an Arduino Nano (328). Looking at the schematics, the pins of the ICSP header (from left to right, if the headers are facing you) are:
Reset => Pin 10 of Nano
SCK => Pin 13 of Nano
MISO => Pin 12 of Nano
MOSI => Pin 11
VCC => VCC on Nano
GND => Gnd on NanoI set the board to Arduino Pro or Pro Mini in the Arduino IDE, selected Arduino as ISP and tried to burn the bootloader, but there always is the error message:
avrdude: Expected signature for ATmega328P is 1E 95 0F
Double check chip, or use -F to override this check.
Error while burning bootloader.Any idea what's wrong?
I built two copies of the board, and I get the same message with both. (mirroring the connectors of the ICSP header doesn't work, either).
Thanks a lot!
