datasheets - Page 1
Forum section: electronics / projects

author: noah_fakelastnamelike_bob
author_rank: Regular Contributor
timestamp: February 14, 2014, 12:47:27 am
content: hello someonei am trying to understand data sheets better ( well at all) so how will i get this to display a picture using the data sheet.also how will i get a driver for it. this one seems fairly simple i am dumb so dont go to fast for me...http://www.newhavendisplay.com/specs/NHD-C160100DiZ-FSW-FBW.pdfhttp://www.digikey.com/product-detail/en/NHD-C160100DIZ-FSW-FBW/NHD-C160100DIZ-FSW-FBW-ND/1885694i will be back on in one hour... thanks guys

author: noah_fakelastnamelike_bob
author_rank: Regular Contributor
timestamp: February 14, 2014, 01:51:26 am
content: i am back any help guys i just want to know how to be able find it please dont find it for me

author: fluxcapacitor
author_rank: Frequent Contributor
timestamp: February 14, 2014, 02:07:24 am
content: The panel has an inbuilt I2C controller, all the commands are there in the datasheet.What are you connecting it to ?

author: mariush
author_rank: Super Contributor
timestamp: February 14, 2014, 02:15:34 am
content: To understand how that display works, you need to understand microcontrollers and i2c and you would have to connect the lcd display somehow to your project and those flex strip connectors are not easy to work with... basically, this lcd display is quite difficult to use for a beginner.I'd suggest starting with a simple 16x2 or 16x4 character display such as this one :http://www.digikey.com/product-detail/en/NHD-0216BZ-FL-YBW/NHD-0216BZ-FL-YBW-ND/1701195You will find ready made libraries (source code) for Arduino so you can just connect it quickly and see it running and then you can read the source code and compare what's there with the information from the datasheet and the information of the driver on the back of the lcd (there is link to the driver used by display in the display datasheet)Once you understand how it works, you could actually add or modify the source code you have to take advantage of other things the display driver can do (like create custom letters or icons, or scroll text on screen and so on).As you'll get familiar with Arduino or a pic or whatever microcontroller you decide to stick with, you can read the datasheets for the arduino microcontroller or the pic chip and learn how to use i2c and what some terms in that datasheet mean. You'll be able to communicate with the display and use the commands explained in the datasheet to configure it and get it to work.

author: noah_fakelastnamelike_bob
author_rank: Regular Contributor
timestamp: February 14, 2014, 02:22:55 am
content: i have no ardouino yet and my parents dont want me to "do this type of electronics" but what would the cheapest ardounio i could get for this project could i use a raspberry pi...

author: bronson
author_rank: Regular Contributor
timestamp: February 14, 2014, 02:27:37 am
content: Yes, a Raspberry Pi is quite good at I2C and very easy to program.There's no shortage of good I2C Pi tutorials out there either, both HW and bit-banging.So, without knowing anything about your application, I'd say it would work great. But, why not buy one of the many Raspberry Pi display kits?

author: noah_fakelastnamelike_bob
author_rank: Regular Contributor
timestamp: February 14, 2014, 02:46:21 am
content: its for a project (its pretty crueleveryone at my school is idiots with electronics so i am going make them overpay just a lil bit making simple littel watches) making watches to display images and time but yea the main idea was to learn datasheets more but i like challenges. lolso i cant use a kit i will have to order them my self and it might be cheaper

author: bronson
author_rank: Regular Contributor
timestamp: February 14, 2014, 02:53:22 am
content: You're going to look kinda funny wearing a Raspberry Pi on your wrist with the battery pack running up your arm.Yea, it could be a good start: get the display working with the Pi, then switch to a real, battery-ready microcontroller once the rest of the stuff works.

author: dannyf
author_rank: Super Contributor
timestamp: February 14, 2014, 02:53:46 am
content: Fairly simple:1) the display is i2c; so you have to write a bunch of i2c routines for your mcu of choices;2) the display has a slave address;3) the display's frame format is address + control byte + date byte; Use 1) + 2) to write a routine that sends a control byte + data byte to the display;4) based on the commands, you can write a series of routines to perform basic functions on the lcd;5) use the routines in 4) to perform your desired functions.I would say that it is a 15 - 30 minute job.

author: noah_fakelastnamelike_bob
author_rank: Regular Contributor
timestamp: February 14, 2014, 03:03:15 am
content: bronsor thats what my plan is: and i will also in a few weeks maybe about micro controllingand dannyf that's what i was basically thinking (to an extent) and yea i will have to get my skills up a Lil bit up more before i can do that...in a while when i have my products ordered i will be able to put project updates on...any more help what all will i need to be messing with the LCD and raspberry connectors and stuff if i were to look it up on YouTube i would just instantly get confused i need to be able to read it then see it....i really need help finding stuff because i have no to even get started

author: mariush
author_rank: Super Contributor
timestamp: February 14, 2014, 03:25:46 am
content: Start small. Search for some books about introduction to electronics, plenty of free ones out there, and plenty of "free" ones on torrent sites.Learn about voltage, current, resistance, basics of electronics. Plenty of youtube videos about this as well. Look for mjlorton's channel on youtube, he has some OK videos there.How old are you that you still have to ask permission from your parents? An arduino you can plug straight into your laptop or pc is about 25$, and it's enough to learn how to turn on and off a led, try a lcd display with it and so on:https://www.sparkfun.com/products/11286Do you have tools to solder stuff? The lcd display I recommended can be connected to arduino very easily just soldering a bunch of wires on the lcd display then plugging the other end of wires on the header. The i2c one is like I said harder to connect to, it requires a connector for flex strip which most likely is surface mount so it's harder to connect to an arduino using a simple soldering iron. You can't just tape wires or stuff like that to it.The raspberry pi is not a microcontroller - it's basically a whole computer with memory , video card and other things. It may be easy to connect that lcd display to it, but you're not going to understand and learn a lot of things by going this route.

author: noah_fakelastnamelike_bob
author_rank: Regular Contributor
timestamp: February 14, 2014, 03:35:42 am
content: i am 13 and me and my parents made a deal so i have to pay for every thing but they will buy it online shipping so yea.i know all about voltage, current, resistance, transistors, and the "basics"and will your adroniou does not look like enough to control the LCD or am i just being dumb..."Do you have tools to solder stuff? The lcd display I recommended can be connected to arduino very easily just soldering a bunch of wires on the lcd display then plugging the other end of wires on the header. The i2c one is like I said harder to connect to, it requires a connector for flex strip which most likely is surface mount so it's harder to connect to an arduino using a simple soldering iron. You can't just tape wires or stuff like that to it." i knew that but wasn't wanting to connect to an ardouino."The raspberry pi is not a microcontroller - it's basically a whole computer with memory , video card and other things. It may be easy to connect that lcd display to it, but you're not going to understand and learn a lot of things by going this route." oh ok i guess i wont use that.. thanks

author: noah_fakelastnamelike_bob
author_rank: Regular Contributor
timestamp: February 14, 2014, 03:39:04 am
content: will your adroniou does not look like enough to control the LCD or am i just being dumb... immediately regret posting that i took another look sorry but shouldn't i get a more "future proof one"

author: mariush
author_rank: Super Contributor
timestamp: February 14, 2014, 04:00:18 am
content: The arduino I linked is like a small brain. You can upload a single application in it (up to 32 KB of binary code) and it will do whatever your application tells it to do.It has a lot of pins on the side (those black headers) and can output voltage or receive voltage through those headers and tell your application that voltage (either as a 0 or 1 if the pin is configured as digital input or as actual voltage if the pin is set to analogue input)The 16x2 display I linked to can be connected to a microcontroller or arduino using as little as 6 wires, but an easier mode to "talk" to the lcd requires 10 wires (8 wires to send a character or a command to the screen, 2 wires to tell the display what you're sending to the display). The arduino has 20 digital input or output wires so the LCD will use only 10 of those. When you learn how to use it, you can further change the wiring to use only 6 wires, or even 2-3 wires with the help of a simple 10-20 cent chip (a shift register)With a connection like those 8 wires for data and 2 wires for other things the lcd needs, the code to use a lcd screen is very easy to understand.. each command (like clear screen, show cursor on screen, blink character, move cursor to a position on screen) is one byte, and you can write a letter at a time on screen by simply writing 0 or 1 on those 8 wires (one byte = 8 bits = 8 wires)With i2c it's a bit complicated and you need to learn how i2c works, the concept of i2c addresses, then you have to make your own functions to send commands and instruction to the LCD display as a sequence of bits ... with the first you will find ready made code that will be easy for you to read and understand. And that lcd you chose is basically a graphical one, it takes more code to configure it to run then you basically turn dots on and off - if you want to write a letter on display, you have to turn several dots on an off and so on.I'm not sure that you fully understand this, but these displays are not like computer monitors that you can simply plug into raspberry and have stuff shown on them.Here's a video that shows how to connect a simple 16x2 or 16x4 display to a home made arduino (jump to 2:40 directly):This guy has a whole series of videos with arduino that are from absolute basics to stuff more complex, here's the playlist :https://www.youtube.com/playlist?list=PLE72E4CFE73BD1DE1edit: and by the way, if your parents don't want to buy you an arduino, you can follow the videos this guy made and buy the standalone chip (about 1-2$ on digikey) and a small programmer like the one he uses in the second video in the playlist, which also costs about 15$.

author: noah_fakelastnamelike_bob
author_rank: Regular Contributor
timestamp: February 14, 2014, 04:28:16 am
content: they don't specificallynot want me to its just he money don't worry about that i am good at whining (lol jk)but yea thanks i probably wont post on this forum i will probably just pm you directly since it basically just me and you no need to clutter the forum.if i do anything i will post it thought thanks every one who helped

author: mariush
author_rank: Super Contributor
timestamp: February 14, 2014, 04:45:28 am
content: Don't worry about it, if you have legitimate questions they're always welcome on the forum, but maybe be more focused (put them in beginners section, or microcontrollers if you decide to have fun with microcontrollers / arduino etc).It makes more sense to ask and have answers publicly available for others to learn as well.

author: noah_fakelastnamelike_bob
author_rank: Regular Contributor
timestamp: February 14, 2014, 04:51:13 am
content: alright well this was apposed to be about datasheets but hey

author: bronson
author_rank: Regular Contributor
timestamp: February 14, 2014, 05:59:40 pm
content: If you're already familiar with Linux then there's no easier way to get started with microcontroller concepts than the Pi (spi, i2c, pullups, pulldowns, current consumption, etc). Once you get things working on the pi, then you can start learning about flashing, interrupts, strict memory limitations, etc.Some people learn better by getting in way over their heads, others not so much. Given enough time it'll work either way.

author: noah_fakelastnamelike_bob
author_rank: Regular Contributor
timestamp: February 14, 2014, 07:26:45 pm
content: alright thanks and bronson