I
I
Ivan2014-05-13 00:58:36
Arduino
Ivan, 2014-05-13 00:58:36

How to connect display from nokia 5510 and optical sensor to atmega8?

I already assembled this circuit on the arduino mega 2560 board, now I'm trying to make a signet myself.
Given: - ATmega8
microcontroller . - Optical sensor from a computer mouse SDNS-2083 . How to connect to the arduino board read in an article on Habré . — Nokia 5110 LCD display . I can’t figure out where the atmega has the pins I need. Thanks in advance. UPD. I've drawn this diagram so far. What about digital pins? I forgot to mention : the display I have is the one on the link above 2nd (LCD Modul # 2 Arduino Pinbelegung)
e33b2288bbf6420caab7d25e394204ba.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
svd71, 2014-05-13
@0neS

on mega8 15,16,17. Master input slave output MISO, master output slave input MISO, SCK are SCLK. Connect with the same on peripheral elements. Another important pin is sce .it can be any other on the mega. It still needs to be terminated through a resistor to + power. It is used to select the desired slave device. When a pin is driven low, the slave connected to it is ready to receive/transmit commands and data. On the display, you also need to terminate res with +. They clear the data on the display. Khltya, if desired, it can also be combined with mega.
The other slave is connected in the same way. Only the sel or sce pin is chosen differently.
PS: I finally read the datasheet on the sensor. he has miso and mosi combined in one pin (sdio). Therefore, there is a rather complicated exchange protocol and it is better to chain it to separate pins in mega8.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question