Home  |  Contents 
Microcontroller and PC projects
  Forum Index : Microcontroller and PC projects         Section
Subject Topic: Pi-cromite V5.4.05 with documentation Post ReplyPost New Topic
Page of 5 Next >>
Author
Message << Prev Topic | Next Topic >>
matherp
Guru
Guru


Joined: 11 December 2012
Location: United Kingdom
Online Status: Offline
Posts: 1765
Posted: 11 August 2017 at 10:35am | IP Logged Quote matherp

The Pi-cromite code has been stable for a bit now so I've tried to pull together as much of the information in the original huge thread as possible and incorporate it into a Pi-cromite manual

2017-08-11_102341_Pi-cromite_Manual.pdf

I've also re-versioned the code and included some additional MMX features to maintain compatibility with the Micromite/MMX versioning

2017-08-11_103150_mmbasic.zip


As always the primary source of information on the MMBasic language and most commands is the Micromite and Micromite+ manuals





Back to Top View matherp's Profile Search for other posts by matherp
 
WhiteWizzard
Guru
Guru


Joined: 05 April 2013
Location: United Kingdom
Online Status: Offline
Posts: 2401
Posted: 11 August 2017 at 10:40am | IP Logged Quote WhiteWizzard

Brilliant stuff - THANKS

__________________
For everything MicroMite visit MicroMite.org

Direct Email: WhiteWizzard@MicroMite.org
Back to Top View WhiteWizzard's Profile Search for other posts by WhiteWizzard Visit WhiteWizzard's Homepage
 
paceman
Guru
Guru


Joined: 07 October 2011
Location: Australia
Online Status: Offline
Posts: 1157
Posted: 11 August 2017 at 12:36pm | IP Logged Quote paceman

Thanks for that from me too Peter. I've been chickening out of trying it out on the Zero-W I bought about two months ago - partly because I wasn't sure where to start in the thread! No excuse now - I'm going to have to bite the bullet and give it a go.

Greg

Edited by paceman on 11 August 2017 at 12:38pm
Back to Top View paceman's Profile Search for other posts by paceman
 
RonnS
Regular Member
Regular Member


Joined: 16 July 2015
Location: Germany
Online Status: Offline
Posts: 77
Posted: 11 August 2017 at 1:12pm | IP Logged Quote RonnS

... thank you very much Peter ... i like it !

I'm still working on my smart home system - it's running with the Raspberry, but there's still much to make it better

What do you think about my suggestion to use GTK + elements with the PiCromite ---will this be possible? GTK Widgets

regards Ron
Back to Top View RonnS's Profile Search for other posts by RonnS
 
matherp
Guru
Guru


Joined: 11 December 2012
Location: United Kingdom
Online Status: Offline
Posts: 1765
Posted: 11 August 2017 at 2:06pm | IP Logged Quote matherp

Quote:
What do you think about my suggestion to use GTK + elements with the PiCromite


If I understand it this layers on top of X-windows so would need the full version of Raspbian installed. For the Pi Zero this is really too much overhead so I think it makes sense to stick with console window but I may be missing something
Back to Top View matherp's Profile Search for other posts by matherp
 
RonnS
Regular Member
Regular Member


Joined: 16 July 2015
Location: Germany
Online Status: Offline
Posts: 77
Posted: 23 August 2017 at 12:00pm | IP Logged Quote RonnS

hi Peter ,
i like the PiCromite so we have all in one, a finishesd PCB without any soldering and so on and its run at 1200 mhz

for some test i have decrase the clockspeed to 800 mhz .. it works well and the bitstream command does not make problems
the cpu have to be cooled above 74 degrees mmbasic will stopp elesewere

I bought a 3.5 inch display hoping it worked but it only shows half the screen you can help me ??
main parameter

Type           :TFT
Interface       :SPI
Touch panel control chip  :     XPT2046
The color index  :     65536色
Backlight:       LED
resolving power:     320480 (Pixel)
Size proportion:     8:5
power waste:     TBD
Back facet current:     TBD
Working temperature (c):     TBD



Interface definition
Pin number                         identification          describe

1、17                               3.3V       ------   Power supply positive (3.3V power input)
2、4                               5V          -- ----     Power supply positive (5V power input)
3、5、7、8、10、12、13、15、16       NC             --- ---         NC
6、9、14、20、25                   GND          -------          Power GND
11                                   TP_IRQ      ------ Touch panel interrupt, detect the touch panel is pressed down to a low level
18                                  LCD_RS           -------   Instruction / data register selection
19                                  LCD_SI / TP_SI   ------ LCD display / touch panel SPI data input
21                                  TP_SO             -----  SPI data output of touch panel
22                               RST                 -----        reset
23                                  LCD_SCK / TP_SCK     LCD  --------    SPI clock signal for display / touch panel
24                                  LCD_CS               --------          LCD chip select signal, low level LCD
26                                  TP_CS       ---------   The touch panel chip select signal, low level selection of touch panel
Specifications 

    LCD Type      TFT     
  
 LCD Interface      SPI     
  
 Touch Screen Type      Resistive
 Touch Screen Controller      XPT2046     
  
 Colors      65536     
  
 Backlight      LED     
  
 Resolution      320*480 (Pixel)
 Aspect Ratio      02:03     
  
 Power Consumption      TBD     
  
 Backlight Current      TBD     
  
 Operating Temp. (℃)      TBD     
  

  
Interface 

    PIN NO.      SYMBOL      DESCRIPTION
 1, 17      3.3V      Power positive (3.3V power input)
 2, 4      5V      Power positive (5V power input)
 3, 5, 7, 8, 10, 12, 13, 15, 16      NC      NC
 6, 9, 14, 20, 25      GND      Ground
 11      TP_IRQ      Touch Panel interrupt, low level while the Touch Panel detects touching
 18      LCD_RS      Instruction/Data Register selection
 19      LCD_SI / TP_SI      SPI data input of LCD/Touch Panel
 21      TP_SO      SPI data output of Touch Panel
 22      RST      Reset
 23      LCD_SCK / TP_SCK      SPI clock of LCD/Touch Panel
 24      LCD_CS      LCD chip selection, low active
 26      TP_CS      Touch Panel chip selection, low active


many thanks Ronald
Back to Top View RonnS's Profile Search for other posts by RonnS
 
matherp
Guru
Guru


Joined: 11 December 2012
Location: United Kingdom
Online Status: Offline
Posts: 1765
Posted: 23 August 2017 at 2:18pm | IP Logged Quote matherp

Quote:
I bought a 3.5 inch display hoping it worked but it only shows half the screen you can help me ??


Can you provide a link to the specific screen?

The problem is that there are at least three chips on these 3.5 boards ILI9341, ILI9488, ILI9327 which seem to be used interchangeably but are not exactly the same. They need different initialisation although run-time is the same

Edited by matherp on 23 August 2017 at 2:19pm
Back to Top View matherp's Profile Search for other posts by matherp
 
RonnS
Regular Member
Regular Member


Joined: 16 July 2015
Location: Germany
Online Status: Offline
Posts: 77
Posted: 23 August 2017 at 3:31pm | IP Logged Quote RonnS

thank you Peter , here is the link
https://www.amazon.de/gp/product/B06X191RX7/ref=oh_aui_detailpage_o03_s00?ie=UTF8&psc=1

i have a cd with installing instructions files

the driver is called :

LCD-show-160701.tar.gz or
LCD-show-170315.tar.gz




Back to Top View RonnS's Profile Search for other posts by RonnS
 
matherp
Guru
Guru


Joined: 11 December 2012
Location: United Kingdom
Online Status: Offline
Posts: 1765
Posted: 23 August 2017 at 4:11pm | IP Logged Quote matherp

Not sure I understand but if I assume that you are trying to use the TFT as a Pi console rather than using it from MMBasic then you need to tell MMBasic to leave the pins used by the display alone.

The command for this is OPTION PINS nnnn (see manual for more info)

Try OPTION PINS &B10111101100000010000000000
Back to Top View matherp's Profile Search for other posts by matherp
 
RonnS
Regular Member
Regular Member


Joined: 16 July 2015
Location: Germany
Online Status: Offline
Posts: 77
Posted: 24 August 2017 at 7:00am | IP Logged Quote RonnS

hi Peter..,
I wanted to use it as mmbasic display

First I tried it with a zero W-

today I tried it with a RPi 3 and its working
this pic shows the 3.5 Zoll LCD with an RPi3
I think the Zero-W is broken


and this pic shows the 4 Zoll LCD with an RPi3



if someone is interested in it the casing is from Combiplast Link




Edited by RonnS on 24 August 2017 at 7:16am
Back to Top View RonnS's Profile Search for other posts by RonnS
 
RonnS
Regular Member
Regular Member


Joined: 16 July 2015
Location: Germany
Online Status: Offline
Posts: 77
Posted: 25 August 2017 at 10:26pm | IP Logged Quote RonnS

Syntax help needed:

if i try:
save image "Screen"

i got an error: expected a string

what im doing wrong ??

Edited by RonnS on 26 August 2017 at 4:57am
Back to Top View RonnS's Profile Search for other posts by RonnS
 
matherp
Guru
Guru


Joined: 11 December 2012
Location: United Kingdom
Online Status: Offline
Posts: 1765
Posted: 26 August 2017 at 8:02am | IP Logged Quote matherp

Quote:
what im doing wrong ??


Looks like SAVE IMAGE has gone missing - leave it with me

One question though are you trying to use it on the display you reference above? If so it won't work because of the way the display is wired you can't read from the graphic memory

Edited by matherp on 26 August 2017 at 8:18am
Back to Top View matherp's Profile Search for other posts by matherp
 


Page of 5 Next >>
In the news...
 
Post ReplyPost New Topic
Printable version Printable version
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum

Powered by Web Wiz Forums version 7.8
Copyright ©2001-2004 Web Wiz Guide

This page was generated in 0.0781 seconds.
Privacy Policy     Process times : 0, 0, 0, 0.08