====== Forth Mini Multi Tool for Embedded Experiments ====== This project has been started by Jürgen and a TI Launched. He has put a lot of energy into it all to design, fund and coordinate. Thank you! Using these notes you can follow the project. And help it succeed. {{:en:projects:mmt4ue2:juergenemail.jpg?200||Write to me ...}} ===== The MMT4ue2 ===== Very briefly, one can say: "...take the MMT for a test run " or "take your T42" (as in "tea for two";-) So, what is this all about now? Jürgen’s ((Jürgen Pintaske)) vision of a small, versatile, handy and affordable tool, which allows you to test and try out hardware; it led him to have a small board designed by Ralf Lieb. It is equipped with a micro- controller unit (MCU) from TI, the MSP430G2553. My ((Michael Kalus)) own experience with the 4e4th Forth for this MCU then brought us to work together on this project. For him and others interested then emerged this collaboration that he called internally, "his Swiss army knife" for electronics. A kind of combination tool for the usual in modeling: small, light, compact, versatile, virtually in a backpack and go to all sorts of useful, and expandable. And low cost, easy to build. And then you can just do such things: \\ [[http://youtu.be/Q3OD7Edfhwg|EX6 - Dance of the Servos]] [[http://youtu.be/s-9q_lnT7zQ|EX5 - Toggle 4 OUT bits manually]] [[http://youtu.be/mKblxqHwhjQ|EX7 - Servo follows analog input pin (ADC4)]] The board TI Launchpad has been used for design and programming. For an application use the EuroTech MSP430Board, LED and switches onto the little Protoboard, USBtoSerial cable to the PC if wanted. That’s it. Or control some features only by the three buttons – then you need 2 AAA cells for power ==== Design of the electronic Mini Multi Tool ==== Juergen rummaged in his experience and created a list of tasks which tool should perform. One could also say, it is a collection of common fundamental tasks of MCUs, formulated as exercises (examples) and these were then programmed as simple examples. Either to work independantly controlled via switches or with a PC via a USBtoTTL cable, opening up for modifications. All tools required are on-Board. Well documented, so that the background can be well understood. It was surprisingly easy to forge such a small tool using Forth. These were created in this MCU as 4 digital and 2 analog inputs, 4 digital outputs, 1 PWM output and one frequency output (square wave 1:1). The whole thing was started on a [[http://www.ti.com/ww/en/launchpad/launchpads.html|TI MSP-LaunchPad]] which is used as well for programming the Flash. But this was not the end of it. Jürgen had a minimalist board in mind as well. Device Pinout: MSP430G2553 20-Pin PDIP (TOP VIEW) VCC-----------------[01 20]---------------------VSS (LED1 LP) AD0 P1.0--[02 19]--P2.6 OUT2 ------------ RXD-----------P1.1--[03 18]--P2.7 OUT3 ------------ TXD-----------P1.2--[04 17]--test ----------------- -----------S2 P1.3--[05 16]--RST S1 -------------- ..........AD4 P1.4--[06 15]--P1.7 S3 ---------SPI* _-_-_-_-_-FRQ P1.5--[07 14]--P1.6 PWM LED2-LP SPI* ----------IN0 P2.0--[08 13]--P2.5 OUT1------------- ----------IN1 P2.1--[09 12]--P2.4 OUT0------------- ----------IN2 P2.2--[10 11]--P2.3 IN3-------------- * SPI optional. ==== The two MiniPCBs ==== They are described very quickly: They actually consist of MCU, whose pins are taken to the outside of the board, so solder connections can be made easily and changed again and again. Or add two pin headers, soldered in to plug the whole thing into a breadboard (see picture). And combinations are possible. On this board there are only the minimum necessary components for the operation of the MCU of this MultiTool.The whole system is assembled quickly, reusable; and as it is extremely low cost, it can also be installed, another one built and used as intelligent IO, or tested to death during experimenting. You may shrink your Forth computer down to a chip with software, one resistor, a few wires, and FTDI 3.3VUSB Interface. Or make your own [[en:projects:mmt4ue2:urchin|urchin]] ... {{:projects:mmt4ue2:2014-10-17_10.27.15.jpg?200|Left half: MiniPCBs – top and bottom side. Right half: The complementary experimental PCB to add additional parts.}} {{:projects:mmt4ue2:2014-11-04_21.58.07.jpg?200|Both boards soldered together.}} {{:projects:mmt4ue2:2014-11-08_10.20.00.jpg?200|With mini I/O-module - and MCU without any PCB ...}} {{:projects:mmt4ue2:minipcb1-msp430g2553.jpg?100|This little PCB is for MCU ... }} {{:projects:mmt4ue2:minipcb2-msp430g2553.jpg?100|and this one is aditional.}} ==== The Tools ==== (to be added soon) Here you can see already a little bit about what is happening. //Warning: The video clips there are around 50MB.// Dancing servos using set signals ==== The Manual ==== (Tbd) ==== Source Code ==== Can you join the user club already? Yes, you can. The source code is not fully developed yet, but if you want [[projects:mmt4ue2:mmtquellcode0| have a look already]]. You do not have to copy from the preview, just download the {{:projects:mmt4ue2:mmt4ue2.zip|starter pack}} to join. It contains the immediate flash-ready image of MMT4 , and as documentation the source code. There will be certainly still minor changes. And it is already clear, this asks for a 4e4th update. The Mini Multi Tool was started under 4e4th - rev034 , which results in some inconsistencies with the current 4e4th IDE. The IDE does use some debug capabilities already of the 4e4th. ==== Updates ==== I hope there will be even more professional successors of our very first improvised prototypes. I would then like to introduce them here. * MSP430 VFX Forth lite standalone version * 430eForth version * ? amforth And of course versions using more powerful MCUs and as result still further programming examples on just such minimalist boards. {{:projects:mmt4ue2:2014-09-01_11.12.48.jpg?200|Maybe like this one...}} Have fun, Michael ===== Links ===== [[projects:4e4th:4e4th:start:msp430g2553_experimente|Grundlegende Experimente mit MCUs ( English version to follow )]]\\ [[http://www.4e4th.eu/|4e4th und 4e4th-IDE]]\\ {{:en:projects:microbox:4e4th-ide-startnotes_2016_03_29_a5_v1.pdf|4e4th Start Notes}} - First stepps...\\ {{:en:projects:microbox:4e4th-ide-instructions_including_microbox_a5_2016_03_29_v1.pdf|4e4th Instructions, including Microbox}} ... more details\\ [[http://www.mpeforth.com/xc7lite.htm|VFX Forth Lite cross compilers von MPE]]\\ ===== Drivers of this project ===== Jürgen Pintaske, and Ralf Lieb who designed the boards, and EuroTech who manufactured boards for us free of charge. And thanks to others who helped. Pick up your free boards at** electronica 2014, 11 - 14 November at EuroTech**. ===== Supplement ===== ==== The Beginnings ==== {{:projects:mmt4ue2:2013-12-07_21.47.56.jpg?200|Jürgens collection of stages}} {{:projects:mmt4ue2:2013-11-29_19.41.55.jpg?200|Layout Considerations ...}} ==== Handouts ==== {{:projects:mmt4ue2:swk4_2014_11_05.pdf|Sourcecode - intermediate result}}\\ {{:projects:mmt4ue2:forth_mini_multi_tool_for_your_embedded_experiments_v1_2014_11_06.pdf|Intermediate result of this website.}} ==== Various ==== {{:projects:mmt4ue2:mybonnie.png?400|The notes of the song.}}