QUOTE(aba9785 @ Jan 4 2013, 08:52 AM)
regarding the wireless adapter would disconnect once a while.... do u manage to root cause the issue?
is it hardware? (wifi adapter/ wifi router), power surge? (i think u r using a battery pack?), software? (RPI is not that powerful, just adequate. or is ur code?), or location? (where u place the router/rpi box)?
For the wireless adapter part, m not that sure on whats the issue, but i guess my issue was the distance
or the adapter power down when no activity. Because when the browser access the web server,
the wireless adapter tend to work non stop.. But when no devices access the internal webserver,
the wireless adapter tend to disconnect from the router. So i had to restart the whole pi.
The distance between the router and rpi box is approximately 6 meters.
So create a script which will check the wireless connection every 1 or 5 minutes and
script run ifconfig wlan0 down and ifconfig wlan0 up if in case connection breaks.
As the whole operation is headless, GNU screen is very useful. The program/script will
still run eventhough our terminal session ends.
QUOTE(Liuism @ Jan 4 2013, 12:12 PM)
IC, how long it takes u to finished up the project? Estimate cost?
Level shifter with circuit diagram planning - 3 days
C/C++ program - 7 days
PHP web output - 4 days
Took me approximately 2 weeks.