Discussion in "Project Doubts" started by    anelka    Mar 29, 2007.
Thu Mar 29 2007, 03:54 AM
#1
Hi Rickey ,
Here is my 1st time to visit your site ~ I feel it's so amazing on it. Once I tried your home automation.
As I need to build a CGI web site for remote control the MC via a serial port. Best , according to your C file, both cannot build in VC++ or VC, huge number of errors compiled.

Here I do wish you can give me some answer about my enquiry.
1. Based on your source, only C files exist, Do I need to write a 8051 assembly language to MC.
2. As HA.hex file is provided, is it converted file from 8051 assembly language? If Yes, can you provide the 8051 assembly source code on site??
3. As HA C file cannot build and execute in VCC and VC , can you tell me how to convert it worked in VCC or VC ? or any solution can execute it?
4. Also , I want to know HA C file provided whether execute in CGI or not ?

I highly look forward to see your reply as soon as possible.
THx a lot !!!!
Tags microcontroller projectsHome AutomationVBVC8051 AssemblyCGI
Thu Mar 29 2007, 11:11 AM
#2


Hi Rickey ,
Here is my 1st time to visit your site ~ I feel it's so amazing on it. Once I tried your home automation.
As I need to build a CGI web site for remote control the MC via a serial port. Best , according to your C file, both cannot build in VC++ or VC, huge number of errors compiled.

anelka


The C files are for MC not for the software, and it can be only compiled with Keil (C cross compiler for 8051). The project is specially designed to work with HAserver (A telnet server).


Here I do wish you can give me some answer about my enquiry.
1. Based on your source, only C files exist, Do I need to write a 8051 assembly language to MC.

anelka


No you need not to write assembly code, coz the code is written in C already, the C files are provided in the zip that you downloaded.


2. As HA.hex file is provided, is it converted file from 8051 assembly language? If Yes, can you provide the 8051 assembly source code on site??

anelka


HA.hex is converted from the C files using Keil C compiler for 8051. Writing such program in assembly will be little difficult.


3. As HA C file cannot build and execute in VCC and VC , can you tell me how to convert it worked in VCC or VC ? or any solution can execute it?

anelka


Use keil C compiler. you can get it from www.keil.com (demo 2K code limit)


4. Also , I want to know HA C file provided whether execute in CGI or not ?

I highly look forward to see your reply as soon as possible.
THx a lot !!!!

anelka


no CGI not possible. I am soon making a project, in which you have a webserver software written in Java, so HTML webpages are interface for your home. you can get more idea here www.rickeyworld.info/news56.html

Hope that helped
Tags 8051 microcontroller8051 C Coding
Fri Mar 30 2007, 07:17 AM
#3
Thx Rickey's reply.

I still want to ask some question.
1) As I need to build a web site, do I just build web page as interface, which are individual part as control panel to send a data or bit via RS-232 to MC ??
Is there any protocol on that ??

2) Could you please tell me how to inplement the MC via the web page ?
If you can , could you please tell me the implementaion of your VB?

Thx a lot ~~
Tags 8051 microcontroller8051 assembly
Fri Mar 30 2007, 06:38 PM
#4


Thx Rickey's reply.

I still want to ask some question.
1) As I need to build a web site, do I just build web page as interface, which are individual part as control panel to send a data or bit via RS-232 to MC ??
Is there any protocol on that ??

anelka


There is no special protocol or something.. but, you need to make separate interface for serial communication. I mean, simply making a webserver wont help, you must interact with MC to send and receive data.


2) Could you please tell me how to inplement the MC via the web page ?
If you can , could you please tell me the implementaion of your VB?

Thx a lot ~~

anelka


Its not in VB i wrote in Java, you can do it in VB too. its simple. While displaying the webpage, read from MC and send it to the webpage, search for webserver VB project in google, sure you will get a sample project. If i get time, i may make a VB compatible software. but right now.. its just Java.
try google for a webserver project, see how things are implemented, then maybe you can do something like that. try it out!!
Wed Apr 11 2007, 11:39 AM
#5
Thx for Rickey's reply ~
According to your suggestion, I have tried to build a JAVA web site using JAVA Applet for controlling the serial port. However, once I run the JAVA Applet ~ the error msg is always displayed. the msg is "Caught java.lang.NullPointerException: name can't be null while loading driver com.sun.comm.Win32Driver ~

Hope you can help me ~ Thx Thx a lot ~
Wed Apr 11 2007, 01:16 PM
#6
Do you have Javax.comm APIs installed? if not then you must install... I will be putting my home automation server online soon. so everyone can take a look... but noone will be able to login as, its my HOME
Please install javax.comm API and then try. The error wont come.

Get Social

Information

Powered by e107 Forum System

Conversation

ExperimenterUK
Sat Oct 12 2019, 10:23 PM
Log in.. then post your code in the 8051 forum
Sat Oct 12 2019, 10:18 AM
Bhadra Sajikumar
i am doing a countdown timer with 8051 for my project, unfortunately our professor had to take a leave of absence before he could teach us most of it.. can someone explain the .asm code of it for me?
Mon Sep 23 2019, 07:37 AM
Nathaniel
I am doing a project for my schools wireless security system with cameras,sensors and spot lights using 8051 micro controller, could you help me out with the design and its source code.
Wed Sep 18 2019, 08:48 PM
Caryn Kover
Thank you for your time,
ExperimenterUK
Mon Aug 05 2019, 07:09 PM
@Ismail ..post in forum, give details
Mon Aug 05 2019, 04:33 PM
Ismail balghmi
Hello. Please I won't download
ExperimenterUK
Wed Jul 24 2019, 12:47 AM
@BUSTER123 Please post in the forum
Tue Jul 23 2019, 06:13 PM
BUSTER123
hello! newbie here. i am kind of a guy who hates using ready - made existing libraries, so this helped a lot as i was trying to control and write to a character lcd display. however, i can't figure out how to set the cursor position. for example, i want to set it to the 5th column in the first row, so position 5. so according to the table, i am sending 10000101 on the 8 data lines of the lcd (register select pulled low). the cursor does not move there however. and i cant move the cursor left or right too. is it something wrong that i am doing? thank you.
ExperimenterUK
Thu Jul 11 2019, 07:55 PM
@ramos https://www.theengineeringprojects.com/2017/09/l298-motor-driver-library-proteus.html
ExperimenterUK
Thu Jul 11 2019, 07:44 PM
@praveen123. Can you give a link to the project ?

Downloads

Comments

Casmir
Wed Nov 13 2019, 06:25 AM
DeepakBGattani
Mon Nov 11 2019, 01:31 PM
Jeanbusatta
Sun Nov 10 2019, 04:42 AM
mdayaz
Sat Nov 09 2019, 03:41 PM
baoyen123
Fri Nov 08 2019, 10:06 AM
xiwang
Fri Nov 08 2019, 07:28 AM
ilylily07
Tue Oct 15 2019, 04:32 PM
hientran123
Tue Oct 15 2019, 02:27 AM

Online

Guests: 54, Members: 0 ...

most ever online: 182184
(Members: , Guests: 182184) on 06 Aug 2010: 05:37 AM

Members: 38103
Newest member: Casmir
Forum Activity
ilylily07 Avatar
Posted By ilylily07
Mon Nov 18 2019, 09:54 AM
0v7670 camera interfacing with stc 8051.using asse...
Jeanbusatta Avatar
Posted By Jeanbusatta
Sun Nov 10 2019, 04:43 AM
ty, really needed it
ExperimenterUK Avatar
Posted By ExperimenterUK
Tue Oct 22 2019, 05:18 AM
wimac Avatar
Posted By wimac
Mon Oct 21 2019, 09:18 AM
I’ve been following this thread and looking at the...
s_dinesh40@yahoo.com Avatar
Posted By [email protected]
Sun Oct 20 2019, 03:09 PM
s_dinesh40@yahoo.com Avatar
Posted By [email protected]
Sun Oct 20 2019, 03:02 PM
sir, when i on display ,sometime 3rd display is no...
s_dinesh40@yahoo.com Avatar
Posted By [email protected]
Sun Oct 20 2019, 02:53 PM
sir, when i on display ,sometime 3rd display is no...
ExperimenterUK Avatar
Posted By ExperimenterUK
Sun Oct 20 2019, 12:21 AM
Your code seems okay on my simulationTry my code o...
s_dinesh40@yahoo.com Avatar
Posted By [email protected]
Sat Oct 19 2019, 07:13 PM
please find video attachment. 3rd & 4th displa...
s_dinesh40@yahoo.com Avatar
Posted By [email protected]
Sat Oct 19 2019, 07:05 PM
sir, 3rd and 4th dot matrix display flickering, ...