Jump to content
Electronics-Lab.com Community

My new project


ECET0purdue

Recommended Posts

hello,
I have started my new project. I had a question or 2..  Iam going to make this project for my car.  It will have a display screen and will show each light in the house.  so if i leave the house and forgot to turn off a light it will show up on the screen and i could then press the button (touch screen i guess)  and it would turn it off.  Same thing if you were comming home late and wanted to turn on the porch light you could from your car.  Now the project would only work say 50 yards away from your house. 

ok so i need a touch screen that would let  you load borland C++ builder (perfer) Then from there it would go to a ? Microchip (any other device you know of) .  then out to the transmitter.  to the reciver then to some relays.  This sounds around the area. so what iam asking is what kind of set up would i need for the panel and microchip.  I perfer c++ programing but i  know most touch screens have there own programs. and iam guessing i would commucate between the screen and chip via 9pin.  And what kind of microchip? So if you have any suggestions on this project please let me know. maybe even any upgrades. 

Thanks,
glen

Link to comment
Share on other sites


  • Replies 63
  • Created
  • Last Reply

Top Posters In This Topic

Well, it doesn't sound easy. The touchscreen/interface part will be tricky.
Forget about C++. Most microcontrollers are programmed in assembly, lately there have appeared a small number of C and BASIC compilers. Why do you want C++ anyway? You cannot fit many objects inside a microcontroller... (needless to say that Borland C++ and similar compilers are out of the question)

Link to comment
Share on other sites

Hi

Isn't there a system called X10 that will take care of your appliances in your house? I belive the status of X10 can be transmitted to your car, so you see if something is on, or something that is should be on, and is not. And i belive that the contol of X10 can be transmitted from your car to the house.

But i can't figure out why to heck you have to load Borland C++! The microcontroller should be programmed to do the tasks you ask for.

//Staigen

Link to comment
Share on other sites

i would use C++ for the operator / touch screen.  Well i though. i seen a touch screen that has xp loaded on it and though this might make it even easer? Well i will fing out because i think this will be my senior desgin.... i have used assebly but then how would i make the user interface...or do touch screens come with there own program?
thanks for the replys,..
Cheers,
Glen

Link to comment
Share on other sites

yes i know...i also know there is a differenct between borland C++ and Borland Builder C++ the difference is Builder has is visual ( push buttons, listbox, ect. ) and i hope that this is not to hard ...well i dont think it is this is my 4th year in this program as an Electrical and Computer Engineering  ....and i think if i cant do this project then i should not get a job in this field.  I mean all iam doing is sending information wireless to a chip then the chip will control relays?

Does anyone else think this is too hard??? before i pick this as my senior design?

Link to comment
Share on other sites

I see now that i was wrong, i am really sorry, and the amount of posts dont have anything to do with that, you are sure enough skilled, but, loading Borland C++ semd a little bit awkward at the time(i didn't saw the builder extension)! Go ahead and do it, and please, show the results here, it can be intresting!

I dont even know what Borland C++ Builder is, i thought it was a programming tool too! :(

//Staigen

Link to comment
Share on other sites

It's a programming tool too, Staigen.
Borland C++ Builder makes sure that you don't have to write code in order to create a button, window or similar graphical widget. You draw them on-the-fly using the appropriate tools. Like Visual Basic, if you have heard of.
Big deal.
Why;
Because the problem in our case is not whether the user interface will be hand-coded or drag-and-dropped. The problem is how to fit a C++ program containing graphics inside a microcontroller. No, better: the problem is how to convert a Win32 executable (possibly making use of Win32 API, due to graphics usage) to e.g. PIC16F84 machine code.

ECET0purdue:
Forgive me for asking or assuming things but it is impossible to know without asking.
You say you study ECE.
-> Have you completed cources dealing with computer architecture/ microcontrollers?
-> Have you completed cources dealing with embedded systems?
-> You know C++, so I assume that you know object-oriented programming concepts in general. Can you code in Java?

Link to comment
Share on other sites

The idea is doable but I'm not convinced that you have the skills to do it.

You could use a microcontroller with a touch LCD but you can't do that with C++ and Win32 API.
For that convenient programming enviromment you have to use a Pentium board, like those PC104 style.

It is also expandable, by bulding more consoles. One for maybe each room in the house, or in strategic places and for other cars. All these consoles should have passwords and the communication should be bidirectional with feedback/acknowledge.
What kind of RF communication are you up to?
You could do it with free license 433MHz or with your cell phone, via SMS/MMS but this is not free. The cell phone could also be your console and Java builders exist for smart phones.

But first of all, you should start modifying the electrical system in your house, to be remotely controlable.

The whole thing is not going to be cheap!

Link to comment
Share on other sites

What i was considering was using power line commucation for the control of the lights from a display in the house...then the display in the car would send and recive information to the panel in the house.  Also i was thinking about the cell phone and i think is i used RFID technology with the cell phone it would be easer. This way does not sound like it would cost too much.    The whole reason i started with wanting to use BB C++ was because the touch screen that i got as a donation...( nice donation)  came with xp all ready in the screen...i have not recived the screen yet so i dont know exactly what all there sending but it if has xp then why not use C++? Any how .....what do you think about using Power Line Commucation for the lights.  and the RFID for the cell phone..  i have not learned java that good but i do know a little and could get help on programming it. I also have programed pic chips, some DSP chips and for micocontollers i only done simulations. ........thanks for the questions. and ill looking forward to more.  Also ..if i dont use BB C++ for the visual screen ...what would i use for visual screen.... is there a different program that would work better? if what? :)
once again
thanks,
glen

Link to comment
Share on other sites

Hi

Autir, the link was suddenly not dead, i ended up at their site, and as ECET0purdue said, i went on to the Vehicle Terminals, and look at it, and downloaded the pdf file, describing this terminal, it's not only a tochscreen, it is a complete computer, it runs Windows CE 5.0 or Windows XP Embedded, have a 800 X 480 pixel colour widescreen and much much moore!

ECET0purdue, where to heck did you got one for free, i also want one or two? ;D ;D
But, why program it with Borland Builder C++, it has it's own programming software(Qlarity) built in, why not use that instead?

Quick data(quote from the pdf file):

DISPLAY TFT color WVGA LCD display, 256,000 colors
178 mm (7”) diagonal
154 mm x 93 mm “live area”
Pixels: 800x480
Dot Pitch: 0.27 mm
Contrast: Software controllable
Lighting: CCFL lighting
Brightness is software controllable
Ambient light sensor (configurable)

TOUCH SCREEN Analog resistive

INTERFACE Two serial ports (can be EIA-232, EIA-422 or EIA-485)
Two USB ports

Options: Ethernet 10/100Base-T
802.11b wireless Ethernet
J1708/1939
Sixteen general purpose digital I/O lines

COMMUNICATIONS Options: GSM/GPRS modem
CDMA/1XRTT modem
Integrated GPS receiver

AUDIO Built-in speaker, covert microphone

ENVIRONMENTAL Sealing: NEMA-12/13
Temperature: Operating -20 to 60
Link to comment
Share on other sites

Nice piece!  :o

Sixteen general purpose digital I/O lines


That pretty much simplifies things...

All you need then (in the car side of the project) will be the RF transmitter/receiver which will handle digital pulses. Or so I believe?

p.s.: You will still have to install a microcontroller in your house in order to convert data from the lights to digital signal and vice versa.
Link to comment
Share on other sites

sorry such long time for replay but i was on vacation in jamica... :D  ok so you think it will be much easier now thats good... i got it because i am giveing them advertising from my project...this is my senior design and a lot of companys watch this... so i asked them to donate one for the design and this is what they gave me... i belive it is over 900.00 value :D i did see there software and i never used it but i think i will try....

ok so now i got the screen next i should look into a transmitter.....or transceiver  right so i can send and recive.... anything i should look for when looking for a transceiver ....thanks
glen.

Link to comment
Share on other sites

well iam not sure about the measurements in meaters...but i know about 50 feet or so. anything farther it will be done by rfid tags... (talk about that later)... ok maybe i should use voice / touch screen lol...ok ill stay on track.. ok so any ideal on transceivers i searched and only found very little on them ...ones for sale  usually all i found was a remote with a reciver..
once again thanks for all the help.
cheers,
glen

Link to comment
Share on other sites

Hi

How long is 50 feet, measured in US Miles? A mile is about 1609 meters, and i have a soution for you, if you are intrested, the range is about 300 meters, about 1/5 of a US Mile(somewhat shorter). It is cheap and nothing to build at the terminal, just plug it in and go. And dont you know about ISO?

BTW! Welcome back from your vacation in jamica :) :D ;D! Where in the world is that ??? ?

//Staigen

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
  • Create New...