Category: µControllers


A!

Arduino Day

c’t hacks

Arduino – The Documentary

 

 

AVRISP

Installing bootloader on ATMEGA328P

001

002

003

P1020293

004

LED status while writing bootloader

RBBB & EtherCard

Direct connect between RBBB and EtherCard:

RBBB >>> EtherCard
D13  >>> SCK
D12  >>> MISO
D11  >>> MOSI
D8   >>> B0
RST  >>> RST
PWR  >>> PWR
GND  >>> GND

If you get “error: WProgram.h: No such file or directory” while compiling, make sure to change

#include "WProgram.h"

to

#if defined(ARDUINO) && ARDUINO >= 100
#include "Arduino.h"
#else
#include "WProgram.h"
#endif
in the header files of included libraries.

If you are using “custom hardware” like having a naked 328p on a breadboard and you get an error like “pins_arduino.h: No such file or directory” when trying to compile, just add the following line to the relevant boards.txt:

atmegaXXX_XX.build.variant=arduino:standard

The complete block in your boards.txt could look like this:

atmega328bb.build.mcu=atmega328p
atmega328bb.build.f_cpu=8000000L
atmega328bb.build.core=arduino:arduino
atmega328bb.build.variant=arduino:standard

bare ATMEGA328P

 

 

Arduino ISP

P1020293

P1020297

P1020299

socket pin 01 to arduino digital 10
socket pin 07 to arduino +5V
socket pin 08 to arduino GND
socket pin 09 to arduino digital 09
socket pin 17 to arduino digital 11
socket pin 18 to arduino digital 12
socket pin 19 to arduino digital 13
socket pin 20 to arduino +5V
socket pin 22 to arduino GND

arduino-as-isp

Using the most recent Arduino IDE 1.0.2 one has to setup the following to get the Jeenode v5 working:

As board select: “Arduino Duemilanove w/ ATmega328”

For the Serial Monitor choose: 57600 baud

To get the FTDI Basic USB to Serial Adapter working on Win7 have a look here:

http://www.ftdichip.com/Drivers/VCP.htm

 

Wohoo! stalker and uno talking to each otherI got the communication up and running.

receiving timestamp, temperature and humidity

Have two of them ready now.