Live data from Hacker News

An award-winning LCD with an Arduino built-in (using only 2 pins)

blog.arduino.cc

31–40 of 41 posts

Re: An award-winning LCD with an Arduino built-in (using only 2 pins)

#31
post #13

> 320 x 240 Resolution Aside from the fact that's for an arduino, which probably mean very low power available, does anybody knows why all those hobbyist LCD are so low in term of resolution? It seem impossible to find something higher than VGA on mouser or even Alibaba, much less a reasonably priced HD screen. Where are all those glorious smartphone screen? (I'm talking about small screen, but even larger one are no…

Calculate the amount of memory required for a 320x240 256 color display: 320*240 = 76.8KB. An Arduino only has 2KB of RAM, so an external controller has to do basically all of the drawing opereations. This controller has its own SRAM framebuffer.

Once you get larger than 640x480, it becomes impractical to have the framebuffer in SRAM. DRAM is the obvious choice, but increases system cost and complexity sharply and so you first see it on "application processors", e.g. Cortex-A7 and up.

Also, DRAM PCB routing is very complex, and the connection from the display controller / system-on-chip to display is also critical.

Re: An award-winning LCD with an Arduino built-in (using only 2 pins)

#32

Earlier quoted context omitted.

I don't understand how this board only "uses 2 pins". The schematic shows the ezLCD component still uses 7 pins for I/O. Using the SPI bus requires 4 pins and the other 3 are presumably for the touchscreen sensing. The board still has the full Uno footprint, so you could connect other stuff to those pins at the same time, but you couldn't do anything with them while driving the LCD.

Dallas 1-wire? Haven't looked at the schematic or anything else, but that's an example of an interface that just requires 2 connections - signal and ground.

That's not what this uses.

Re: An award-winning LCD with an Arduino built-in (using only 2 pins)

#33
post #25

Earlier quoted context omitted.

I can't tell whether you're being a feminazi or just a creep. Either way, stop it.

(S)He is pointing out that the presentation is done by two people who are usually not associated with technology and development (they are young and female) as a positive example. He then posits that this is to show the educational possibilities. Any negative connotations are coming from your mind, not theirs.

Agreed, it's clearly scripted but when she moves onto presenting the project you can tell she actually built it or has the understanding of a maker

I love that the target audience is advertising the product.

Re: An award-winning LCD with an Arduino built-in (using only 2 pins)

#34
post #24
post #22

Earlier quoted context omitted.

Not really, the Nokia Lumia 520 for example is at $50/70£, and had an IPS screen with a 480x800 resolution, I never saw such a screen sold for hobbyist. http://en.wikipedia.org/wiki/Nokia_Lumia_520

this guy is right. even an overpriced oem replacement for mobiles, with all the extra stuff attached to the board, runs under the $100 range. just paid $98 for a noteII screen and digitizer combo. its full hd i think. so, stop sugar coating. lcd and digitizers are cheap. this is either low volume hobbyist market or pure greedy. and looking at how other things are priced in those sites, like a small roll of wire for $…

It's low volume hobbyist market, obviously. And that has overheads. Don't call people 'greedy' for selling things at greater than the BOM cost.

Re: An award-winning LCD with an Arduino built-in (using only 2 pins)

#35
post #13

> 320 x 240 Resolution Aside from the fact that's for an arduino, which probably mean very low power available, does anybody knows why all those hobbyist LCD are so low in term of resolution? It seem impossible to find something higher than VGA on mouser or even Alibaba, much less a reasonably priced HD screen. Where are all those glorious smartphone screen? (I'm talking about small screen, but even larger one are no…

Well, you'll find the glorious smartphone screens are sold as replacement screens for smartphones.

But of course, smartphones tend to have an LCD controller on the SoC, so you just get a raw LCD parallel interface. That means the LCD has a tiny connector with dozens of wires. Hobbyists are often enough scared of soldering SMD parts, they won't try to solder that .4mm pitch connector.

Then you realise that even for 800x600 @ 60Hz you need a pixel clock of around 36 MHz, so you probably need a hardware controller, you can't really get away with DMA and/or bit banging. Since you have an external controller, you can't do any of the memory efficient drawing like Nintendo NES or sifteo[0], so you'll need external buffer memory, probably at least 2 MB to fit two (16 bit colour) frames for double buffering.

As the resolution grows, pixel clock frequency and memory size requirements grow quite quickly. Soon enough you get limited by the bandwidth between your MCU and controller, by limitations of parallel interfaces and have to switch to LVDS and so on.

Most of these issues become much less relevant if a (even small) company wants to design, manufacture and sell something like this. But I'm not sure there's a demand. For most projects a small screen (with a controller chip and available for cheap because it was designed and manufactured at scale for older phones) works well enough (and you can get away with using a wimpy 8 bit MCU). If you need a larger screen, it's probably cheaper to get a low cost single board computer and a computer monitor. Economies of scale and all that.

[0] https://www.adafruit.com/blog/2012/12/05/how-we-built-a-supe...

Re: An award-winning LCD with an Arduino built-in (using only 2 pins)

#36
I'm all for supporting small business that create hardware, especially open source (heck, I'm working on some stuff myself), but they must make an effort to make their products affordable. I can buy a 3.2" touchscreen LCD for $12 in single quantities[0], shipped locally in the UK. The BOM for an Arduino is somewhere around $10 in single quantities. Their selling point about only using 2 pins? Yeah, shift registers or i2c I/O expanders are so fancy...

[0] http://www.ebay.co.uk/itm/3-2-TFT-LCD-Display-Module-Touch-P...

Re: An award-winning LCD with an Arduino built-in (using only 2 pins)

#38
post #6

Earlier quoted context omitted.

The advantage of their integrated LCD and Arduino is that it would only use 2 pins instead of the 6-7 that would be occupied by the shield you linked. This would allow you to connect other shields and have more room for add-ons. I agree that $89 is steep though, hopefully that price can come down as more are made.

I don't understand how this board only "uses 2 pins". The schematic shows the ezLCD component still uses 7 pins for I/O. Using the SPI bus requires 4 pins and the other 3 are presumably for the touchscreen sensing. The board still has the full Uno footprint, so you could connect other stuff to those pins at the same time, but you couldn't do anything with them while driving the LCD.

There is a PIC24f that does all the graphics processing, and the arduino talks to it through serial. the spi connection is used to program the atmel . the other connections are optional for use like a interrupt on touch .

Re: An award-winning LCD with an Arduino built-in (using only 2 pins)

#39
post #19

Earlier quoted context omitted.

I use my Android as an EVF / remote controller for my 550d. It's pretty damn useful and you can pick up a second hand phone for basically nothing.

Never heard of that, that seem interesting, would you happen to have a link with more information?

https://play.google.com/store/apps/details?id=eu.chainfire.d... is what I use. USB OTG cable to USB Mini. Does the job fine on a Nexus 5.

Re: An award-winning LCD with an Arduino built-in (using only 2 pins)

#40

Okay, how do they run that color picker sketch with only 2 KB of RAM available on the Uno? I tried to do some string parsing and it failed at 200 byte-long strings due to lack of memory, how can they show an entire picture composed of thousands of pixels?

Could be a more powerful ARM Cortex, rather than the insanely out-dated Atmel chips. If anyone ever makes a 5V ARM processor Atmel will be finished.

Also I'm going to rant about Arduino for a bit: Yes it's very simple and easy to get started with, but their API documentation is bad, and the IDE is objectively and irreparably awful and has not really improved since it was first released. Making things even worse they don't provide a decent way to integrate it into other IDEs because lots of the build logic is tied up in the IDE.

Post reply on HN