| Author |
Message |
rathma Guest
Free account, no CAN development support
|
24-08-2007, 12:31 Subject: MCP CANADAPTER 12V? |
Quote |
|
Hello,
ich hab in letzter zeit viele verschiedene mcu und can gebasteld, das läuft eigendlich fast alles so wie ich es will, nur hab ich jetzt ein elektrotechnisches problem.
'All the MCUs operate at 5V. However, I want to read some analog signals from the car, but unfortunately, they are all 12V (or even up to 14V). If the voltage were a maximum of 12V, I would use a CMOS to TTL converter, but it's not. How do companies like Dietz and others handle this when they offer CAN simulators for various radios/navigation systems? I don't want to use voltage converters because they cause too much interference, and even if I smooth them out with capacitors, they are too slow.'
Best regards,
MarkusI'm sorry, I can't translate that because it doesn't seem to be a complete sentence or phrase in German. It might be an abbreviation or code of some kind. Could you please provide more context or the full text?Best regards.Markus.
Translated on 11-07-2026, 20:18.
|
|
| Back to top |
|
 |
rathma Guest
Free account, no CAN development support
|
24-08-2007, 14:17 Subject: Re: MCP CANADAPTER 12V? |
Quote |
|
ich will so sachen wie zb drehzahlsignal(ist ein rechtecksignal zwischen 0 und ca 200 hz) und schaltsignale(0v ist logisch 0 und 12 bzw 14 v ist logisch 1) wie zb beleuchtung digitalesieren.
da ja die avr ttl eingänge haben brauch ich für low immer 0v und für high 5v.
häDo you have a sample circuit diagram with Ohmic values showing how to create a voltage divider?
And what do you mean by 'protection circuit'? Just a diode that blocks current in one direction?rt?and what do you mean by 'protection circuit'? just a diode that blocks current in one direction?And what do you mean by 'protection circuit'? Just a simple diode that blocks current in one direction?
Translated on 11-07-2026, 20:19.
|
|
| Back to top |
|
 |
vespadriver Guest
Free account, no CAN development support
|
24-08-2007, 20:30 Subject: Re: MCP CANADAPTER 12V? |
Quote |
|
Hi,
klingt interessant was du vor hast.
<!-- m --><a class='postlink' href='http://de.wikipedia.org/wiki/Spannungsteiler'>http://de.wikipedia.org/wiki/Spannungsteiler</a><!-- m -->
Check it out over there. This should make it easy and quick to reduce the signals from 12V to 5V. Then, for safety, add a ten-ohm resistor <!-- m --><a class='postlink' href='http://de.wikipedia.org/wiki/Zener-Diode'>http://de.wikipedia.org/wiki/Zener-Diode</a><!-- m --> as a safeguard, and that's it.
Sebastian.
Translated on 11-07-2026, 20:20.
|
|
| Back to top |
|
 |
rathma Guest
Free account, no CAN development support
|
24-08-2007, 21:33 Subject: Re: MCP CANADAPTER 12V? |
Quote |
|
und kann ich auch einen mos 4104 chip nehmen?
How is the ULN2803A connected? Signal on pin 1, ATmega8 on pin 18, ground on pin 9, and reference voltage (i.e., 5 volts) on pin 10?
Translated on 11-07-2026, 20:21.
|
|
| Back to top |
|
 |
rathma Guest
Free account, no CAN development support
|
25-08-2007, 14:50 Subject: Re: MCP CANADAPTER 12V? |
Quote |
|
Unfortunately, Reichelt does not offer the Uln2803A as an SMD component. However, can I also use the Uln2803D?
Translated on 11-07-2026, 20:22.
|
|
| Back to top |
|
 |
Maxx Guest
Free account, no CAN development support
|
26-08-2007, 11:24 Subject: Re: MCP CANADAPTER 12V? |
Quote |
|
Den ULN2803D kannst du auch verwenden.
Das Datenblatt entspricht dem ULN2803.
Sure, Maxx.
Translated on 11-07-2026, 20:22.
|
|
| Back to top |
|
 |
rathma Guest
Free account, no CAN development support
|
03-09-2007, 16:53 Subject: Re: MCP CANADAPTER 12V? |
Quote |
|
Nochmal an eine Frage an die Experten, könnted ihr mal drüber schaun ob man da noch was verbessern ändern kann.
II'll also be adding 12V outputs. Can I simply switch these using a simple transistor?
EDIT: I just realized that in the uploaded schematic, there are no pads connected to i1 - i4 yet.abeI'll also be adding some 12V outputs. Can I simply switch these using a simple transistor?EDIT: I just realized that in the uploaded schematics, I haven't added any pads to i1 through i4 yet.
Translated on 11-07-2026, 20:23.
|
|
| Back to top |
|
 |
Maxx Guest
Free account, no CAN development support
|
04-09-2007, 0:00 Subject: Re: MCP CANADAPTER 12V? |
Quote |
|
Hi Markus,
du hast weiter oben geschrieben, ob du den ULN2803D verwenden kannst.
Im Schaltplan verwendest du einen ULN2003. Is that intentional?
Wenn du dich nämlich nur vertan hast, hast du ein Problem.
ULN2003 and ULN2803 are NOT pin-compatible!
Besides that, the ULN2803 even has two more pins  .
Regards, Maxx
P.S.: Please don't be too harsh if I am wrong about something; it is already 0:00 AM  .}Aside from that, the ULN2803 even has two more pins }. Sure, Maxx.PS: Please don't scold me if I make any mistakes, it's already midnight }.
Translated on 11-07-2026, 20:25.
|
|
| Back to top |
|
 |
rathma Guest
Free account, no CAN development support
|
04-09-2007, 0:05 Subject: Re: MCP CANADAPTER 12V? |
Quote |
|
das mit den ULN2003 war absicht.
Pull-up resistors: Should they be connected between Uln2003 and AVR? Or should they be placed behind the Uln2003?
Translated on 11-07-2026, 20:26.
|
|
| Back to top |
|
 |
Maxx Guest
Free account, no CAN development support
|
04-09-2007, 8:06 Subject: Re: MCP CANADAPTER 12V? |
Quote |
|
Ok, hatte das mit den Pullups wieder rauseditiert, bevor du gepostet hast.
Zwischen ULN und AVR kannst sie dir sparen, da man ja beim AVR die internen Pullups aktivieren kann.
Beim Eingang vom ULN stellt sich die Frage, ob Pull* Widerstände notwendig sind.
Since you want to use 12V as a high signal (I assume that's the case), pull-down resistors should actually be installed before the ULN.
I don't know how sensitive the Darlington stages in the ULN are when it comes to TriState signals.
Normally, it shouldn't pose a problem.
Best regards, Maxx
P.S.: It's so cold outside (11°C) that I'm still considering whether I want to install anything in the car today *brrr*.*I'm not sure how sensitive the Darlington stages in the ULN are when used with TriState signals.
Normally, it shouldn't be a problem.
Regards, Maxx
P.S.: It's so cold outside (11°C) that I'm still debating whether to install anything in the car today *brrr*.Normally, it shouldn't be a problem.
Regards, Maxx
P.S.: It's so cold outside (11°C) that I'm still considering whether to install anything in the car today *brrr*.Sure, Maxx.PS: It's so cold outside (11°C) that I'm still considering whether to install anything in the car today *brrr*.
Translated on 11-07-2026, 20:27.
|
|
| Back to top |
|
 |
rathma Guest
Free account, no CAN development support
|
04-09-2007, 13:44 Subject: Re: MCP CANADAPTER 12V? |
Quote |
|
Here in Munich, it's not much warmer either  .
Ich weiss jetzt nicht ob ich ein denkfehler habe aber müßten es dann nicht eher pulldown als pullup sein? ich will ja messen wann auf einer leitung high ist und nicht masse oder offen.
Regarding the reverse function I'm currently thinking about, it's being activated via pin 12+, not via ground.r?Regarding the reverse gear I'm currently thinking about, it's switched via the '12+' terminal and not directly to ground, right?
Translated on 11-07-2026, 20:29.
|
|
| Back to top |
|
 |
Maxx Guest
Free account, no CAN development support
|
04-09-2007, 18:26 Subject: Re: MCP CANADAPTER 12V? |
Quote |
|
Nachdem du ja 12V als High verwenden willst (vermute ich mal so), müssten eigentlich Pulldowns vor dem ULN verbaut werden.
That's why I also wrote that previously in my post  .
Translated on 11-07-2026, 20:30.
|
|
| Back to top |
|
 |
rathma Guest
Free account, no CAN development support
|
05-09-2007, 15:57 Subject: Re: MCP CANADAPTER 12V? |
Quote |
|
ich war mit meinen gedanken wieder mal schon ganz wo anders.
was sind den 'Darlingstonstufen'? meine lieblingsseite(wikipedia) hat nichts drüber gefunden.
Do I only need to use the pull-down resistor after the ULN connection, or also between the AVR and the ULN? Would a 10k ohm resistor be suitable?
Can you recommend a transistor for switching 12V? And do I need to place a resistor before the transistor (i.e., between the AVR and the transistor)? If so, what size should it be?
Regards,
Markusbest regards,
markuBest regards.Markus.
Translated on 11-07-2026, 20:31.
|
|
| Back to top |
|
 |
Maxx Guest
Free account, no CAN development support
|
05-09-2007, 17:31 Subject: Re: MCP CANADAPTER 12V? |
Quote |
|
Darlington ist eine Schaltung mit zwei aufeinanderfolgenden Transistoren.
Wird verwendet um die Stromverstärkung zu vergrößern.
HiDo you find anything on Wikipedia?
The pull-down resistors are connected to the inputs of the ULN.
10k ohms is definitely enough.
What power do you want to switch at 12V?
The choice of transistor/thyristor depends on that.
Regards, MaxxHere you can find information at }Wikipedia}.Okay, 0 amps will definitely work.
What power do you want to switch at 12V?
The choice of transistor/thyristor depends on that. }Thyristor}
Regards, MaWhat power level do you want to switch at 12V?
The choice of transistor/thyristor depends on that.
Regards, MaxSure, Max.Sure, Maxx.
Translated on 11-07-2026, 20:33.
|
|
| Back to top |
|
 |
rathma Guest
Free account, no CAN development support
|
06-09-2007, 16:03 Subject: Re: MCP CANADAPTER 12V? |
Quote |
|
I've now finished revising the entire document. I'm not sure if the information about the transistors is correct.
Geschalten soll mit den transistoren nicht viel werden, eher impluse auf datenleitungen, fals ich aber trozdem was größeres schalten will nehm ich dann einfach relais her, die ich dann an die leitungen anklemme.
If anyone has any other suggestions, please let me know. I want to start designing the circuit board this weekend.
Best regards,
MarkusBest regards.Markus.
Translated on 11-07-2026, 20:34.
|
|
| Back to top |
|
 |
Maxx Guest
Free account, no CAN development support
|
06-09-2007, 19:42 Subject: Re: MCP CANADAPTER 12V? |
Quote |
|
In my opinion, you can leave it like that  .
Sure, Maxx.
Translated on 11-07-2026, 20:35.
|
|
| Back to top |
|
 |
|