Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.arch.embedded > #24921 > unrolled thread

Linux embedded plus small TFT: ready-to-use solution

Started bypozz <pozzugno@gmail.com>
First post2016-09-08 01:16 +0200
Last post2016-09-10 15:43 -0700
Articles 16 — 5 participants

Back to article view | Back to comp.arch.embedded


Contents

  Linux embedded plus small TFT: ready-to-use solution pozz <pozzugno@gmail.com> - 2016-09-08 01:16 +0200
    Re: Linux embedded plus small TFT: ready-to-use solution edward.ming.lee@gmail.com - 2016-09-07 16:54 -0700
      Re: Linux embedded plus small TFT: ready-to-use solution Jack <jack4747@gmail.com> - 2016-09-08 02:24 -0700
        Re: Linux embedded plus small TFT: ready-to-use solution Jack <jack4747@gmail.com> - 2016-09-08 02:25 -0700
          Re: Linux embedded plus small TFT: ready-to-use solution edward.ming.lee@gmail.com - 2016-09-08 09:06 -0700
            Re: Linux embedded plus small TFT: ready-to-use solution edward.ming.lee@gmail.com - 2016-09-08 09:15 -0700
      Re: Linux embedded plus small TFT: ready-to-use solution pozz <pozzugno@gmail.com> - 2016-09-09 00:24 +0200
        Re: Linux embedded plus small TFT: ready-to-use solution Paul Rubin <no.email@nospam.invalid> - 2016-09-08 16:32 -0700
          Re: Linux embedded plus small TFT: ready-to-use solution edward.ming.lee@gmail.com - 2016-09-08 17:15 -0700
            Re: Linux embedded plus small TFT: ready-to-use solution lasselangwadtchristensen@gmail.com - 2016-09-08 17:24 -0700
            Re: Linux embedded plus small TFT: ready-to-use solution Paul Rubin <no.email@nospam.invalid> - 2016-09-08 18:22 -0700
              Re: Linux embedded plus small TFT: ready-to-use solution edward.ming.lee@gmail.com - 2016-09-08 18:39 -0700
                Re: Linux embedded plus small TFT: ready-to-use solution Paul Rubin <no.email@nospam.invalid> - 2016-09-08 19:03 -0700
                  Re: Linux embedded plus small TFT: ready-to-use solution edward.ming.lee@gmail.com - 2016-09-08 20:10 -0700
          Re: Linux embedded plus small TFT: ready-to-use solution pozz <pozzugno@gmail.com> - 2016-09-10 23:18 +0200
            Re: Linux embedded plus small TFT: ready-to-use solution Paul Rubin <no.email@nospam.invalid> - 2016-09-10 15:43 -0700

#24921 — Linux embedded plus small TFT: ready-to-use solution

Frompozz <pozzugno@gmail.com>
Date2016-09-08 01:16 +0200
SubjectLinux embedded plus small TFT: ready-to-use solution
Message-ID<nqq73s$vm6$1@dont-email.me>
I need to develop a product based on Linux embedded (because I need to 
communicate with a 4G modem through USB and I have the drivers for Linux).

So I'm searching an almost ready-to-use solution for this product (I 
should minimize design cost even if this increases the price of a single 
product... I will produce only 10-20 pieces at the moment).

The system should have only a USB host port (for 4G modem) and a small 
(2.8-4.3") display TFT with resistive touch panel.
The display should be mounted on a panel.

The best would be to have a SOM solution, so I can design my simple and 
custom carrier board where to mount the SOM, the 4G modem, power supply 
and so on.
However I could use a complete (with connector) board (I'll interface it 
with a my custom board).

The most important thing: I don't want to waste too much time to make 
Linux and display running. I'd like to write only the final application. 
Linux and display should run from the beginning.

The GUI will be very simple: only about 10 different screens with some 
settigs and status info.  No more.

Any suggestion?

[toc] | [next] | [standalone]


#24923

Fromedward.ming.lee@gmail.com
Date2016-09-07 16:54 -0700
Message-ID<750005b3-87b3-4380-93f3-3ac8d2deb8e9@googlegroups.com>
In reply to#24921
On Wednesday, September 7, 2016 at 4:16:16 PM UTC-7, pozz wrote:
> I need to develop a product based on Linux embedded (because I need to 
> communicate with a 4G modem through USB and I have the drivers for Linux).
> 
> So I'm searching an almost ready-to-use solution for this product (I 
> should minimize design cost even if this increases the price of a single 
> product... I will produce only 10-20 pieces at the moment).
> 
> The system should have only a USB host port (for 4G modem) and a small 
> (2.8-4.3") display TFT with resistive touch panel.
> The display should be mounted on a panel.
> 
> The best would be to have a SOM solution, so I can design my simple and 
> custom carrier board where to mount the SOM, the 4G modem, power supply 
> and so on.
> However I could use a complete (with connector) board (I'll interface it 
> with a my custom board).
> 
> The most important thing: I don't want to waste too much time to make 
> Linux and display running. I'd like to write only the final application. 
> Linux and display should run from the beginning.
> 
> The GUI will be very simple: only about 10 different screens with some 
> settigs and status info.  No more.
> 
> Any suggestion?

Raspberry Pi 3.  We are using hdmi display, but there is a display port on-board.  I am sure you can find an LCD screen for it.  We are using T-mobile USB 4G modem, works fine with the network and modem manager.  The only problem is that the USB modem would time-out when not in use for a while, and only reboot can bring it back on line.  We might end up using a network keep-alive connection to keep it up.

We only need one USB host for normal op, but a second port is handy for keyboard when we messed up the 4G or Wifi connections.  RPI has 4 USB ports.

[toc] | [prev] | [next] | [standalone]


#24930

FromJack <jack4747@gmail.com>
Date2016-09-08 02:24 -0700
Message-ID<d1d0d04e-c34f-4387-a918-9e56c471250d@googlegroups.com>
In reply to#24923
Il giorno giovedì 8 settembre 2016 01:55:01 UTC+2, edward....@gmail.com ha scritto:
> On Wednesday, September 7, 2016 at 4:16:16 PM UTC-7, pozz wrote:
> > I need to develop a product based on Linux embedded (because I need to 
> > communicate with a 4G modem through USB and I have the drivers for Linux).
> > 
> > So I'm searching an almost ready-to-use solution for this product (I 
> > should minimize design cost even if this increases the price of a single 
> > product... I will produce only 10-20 pieces at the moment).
> > 
> > The system should have only a USB host port (for 4G modem) and a small 
> > (2.8-4.3") display TFT with resistive touch panel.
> > The display should be mounted on a panel.
> > 
> > The best would be to have a SOM solution, so I can design my simple and 
> > custom carrier board where to mount the SOM, the 4G modem, power supply 
> > and so on.
> > However I could use a complete (with connector) board (I'll interface it 
> > with a my custom board).
> > 
> > The most important thing: I don't want to waste too much time to make 
> > Linux and display running. I'd like to write only the final application. 
> > Linux and display should run from the beginning.
> > 
> > The GUI will be very simple: only about 10 different screens with some 
> > settigs and status info.  No more.
> > 
> > Any suggestion?
> 
> Raspberry Pi 3.  We are using hdmi display, but there is a display port 

If he doesn't need WiFi, BT, or eth a Rpi Zero is definitely cheaper.

Bye Jack

[toc] | [prev] | [next] | [standalone]


#24931

FromJack <jack4747@gmail.com>
Date2016-09-08 02:25 -0700
Message-ID<6c9cfba3-f2b1-4532-b54f-96a3846a0231@googlegroups.com>
In reply to#24930
Il giorno giovedì 8 settembre 2016 11:24:33 UTC+2, Jack ha scritto:

> > > Any suggestion?
> > 
> > Raspberry Pi 3.  We are using hdmi display, but there is a display port 
> 
> If he doesn't need WiFi, BT, or eth a Rpi Zero is definitely cheaper.
> 
> Bye Jack

For example:

https://learn.adafruit.com/introducing-the-raspberry-pi-zero/video-outputs

Bye Jack

[toc] | [prev] | [next] | [standalone]


#24933

Fromedward.ming.lee@gmail.com
Date2016-09-08 09:06 -0700
Message-ID<c562e5ba-24fd-4fa1-8da8-36e844fc6f8b@googlegroups.com>
In reply to#24931
On Thursday, September 8, 2016 at 2:25:14 AM UTC-7, Jack wrote:
> Il giorno giovedì 8 settembre 2016 11:24:33 UTC+2, Jack ha scritto:
> 
> > > > Any suggestion?
> > > 
> > > Raspberry Pi 3.  We are using hdmi display, but there is a display port 
> > 
> > If he doesn't need WiFi, BT, or eth a Rpi Zero is definitely cheaper.
> > 
> > Bye Jack
> 
> For example:
> 
> https://learn.adafruit.com/introducing-the-raspberry-pi-zero/video-outputs
> 
> Bye Jack

Pi0 is $5, but shipping is probably $10.  Or you can buy $195 of accessories for free shipping, but pi0 is limit 1.

Elsewhere, pi0 goes for around $15 and pi3 for $35.

Perhaps we can ask this guy where he is moving from pi0 to pi3:

http://www.ebay.com/itm/Raspberry-Pi-Zero-Camera-V1-3-with-case-8gb-SD-card-wifi-USB-mini-USB-cable-/191947508204?hash=item2cb0f689ec:g:LaUAAOSwgZ1Xs0oS

[toc] | [prev] | [next] | [standalone]


#24936

Fromedward.ming.lee@gmail.com
Date2016-09-08 09:15 -0700
Message-ID<3b90c353-a212-44bb-aa9c-b2b2e74d5527@googlegroups.com>
In reply to#24933
On Thursday, September 8, 2016 at 9:06:14 AM UTC-7, edward....@gmail.com wrote:
> On Thursday, September 8, 2016 at 2:25:14 AM UTC-7, Jack wrote:
> > Il giorno giovedì 8 settembre 2016 11:24:33 UTC+2, Jack ha scritto:
> > 
> > > > > Any suggestion?
> > > > 
> > > > Raspberry Pi 3.  We are using hdmi display, but there is a display port 
> > > 
> > > If he doesn't need WiFi, BT, or eth a Rpi Zero is definitely cheaper.
> > > 
> > > Bye Jack
> > 
> > For example:
> > 
> > https://learn.adafruit.com/introducing-the-raspberry-pi-zero/video-outputs
> > 
> > Bye Jack
> 
> Pi0 is $5, but shipping is probably $10.  Or you can buy $195 of accessories for free shipping, but pi0 is limit 1.
> 
> Elsewhere, pi0 goes for around $15 and pi3 for $35.
> 
> Perhaps we can ask this guy where he is moving from pi0 to pi3:
                              (why)
> 
> http://www.ebay.com/itm/Raspberry-Pi-Zero-Camera-V1-3-with-case-8gb-SD-card-wifi-USB-mini-USB-cable-/191947508204?hash=item2cb0f689ec:g:LaUAAOSwgZ1Xs0oS

[toc] | [prev] | [next] | [standalone]


#24940

Frompozz <pozzugno@gmail.com>
Date2016-09-09 00:24 +0200
Message-ID<nqsoe5$v41$1@dont-email.me>
In reply to#24923
Il 08/09/2016 01:54, edward.ming.lee@gmail.com ha scritto:
 > On Wednesday, September 7, 2016 at 4:16:16 PM UTC-7, pozz wrote:
 >> I need to develop a product based on Linux embedded (because I need to
 >> communicate with a 4G modem through USB and I have the drivers for 
Linux)..
 >>
 >> So I'm searching an almost ready-to-use solution for this product (I
 >> should minimize design cost even if this increases the price of a single
 >> product... I will produce only 10-20 pieces at the moment).
 >>
 >> The system should have only a USB host port (for 4G modem) and a small
 >> (2.8-4.3") display TFT with resistive touch panel.
 >> The display should be mounted on a panel.
 >>
 >> The best would be to have a SOM solution, so I can design my simple and
 >> custom carrier board where to mount the SOM, the 4G modem, power supply
 >> and so on.
 >> However I could use a complete (with connector) board (I'll interface it
 >> with a my custom board).
 >>
 >> The most important thing: I don't want to waste too much time to make
 >> Linux and display running. I'd like to write only the final application.
 >> Linux and display should run from the beginning.
 >>
 >> The GUI will be very simple: only about 10 different screens with some
 >> settigs and status info.  No more.
 >>
 >> Any suggestion?
 >
 > Raspberry Pi 3.  We are using hdmi display,

I think it's very difficult to find a small display with HDMI connection.

 > but there is a display port on-board.

Do you mean the DSI (Display Serial Interface)?  Even in this case, I 
think it's very difficult to find a small TFT display with DSI port that 
can be purchased as a standard product.
If you have any suggestions where to find, please tell me.

I think the best method to interface a small (2.8-4.3") TFT display is 
using a display module with an integrated display controller (such as, 
ILI9341).  The display controller can be connected to the SPI link.

As here [https://www.adafruit.com/product/1601].



 > I am sure you can find an LCD screen for it.  We are using T-mobile USB
 > 4G modem, works fine with the network and modem manager.  The only
 > problem is that the USB modem would time-out when not in use for a
 > while, and only reboot can bring it back on line.  We might end up
 > using a network keep-alive connection to keep it up.

Sincerely, I only need to send some AT commands and receive answers.  I 
don't need to make a real IP connection.  So I only need a serial port 
to open.

Telit (the manufacturer of the 4G modem I'll use) says the USB of modem 
is a standard CDC ACM and the Linux driver should be already included 
(cdc_acm).
Do you know if cdc_acm is included in Raspberry Pi Linux kernel?
Have you tried to send AT commands to your modem?


 > We only need one USB host for normal op, but a second port is handy for
 > keyboard when we messed up the 4G or Wifi connections.
 > RPI has 4 USB ports.

[toc] | [prev] | [next] | [standalone]


#24941

FromPaul Rubin <no.email@nospam.invalid>
Date2016-09-08 16:32 -0700
Message-ID<87oa3yklwz.fsf@jester.gateway.pace.com>
In reply to#24940
pozz <pozzugno@gmail.com> writes:
> I think it's very difficult to find a small display with HDMI connection.

5 inch is easy to find--does yours have to be smaller?  Could you
consider using a small Android tablet or something similar?

> Do you know if cdc_acm is included in Raspberry Pi Linux kernel?
> Have you tried to send AT commands to your modem?

Don't know if it's in the raspberry pi kernel but Linux has supported it
forever, at least as a loadable module.  I've never used it myself though.

[toc] | [prev] | [next] | [standalone]


#24942

Fromedward.ming.lee@gmail.com
Date2016-09-08 17:15 -0700
Message-ID<486cf2fb-a145-4fc2-a45c-edcf67911d61@googlegroups.com>
In reply to#24941
On Thursday, September 8, 2016 at 4:32:34 PM UTC-7, Paul Rubin wrote:
> pozz <pozzugno@gmail.com> writes:
> > I think it's very difficult to find a small display with HDMI connection.
> 
> 5 inch is easy to find--does yours have to be smaller?  Could you
> consider using a small Android tablet or something similar?

Tablet is not for embedded.  It's difficult set up default behaviors and hard to hook up I/Os.  I want my device to power up and connected, without any clicking or tapping.

> 
> > Do you know if cdc_acm is included in Raspberry Pi Linux kernel?
> > Have you tried to send AT commands to your modem?

The modem-manger does that.  I don't have to deal with the details.

> 
> Don't know if it's in the raspberry pi kernel but Linux has supported it
> forever, at least as a loadable module.  I've never used it myself though.

Yes, it's in there.  It recognize the USB modem, bring up an usb0 interface, use it as gateway, and reach the net.

In fact, i have both wlan0 and usb0 connected to the net.  Not sure how it decide which one to use.

[toc] | [prev] | [next] | [standalone]


#24943

Fromlasselangwadtchristensen@gmail.com
Date2016-09-08 17:24 -0700
Message-ID<dccbd518-54a5-4439-8b69-85d520c19de4@googlegroups.com>
In reply to#24942
Den fredag den 9. september 2016 kl. 02.15.49 UTC+2 skrev edward....@gmail.com:
> On Thursday, September 8, 2016 at 4:32:34 PM UTC-7, Paul Rubin wrote:
> > pozz <pozzugno@gmail.com> writes:
> > > I think it's very difficult to find a small display with HDMI connection.
> > 
> > 5 inch is easy to find--does yours have to be smaller?  Could you
> > consider using a small Android tablet or something similar?
> 
> Tablet is not for embedded.  It's difficult set up default behaviors and hard to hook up I/Os.  I want my device to power up and connected, without any clicking or tapping.
> 

I have a dirt cheap 7" tablet, it can run linux. It is a standard allwinner 
a10 cpu. No I/O though


-Lasse

[toc] | [prev] | [next] | [standalone]


#24944

FromPaul Rubin <no.email@nospam.invalid>
Date2016-09-08 18:22 -0700
Message-ID<87fup9lvdz.fsf@jester.gateway.pace.com>
In reply to#24942
edward.ming.lee@gmail.com writes:
> Tablet is not for embedded.  It's difficult set up default behaviors
> and hard to hook up I/Os.

I meant just use the tablet as a display, communicating with an external
board that runs the application.  The tablet wouldn't need special code,
if a web browser can supply sufficient UI features.

[toc] | [prev] | [next] | [standalone]


#24945

Fromedward.ming.lee@gmail.com
Date2016-09-08 18:39 -0700
Message-ID<afa2c2f8-974c-414e-a71e-be671f085eca@googlegroups.com>
In reply to#24944
On Thursday, September 8, 2016 at 6:22:35 PM UTC-7, Paul Rubin wrote:
> edward.ming.lee@gmail.com writes:
> > Tablet is not for embedded.  It's difficult set up default behaviors
> > and hard to hook up I/Os.
> 
> I meant just use the tablet as a display, communicating with an external board that runs the application.  The tablet wouldn't need special code, if a web browser can supply sufficient UI features.

Yes, we do use phone/tablet as UI, communicating with an external interface board, and that interface board is the Raspberry Pi 3.  In addition, the RP3 boot up web connected and running a frame buffer web browser (net-surf) to show system status.  This interface board does not need UI, but plenty of digital (64) and analog I/O (10), using stackable I/O expanders.

X11/firefox are too heavy for RPI.  Framebuffer/net-surf are good enough, if i can get rid of the top title-bar and bottom status-bar (virtual framebuffer device?), or just cover them with some panels.  

[toc] | [prev] | [next] | [standalone]


#24946

FromPaul Rubin <no.email@nospam.invalid>
Date2016-09-08 19:03 -0700
Message-ID<87bmzxlth8.fsf@jester.gateway.pace.com>
In reply to#24945
edward.ming.lee@gmail.com writes:
>> if a web browser can supply sufficient UI features.
> X11/firefox are too heavy for RPI.

I'm suggesting using the tablet's built-in web browser as a front end
for an RPI program that's set up as a web server application.  Sorry if
that wasn't clear.  Are you working with pozz on this?

If you really want to run a browser on a rpi, There are some much
lighter weight ones around than Firefox, depending on what functionality
you need.  I've played with Dillo (www.dillo.org) which is very fast.
It's supposedly included in Raspbian.

[toc] | [prev] | [next] | [standalone]


#24947

Fromedward.ming.lee@gmail.com
Date2016-09-08 20:10 -0700
Message-ID<a32c409f-66fd-4aae-94ce-1fe9059e61eb@googlegroups.com>
In reply to#24946
On Thursday, September 8, 2016 at 7:03:51 PM UTC-7, Paul Rubin wrote:
> edward.ming.lee@gmail.com writes:
> >> if a web browser can supply sufficient UI features.
> > X11/firefox are too heavy for RPI.
> 
> I'm suggesting using the tablet's built-in web browser as a front end for an RPI program that's set up as a web server application.  

Yes, our RPI is a web server, but it also run a web browser to show system status and no need for input UI.

> Are you working with pozz on this?

No, we just have similar requirements.

> If you really want to run a browser on a rpi, There are some much lighter weight ones around than Firefox, depending on what functionality you need.  I've played with Dillo (www.dillo.org) which is very fast. It's supposedly included in Raspbian.

We are looking into the framebuffer version of NetSurf.  It fits what we need, other than the extra title-bar, status-bar and mouse pointer that we need to get rid of.

[toc] | [prev] | [next] | [standalone]


#24985

Frompozz <pozzugno@gmail.com>
Date2016-09-10 23:18 +0200
Message-ID<nr1ta9$cvc$1@dont-email.me>
In reply to#24941
Il 09/09/2016 01:32, Paul Rubin ha scritto:
 > pozz <pozzugno@gmail.com> writes:
 >> I think it's very difficult to find a small display with HDMI 
connection.
 >
 > 5 inch is easy to find--does yours have to be smaller?

It is somewhat big for my application, anyway I will check it.  Could 
you suggest a plastic enclosure for RPI board, display and a custom 
board where to put AC/DC and 4G modem?

All the RPI enclosures I found don't have additional space for other boards.


 > Could you
 > consider using a small Android tablet or something similar?

No, I'd like to use a single device.


 >> Do you know if cdc_acm is included in Raspberry Pi Linux kernel?
 >> Have you tried to send AT commands to your modem?
 >
 > Don't know if it's in the raspberry pi kernel but Linux has supported it
 > forever, at least as a loadable module.  I've never used it myself 
though.
 >

[toc] | [prev] | [next] | [standalone]


#24986

FromPaul Rubin <no.email@nospam.invalid>
Date2016-09-10 15:43 -0700
Message-ID<87twdnidfg.fsf@jester.gateway.pace.com>
In reply to#24985
pozz <pozzugno@gmail.com> writes:
> Could you suggest a plastic enclosure for RPI board, display and a
> custom board where to put AC/DC and 4G modem?

I don't have specific recommendations.  I could surf around a bit but
you can do the same.  Adafruit.com and Digikey.com are good places to
start.

[toc] | [prev] | [standalone]


Back to top | Article view | comp.arch.embedded


csiph-web