Show Posts
Pages: 1 2 [3] 4 5 ... 19
31  Using Arduino / Sensors / Re: Is it possible to connect two Mag3110 sensors to one Arduino? on: October 28, 2013, 06:29:55 am
Google I2C multiplexer.
32  Topics / Robotics / Re: Turtle from an Arduino Uno on: October 12, 2013, 03:53:56 am
The Doodle bot is made by Dagu. They have a support site here: https://sites.google.com/site/daguproducts/ There you can find the instruction manual and sample code. Looks like a nice kit.
33  Topics / Robotics / Re: Dagu hexapod + IR sensors + PIR sensors on: October 09, 2013, 01:59:10 pm
Have you selected the right board in the Arduino IDE? From the photos on your site I can see that you are using a Dagu Red back spider controller. The first versions of this board had the ATmega1280, the latest versions have the ATmega2560. I suggest you take a good look at the chip on your board to see which micro controller you have and select the right board in the Arduino IDE (Arduino Mega 2560 or Arduino Mega 1280).
34  Using Arduino / Project Guidance / Re: How to interface Arduino Uno with nRF 2.4Ghz Transciever???? on: October 06, 2013, 04:40:22 am
You mean the Nordic nRF24L01 modules? Take a look at this: http://arduino-info.wikispaces.com/Nrf24L01-2.4GHz-HowTo
35  Using Arduino / Microcontrollers / Re: ATmega8L-8AU bootloader with external crystal on: September 30, 2013, 01:33:13 pm
Boot flash size is set to 256 words. Boot start address is $0F00.
I recompiled the bootloader, but how can I see how big it is?

/home/mathias/Arduino/arduino-mvm/hardware/tools/avr/bin/avr-gcc -g -Wall -Os -fno-inline-small-functions -fno-split-wide-types -mshort-calls -mmcu=atmega8 -DF_CPU=8000000L   '-DLED_START_FLASHES=3' '-DBAUD_RATE=38400'   -c -o optiboot.o optiboot.c
/home/mathias/Arduino/arduino-mvm/hardware/tools/avr/bin/avr-gcc -g -Wall -Os -fno-inline-small-functions -fno-split-wide-types -mshort-calls -mmcu=atmega8 -DF_CPU=8000000L   '-DLED_START_FLASHES=3' '-DBAUD_RATE=38400' -Wl,--section-start=.text=0x1e00 -Wl,--section-start=.version=0x1ffe -Wl,--relax -Wl,--gc-sections -nostartfiles -nostdlib -o optiboot_atmega8.elf optiboot.o
/home/mathias/Arduino/arduino-mvm/hardware/tools/avr/bin/avr-size optiboot_atmega8.elf
   text    data     bss     dec     hex filename
    480       0       0     480     1e0 optiboot_atmega8.elf
/home/mathias/Arduino/arduino-mvm/hardware/tools/avr/bin/avr-objcopy -j .text -j .data -j .version --set-section-flags .version=alloc,load -O ihex optiboot_atmega8.elf optiboot_atmega8.hex
/home/mathias/Arduino/arduino-mvm/hardware/tools/avr/bin/avr-objdump -h -S optiboot_atmega8.elf > optiboot_atmega8.lst
rm optiboot.o optiboot_atmega8.elf

Is the 480 the size of the bootloader? A bit of extra space wouldn't hurt smiley
36  Using Arduino / Microcontrollers / Re: ATmega8L-8AU bootloader with external crystal on: September 29, 2013, 06:15:03 am
I got it to work with these settings:

##############################################################

atmega8l.name= Bajdi ATmega8L

atmega8l.upload.protocol=arduino
atmega8l.upload.maximum_size=7168
atmega8l.upload.speed=38400

atmega8l.bootloader.low_fuses=0xbf
atmega8l.bootloader.high_fuses=0xcc
atmega8l.bootloader.path=optiboot
atmega8l.bootloader.file=optiboot_atmega8.hex
atmega8l.bootloader.unlock_bits=0x3F
atmega8l.bootloader.lock_bits=0x0F

atmega8l.build.mcu=atmega8
atmega8l.build.f_cpu=8000000L
atmega8l.build.core=arduino
atmega8l.build.variant=standard

Had to recompile the bootloader for a baudrate of 38400, couldn't upload any sketches with a baudrate of 115200. According to this site 115200 is much to fast for 8MHz: http://www.wormfood.net/avrbaudcalc.php
37  Using Arduino / Microcontrollers / Re: ATmega8L-8AU bootloader with external crystal on: September 28, 2013, 12:54:27 pm
make atmega8
/home/mathias/Arduino/arduino-mvm/hardware/tools/avr/bin/avr-gcc -g -Wall -Os -fno-inline-small-functions -fno-split-wide-types -mshort-calls -mmcu=atmega8 -DF_CPU=8000000L   '-DLED_START_FLASHES=3' '-DBAUD_RATE=115200'   -c -o optiboot.o optiboot.c
/home/mathias/Arduino/arduino-mvm/hardware/tools/avr/bin/avr-gcc -g -Wall -Os -fno-inline-small-functions -fno-split-wide-types -mshort-calls -mmcu=atmega8 -DF_CPU=8000000L   '-DLED_START_FLASHES=3' '-DBAUD_RATE=115200' -Wl,--section-start=.text=0x1e00 -Wl,--section-start=.version=0x1ffe -Wl,--relax -Wl,--gc-sections -nostartfiles -nostdlib -o optiboot_atmega8.elf optiboot.o
/home/mathias/Arduino/arduino-mvm/hardware/tools/avr/bin/avr-size optiboot_atmega8.elf
   text    data     bss     dec     hex filename
    480       0       0     480     1e0 optiboot_atmega8.elf
/home/mathias/Arduino/arduino-mvm/hardware/tools/avr/bin/avr-objcopy -j .text -j .data -j .version --set-section-flags .version=alloc,load -O ihex optiboot_atmega8.elf optiboot_atmega8.hex
/home/mathias/Arduino/arduino-mvm/hardware/tools/avr/bin/avr-objdump -h -S optiboot_atmega8.elf > optiboot_atmega8.lst
rm optiboot.o optiboot_atmega8.elf

Ok, I've managed to compile an optiboot bootloader for the ATmega8 @ 8MHz using the tools provided with the IDE. Took me some time to figure everything out. But I can't fugure out the fuses, so many options. Anyone that can help me? I have an ATmega8L-8AU with an external 8MHz crystal, chip is running at 5V.
38  Using Arduino / Installation & Troubleshooting / Re: Arduino Robot upload problems on: September 27, 2013, 04:05:58 pm
You are selecting the right board in the IDE? There is a different entry in the board selection for the robot control board and the robot motor board.
39  Using Arduino / Microcontrollers / ATmega8L-8AU bootloader with external crystal on: September 27, 2013, 12:25:39 pm
I've just soldered up a new board. It has an ATmega8L-8AU micro controller with an external 8MHz crystal. Now I want to burn an Arduino bootloader with my USBasp. But I haven't found the right boards.txt and bootloader setting for this combination. I did find a bootloader for an ATmega8L but it uses the internal clock. http://www.hackmeister.dk/2011/01/new-bootloader-file-for-atmega8l/
Can I use this bootloader and just change the fuse settings in boards.txt? If so how what value should they be set?
40  Using Arduino / Motors, Mechanics, and Power / Re: Possible to buy Rover 5 geared motors separately? on: September 19, 2013, 06:14:19 am
The Rover 5 is made by Dagu, a Chinese company. Why not contact them? http://www.dagurobot.com/
One of their employees posts on the letsmakerobots.com forums under the nickname OddBot. Could ask there also.
41  Topics / Robotics / Re: Servos jumping to max position on: September 18, 2013, 05:34:26 am
For powering lots of servos I use Lipo batteries (2S - 3S) with UBECs to drop the voltage.
42  Using Arduino / General Electronics / Re: where can i buy triple row right angle pin headers? on: September 07, 2013, 04:26:03 am
If you are a patient man you can buy them on Ebay from Chinese sellers for a lot less. 5$ for 5pcs http://www.ebay.com/itm/5Pcs-Gold-Plated-2-54mm-3x40-Pin-120-Pin-Right-Angle-Male-Pin-Header-Strip-/171004593777?pt=LH_DefaultDomain_0&hash=item27d0ab0671
43  Using Arduino / Programming Questions / Re: RF24 and RF24Network library error on: September 06, 2013, 06:26:17 pm
libraries\RF24\RF24.cpp:9:22: error: nRF24L01.h: No such file or directory

This means that the compiler can not find the library. So you've installed it in the wrong directory? Have you read this: http://arduino.cc/en/Guide/Libraries
44  Using Arduino / General Electronics / Re: Power consumption on: August 21, 2013, 02:31:06 am
Feeding 5V to the barrel jack is not going to work. Recommended input voltage is 7-12V.
45  Using Arduino / Networking, Protocols, and Devices / Re: Two nRF24L01+/Arduino UNOs don't talk to each other on: July 06, 2013, 10:37:05 am
That code works for me in Arduino 1.0.5. Are you sure you are connecting them correctly? I never use the 3V3 power from the Arduino, to noisy...
Pages: 1 2 [3] 4 5 ... 19