Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

Microcontrollers and Rebol

 [1/4] from: gschwarz::netconnect::com::au at: 12-Jan-2007 16:39


Hi, I have been meaning to try loading on a small microcontroller, a copy of the PC software. The pc downloads it's software from the micro, so as to have the right version of software with some hardware. I have just started to put something together to do this. On the microcontroller there are three parts. 1. The firmware to run the microcontroller. 2. Bootloader to update the microcontroller. 3. PC Software in rebol. Because it is small, runs on most if not all pc's. The connection to the microcontroller is via serial port. Commands are in the format of command(cr). The bootloader starts with the "U" command. The pc software is going to use the "LV" and "LP" commands. LV for the software version, LP to transfer the file from the micro to the pc. eg. If you had a "version" of software on your pc, it would check to see if there is a new version to download, if not just keep on working with the current version. This could also be useful for "driver" type adjustments for different hardware configs. So there would be a main rebol program on the pc and different drivers for different hardware configs on the micro. The main program would look at the version of driver on the micro, and if it does not have it, downloads it. I have thought about using a small web server on the micro to make it even easier, but a web server would load the micro to much for real use. This type of hardware/software conductivity could be good for Rebol. Regards, Greg Schwarz

 [2/4] from: edoconnor::gmail::com at: 12-Jan-2007 11:41


Sounds cool. Let us all know how it goes -- maybe REBOL "Wildman" will provide a boost to these types of projects. I'd get a kick out of seeing a REBOL-powered Roomba vacuum cleaner. Ed On 1/12/07, Greg Schwarz <gschwarz-netconnect.com.au> wrote:

 [3/4] from: tim-johnsons:web at: 12-Jan-2007 8:58


* Ed O'Connor <edoconnor-gmail.com> [070112 07:44]:
> Sounds cool. Let us all know how it goes -- maybe REBOL "Wildman" will > provide a boost to these types of projects. I'd get a kick out of seeing a > REBOL-powered Roomba vacuum cleaner.
My Roomba is presently cleaning my bedroom and entertaining the cats (who have figured out how to turn Roomba on) I've read that Roomba is programmed with a dialect of LISP. I've also read the Roomba technology is descended from the technology used in bomb-disarming robots deployed in Iraq. Going to be more of these devices I'm sure. And rebol *is* a LISPish language, but much easier to use methinks. Tim (who also writes LISP)
> Ed > On 1/12/07, Greg Schwarz <gschwarz-netconnect.com.au> wrote:
<<quoted lines omitted: 43>>
> To unsubscribe from the list, just send an email to > lists at rebol.com with unsubscribe as the subject.
-- Tim Johnson <tim-johnsons-web.com> http://www.alaska-internet-solutions.com

 [4/4] from: tim-johnsons::web::com at: 12-Jan-2007 11:57


* Tim Johnson <tim-johnsons-web.com> [070112 10:43]:
> * Ed O'Connor <edoconnor-gmail.com> [070112 07:44]: > > Sounds cool. Let us all know how it goes -- maybe REBOL "Wildman" will
<<quoted lines omitted: 8>>
> LISPish language, but much easier to use methinks. > Tim (who also writes LISP)
One more thing. In my opinion, rebol for Microcontrollers would need a Foreign Function Interface tim -- Tim Johnson <tim-johnsons-web.com> http://www.alaska-internet-solutions.com

Notes
  • Quoted lines have been omitted from some messages.
    View the message alone to see the lines that have been omitted