Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 11:44 12 May 2025 Privacy Policy
Jump to

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 : Mite-e-RaspberryPi

Author Message
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6220
Posted: 05:23pm 04 Aug 2014
Copy link to clipboard 
Print this post

I have a RaspberryPi connected to a micromite. It can also connect to Maximites but don't try to supply power to the Maximite via the USB - you are doomed to fail.
The USB ports are restricted to 100mA each

I have it set up as a serial to TCPIP device using 'ser2net'

If you want to see the Towers of Hanoi running, connect TeraTerm to
118.208.247.208 port 3002

If the program is not running type 'run'
Provided no one has done something undesirable, things should work.
TeraTerm should be set to send character at a time rather than line at a time.

It is a dynamic IP so is likely to change ocasionally and I won't leave it running too long.

Jim
VK7JH
MMedit
 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9492
Posted: 05:38pm 04 Aug 2014
Copy link to clipboard 
Print this post

I have connected no problems.

So, you're using a Pi as a network module, essentially?

Any reason you would not use a cheaper network module, or are you just playing around cos you can, and wanted to see if you could make it work?

Smoke makes things work. When the smoke gets out, it stops!
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6220
Posted: 05:58pm 04 Aug 2014
Copy link to clipboard 
Print this post

The Pi can do (and will be doing) a lot more than serial to net.
It doesn't cost much more than a dedicated serial to TCPIP module.
It can also log connections which is handy for debug work and security.

I intend to run it as a web server with realtime data from the micromite.

All I have to do now is learn Python....

It's a pity that I won't be able to run MMEdit on the Pi.

A model B+ Pi from Element14 is $36au plus GST including freight.
They need a microSD card and draw about 300mA at 5V. They also take a long time to boot up compared to the micromite.

Jim
VK7JH
MMedit
 
bigmik

Guru

Joined: 20/06/2011
Location: Australia
Posts: 2946
Posted: 07:02pm 04 Aug 2014
Copy link to clipboard 
Print this post

Very Good Jim,

I had a play with it .. I like it

Mick
Mick's uMite Stuff can be found >>> HERE (Kindly hosted by Dontronics) <<<
 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9492
Posted: 08:37pm 04 Aug 2014
Copy link to clipboard 
Print this post

@ Jim - OK. Interesting. Keep us posted.
Smoke makes things work. When the smoke gets out, it stops!
 
Grassy
Newbie

Joined: 06/07/2014
Location: Australia
Posts: 12
Posted: 09:01pm 04 Aug 2014
Copy link to clipboard 
Print this post

Neat. I was thinking of doing something similar. From your description you connected the Pi via USB to serial and then to the uMite. Did you have any problems with the Pi recognising the USB to serial adapter.

Thanks,
Tony
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6220
Posted: 09:20pm 04 Aug 2014
Copy link to clipboard 
Print this post

  Grassy said   Neat. I was thinking of doing something similar. From your description you connected the Pi via USB to serial and then to the uMite. Did you have any problems with the Pi recognising the USB to serial adapter.

Thanks,
Tony


At this stage, I have the mite connected through a USB-TTL adapter. I think most adapters will work without any driver issues.
Eventually, I will use the one available RS232 on the Pi connected to com1 for a 'user interface' saving the console port for control access.
The only problems I had was when I tried to connect the maximite to the USB port. The power drain was too much for the Pi but it all worked as it should when I powered the maximite direct from the 5V pins.

Thanks to Bert for his Towers of Hanoi game. The timing was perfect.
http://www.thebackshed.com/forum/forum_posts.asp?TID=6807&PN =1

Jim
VK7JH
MMedit
 
hwholmes
Newbie

Joined: 30/05/2014
Location: United States
Posts: 10
Posted: 12:32pm 05 Aug 2014
Copy link to clipboard 
Print this post

Glad to be able to contribute as a newbie.
Bert
 
Grassy
Newbie

Joined: 06/07/2014
Location: Australia
Posts: 12
Posted: 05:41pm 05 Aug 2014
Copy link to clipboard 
Print this post

Jim

I have it running and it only took about half an hour. I used one of those cheap Prolific USB to serial converters and the PI recognised it straight away and loaded the correct driver. Then it was only a matter of looking up 'ser2net' on the net.
I used the instructions in the first link I found, set the baud rate to 38400 in the config file with no other changes and bingo I can now talk remotely to the uMite.

Definitely one of the easiest things I have tried lately and could be very useful. Thanks very much for the post.

Tony
 
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025