The MP3car.com Store  

Welcome to the MP3Car.com forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. Registering will also remove advertisements. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

Go Back   MP3Car.com > Mp3Car Technical > General Hardware Discussion > User Innovations

Reply
 
Thread Tools Search this Thread Display Modes
Old 07-12-2005, 11:04 PM   #151
Constant Bitrate
 
markland556's Avatar
 
Join Date: Jun 2005
Location: Bellevue, WA
Vehicle: 86' Mercedes 300E
Posts: 218
My Photos: (0)
Someone help him!! LOL
my carputer project is on hold untill this is released because i was thinking i could incoperate some other features. Such as the rear head rest lower switch. and the little switch with the circle of arrows (no clue what it does). Just need to learn some VB first. LOL
__________________
86' Mercedes 300E
Status..::... {######----}65%~~ paused
markland556 is offline   Reply With Quote
Sponsored Links
Old 07-13-2005, 02:04 PM   #152
Registered User
 
Mastero's Avatar
 
Join Date: Aug 2001
Location: India
Posts: 1,636
My Photos: (0)
Thanks everyone for offering help..

This is the part of the software where i have problem ...

how it works ... when the software sends a T1 command to the PIC it returns "WAIT" and then reads the outside temp sensor and then the inside temp sensor and the sends "SEND" to the PC ..

The problem is when i dont use the T1 command the command button when pressed will promtly send the "41p" to the PIC but when using the T1 command its like after the temp readings is done you cant immediately send any command to the PIC the port looks like its in input mode.......

Hope someone can help..

Thanx

Mastero
Attached Files
File Type: zip test.zip (4.2 KB, 135 views)
__________________
mastero76@hotmail.com


NEW LINK TO MY SITE ]{*}CYBER SHOP ONLINE{*}

AIRCON UNIT VER 2 IS NOW FOR SALE ]

Life is short enjoy it before it ends.
Mastero is offline   Reply With Quote
Old 07-13-2005, 02:23 PM   #153
Variable Bitrate
rsd212's CarPC Specs
 
Join Date: Jun 2005
Location: Michigan
Vehicle: 2005 Mazda3i
Posts: 311
My Photos: (0)
Im not 100% clear on the problem definition. The code seems simple enough, but Im just not clear on a) what the expected behavior is, and b) what the VB code is doing wrong.

It looks as if the program sends "T1" every 1000ms and waits for the PIC to report temperatures. The command button sends "41p" immediately, IF the port is ready. Are you saying when you press the button, "41p" does NOT go out like it should because the comm is busy?

About how long does it take for the PIC to finish sending its temperature data from the time it receives T1?
rsd212 is offline   Reply With Quote
Old 07-13-2005, 06:26 PM   #154
Jesus Freak
antimatter's CarPC Specs
 
antimatter's Avatar
 
Join Date: Jan 2004
Location: California
Vehicle: 2006 Mazda Mazdaspeed 6 GT
Posts: 4,277
My Photos: (0)
It looks like what he is saying is when he isn't utilizing the T1 command, after the tempature readings are done the PIC wont recieve any commands and the it appears to be in input mode.

Mastero please clarify
__________________
-Jesus- King of Kings Lord of Lords
antimatter is offline   Reply With Quote
Old 07-14-2005, 02:12 AM   #155
Registered User
 
Mastero's Avatar
 
Join Date: Aug 2001
Location: India
Posts: 1,636
My Photos: (0)
Quote: Originally Posted by rsd212
Im not 100% clear on the problem definition. The code seems simple enough, but Im just not clear on a) what the expected behavior is, and b) what the VB code is doing wrong.

It looks as if the program sends "T1" every 1000ms and waits for the PIC to report temperatures. The command button sends "41p" immediately, IF the port is ready. Are you saying when you press the button, "41p" does NOT go out like it should because the comm is busy?

About how long does it take for the PIC to finish sending its temperature data from the time it receives T1?

see what happens is when T1 is sent the pic sends back the temp details max of 4 sec for both the temp sensor ... then the pic is ready to receive the next command but at this time when you press the command button the "41p" does not go through immediatly .. say after 10 sec .. its like the com is still in the input mode ..

Pic is fine works from hyper terminal perfectly send T1 receives temp then send 41p works ...

Its some how the com port is not ready to send the command immidiately after receiving the temp. i have even tried to put a "send" command in the pic when its ready to receive so the com know when to send .. but still there is a delay ..

Mastero
__________________
mastero76@hotmail.com


NEW LINK TO MY SITE ]{*}CYBER SHOP ONLINE{*}

AIRCON UNIT VER 2 IS NOW FOR SALE ]

Life is short enjoy it before it ends.
Mastero is offline   Reply With Quote
Old 07-14-2005, 03:13 PM   #156
Newbie
 
Zenith_Warrior's Avatar
 
Join Date: Mar 2005
Location: UK
Posts: 47
My Photos: (0)
Code reads fine. I don't use the comm control much though, so forgive me if I'm wrong.

Not sure I fully understand but it could be the comms buffer is getting filled and taking a while to read, you could try reducing the input buffer size (InBufferSize or InputLen?) from 1024 to 10 or something suitable.
It may also be worth putting in a delay (4 seconds worth?) between these lines
MSComm1.Output = "T1"
NewTemp = MSComm1.Input

to give the pic some time to send the temp details and then the program can read the results.

like a "doEvents()" or put that in a for loop with 1000 iterations just to test to see if it helps.

If the pic takes 4 seconds to retrieve a reading from the sensors then it maybe worth trying to increase the timer from 1000ms to 5000ms to see if that helps.
__________________
S.O.P.H.I.E.
www.VBSide.com/Sophie

Last edited by Zenith_Warrior; 07-14-2005 at 03:19 PM.
Zenith_Warrior is offline   Reply With Quote
Old 07-15-2005, 05:50 PM   #157
Registered User
 
Mastero's Avatar
 
Join Date: Aug 2001
Location: India
Posts: 1,636
My Photos: (0)
Forget it tried eveything i could think off .. it just wont work ..

This is the new working layout and the project is complete

Shall post the price and the pics of the hardware and shall have a site for all the details.. This wont be a DIY project. There are a lot of calibrations required for it to work perfectly with the software ..

Shall be sold in ready to use ...

Cheers
Mastero
Attached Images
 
__________________
mastero76@hotmail.com


NEW LINK TO MY SITE ]{*}CYBER SHOP ONLINE{*}

AIRCON UNIT VER 2 IS NOW FOR SALE ]

Life is short enjoy it before it ends.
Mastero is offline   Reply With Quote
Old 07-15-2005, 06:51 PM   #158
Constant Bitrate
 
markland556's Avatar
 
Join Date: Jun 2005
Location: Bellevue, WA
Vehicle: 86' Mercedes 300E
Posts: 218
My Photos: (0)
just hope its not gunna cost too much
is there any chance of me being able to add in my own things, because i really want to control like my rear headrests with this thing too. Can there be like a few extra channels that just give some signal that i can work with when the hardware gets a command from the comp??
__________________
86' Mercedes 300E
Status..::... {######----}65%~~ paused

Last edited by markland556; 07-15-2005 at 06:58 PM.
markland556 is offline   Reply With Quote
Old 07-16-2005, 04:06 AM   #159
FLAC
 
mauri's Avatar
 
Join Date: Jan 2004
Posts: 999
My Photos: (0)
A note:
is it possible to skinning the display area with 3 options color to like in the future release type my attached and 800 x 600 ?

Mauri
Attached Images
   
mauri is offline   Reply With Quote
Old 07-16-2005, 01:36 PM   #160
Constant Bitrate
 
markland556's Avatar
 
Join Date: Jun 2005
Location: Bellevue, WA
Vehicle: 86' Mercedes 300E
Posts: 218
My Photos: (0)
just a question, is the source going to be released for the software. Because i would relly like to skin it a little more. Just so i can match it with the rest of my dash.
__________________
86' Mercedes 300E
Status..::... {######----}65%~~ paused
markland556 is offline   Reply With Quote
Sponsored Links
Old 07-18-2005, 04:51 AM   #161
Registered User
 
Mastero's Avatar
 
Join Date: Aug 2001
Location: India
Posts: 1,636
My Photos: (0)
The software is fully skinable.. thanks to confused for that. where ever he is cant find him anymore.

The full Vb source shall be released.

As for adding extra things you shall have two extra ports but no relay shall be there you shall just have the ouputs so you can connect the relay ground to it and it shall work like on and off DONT FORGET THE DIODE ON THE RELAY.

Description:

The unit has three servo controller on board.
a) For vent position
b) For Circulation Position
C) Temp position

All these if i am not worng are basicly flaps controlled either by cables or vacums. So one has to find the flaps and add a servo there to it so you can move it with the unit and software.

The unit has can be controlled via a remote control also only basic feature. No servo controled via remote so if the pc breaks down on a hot summer afternoon you still can control it via the remote..

Has a external two digit LCD displaying the temp and fan speed when the fan setting is changed also when the cutoff temp is chaged up or down.

Can be connected to the pc with a max of three wires or min of two RX and Ground.

Features:

The unit will controll the HVAC of the vehicle, you can set the desired compresser cutoff temp by setting it via the software.

The temp details shall be displayed on the external display 16 ~ 32 deg

The fan shall have four stage Auto, 1, 2, 3 when the compressor is on the LED will be lit and the fan can go to the auto mode if the compressor is of the fan will move only 1~2~3 there shall be no auto mode as there is no compressor for cooling.

The vents are controlled via the mode button when pressed it will move the servo in the perdefined position WHICH YOU WILL HAVE TO SET VIA THE SETTING SOFTWARE"

For the cold places where the temp really drops and you guys want heat the heating servo shall have 5 stages servos shall have to predefine in setting.
so one can add the heat to the current temp.

Recirculation can be controlled from the software there are only two setting for the servo so it can move from Incirculation or out circulation. Servo position again has to be perdefined in the settings page.

Package:

Ready to use tested unit

Cable from unit to Display

Two DB9 Connectors for Unit and PC (You will have to make your own cable very easy only two wires required)

Numeric two digit LCD mounted on seperate PCB

Analog sensor for temp reading.

Remote controler unit (not to impresive looking)

Power 12v unregulated supply from the car battery.

All this for 100 euro (Shipping, paypal, packing etc.. included)

If you want one let me know as i am sending the PCB for making.

Shall post pics soon .

Cheers
Mastero
__________________
mastero76@hotmail.com


NEW LINK TO MY SITE ]{*}CYBER SHOP ONLINE{*}

AIRCON UNIT VER 2 IS NOW FOR SALE ]

Life is short enjoy it before it ends.

Last edited by Mastero; 07-18-2005 at 01:38 PM.
Mastero is offline   Reply With Quote
Old 07-18-2005, 04:56 AM   #162
Constant Bitrate
 
markland556's Avatar
 
Join Date: Jun 2005
Location: Bellevue, WA
Vehicle: 86' Mercedes 300E
Posts: 218
My Photos: (0)
ill take one as soo as you can get it to me. And as for that one cable its a standard male serial to male serial cable right. DB9....
__________________
86' Mercedes 300E
Status..::... {######----}65%~~ paused
markland556 is offline   Reply With Quote
Old 07-18-2005, 05:02 AM   #163
Registered User
 
Mastero's Avatar
 
Join Date: Aug 2001
Location: India
Posts: 1,636
My Photos: (0)
Quote: Originally Posted by markland556
ill take one as soo as you can get it to me. And as for that one cable its a standard male serial to male serial cable right. DB9....


Its the standard serial cable one side Male db9 to the Unit and Female DB9 to the PC. The connectors shall be supplied with housing only needs min two wires to be soldered .. I can add it to the package but the length is not sure some like it long some short depending on the pc position in the car.

If you can give me the length then i can add it also FOC

Mastero
__________________
mastero76@hotmail.com


NEW LINK TO MY SITE ]{*}CYBER SHOP ONLINE{*}

AIRCON UNIT VER 2 IS NOW FOR SALE ]

Life is short enjoy it before it ends.
Mastero is offline   Reply With Quote
Old 07-18-2005, 05:08 AM   #164
Constant Bitrate
 
markland556's Avatar
 
Join Date: Jun 2005
Location: Bellevue, WA
Vehicle: 86' Mercedes 300E
Posts: 218
My Photos: (0)
o, thats awsome. if its just 2 wires i have plenty of cable to use then. When will these be ready to ship???
__________________
86' Mercedes 300E
Status..::... {######----}65%~~ paused
markland556 is offline   Reply With Quote
Old 07-18-2005, 09:31 AM   #165
Registered User
 
Mastero's Avatar
 
Join Date: Aug 2001
Location: India
Posts: 1,636
My Photos: (0)
Pic
rest of the pic can be found here

Anyone want one let me know ... First come first serve... Sending the pcb for making .. with masking and slikscreen
Attached Images
 
__________________
mastero76@hotmail.com


NEW LINK TO MY SITE ]{*}CYBER SHOP ONLINE{*}

AIRCON UNIT VER 2 IS NOW FOR SALE ]

Life is short enjoy it before it ends.
Mastero is offline   Reply With Quote
Sponsored Links
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Using PC to control lighting. gguy General Hardware Discussion 7 10-16-2007 07:11 PM
Kenwood In-dash Monitors to control pc? DrBuzzo LCD/Display 4 12-08-2004 07:21 AM
cd changer control to control the pc babas151 General Hardware Discussion 6 10-25-2004 11:21 PM
software to control pc from ipaq spud42 Software & Software Development 3 11-13-2001 12:56 AM
Using a pda to control a normal PC All4Norway General Hardware Discussion 0 08-27-2000 07:52 AM


All times are GMT -5. The time now is 11:23 PM.


Sponsored Links
The MP3car.com Store

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0
Copyright © 1999 - 2008 Mp3Car.com Inc.
Ad Management by RedTyger
Message Board Statistics