MEGAsquirt A place to collectively sort out this megasquirt gizmo

Question about JS0

Thread Tools
 
Search this Thread
 
Old 05-07-2009, 01:11 PM
  #1  
Elite Member
Thread Starter
iTrader: (12)
 
cardriverx's Avatar
 
Join Date: Jan 2007
Location: Hermosa Beach, CA
Posts: 2,573
Total Cats: 12
Default Question about JS0

It grounds when activated, aka it doesent send a voltage, correct?
cardriverx is offline  
Old 05-07-2009, 01:21 PM
  #2  
Boost Pope
iTrader: (8)
 
Joe Perez's Avatar
 
Join Date: Sep 2005
Location: Chicago. (The less-murder part.)
Posts: 33,026
Total Cats: 6,592
Default

JS0 itself is just a pin on the CPU. It is at +5 when active, and ground when inactive.

CPU pins, by themselves, are not able to source or sink very much current, however. In order to make it to anything useful, you'll need to connect a transistor to it, as is done with the relay driver modkit. If you use a PN2222 or similar, you'll then have an output which goes to ground when active.
Joe Perez is online now  
Old 05-07-2009, 03:18 PM
  #3  
Elite Member
Thread Starter
iTrader: (12)
 
cardriverx's Avatar
 
Join Date: Jan 2007
Location: Hermosa Beach, CA
Posts: 2,573
Total Cats: 12
Default

I dont understand, Do I just do JS0 to Transistor to relay for the water injection? Or is there more involved in the circut
cardriverx is offline  
Old 05-07-2009, 03:33 PM
  #4  
Elite Member
iTrader: (1)
 
richyvrlimited's Avatar
 
Join Date: Jun 2006
Location: Warrington/Birmingham
Posts: 2,642
Total Cats: 42
Default

Originally Posted by cardriverx
I dont understand, Do I just do JS0 to Transistor to relay for the water injection? Or is there more involved in the circut
Are you trying to build the WI circuit? or are you trying to just activate a WI pump?

For the latter you just need a simple transistor circuit as Joe describes. For the former you need to build the WI circuit as described in the Megamanual
richyvrlimited is offline  
Old 05-07-2009, 03:49 PM
  #5  
Boost Czar
iTrader: (62)
 
Braineack's Avatar
 
Join Date: May 2005
Location: Chantilly, VA
Posts: 79,493
Total Cats: 4,080
Default

Originally Posted by cardriverx
I dont understand, Do I just do JS0 to Transistor to relay for the water injection? Or is there more involved in the circut
MS-Extra Manual Index

Braineack is offline  
Old 05-18-2009, 05:46 PM
  #6  
Elite Member
Thread Starter
iTrader: (12)
 
cardriverx's Avatar
 
Join Date: Jan 2007
Location: Hermosa Beach, CA
Posts: 2,573
Total Cats: 12
Default

I dont get it, to me it seems the diode is the wrong way, when the transistor opens, it will alow current to pass the relay and flow through the diode? Shouldent the diode be the other way?
cardriverx is offline  
Old 05-18-2009, 08:48 PM
  #7  
Boost Pope
iTrader: (8)
 
Joe Perez's Avatar
 
Join Date: Sep 2005
Location: Chicago. (The less-murder part.)
Posts: 33,026
Total Cats: 6,592
Default

When an inductive device which has been passing DC is shut off, the electromagnetic field within it collapses back into the winding, inducing a large voltage spike in the reverse direction. In the case of an ignition coil, this is a good thing as it drives the spark plug. In the case of a solenoid or a relay, this is generally undesirable.

The diode is there to provide a bypass across the device, to essentially short-circuit this spike and prevent it from propagating outwards.
Joe Perez is online now  
Old 05-18-2009, 11:05 PM
  #8  
Elite Member
Thread Starter
iTrader: (12)
 
cardriverx's Avatar
 
Join Date: Jan 2007
Location: Hermosa Beach, CA
Posts: 2,573
Total Cats: 12
Default

Originally Posted by Joe Perez
When an inductive device which has been passing DC is shut off, the electromagnetic field within it collapses back into the winding, inducing a large voltage spike in the reverse direction. In the case of an ignition coil, this is a good thing as it drives the spark plug. In the case of a solenoid or a relay, this is generally undesirable.

The diode is there to provide a bypass across the device, to essentially short-circuit this spike and prevent it from propagating outwards.
Thanks for that. Do you think transistor p/n ZTX450-ND would work? Just google the p/n.
cardriverx is offline  
Old 05-19-2009, 03:53 AM
  #9  
Senior Member
 
WestfieldMX5's Avatar
 
Join Date: Nov 2007
Location: Belgium
Posts: 999
Total Cats: 73
Default

The ZTX450 is rated at 1A. More than enough for 2 or 3 relais even.
WestfieldMX5 is offline  
Old 05-19-2009, 11:59 AM
  #10  
Elite Member
Thread Starter
iTrader: (12)
 
cardriverx's Avatar
 
Join Date: Jan 2007
Location: Hermosa Beach, CA
Posts: 2,573
Total Cats: 12
Default

ok, sweet. Ill beable to make the circut with spare parts.
cardriverx is offline  
Old 05-19-2009, 12:35 PM
  #11  
Boost Czar
iTrader: (62)
 
Braineack's Avatar
 
Join Date: May 2005
Location: Chantilly, VA
Posts: 79,493
Total Cats: 4,080
Default

nothing special about the circuits, same as the fan switch and boost control.
Braineack is offline  
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
bigmackloud
Miata parts for sale/trade
19
01-08-2021 11:24 AM
emilio700
Wheels and Tires
151
06-02-2017 02:36 PM
Quinn
Cars for sale/trade
6
10-23-2016 07:58 AM
JesseTheNoob
DIY Turbo Discussion
15
09-30-2015 02:44 PM
skipstr
Miata parts for sale/trade
2
09-28-2015 10:53 PM



Quick Reply: Question about JS0



All times are GMT -4. The time now is 12:52 AM.