Hi!
Ich habe probiere grade einen IR einschalter nachzubauen,wie es hier beschrieben wird.
http://www.linux-magazin.de/Ar…alter/ir-einschalter.html
soweit so gut den programmer und die erste testschaltung ist fertig!
der programmer gibt mir das aus!
root@Box:/home/chef# sp12 -i
SP12 version 2.1.0 performing init...
Path to _sp12rc and _sp12dev: /root/.sp12/
Running in SP12 cable/dongle compatible mode.
Enabling AVR serial reading/programming...
The device code bytes 0,1,2: 0x1e, 0x91, 0x3 were read
from parallel port 0x378 and indicate the following:
You have connected an AT90S2343 or Tiny22
The device was made by Atmel
Writing 0000 (0, B00000000) to the parallel port data bits.
Sp12 was active for 0.05 seconds.
root@Box:/home/chef# sp12 -wpf /root/.sp12/IREin/IREIN.HEX
SP12 version 2.1.0 performing init...
Path to _sp12rc and _sp12dev: /root/.sp12/
Running in SP12 cable/dongle compatible mode.
Enabling AVR serial reading/programming...
The device code bytes 0,1,2: 0x1e, 0x91, 0x3 were read
from parallel port 0x378 and indicate the following:
You have connected an AT90S2343 or Tiny22
The device was made by Atmel
Performing chip erase...
Writing content of /root/.sp12/IREin/IREIN.HEX into program area.
ooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo
/root/.sp12/IREin/IREIN.HEX written and verified.
write retries: 0
Writing 0000 (0, B00000000) to the parallel port data bits.
Sp12 was active for 2.04 seconds.
PS. beim Programmer habe ich den quarz und die c2 und c3 weggelassen!und 4 und 5 mit Masse verbunden.
Ich denke er hats gefressen.Obwohl ich mir nicht ganz sicher bin.
Die Schaltung habe ich ganz normal nachgebaut. Und messe an pin 7 um die 5V und wen ich ein ir signal sende fällt die spannung auf ca 3.irgendwas volt ab.(das soll es wohl auch.)
jetz müßte der Attiny doch auf pin 5 für 2 sek Strom führen tut er aber nicht.
Wen ich die jumper (pin2+gnd) überbrücke und mit der FB spiele tut sich nix.
Wie müßte er sich hier verhalten?
Ich habe das gefühl das der tiny garnicht richtig programiert ist.
Weiß einer Rat?