Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.
|
Forum Index : Microcontroller and PC projects : MM Link - remote control Maximite
Author | Message | ||||
TassyJim Guru Joined: 07/08/2011 Location: AustraliaPosts: 6100 |
I am looking for willing testers. I was having problems getting a reliable serial port working under Wine. It links OK but data transfers were intermittent. I also wanted to talk to Maximites remotely. But most of all, I want to write code for Linux as well as Windows. This is my first attempt. MMlink is a serial to TCPIP link which allows TeraTerm to access a Maximite (or any other serial device) remotely. You can also run TeraTerm under Wine on a Linux box and connect to the Linux version of MMlink on the same PC. I would like to know if it runs on Linux "out of the box" without having to set permissions etc. The first time it is run, a file "MMlink.inf" is created and you will probably have to edit this to get the correct serial port. The attached ZIP has 3 files: MMlink.txt - a basic help file MMlink.exe - the Windows executable MMlink - the Linux executable 2013-08-09_061047_MMlink.zip The next step is to change MMedit so it can talk to TCPIP I have successfully create a DLL so that I can send data with zero's in it (Needed for XMODEM) And then I start on a complete rewrite of MMedit to get it multiplatform. Jim VK7JH MMedit MMBasic Help |
||||
JohnS Guru Joined: 18/11/2011 Location: United KingdomPosts: 3804 |
You say TCP/IP so what cable(s) etc are needed between PC and 'mite? TCP/IP is commonly used over Ethernet but as I recall the mites do not have that. John |
||||
TassyJim Guru Joined: 07/08/2011 Location: AustraliaPosts: 6100 |
MMlink is a serial to TCPIP converter. The Maximite connects to a PC as usual (USB or serial) MMlink lets you run a terminal program on another computer to access the Maximite. If you already have a ethernet access to your Maximite via ethernet to serial converters or serial to WIFI etc, this program is not needed. Jim VK7JH MMedit MMBasic Help |
||||
JohnS Guru Joined: 18/11/2011 Location: United KingdomPosts: 3804 |
Where is TCP/IP used? There is: mite (serial) ---- serial-to-USB ---- USB port on PC I see no TCP/IP John |
||||
MicroBlocks Guru Joined: 12/05/2012 Location: ThailandPosts: 2209 |
mite (serial) ---- serial-to-USB ---- USB port on PC --- TCP/IP on PC So anywhere from a network (even from internet if you setup your router) you can connect to a mite. Microblocks. Build with logic. |
||||
JohnS Guru Joined: 18/11/2011 Location: United KingdomPosts: 3804 |
Oh. But I can remote login to the PC (if it isn't the one I'm already on) so there's no need for any extra software, is there? John |
||||
mbramwel Regular Member Joined: 10/07/2013 Location: CanadaPosts: 42 |
The program listens to inbound tcp/ip (TELNET) connection on port 6832 Once established, anything you type is sent to the gateway PC via the network which then sends the data via the serial port to the maximite. In Cisco terminology, he has created a single port *terminal server* or also known as an "TCP/IP to Serial" gateway. TJ: Does that sum it up nicely? TJ: What language did you use? Visual Studio? |
||||
JohnS Guru Joined: 18/11/2011 Location: United KingdomPosts: 3804 |
But what's the point when there are standard programs that do it all already? John |
||||
TassyJim Guru Joined: 07/08/2011 Location: AustraliaPosts: 6100 |
You are correct John, with remote access to your PC, there is no need for my software. That is how I normally control the laptop in the shed. However, with a slow network, normal remote access is a pain. I can use telnet on my phone to do work while waiting for the fish and chips..... This is a simple way to get Linux - Windows working (in either direction). The whole aim of the exercise is to learn a new programming language so I can produce software for Linux and Windows and maybe that other funny fruity one. I have decided to give PureBasic a try and so far, I like it. It's a long way of but a new MMedit should have code folding, multiple tabs and the option to make a portable installation. Portable means you can run it on any PC from a USB stick and this is where having a TCPIP link to a real Maximite 'back home' will be convenient. It's 10 years since I have done anything with Linux and then it was all command line stuff so I need to find out how modern GUI Linux in all the various flavours works. Jim VK7JH MMedit MMBasic Help |
||||
Print this page |