My Slim 2AA Battery Node
-
@Matt-Pitts You can find a BOM for the board here:
https://www.openhardware.io/view/10/My-Slim-2AA-Battery-Node
-
A nice additions would be a place to solder a ATSHA204A on board like the Sensebender! I'll try to make the change in KiCad!
-
A nice additions would be a place to solder a ATSHA204A on board like the Sensebender! I'll try to make the change in KiCad!
-
Thanks @GertSanders for showing me the BOM I hadn't realised it was there, but do I need everything listed there to get it working properly?
-
Thanks @GertSanders for showing me the BOM I hadn't realised it was there, but do I need everything listed there to get it working properly?
@Matt-Pitts
I'm assuming that if a designer goes through the trouble of listing items on a bom, they are needed.But you are right, that is not always the case. I'm not at my Mac (using a miniscreen now), so i can not multitask.
-
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
-
@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? -
@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. -
I have not had success to upload a sketch via FTDI on an Arduino ProMini using Optiboot. When I flash an ordinary bootloader (Taken from the Arduino IDE), I can easily upload a sketch via FTDI.
so that's why I recommend to flash a standard bootloader and check if you then can upload a sketch afterwards. -
I have not had success to upload a sketch via FTDI on an Arduino ProMini using Optiboot. When I flash an ordinary bootloader (Taken from the Arduino IDE), I can easily upload a sketch via FTDI.
so that's why I recommend to flash a standard bootloader and check if you then can upload a sketch afterwards. -
Hi I'm just about to start ording parts of the slim node. Looking through the thread I'm thinking based on my limited knowledge of arduino, I might be better off buying chips which already have a bootloader installed?
Can people advise, how difficult is it to upload the boot loader? Thanks
-
@Matt-Pitts - Not that hard if you read about it. Here are some good links:
-
-
@Tom71
well I have not yet started to use the Mysensor specific bootloader. When I use the optiboot, I upload sketch with my USBtiny (so no FTDI), and when I use FTDI for uploading sketch I used the "Arduino Pro or pro mini (3,3V, 8MHz) w/ATmega328"@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.
-
@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.
-
Difference is that if you use a ISP programmer you will use the complete memory. You can use ISP to upload a bootloader which is required to burn a sketch with ftdi into remaining memory but its possible to use a ISP to flash a sketch without bootloader as well.
-
Hi I'm just about to start ording parts of the slim node. Looking through the thread I'm thinking based on my limited knowledge of arduino, I might be better off buying chips which already have a bootloader installed?
Can people advise, how difficult is it to upload the boot loader? Thanks
@Matt-Pitts
Depending of your Arduino, the USBtiny is easy to use. Maybe your Aeduino have the pinheader so then only click the cable and burn bootloader. I use Arduino Pro Mini and have an adapter ZIF socket that fits my Arduino ProMini
https://learn.adafruit.com/usbtinyisp -
@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.