Show Posts
Pages: [1] 2 3 ... 7
1  International / Deutsch / Re: Arduino in der Schule on: September 19, 2013, 03:36:39 pm
Je nach Vorkenntnissen könnte Scratch adaptiert werden, das ist eine ideale Umgebung für Anfänger, für die es Materialien gibt
http://seaside.citilab.eu/scratch/downloads
Auch
http://www.schulcommsy.de/wikis/276082/2535017/Main/2012-02-13

Je nach Bedingungsfeld finde ich die IDE des Arduino als Umgebung (fast) überall als passend.

Grüße
2  International / Deutsch / Re: Arduino als kabelloser Temperatur-Sensor? on: September 08, 2013, 12:23:11 pm
Nimm doch einen Attiny44 (1-2 Euro) oder etwas noch kleineres, einen Sensor (1 Euro) und in der Bucht die Nummer 330908570273 (4pcs 433Mhz WL RF transmitter and receiver link kit for Arduino/ARM/MCU, für 4 Euro gleich 4 Sender und Empfänger).
Den Attiny programmierst Du über einen Arduino. Hat einen Stromsparmodus und alles, was man braucht. Wozu gleich einen Atmega?

Sowas habe ich auch demnächst vor, zur totalen Überwachung meiner vier Wände - der NSA immer einen Schritt voraus ;-)

Grüße
3  Using Arduino / Installation & Troubleshooting / Re: Arduino Mega 1280 - unable to program ( bootloader ) on: September 08, 2013, 05:48:50 am
Yes, the result of the uploading and verifing of the bootloader with your programmer and the sketch-uploading-problem resp. the updating of the boards.txt suggests, that your programmer works.
I wasn't aware of this interaction with the txt-file (and much more things).
I'm glad that my 1280 works now and has a working WTD.

Thank you and Retrolefty for your help!
4  Using Arduino / Microcontrollers / Re: Mega1280 and watchdog on: September 07, 2013, 12:37:00 pm
And the answer to my question can be found here:
http://forum.arduino.cc/index.php?topic=100881.msg1382178#msg1382178
5  Using Arduino / Installation & Troubleshooting / Re: Arduino Mega 1280 - unable to program ( bootloader ) on: September 07, 2013, 12:30:59 pm
Now, it's a Uno :-)
6  Using Arduino / Installation & Troubleshooting / Re: Arduino Mega 1280 - unable to program ( bootloader ) on: September 07, 2013, 12:25:19 pm
Retrolefty, thank you for your solution.
It worked and my sketches land now on the board!

P.S. I try now to change the bootloader at the Duemilanove to optiboot.
7  Using Arduino / Installation & Troubleshooting / Re: Arduino Mega 1280 - unable to program ( bootloader ) on: September 07, 2013, 11:24:37 am
Nick, thank you for the answer, retrolefty is right with the WTD-problem.
The changing of the bootloader worked immediately, here is the result of a second run:
Code:

Atmega chip programmer.
Written by Nick Gammon.
Entered programming mode OK.
Signature = 0x1E 0x97 0x03
Processor = ATmega1280
Flash memory size = 131072 bytes.
LFuse = 0xFF
HFuse = 0xDE
EFuse = 0xF5
Lock byte = 0xEF
Clock calibration = 0x97
Bootloader address = 0x1FC00
Bootloader length = 504 bytes.
Type 'V' to verify, or 'G' to program the chip with the bootloader ...
Verifying ...
No errors found.
Done.
Type 'C' when ready to continue with another chip ...

But the uploading of (compiled) sketches doesn't work on the mega1280 now. I got the following result:
avrdude: stk500_getsync(): not in sync: resp=0x00

I didn't check yet Retrolefty's solution.
8  Using Arduino / Installation & Troubleshooting / Re: Arduino Mega 1280 - unable to program ( bootloader ) on: September 06, 2013, 08:01:31 am

Thank you for the description and your sketch, which I also use. For the "upload" I use a Duemilanove with your programmer-sketch v1.18. The signature is "0x1E 0x97 0x03". The IDE is 1.0.5.
I try now to upload the 2560 and optiboot-bootloader onto a Mega 1280. It's because of the watchdog problem, that I have with the old bootloader. It's a bit unconventional, but I simply renamed the 2560-bootloader to "ATmegaBOOT_168_atmega1280.hex" and pushed it to the Mega. Well, it worked - but the bootloader semms not to work - uploading of a sketch is not possible. I get the following error:
avrdude: stk500_getsync(): not in sync: resp=0x00

Nick, do you please have a hint how to program it right?



9  Using Arduino / Microcontrollers / Re: Mega1280 and watchdog on: September 05, 2013, 01:39:25 pm
I'll try to fix the bootloader.
I use the Duemilanove, upload the ISP programmer from examples. When I switch the board to 2560 (connecting the 1280) I get the following error
"avrdude: Expected signature for ATMEGA2560 is 1E 98 01
         Double check chip, or use -F to override this check."

I'm sorry for this question: is there a secure and not to difficult way to get the bootloader onto the 1280?
10  Using Arduino / Microcontrollers / Re: Mega1280 and watchdog on: September 05, 2013, 01:37:25 am
The Mega 1280 is sort of backup for my larger Mega 2560 that controls my heating system.

Now I replaced the larger with the smaller one and found out, that the watchdog makes problems.

The sketch with the watchdog compiles and 1280 accepts the code. But when the watchdog resets the 1280, a led begins to blink and the system freezes.

At the 2560 I had to update the bootloader to get it right. Is there some simple way to get the bootloader of the 1280 to work?
11  International / Deutsch / Re: Bootloader beim Mega2560 on: August 31, 2013, 03:31:19 am
Ja, der Bootloader beim 2560 hatte bisher (mind.) zwei Probleme. Das "!!!"-Problem im Quelltext und der Watchdog.
Ich habe einen Duemillanove, mit dem ich den Mega mit dem Bootloader "neu betankt habe". Es ging bei mir ohne Widerstand und Elko mit Hilfe des Programms unter
http://www.gammon.com.au/forum/?id=11635

Grüße
12  International / Deutsch / Re: Bootloader beim Mega2560 on: August 30, 2013, 05:08:14 pm
Und wieder ein paar Stunden verbraten... Der Bootloader des Mega 2560 ist nun aktualisert. Ich habe nicht gedacht, dass ich damit auch mein "!!!"-Problem wegkriegen würde :-)
Nun läuft auch hoffentlich der Watchdog stabil...
13  International / Deutsch / Bootloader beim Mega2560 on: August 27, 2013, 03:27:52 pm
Guten Abend,

bitte um eine leicht verständliche Antwort auf eine Frage:

Der Bootloader des Mega (den auch ich verwende) hat anscheinend Fehler (https://github.com/arduino/Arduino/pull/1183).
Bedeutet die Revision der IDE 1.0.4 ff., dass die IDE die Probleme umgeht oder muss ich nun den Bootloader des Mega flashen, um in den Genuß der Fehlerfreiheit zu kommen?

Das interessiert mich, weil ich meine Heizungssteuerung "produktiv" laufen lassen und für den Fall der Fälle den Watchdog einsetzen möchte. Dieser hat aber anscheinend ein Problem mit dem Mega (vgl. https://github.com/arduino/Arduino/issues/181).

Grüße und Danke
14  Using Arduino / Motors, Mechanics, and Power / Re: Arduino, Relays and separate power supplies on: August 27, 2013, 10:23:55 am
Thank you for the questitions.
1) At most I turned all on, but the problems were also present, when I turned a single one: the one of the valve (when it was connected to power; when this relay was not connected to 230V-power everything worked)
2) Both were separate; two different power supplies even on different 230V-Lines of the house, GNDs not connected.
3) Yes
15  Using Arduino / Motors, Mechanics, and Power / Re: Arduino, Relays and separate power supplies on: August 22, 2013, 02:11:42 pm
It has the following ebay-Url:
http://www.ebay.de/itm/251125409076?ru=http%3A%2F%2Fwww.ebay.de%2Fsch%2Fi.html%3F_sacat%3D0%26_from%3DR40%26_nkw%3D251125409076%26_rdc%3D1

But maybe it is not the snubber, that produces the problem.
The display garbage etc. do also occur, when the relais doesn't switch at all.

I guess, there is some electrical "misunderstanding" or incompatibility of some kind when connecting arduino the the relays. Here is the ebay-picture:
http://www.ebay.com/itm/New-8-Channel-5V-Relay-Module-8-Kanal-Relais-for-Arduino-DSP-AVR-PIC-ARM/250944121324?rt=nc&_trksid=p2047675.m1851&_trkparms=aid%3D222002%26algo%3DSIC.FIT%26ao%3D1%26asc%3D287%26meid%3D754012616025879792%26pid%3D100005%26prg%3D1073%26rk%3D4%26rkt%3D5%26sd%3D320853753972%26
Pages: [1] 2 3 ... 7