Editing
Relaisboard
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{Project |name=Relaisboard |description=8x 230V Relais, seriell schaltbar |project category=Hardware |location=User:penma |status=obsolete |people={{U|derf}}, {{U|feuerrot}} }} Irgendwas von mattronik, mit ATTiny2313, Seriellem Port und 8 Relais. AVR-Firmware lässt sich nicht auslesen, entweder wegen fusebits oder aufgelöteten Bauteilen. [[Has video::http://www.youtube.com/watch?v=EPPx2resOs4|Klackern]] kann es aber schon... == Serial Connection == * Baudrate 9600 * Parity none * databits 8 * stopbits 1 * handshake none == Protokoll == 4 Byte? Laut Hersteller (könnte aber fürs falsche Modell sein): * 1 Byte Befehl "Relais Schalten": ''0x01'' * 1 Byte Addresse: ''0x01'' * 1 Byte Befehl * 1 Byte Parity: ''byte1 xor byte2 xor byte3'' (in unserem Fall ''== byte3'') == Test == [[Has repo::https://github.com/chaosdorf/serialdings|Testcode]]. Funktioniert prima mit den Boards aus dem Fnordeingang (jüngere Version), mit unserem passieren nur komische Dinge. Tabelle der Form: Befehl, Output (_ aus, o an), Antwortbytes. Jeweils binär. Ja, ein Befehl kann verschiedene dinge erzeugen und ich weiß nicht warum. * 00000000 ____oooo 00000000 * 00000000 ________ 00000000 * 00000001 ________ 00000000 * 00000010 o____o__ 01100000 00011111 * 00000010 __o____o 00000110 * 00000011 __oo___o * 00000100 _______o 00000000 * 00000110 o____o__ 01100000 00011111 * 00000110 __o____o 00000001 * 00001000 _o____oo 00011000 * 00001000 _o____o_ 00011000 01111111 * 00001001 o____o__ 01100000 00011111 * 00001010 oo___oo_ 01111000 01111111 * 00001010 __o____o 00000000 * 00001010 _o____oo 00011000 == Braindump == === feuerrot === Neue Firmware drauf und gut? Serielle Dinge sind bei 9k6B ohne Quarz kein Hexenwerk.<br> Ich tat mal: [[Has repo::https://github.com/chaosdorf/relaisboard|Githug]] Wen du ihn geflasht kriegst... mit normalen r0ket-foo (d.h. ohne externe clock) wird der AVR nämlich gar nicht erst erkannt --[[User:Derf|Derf]]
Summary:
Please note that all contributions to Chaosdorf Wiki are considered to be released under the Attribution 3.0 Unported (see
Chaosdorf Wiki:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Templates used on this page:
Template:Ifnotempty
(
edit
)
Template:Infobox row
(
edit
)
Template:Infobox start
(
edit
)
Template:P1
(
edit
)
Template:P2
(
edit
)
Template:Project
(
edit
)
Template:U
(
edit
)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit with form
Edit
Edit source
View history
More
Search
Wiki
Home
Places
Projects
Resources
Current events
Recent changes
Chaosdorf
Blog
GitHub
Mastodon
Tools
What links here
Related changes
Special pages
Page information