Home
JAQForum Ver 20.06
Log In or Join  
Active Topics
Local Time 09:11 01 May 2024 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 : playing with Micromite and an Rpi2

Author Message
plasma
Guru

Joined: 08/04/2012
Location: Germany
Posts: 437
Posted: 03:33pm 19 Jan 2016
Copy link to clipboard 
Print this post

Hi,

some progress from my "full HD" display for the Micromite.

A Micromite sends some Commands over the serial port , the Rpi drives the Display and wraps the commands to OGL.

its funny to see some MMbasic Gfx on an full Hd Display.

the speed is ok , not much commands yet maybe much moore later.....

its only a test atm...


gtx

https://m.youtube.com/watch?v=BBT5b4pEGNg

Edited by plasma 2016-01-21
 
plasma
Guru

Joined: 08/04/2012
Location: Germany
Posts: 437
Posted: 03:43pm 19 Jan 2016
Copy link to clipboard 
Print this post

Micromite power
 
Frank N. Furter
Guru

Joined: 28/05/2012
Location: Germany
Posts: 813
Posted: 09:47pm 19 Jan 2016
Copy link to clipboard 
Print this post

Hi Plasma,

that looks interesting! Can you tell more about the code on the Mite and on the Rpi?

Frank
 
plasma
Guru

Joined: 08/04/2012
Location: Germany
Posts: 437
Posted: 05:30am 20 Jan 2016
Copy link to clipboard 
Print this post

Hi Frank ,

no problem .

on the micromite (the easy Part i use some strings with the following format

headerbytes +gfx command+ x,y,x1,y1,switch1,schwitch2,endbytes

such like :

color = 1
rect = 2
line = 3

Print #2 , header$+","+str$(rect)+","+str$(x)+","+str$(y)+","+str$(x1)+","+str$(y1)+end$
draws a Rectangle with x,y,x1,y1

on the Rpi side i use Bmx-ng a blitzmax Port for the Rpi.
Bmx-ng supports ogl,socket,sound,key,mouse etc.
so i wrote a simple parser (lame and ugly atm) and wrapped the commands.

the Goal is to port the wrapper to Android / Ios and use an old tablet as Micromite Display.
 
MicroBlocks

Guru

Joined: 12/05/2012
Location: Thailand
Posts: 2209
Posted: 06:45am 20 Jan 2016
Copy link to clipboard 
Print this post

Did you consider X-Windows?
That is something i am considering.
A uMite would then be the client.

Microblocks. Build with logic.
 
plasma
Guru

Joined: 08/04/2012
Location: Germany
Posts: 437
Posted: 04:51pm 21 Jan 2016
Copy link to clipboard 
Print this post

next test

 
plasma
Guru

Joined: 08/04/2012
Location: Germany
Posts: 437
Posted: 04:58pm 21 Jan 2016
Copy link to clipboard 
Print this post

hmm x- windows ? i dunno Microblocks

my solution is giving the micromite or every other micro pc with an serial port a full Hd display.

so you can expand the rpi gpio with an micromite and expand the micromite with a big display.

i solved some speed issues and epand the commandset.

gtx
 
Print this page


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

© JAQ Software 2024