View Single Post
Old 03-25-2016, 02:08 AM   #2690 (permalink)
thingstodo
Master EcoModder
 
Join Date: Sep 2010
Location: Saskatoon, canada
Posts: 1,488

Ford Prefect - '18 Ford F150 XLT XTR

Tess - '22 Tesla Y LR
Thanks: 746
Thanked 565 Times in 447 Posts
Quote:
Originally Posted by WindyDrew View Post
I want to signal high on the led pin (change the LED pin to Digital input pin) is forward in normal state and then signal low would invert the throttle.
Just to make sure I understand - the pin to be used is pulled high and will be grounded to engage the reverse switch. Right?

Forward is 'normal' so that a faulty switch does not reverse the car while driving down the interstate at 70 mph.

EVTV has described that the Tesla needs the brake engaged and the speed within a few rpm of 0 before you can change from Park to Drive, Drive to Reverse, Reverse to Park, etc.

Maybe 1 extra input for the brake? It would be tied high, Active low, grounded by the switch.

Quote:
I'm sure there needs to be some safety built into the code as well.
Yup - I think so.

Quote:
The wiring is planned out that we take +5v from supply side of R53 with a 4.7kOhm resistor to the left side of LED. R57 populated with 1kOhm resistor and a 0.1mF from the microprocessor side of R57 to the ground pin at the end of the microprocessor 2 pins to the right. LED left and right to the momentary switch. How does that sound to you guys?
One LED lit to show high (normal) and one to show low (reverse)?

Quote:
Can you give any thoughts to the safety details of this added code?
I have no experience with the code - I will need to look through it eventually. But I'm not much help right now.
  Reply With Quote