How to not damage the Javelin
diafysal
Posts: 92
How to not damage the Javelin
I have read some posts about damaging the Javelin.
It was mentioned to “clear your IO pins to inputs” before making changes.
Code “Set all cpu pins to input before making changes to a circuit.”
I have had as a rule to always use a 470 ohm resistor as a current limiter on all cpu pins(or a 220 ohm resistor). So the signal always goes trough the resistor. Damage could otherwise occur if a cpu output is connected to a output from another circuit.
(note. The resistor can change a circuit so that it does not work. One example is the PSC.)
I hope this can help. Please add more tips (as I probably will make mistakes to)
I have read some posts about damaging the Javelin.
It was mentioned to “clear your IO pins to inputs” before making changes.
Code “Set all cpu pins to input before making changes to a circuit.”
// Set all cpu pins to input before making changes to a circuit. import stamp.core.*; public class onlyInput { public static void main() { CPU.setInput(CPU.pin0); CPU.setInput(CPU.pin1); CPU.setInput(CPU.pin2); CPU.setInput(CPU.pin3); CPU.setInput(CPU.pin4); CPU.setInput(CPU.pin5); CPU.setInput(CPU.pin6); CPU.setInput(CPU.pin7); CPU.setInput(CPU.pin8); CPU.setInput(CPU.pin9); CPU.setInput(CPU.pin10); CPU.setInput(CPU.pin11); CPU.setInput(CPU.pin12); CPU.setInput(CPU.pin13); CPU.setInput(CPU.pin14); CPU.setInput(CPU.pin15); } // end main } // end class declaration
I have had as a rule to always use a 470 ohm resistor as a current limiter on all cpu pins(or a 220 ohm resistor). So the signal always goes trough the resistor. Damage could otherwise occur if a cpu output is connected to a output from another circuit.
(note. The resistor can change a circuit so that it does not work. One example is the PSC.)
I hope this can help. Please add more tips (as I probably will make mistakes to)
java
733B