• Hallo TT-Modellbahner, schön, dass du zu uns gefunden hast.
    Um alle Funktionen nutzen zu können, empfehlen wir dir, dich anzumelden. Denn vieles, was das Board zu bieten hat, ist ausschließlich angemeldeten Nutzern vorbehalten. Du benötigst nur eine gültige E-Mail-Adresse und schon kannst du dich registrieren.
    Deine Mailadresse wird für nichts Anderes verwendet als zur Kommunikation zwischen uns.
    Die Crew des TT-Boardes

Servodecoder mit ATMEGA

Hello yrij063,
I am sorry, but the schematic is working very well.
What is your problem?
Have you set the Fuses for the Atmega8 in the right way?
High Fuse 0xC9, Low Fuse 0x9F

Which type of optocoupler is fitted (6N136/6N137)?
For 6N136 Pin 7 is not connected
For 6N137 Pin 7 is connected to 5V


Some hint's:
1. To use with Multimaus, pleas use Switch Address 5 and above for first servo ( connect one Servo to Position 1 and one Servo to Position 5 and try switch-adr 1,5,9)
2. The LED is sometimes blinking and sometimes not, I do not know how and why??
3. The Multimaus could not read CV's in stand alone mode
4. CV's are in the range from 1 to 120 or 512 to 632 for Multimaus please use 1 to 120 and see Manual
5. Jumper off -> Decoder A Servo 1-4, Jumper on -> Decoder B Servo 5-8 (or vice versa)
6. Both Decoders using the same CV-Addresses, selection is done by Jumper
7. change R2 to 10K (330R is to strong!!)

8. change R3 to 1k5 or 2k2 (see http://opendcc.de/elektronik/HW1/platine_v12_schaltung.jpg)

Regards
ruhri
 
Zuletzt bearbeitet:
Thanks for the answer, Ruhri
1 Yes, I understood immediately and replaced R2 and R3 to the correct value.
2 CV's I read Open dcc commands Station.
3. optoron 6n136? 7 -not connectув, i know
7.fuses I configured on AVR Studio4.
8 I tried to put a second variant of the scheme with the new parts, but the problem has not been solved, too, sorry.
 
Thanks for the answer, Ruhri
1 Yes, I understood immediately and replaced R2 and R3 to the correct value.
2 CV's I read Open DCC commands Station.
3. optoron 6n136.7 -not connect, i know.
7.fuses I configured on AVR Studio4.
8 I tried to put a second variant of the scheme with the new parts, but the problem has not been solved, too, sorry.
 
Thanks for the answer, Ruhri
1 Yes, I understood immediately and replaced R2 and R3 to the correct value.
2 CV's I read Open DCC commands Station.
3. optoron 6n136.7 -not connect, i know.
7.fuses I configured on AVR Studio4.
8 I tried to put a second variant of the scheme with the new parts, but the problem has not been solved, too, sorry.
 
Hello yrij063,
the Open DCC Command Station has a very fast CV read-out.
Maybe the connection between DCC-IN and Atmega has a fault.
On older Open DCC Firmware, the readout took ages!!!

Try the following measurement:
1. remove Atmega8
2. connect circuit to power AC or DC
3. connect 9v Battery (Typ AM-6 / 6F22) to DCC-IN or a second DC-power supply (9-20V DC)
4. measure voltage on Pin 4 -> 5V or 0,2V (empty Atmega socket)
5. change polarity on DCC-IN
6. measure voltage on Pin 4 -> 0,2V or 5V (empty Atmega socket)
7. remove 9v Battery
8. connect DCC-Signal to DCC-IN
9. measure voltage on Pin 4 -> around 2,5V
10. if failed, please measure on Pin 6 6N136/137
11. if failed, please remove CNY7, check DCC-IN path (D2-D5)

Some other hints:
1. check 5V at Atmega8 Pin 1 and Pin 7
2. check 5V at 6N137/136
3. check 2,5V on Pin 9 and Pin 10 (Xtal) (Pin 9 and GND, Pin 10 and GND)
4. check connection from Pin 6 6N137 to Atmega Pin 4
5. connect 9V Battery to DCC-IN measure at Pin 2 and Pin 3 of 6N137 (+1,4V or -0,2V) change polarity for second value

Regards
ruhri
 
Zurück
Oben