Did anybody tested this board with an ATSHA204A on A2? The ATSHA204A works with 2.0 to 5.5 V.
Posts made by Tom71
-
RE: My Slim 2AA Battery Node
-
RE: Slim Node as a Mini 2AA Battery PIR Motion Sensor
@Mikael-Kermorgant I'm using fhem. It is possible, that I can set an offline state after 20sec with fhem. I will try this.
-
RE: Slim Node as a Mini 2AA Battery PIR Motion Sensor
Hello,
I've successfuly uploaded these sketch to my Atmega328p. It works fine. Two things I want add:- I have changed the speed in the file MyConfig_h -> #define BAUD_RATE 9600 (otherwise I got nothing at the serial output)
- The sensor sends an 1 on "motion". How can I send an 0 on "no Motion" after 20sec? (low on data pin?)
Thank you
-
RE: My Slim 2AA Battery Node
@bjacobse Which Optiboot loader did you exactly use? I can try it. I have an Arduino Pro Mini.
-
RE: My Slim 2AA Battery Node
@bjacobse I'm out of fucus. What was the problem? Can you burn the bootloader+sketch with an USBtiny on an bare Atmgea328p? Connected on MISO/MOSI/SCK/RESET/VCC/GND?
The Arduino Pro Mini is different from the Atmgea328p. On the arduino is an external clock. -
RE: My Slim 2AA Battery Node
@bjacobse I thought the USBtiny is only to upload the bootloader, not the mysensors software.
I did two things:- Burn the bootloader atmega328_1a.hex to an bare Atmega328p with an Arduino as ISP
- Upload an simple scetch to the Atmega with an RX/TX uploader (I used an USB to TTL with an FTDI and also an Ardunino Uno without the Atmega chip, like here http://forum.mysensors.org/uploads/files/1454449901412-7.png) Both are working.
I'm still waiting for the PCB. After receiving I want to build the motion sensor.
-
RE: My Slim 2AA Battery Node
@m26872 Sure, but not with an bootloader (optiboot with intenal clock) on an bare Atmega. Later I will try this: http://forum.mysensors.org/uploads/files/1454449901412-7.png
I build some MySensors with an Arduino Micro, but not with only an Atmega.Update: I don't know what's different, but this works. Perhaps I forget to connect Reset from FDL -> Pin 1.
Now I can upload simple sketches. -
RE: My Slim 2AA Battery Node
@bjacobse No, used the bootloader from here (http://forum.mysensors.org/uploads/files/1443392692398-atmega328_1a.hex). This is an bootloader for the internal clock.
Baud settings to upload the sketch or the bootloader? -
RE: My Slim 2AA Battery Node
Hello,
I have problems to upload the scatch to the bare Amtel. I use an USB-TTL FTL Adaper and connect, RX/TX and Reset Pin with 100n->DTR. But I got always errors on uploading.The bootloader I have successfull burned with an raspberry pi and gpio (http://www.lxccu.com/hb-raspberry-bootloader-update
sudo bin/avrdude -Cbin/avrdude.conf -p m328p -P gpio -c gpio -U lfuse:w:0x62:m -U hfuse:w:0xde:m -U efuse:w:0x07:m -U lock:w:0x2F:m -e -Uflash:w:1443392692398-atmega328_1a.hex:i
avrdude: safemode: Fuses OKHow can I got it working?
Thank youThomas
-
MySensors and Arduino IDE 1.6.7
Hello, i have Problems to compile MySensors Serial Gateway with the latest Adruino IDE 1.6.7 and the development Version from MySensors. There is no USBDevice.init() anymore. I disabled the call in MyMainDefault.cpp and it compiles an works fine. Is this an workaround?
Thomas -
RE: Pro Micro Hookup and Code
I got also problems to upload the scetch to an arduino micro. After uploading the micro does not connect on any COM-Port. Only if I reset the bootloader, I can write other sample scetches to the micro. So it seams, that the gateway code does not working well with an arduino micro.
-
RE: My Ideal sensor node PCB
I'm also interested on your PCB board design. Can you share it? Thank you.