My OS is winCE. I need to send data to pic with RS232 by typing on web and then MINI2440 get string and sent it though serial port and PIC get string and shown on LCD.I can send the data to pic and pic to LCD . My diagram. LCD <<<<<< PIC <<<<<<< MINI2440 <<<<< web(if i have to type on AA on web it must be shown on LCD) ps.The data that i send from MINI2440 to pic by using serial port. Question 1.If i want to typing from web and the MINI2440 must be web server or web application? 2. I don t know how to make MINI2440 can be web server or web application? 3.Is there another to use mini2440 to be server? Thank you.
how can i made MINI2440 to be web server
Hi zlatan, If you use the factory root image on the mini, there is already a working webserver. It is boa? You can put your webpages in /www directory. Of course, if you want to be able to write on LCD, you will have to create your own interface. Why do you want to use a PIC to drive your LCD? Maybe you can drive it with the mini! Bye
My reason that I have to use pic. I have to use more port and in the future I may be use xbee to send data from mini2440 to pic.But now I still use serial port. My question. 1.Boa can run on windowCE or linux? 2.If I need to use serial port on linux do u have command on serial port? 3.So how can I make file from C on linux? Thank you.
Boa runs on Linux, If I remember well, there is also a webserver in WindowsCE but I don't know WinCE very well as it seems to be more difficult to me. If you want to use the serial port in Linux, you have to write your commands to /dev/ttySx "file". You will have to use open, read, write, close. Maybe you can find examples on the mini DVD or googling a bit.
Thank you for the answers. i have ubuntu-10.11-i386 can i use this to run command in linux and cross compile to mini2440?
hi..i face problem when i communicate serially xbee to con1 of mini2440.That xbee can send data serially to laptop. however,the data cannot send serially to mini2440..can anybody help me please..
hi every one...can any one tell me " what are the servers that mini2440 supports like boa .... in my project iam using sensors like temp, pressure,Ldr, humidity,gas sensors connected to my mini2440 board. now i have to send these sensors data on to the web.. can i do it with boa web server or with my sql web server or any other ser is best....plz give me ur valuable suggestions.. and also tell me how implement that web server with mini2440 board... thanks a lot
I think for Boa you have to write CGI scripts. I never bothered. I use thttpd with PHP to send my sensor data. Writing PHP scripts is very similar to C. Try searching for <thttpd php> and you should find a HowTo I wrote, on this site. People have tried Apache and there are several very long threads on here, but I don't know how successfully. One nice thing about PHP is that you can modify the script on the mini2440 and see an immediate result . . . good or bad!
Hi I managed to get Boa to run on Mini6410 platform by: On Target: edit /etc/boa/boa.conf file: Port 8000 User nobody ServerName www.xyz.com On target, tftp cgitest.cgi (see later) from host to: /var/www/cgitest.cgi On target cd /usr/sbin ./boa & From host: http://target_ip_address(dotted quad):8000/cgitest.cgi Read the following excellent tutorial for cgitest.cgi at: www.ibm.com/developerworks/linux/library/pa-migrate4/ Regards
Hi I have a problem about serial communication between COM1(RS232) on mini2440 and Xbee. I can send data between Xbee and PC(physical RS232 port) or latop (Prolific USB-Serial Converter). Also between COM1 port (232) on mini 2440 and PC or laptop. But when I try to send data between Xbee and Com1(232)port on mini2440 I canīt get data on both sides. Can anybody help me, I've spended so much time on this. Thank you Regards
Host <-> Minii2440 is a host to device connection. Also host <-> Xbee seems a host to device connection in your case. But you need a different cable to make a device <-> device communication work.
Ok, serial cable was the problem, If you need to connect serial port 232 on mini 2440 (DCE) with another device (e.g. xbee(DCE)), you need a cross female - female cable. It let us to connect two serial ports DCE. I hope it helps somebody.
hi all, i wanna read adc an0 on mini2440 in cgi script, i use shell bourne scritp to write. Please hellp me read adc and send to web server Thank in advance.
First, you have to decide which distribution you are going to use. The FriendlyArm distro has got Boa, which accepts CGI scripts. Then go to this site: http://www.pengutronix.com/oselas/bsp/pengutronix/mini2440_bsp_en.html and grab a copy of: OSELAS.BSP-Pengutronix-Mini2440-Quickstart.pdf and read the ADC section. You may need to re-compile the FriendlyArm kernel (it has been so long since I used it). A second option is to use the Pengutronix mini2440 BSP. It will take awhile to setup, BUT once you have got it working adding and changing stuff becomes a lot easier. You could then tick the "thttpd" box and still write your script in CGI. Why do you have to use CGI?
hi davef, thank for your help. I use friendlyarm mini2440 and i cant find /sys/devices/platform/s3c24xx-adc/s3c-hwmon/in0_input. I use CGI because i see in /www folder has file leds.cgi on mini2440. That's a sample demo which control led via String be sent from "submit button" HTML. Therefore, i think i can use bourne shell to write application read adc. Please help me.
I see on mini2440 has a demo read Voltage from AN0 and display touchscreen but i dont know how do it work?
> I use friendlyarm mini2440 and i cant find > /sys/devices/platform/s3c24xx-adc/s3c-hwmon/in0_input. Because FriendlyArm's example uses kernel calls (ioctl) instead of userspace (sysfs) calls. The 2.6.32.2 kernel would need to be re-compiled with right boxes ticked in kernel config. Save yourself a lot of time and learn to use the Pengutronix BSP, unless you really want to do everything from scratch.
iam using mini 2440 wince in it as i was working on web server my telnet ,ftp are working fine but when i am typing ip address of my device on IE it was not opening the page why pls can any body tell me