Go Down

Topic: Bitlash 1.0 (RC1) available at bitlash.net (Read 2557 times) previous topic - next topic

billroy

The RC1 version of Bitlash 1.0 is available for download at http://bitlash.net

Bitlash is a development and prototyping tool for those situations where you need to bang some bits on the Arduino but writing a sketch in C is premature.  The Bitlash command language is very similar to Arduino C and includes a large repertiore of the familiar Arduino C functions so you can hack your hardware from the serial command line or even over the internet via telnet.

You can store command sequences in EEPROM and autostart them at bootup, making the automation and maintenance of small applications very easy.

This version, patched as required by bug reports, will ship as 1.0 shortly after the currently-pending Arduino 0016 release goes gold.

Here is a quick roundup of changes in this version:

     ?      Bitlash for Arduino now ships as an Arduino library with example sketch files. Just drop the library folder into hardware/libraries, upload the bitlash-demo.pde sketch, and off you go.
     ?      New "switch" statement provides easy state machine dispatch.
     ?      The "run" command now takes an optional time-between-calls argument.
     ?      This version is tested and working on Arduino 0014, 0015, and 0016-RC3.
     ?      This version is tested and working with Sanguino using Sanguino 1.4 + Arduino 0014 and 0016-RC3.
     ?      Preliminary support for the Arduino MEGA is coded and compiles, ready for testing.

Enjoy!

-br

RuggedCircuits


billroy

Thanks for the kind words :)

I'd love to hear how it works on those sweet little Gator boards.

Best regards,

-br

RuggedCircuits


nathanvi

@billroy, i'm following bitlash; i think it is very interesting.
Do you show it also in arduino site?
My blog:
http://zuccala.blogspot.com

billroy

Hi, nathanvi, and thanks for your note.

Are you suggesting a reference page in the wiki?  If so, it's a good idea.  I'll put it on the list for the next doc update.

Thanks, and best regards,

-br

nathanvi

I think it could be stay into Development tools at "Others" or into Interfacing with software

It's a good product: in my opinion it has to be more visible.

PS: Sorry for my bad english...
My blog:
http://zuccala.blogspot.com

billroy

Thanks for your suggestions; as you probably guessed I have been having difficulty finding a good place to fit Bitlash into the documentation taxonomy.  

Let me give your suggestions a look and also request others to suggest ideas for the best place.  Any thoughts?

(Your english is fine.)

best,

-br

The_Bongmaster

B-dui in creation.

John_Ryan

Bitlash over TCP/IP for the WiFi shield would allow large programs to be written in php and hosted on a remote server making the Arduino one clever little remote control and sensing device.

Will you be doing a version for the Wifi shield?

billroy

Wi-fi shield: which one? ;)

Seriously, J_R, you raise a fair question so it's worth saying a word about supporting Bitlash on new hardware.

First of all, Bitlash may just work on a new device, possibly with small tweaks, provided the software interface looks like the Arduino Serial() interface.  You'll have to tuck your chip initialization and support library in somewhere.  Start in src/bitlash.h and send me a note when you get stuck.

In the unfortunate case where more work is required to make it go, the author is of course favorably disposed to assist most vigorously in cases where a sample of the board can be provided for testing.  

If you have a pointer to the software interface provided by your wi-fi shield of choice I'm happy to take a look to see how hard it might be.

Best,

-br


Madeleine

Would it be possible to explicitly tell bitlash which libraries to include?
It seems like it is including the lot right now, which might be too much if still running on e.g. a 168.


billroy

Hello and thanks for your note.  Although the current version does fit into the ATMega168 with a tiny bit of room to spare, it is tight.

I have some experience producing smaller versions of Bitlash; in fact I have one that fits nicely in 8K with the V-USB stack on the Tiny85, but at half the code space there are substantial compromises in what it can do.  It is a different beast.

I'm afraid it is not so simple a matter as to include or drop libraries, although such point optimizations can help.  Rather, whole features must come or go as a chunk: for example, the storing of macros to eeprom or support for software serial output.  This is not straightforward to put on a switch, but it can be done.

Fortunately, I believe that you will find that for many applications the Bitlash Demo application is all you need.  And in the case where you need to integrate significant code, the '328 is a nice backup plan.

(If space is tight, start with the Bitlash Demo, not the Bitlash Clock Demo, to save a few bytes.)

Best regards,

-br

John_Ryan

The WiFi shield is designed to work with the 168 but I think it works with others as well.

I don't think the guys who built it have samples to give away and they've still to get client/server mode working at the same time. So that could be a wee while off since they have jobs and contribute in their spare time.

I think they've sold a few dozen units so its early days. I personally wouldn't have any use for bitlash but others looking for an easy way of controlling the Arduino wirelessly over the www might once the use of the shield becomes more prolific.  

Madeleine

Thanks for quick reply. Yes. I understand. I am super greatful for bitlash as it is. I'll use it with a 328 for now and just dropping the libraries manually from the directory before compiling. No probs.

It actually feels a little like the interactivity I had with microcontrollers back in the '80:s when we had FORTH running in a similar environment. Back then the processor was a Mitsubishi 747 (a onechip ~6502 clone that had some eprom).

Go Up