Go Down

Topic: Car cruise control device (Read 2405 times) previous topic - next topic

Snabark

Hello guys,
I am new to the world of arduino and electronics
I have corolla 2015 with out cruise control
My project is to make one for it
I figured all part of the subject but have single obstacle, is about the electronic speed paddle , it form of two potentiometers of 5 volt power ,each give different value with each degree of foot pressure.
I want to hack its cable and make the car think that the paddle is pressed.
I thought about arduino PWM and put low pass filter after it but this does not give steady output voltage , and I am afraid that the car will not respond to this.

Any help with that ?

Delta_G

I am new to the world of arduino and electronics
Then you should probably do a LOT of learning before you start modifying a two thousand pound machine that moves at 70 miles per hour and has the potential to kill people. 

The particular questions you are asking back that up.  You should probably not be messing with something that is safety critical until you have at least learned the basics.  Really you should be at the expert level for that, but let's at least get past the basics before we do anything that could cause someone to lose a life. 
|| | ||| | || | ||  ~Woodstock

Please do not PM with technical questions or comments.  Keep Arduino stuff out on the boards where it belongs.

Snabark

Then you should probably do a LOT of learning before you start modifying a two thousand pound machine that moves at 70 miles per hour and has the potential to kill people.  

The particular questions you are asking back that up.  You should probably not be messing with something that is safety critical until you have at least learned the basics.  Really you should be at the expert level for that, but let's at least get past the basics before we do anything that could cause someone to lose a life.  
thank you for your concern
An answer to the question may be more helpful...

Delta_G

#3
Jul 27, 2018, 04:36 pm Last Edit: Jul 27, 2018, 04:39 pm by Delta_G
An answer to the question may
Get people killed.

Why would anyone want to do that?  Go get to a level where you can do these things without asking basic questions and then take other people's lives into your hands.  Just don't do it around me.  You ever crash into me and I find out you modified your car with an Arduino without knowing what you were doing and it will be the end of you.  I will own everything you've ever had. 

At least try it out on an RC car or something first.  Don't get people killed because you don't understand your own limitations. 
|| | ||| | || | ||  ~Woodstock

Please do not PM with technical questions or comments.  Keep Arduino stuff out on the boards where it belongs.

AJB2K3

1, Learn how CC works,
2, learn what connections are required to make it work,
3 work out if your car supports it (consult ECU Specifications),
4, Find out what Wiring is available in car.

CC on post 2010 cars are controlled by the ecu and drive by wire.
There are quite a few safety systems that need to be understood in order to retrofit CC and dont forget that your car inspection centre must also approve of the setup before it can be used on public roads.
Sorry for the noobish post but my knowledge is 10 years out of date!

gsm3155

Hi everyone!

I was reading all the threads related to Cruise control and all I could read is safety concerns and that is genuine, but all I want to tell is we all are responsible that no one would drive the car on public roads, even after testing the system a million times. We all are here for learning and experimenting good and crazy stuff.

Cruise control is challenging, and if we gather all the information from everyone, we could learn something new!

It would be better to help us with the above-asked question and this (https://forum.arduino.cc/index.php?topic=484029.15) thread.

Paul_KD7HB

Hello guys,
I am new to the world of arduino and electronics
I have corolla 2015 with out cruise control
My project is to make one for it
I figured all part of the subject but have single obstacle, is about the electronic speed paddle , it form of two potentiometers of 5 volt power ,each give different value with each degree of foot pressure.
I want to hack its cable and make the car think that the paddle is pressed.
I thought about arduino PWM and put low pass filter after it but this does not give steady output voltage , and I am afraid that the car will not respond to this.

Any help with that ?

Have you actually tested your theory with two separate manually operated potentiometers?

Paul

B1810seconds33

This would be tough but i'd image possible using VSS as input and APP being the output and tap the wiring into the vehicles system using a kill switch or 2 or 3.
You also have to make sure the Brake Switch kills the Loop. Adding Accel/Decel switches adds to mess. Coding to achieve a target is not something i'm experienced with yeat.

One way or another anyone thinking of doing something like this needs to test on a Breadboard first. This system should be fully testable on a bench...
 

tatersalad

Are you sure the factory wiring isn't already there? could you just add the factory controls to the system? lots of the newer vehicles are all the same harness just without the buttons. My truck is completely wired for every extra switch that they make and its as simple and plugging the factory switch in. I wouldn't try to home brew that one man... its not worth your life or someone else.

vertigon

Are you sure the factory wiring isn't already there? could you just add the factory controls to the system? lots of the newer vehicles are all the same harness just without the buttons. My truck is completely wired for every extra switch that they make and its as simple and plugging the factory switch in. I wouldn't try to home brew that one man... its not worth your life or someone else.
this is probably your best bet. there is a very high probability that the wiring harness are made all the same, it might lack a module under the hood and whatever buttons on your steering wheel. can arduino do this? probably, but this actually seems like a situation where you actually SHOULDNT use arduino. ill pass over the 'thousands of [pick a unit]s moving at very high speeds' saftey thing, and go straight to saying even somebody with a lot of experience with arduinos would probably not use an arduino for this. its just too much work compared to using purpose made components. this becomes MORE true with newer cars which are more and more controlled electronically. just touch the wrong wire and you might trigger your anti-thieft, disabling ignition until the dealership resets it. i know it can be difficult to ask for help with something and get told nothing but  'dont do that', so i hope i can convince you that you dont really want to.

oh, another important point: cruise control is more than keeping the accelerator in one spot. not only do cars often have a special gear or something with the transmission specifically for CC, they use feedback to pickup or back off the gas slightly as needed, and is an early example of PID controllers, which is probably not something you can impliment with a potentiometer

daysleeper

I am new to the world of arduino and electronics...
...I figured all part of the subject
Sorry, choose only one sentence. Dunning-Kruger anyone?

I'm quite shocked from this post and the one linked in the previous messages (the one in which the engineer didn't figure out how to create a common ground between two microcontrollers... on the same vehicle!).
In the subforum i usually use we aren't allowed to talk about anything that's more than ELV (extra-low voltage), no matter which qualifications the OP is supposed to have, because of safety reasons. And here there's a topic about an arduino (probably clone) CC, wired to a full size car, created by self-defined noob. Wow...   :smiley-eek-blue:

Delta_G, you have my full support here.  ::)
Se è stupido ma funziona allora non è stupido.

877

Newbie modifies cruise control. Let me know what day you are testing it so I can stay at home

Hiddenvision

I have to agree with most of what is said.!

Best to look at if your ECU already has the option of CC.
Then perhaps you just need to add a switch to the Clutch & Brake and a button to turn on and SET.
Simple, job done and will be as safe as an original.!


Or simply purchase an aftermarket CC addon unit.
But I think that option is only good for old non FBW cars.


Otherwise it is best to look at the OBD/CAN interface and TALK to the car.


Do make sure you drop us a message letting us know how you went.
They still have WiFi in Jail.

Hiddenvision

#13
Jun 16, 2019, 03:10 pm Last Edit: Jun 16, 2019, 04:11 pm by Hiddenvision
Just to add,
https://www.paulstravelpictures.com/2014-2018-Toyota-Corolla-Cruise-Control-Stalk-Installation-Guide/

OR

https://www.toyotaownersclub.com/forums/topic/86751-cruise-control-installation-instructions/

It maybe that you simply need to purchase and install the control stalk and perhaps it will just work.!
But suspect that it may need to have the option enabled via the dealer or using software that is suited for such a task.

Go Up