Show Posts
Pages: [1] 2
1  Using Arduino / Project Guidance / Re: Car / rewriting all systems on: May 07, 2014, 06:46:33 am
The vehicle is identified as vehicle collection.
It rolls bit! It is no longer necessary to made ​​technical control. (Every 2 years in France)
The insurance does not provide / not cover the vehicle, but the damage to third parties.
It run on E85. No injection (Carbs smiley-evil) or other electronics stuff.

If i'm here, it's to find a solution, more safely than serial
like : http://geodesicsphere.blogspot.com.es/2012/12/daisy-chaining-serial-connections.html
Or http://marcoramilli.blogspot.fr/2011/10/communication-between-multiple-arduino.html
2  Products / Arduino Yún / Re: Wireless sensor from Yun update MySQL on: May 07, 2014, 06:36:47 am
(I have a can of time, and user forum, I hope you can facing a can on your questions.)
Edit: Holy **** traduction !
Hi! i'm here and waiting answer to my questions, hope can i help here !
I had a project like yours some years ago.

1)  Do you  reccomend using MySQL for this ?
Mysql is powerful enough in this case.
(Storage, replication, reading, using PHP ... easy installation-LAMP-...)


2) how do you suggest I go about updating the database?
I was doing like http://???.???.??.???/update.php?ID=1&value=2&sensor=3
You can secure it by restricting IPs ...


3) should I have separate tables for each tank location?
No, you can create Table like : ID,location,sensor,value

4) what happens if a sensor loses wifi connection? Should I store it to an SD before it goes to a MySQL database
Store it and send it to database will be a best option to never loose data, but need a little more code :
When wifi connection back, send all data, erase buffer.


5) can I also upload the date and time the reading was taken?
Do it in Mysql/PHP can be a solution.
But if data came from SDcard, you need to send it to server ...



Hope it can help.
Regards.
Benda.
3  Using Arduino / Project Guidance / Re: Car / rewriting all systems on: May 07, 2014, 05:03:04 am
The car is working on an "Arduino nano" since 3 Years.
Arduino nano take car of :
- Exaust temp
- Lambda sensor
- Ignition Coil (+12V)
- ACC
- KeyPad Code "in-car" to unlock car
- Motor starter (Seleniod)

Now, the box fuses is out of order, i can't start my car.
The cable in the box, (See attachement), are cutted or damaged, this is due to the angle of labor of the wires, once the closed box
So, sometimes, i lost assisted direction or ACC.
I do not speak either, of electric lines grouped in a rear headlight, which are damaged.

Edit: I can start my car, with boot clamps, one on the + of battery, the other on seleniod.
I'm going to replace box fuses with wire-fused :
http://www.maneywire.com/images/FHMAXI-10%20Maxi%20Fuse%20Holder%20with%2010%20awg%20Wire.jpg
I've worked in car modification for somes years, on Vito, Kangoo, Logan, ... Used for frigorific use.
All wire will be protected with everithing needed. (sheath heat ...)

Edit 2:
Quote
I presume the modified car will not be used on public roads? 
Who would go to all that trouble for a car they are not going to drive ?

I would be very surprised if a car that has been completely rewired for computer control would be legal for use on public roads. I'm sure you don't wish to encourage people to drive illegal vehicles and risk injuring people or property.

...R
After 3 years without any problems, i can say:
Doing that on a car with ESP, ABS ... Can be very dangerous. But my car haven't anything like that.
If the engine stop on the road (ever get it, Ground of car damaged and burned) you can safely drive to the parking lane.
With experience i can say:
Could you imagine, a citroen C3, 1.4i, on highway, with the motor of the direction assisted locked (True!).
You can drive only ... straight ahead.
http://www.eitedelinternational.com/media/catalog/product/cache/1/image/650x650/9df78eab33525d08d6e5fb8d27136e95/d/a/daencit001_c2-c3_4000wt_.jpg
A system like that, is dangerous ! there is no release on the motor ...
4  Using Arduino / Project Guidance / Car / rewriting all systems on: May 06, 2014, 04:23:54 pm
Hi everybody,

This is my sencond post on arduino.cc forum's.
I'm looking for guidance in my project :
I want to remove all wires of my old car (205 - 1988), and replace with some arduino.
So ... One for each sectors :
- DashBoard (Rpm, Light, button, ...)
- Rear of the cars (light, parking sensor ...)
- Motor (Exaust temp ...)
- Ventilation console (Ventilation, button like warning/rear heater ...)

I need a bus to communicate securly:
I'm looking for a communication between each arduino. But in a car, there is a lot of noise ...

What is the best method to send data between arduino ?
Example: warning -> communicate to : dashboard - Rears of cars
I want to send something like : rearlightleft:on,rearlightright:on ... (zZzZzZ) ... rearlightleft:off,rearlightright:off

Question: How to be sure the others arduino got the message, and if not, resend it ?

Regards.
Benjamin From France.
5  Using Arduino / General Electronics / Re: Arduino Freeze - In Car Controlling on: August 07, 2013, 03:55:38 am
I've Found It !
This was the 3.3V Chip of the I2C Keypad. (Ground Problems)

Now it Works better, but i'm still having problems with the I2C, witch sometimes Freeze the arduino...
There is an update to the Library WIRE ? When Bugs on I2C, it can't recover itself .... and freeze arduino.
6  Using Arduino / General Electronics / Re: Arduino Freeze - In Car Controlling on: August 01, 2013, 02:22:59 pm
I've try to remove the alternator.
I've add De-coupling just before Vin (Last schematichttp://www.thebox.myzen.co.uk/Tutorial/De-coupling.html)
I've try to isolate the alimentation of the arduino /=>/ Mosfet, and to connect it directly to the battery.
I'm still having clamping diode on my transistor before the mosfet.
No change.

Back EMF ? Voltage Spike ?

i'm thinking to change the mosfet of the coil by a Relay ?
But elswere my car is still running fine ... smiley
7  Using Arduino / General Electronics / Re: Arduino Freeze - In Car Controlling on: July 29, 2013, 03:33:34 am
How are you powering the Arduino? If you are using the main battery in the car, and the battery is getting a bit weak, the output voltage can really sag when the starter is engaged.

For the input, i use :

It might remove the noise ?

The freeze happen when the started is engaged or when i accelerate.

My car has a load resistor bypass for the ignition coil when the starter engages. It is a 6 volt coil in a 12 volt environment. It uses a load resistor to drop the coil voltage to 6 volts when the starter is not engaged.
Interesting, can you tell me more ?

Hi, might I suggest that any switching to control any of the cars functions be done with an opto coupler, and connect that to switch the MOSFET on/off.
This will help to isolate spikes and surges.
Yes, i know, but it take a lot of component and take more place on PCB ...
A car is a very hostile environment for a computer. Protection of the pins can be done with this:-
http://www.thebox.myzen.co.uk/Tutorial/Protection.html
http://www.digikey.com/us/en/techzone/microcontroller/resources/articles/protecting-inputs-in-digital-electronics.html

But you also need some good power supply decoupling, like the one for the motor in the last circuit of this page.
http://www.thebox.myzen.co.uk/Tutorial/De-coupling.html

I was hoping, with my DC- Buck conveter i can remove the noise... But the problems is ever here.
I've try with Campling Diode just after the resistor :
Arduino--Resistor--Transistor--Mosfet(coil ignition)
                       |-Clamping diode


So, now, i don't know what Freeze my arduino ... smiley-sad
8  Using Arduino / General Electronics / Arduino Freeze - In Car Controlling on: July 24, 2013, 05:31:21 am
Hi everybody,

SInce somes weeks i'm trying to integrate arduino in my car.
I've Added Keypad to start the car, and some sensor.
I use 73A Mosfet on heatsink, to switch Starter, ACC, Coil.

Schematics :
{See attached picture}

Problems, when the car star, arduino freeze sometime when the starter run, or 10 seconds after starting.
It's a true freeze, Serials are Out of Work, i can only Reset or power off.

I've try to add a DC-DC Buck converter to supress alimentation noise.
I've Add Zener Diode 0.5W 5.1V on the pin witch go on the transistor.

Edit:
I know, the coil can have a feedback over 100v, can it return by transistor in arduino ? If it is possible, how to protect it ?
9  Using Arduino / General Electronics / Re: Mosfet PNP - Burn on: June 30, 2013, 04:46:40 pm
I've doubled my Mosfet for the Starter because it drain (13 V/0.6 Ohms) 21 Amps ...
Seems like to work but the Two Mosfet are very hot ... i think to buy IRF4905.

Maybe you can give me some references of goods P-Mosfets ?
10  Using Arduino / General Electronics / Re: Mosfet PNP - Burn on: June 30, 2013, 04:27:37 pm
Quote
No comment...
Does that mean you don't understand it and will ignore it? If so I wonder why you are asking questions if you don't want answers?
No Comment because a big error ... i don't know why i haven't see that.

Can i replace irf9540n by a IRF4905 ?
11  Using Arduino / General Electronics / Re: Mosfet PNP - Burn on: June 30, 2013, 06:25:54 am
When I woke up I'll go see what the rest of the circuit and it will change.

Quote
p-MOSFETs in a high side-switching circuit have source to the supply, drain to the load
(first major error in the circuit).
In my schematic, Source is the source, drain is to the load ?


Ah, yes, but you connect the drain of one MOSFET to the gate pull-up resistors - this is what mislead
me, and its completely wrong.  pull-ups are always to the supply, otherwise you won't have pull-up
action when the device is off, so it won't turn off properly, so it might be half-on, and half-on means
the device explodes...

No comment...

R7 = 2.2K and R6 = 10K
EDIT: Replace B5 with solenoid and snubbing diode.
What more do you want?

On google, i've find schematics with 1K resistors.
How to know the good value ?
12  Using Arduino / General Electronics / Re: Mosfet PNP - Burn on: June 30, 2013, 04:44:22 am
When I woke up I'll go see what the rest of the circuit and it will change.

Quote
p-MOSFETs in a high side-switching circuit have source to the supply, drain to the load
(first major error in the circuit).
In my schematic, Source is the source, drain is to the load ?

Quote
Secondly when switching a solenoid or any other inductive load a flyback diode is needed
(second major error in the diagram).  Wihout it when you first switch off the solenoid you
will destroy the MOSFET (many joules of kickback energy)
It's my **** mistake ! Big error, i did not realize before you tell me this.
But a mosfet haven't an internal diode ?

About the current of the solenoid, i will mesure it ASAP.
13  Using Arduino / General Electronics / Re: Mosfet PNP - Burn on: June 30, 2013, 01:58:31 am
How to use it with the same source :


I've One input with 13 Volt IN and 3 Output
Like this attachment.
I was doing this with relay before.
14  Using Arduino / General Electronics / Re: Mosfet PNP - Burn on: June 29, 2013, 06:04:53 pm
R7 = 2.2K and R6 = 10K
What more do you want?
how to use it with the same source ?
Why my mosfet have burned ?
15  Using Arduino / General Electronics / Re: Mosfet PNP - Burn on: June 29, 2013, 04:56:17 pm
Google: mosfet p channel arduino

Not the same as Me ?
I've attached pics at my last post

I've used this google image ... to realise that
Pages: [1] 2