[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 583: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 639: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4516: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3262)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4516: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3262)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4516: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3262)
• Funktionsdekoder
Seite 1 von 1

Funktionsdekoder

Verfasst: So 22. Okt 2017, 11:39
von little.yoda
Hi

Da ich per PM gefragt wurde, wie ein reiner Funktionsdekoder aussehen könnte und wie dann die MCPP23017 Ansteuerung aussieht:

Man könnte den Lokdekoder nehmen und einfach alles was man für die Motorsteuerung nutzt, nicht bestücken/nutzen.

Anbei der Schaltplan, wie ich es beim Lokdekoder gelöst habe:

AnsteuerungMCP23017.png
ich weiß, Schönheitspreise gewinne ich damit nicht ;-)

Für den i²c Bus können fast(!) alle PIN genutzt werden. Zwei Pull-up stellen sicher, dass der i²c BUS korrekt funktioniert. In dem Schaltplan habe ich ein Teil der MCP23017-Pin durch einen ULN2803A "verstärkt", damit auch größere Lasten geschallten werden können.

Da ich den MCP23017 nur als Ausgänge nutze, nutzte ich die Interrupt-Pine nicht.

Ein Config-File für meine Decoder-Software liefere ich gerne bei Bedarf nach.