Page 379 - Hacking Roomba
P. 379

360       Part III — More Complex Interfacing







































                             FIGURE 15-19: Measuring current of the webcam taking pictures to flash drive, with Internet
                             access



                             If at some point you end up with a project that draws too much power for Roomba or a small
                             battery pack, one solution is to use a small lead-acid battery. These have high charge ratings, are
                             rechargeable, and can take high current demands.

                             Assembling the Roomba Command Center
                             You have the makings of a Roomba command center: a video panel showing live images from
                             Roomba and a control panel to tell Roomba what to do. To combine these two browser windows
                             into one, use an HTML frameset. Call it roombapanel.html and put it in the same directory
                             as the other two pages:
                             <html>
                             <title> Roomba Command Center </title>
                             <frameset cols=”50%,50%”>
                               <frame src=”roombacam.html”>
                               <frame src=”roombapanel.cgi”>
                             </frameset>
                             </html>
   374   375   376   377   378   379   380   381   382   383   384