On Sunday, June 21, 2015 at 6:39:39 PM UTC+1, Paul Rubin wrote:
> JUERGEN <
epld...@aol.com> writes:
> > As stated before - MPE's MSP430 LITE and 4e4th.
>
> Ah, ok, I wasn't completely understanding this earlier.
>
> > The LITE version was especially done by MPE after many discussions to
> > have a commercial product, but foc to start with. And it is resident,
> > just add a terminal. Umbilical is possible with it as well.
>
> Do you (or Stephen) happen to know the code size for the resident
> interpreter on the 2553? Is it possible to compile to flash from the
> interpreter on the 2553 directly, without the Launchpad FET?
You can use INCLUDE - or reflash via LP
>
> > And there is another and very strong reason: all the software and the
> > examples now done for the MSP430 can be easily ported to the MPE ARM
> > LITE - probably not possible with any other compiler solution as far
> > as I know.
>
> I expect this is possible with eForth. 4e4th is based on Camelforth
> which at the moment doesn't appear to run on the ARM, but run on various
> other cpus so maybe it can be ported to the ARM someday.
Everything is possible, but somebody (other probably) has to do it. Can I start a project with a deadline without having a delivery plan ? No. Good ideas can only help us on future projects - I rather stick to what I can see and get hold of now.
>
> > I had mentioned this hardware a year ago - the resulting comments
> > showed how wide the interest and the wishes go. Well there are enough
> > Arduinos and Pis out there.
>
> I agree this seems like a really nice project for teaching MCU
> electronics.
Thank you - and it could hardly be more minimal and scalable:
Absolute: PCB - Chip - R - C - C - R - LED
Interface; add the header or headers
Mobile: add the batteries
Enclosed: add the TicTac box you just enjoyed, and put it in your pocket
PC programming: add your USBtoTTL cable
External IO: stick it into the IO headers or solder on
Plus Shield: add a shield with buttons, more LEDs and an LDR as analog IO
Plus_Custom: hat you can think or and share with others
Flash in the MMT: that we had done before as seen on
www.forth-ev.de
FLASH IN MYCO, a little simulated Micro : start programming by just using the 3 buttons and 5 LEDs - no PC required
in the works: Start programming in Forth using a minimal word set to understand how the micro works, using the same shield or connect directly to the board
.
>
> > Using LP - fine, but who would give us 1000 Launchpads for free for
> > this project -
>
> Well you could ask TI about it... FWIW they are having a sale on the
> FRAM MSP430 Launchpad that has an LCD display. But, using a ready-made
> board is more for teaching programming than electronics.
I tried to be realistic and start the project in a way that I can follow it through successfully.
>
> > and the electronic badge would be a bit large and heavy to carry
> > around. And you cannot put it in your pocket.
>
> Do you mean the electronic badge from the Noisebridge page I linked?
> I've seen them and want one myself sometime. It's really cool and you
> can easily put it in your pocket when you're not wearing it.
No, this is our badge, you see it in the PDF on Forth-eV
>
> The people taking the Noisebridge class do have to pay for those kits
> themselves, which gives a bit more flexibility about what can go into
> them. If your Scout event has to give away all the hardware for free,
> it's understandable that your possibilities are much more limited.
Exactly.
>
> > Well the Pong idea is brilliant, can you please expand on the hardware
> > implementation and the software approach you are offering please.
>
> I was imagining something like the GA144 architecture, where each node
> would have 4 connections to its orthogonal neighbors. Originally I
> thought of just passing data, but (like the GA and per some of Bernd P's
> posts) it would be really cool to connect the ports up to the Forth
> interpreter, using software UARTs if necessary. The MPE interpreter
> apparently has multitasking, which could be useful for that.
You just discovered a secret. Longer term the idea was to emulate a G1 with a suitable interface.
Can you point out where such an interface can be found? I just planned something like the TransputerLink, or in the beginning just serial interfaces.
>
> The cute thing about this is the nodes wouldn't have to know their own
> coordinates. They'd all run exactly the same code and start with the
> same data. One of them would have an additional connection to an
> outside terminal. There could be a command like
>
> : LED-ON ( x y -- ) ... ;
>
> which would turn on the node's LED if x and y are both 0. Otherwise it
> would adjust x and y and pass the command to a neighboring node, i.e.
> 8 5 LED-ON on Jane's node would send "8 4 LED-ON" to Jane's node's
> rightward neighbor and so on, so eventually the node 8 upward and 5 to
> the right of Jane's would turn on its LED.
>
> It could also be cool to have hypercube wiring instead of the horizontal
> grid. I guess both of these make the wiring much more complicated than
> your broadcast bus idea though.
All possible with this hardware (within limits, so we do an SGA1k ( Scouts GA with 1k nodes)
>
> You'd want to have a header on the board so each kid could wire up his
> or her own node to its neighbors on the big panel with solderless
> breadboard jumpers. The header would also make it easier to connect up
> the board to other devices.
Implemented or prepared for already
>
> > Our plan is to build a 1024 bit unit with an LED each - bit
> > adresseable. Any shape is possible as the TicTac Boxes are just
> > mounted on the shape required.
>
> I didn't know TicTac boxes were involved, or that they could hold the
> board and batteries. Sounds nice.
We needed an enclosure - and I found this solution
Two AAAs and a little PCB fills it. ( or 2 boards and a coin cell )
>
> I guess you were thinking of a giant broadcast bus rather than some kind
> of fanout scheme, so ok, I guess that's doable.
The only reliable and fault tolerant solution for now
>
> > Build a software UART but not standard 8 bit, a lot longer, 1024 bits
>
> This doesn't seem like a great idea. I'd go with standard 8 bit. The
> nodes could still all listen to it for data that interested them. You
> could send Forth commands like $25 BLINK to tell node #25 (hex) to blink
> its led, or something like RLEBLINK to broadcast a 1024 bit RLE encoded
> bit stream, where each node would blink its led if the appropriate bit
> was set.
I kindly disagree. Direct addressing can only be done in roughly
Guess 5 bytes per addressing x 1000
1kUART is 1k bits, so very roughly 5 times faster, if I calculated correctly 10 frames per second - moving graphics
or just to dream as there would not be time enough now:
2 combined frames ( or 2k UART ) gives 5 frames per second and 4 levels of brightness - slow scan TV, which would make picture generation easier using a camera or video signal
>
> > A test hardware consisting of around 32 units will be built for
> > software testing soon.
CORRECTION: a 16 node unit plus the related repeater has been built over the weekend. I will try to have a picture put up on the MMT website.
No prototype boards but using last year's MMT boards.
So it is time for the software department now to get programming to test it.
A second node probably next week.