3 New Notifications

New Badge Earned
Get 1K upvotes on your post
Life choices of my cat
Earned 210

Drag Images here or Browse from your computer.

Trending Posts
Sorted by Newest First

OLED RGB selector automatic: the beginning, part two.

Continue to revitalize the OLED display. The display has been fully explored, both electric and with software.
The electrical part is simple. There is power to the controller logic of the display no higher than three volts, there is a separate power to the pixels of the matrix. It is higher than the logic supply and is about 6- 14 Volts with current consumption not above twenty milliamps. In the shops of the world and especially China there are several varieties of such display, use the driver on the chip SSD1331. They differ in the location of some pins. The most common is the display UG-9664HDDAG01. Most often it goes under Arduino, with a built-in boost voltage power supply on Board. Here is one option:
OLED RGB selector automatic the beginning part two

Often on Board is a slot for connection of flash cards — very convenient:
OLED RGB selector automatic the beginning part two

Here is a sketch of the macro display, painted in the Datasheet:
OLED RGB selector automatic the beginning part two

Electric circuit:
OLED RGB selector automatic the beginning part two

As you can see, is the power supply output to 11.5 volts. It's very good, because it is in the range of the power-Board network of the vehicle, which allows to simplify the power supply circuit. also, this entrance is very convenient for PWM dimming from an external source of the instrument panel, as is done in my car. The brightness is good enough at low power to six or eight volts brightness pritchet.

For data connections I used possibity circuit parallel 8080 interface. It is easy programmatically, nimble above nowhere and does not take up the SPI port which should take reader of SD cards.

Only uses eight legs and 5 data managers. For normal operation, one display, you can leave a couple of controlling pins.

The software part is not difficult, the SSD1331 driver enough is not complicated and allows lots of things to do in hardware. For example to draw lines, polygons, doing copy-paste objects, etc. managed to test drive the image size of 32x32 pixel 16-bit color:
OLED RGB selector automatic the beginning part two

Full-size picture to drive is impossible, because the size of the image will not fit in flash memory of the microcontroller. 32 pixels is the most convenient format for the test.

A very interesting picture: remembering the first color displays in phones ten years ago, which is about the size of the display pixels, the display has unreal contrast and angle contrast.

To drive the picture was not so difficult. You need to study the BMP format on Wikipedia. One of the easiest formats extensions. Open the HEX editor. Find 0х0А header byte containing a "Position of pixel data relative to the beginning of this structure (in bytes) of the" read it and since it copied all bitici the end of the file to the clipboard. The picture is in advance known resolution and color depth of 24 bits. By the way the last byte of the file is the beginning of the picture at the top of otobrazheniya. Since my HEX editor does not show the pointer value 0x, and the delimiter is a comma, the inserted bitici in Notepad++ and do a replace of spaces needed signs, then drive to the compiler. Very convenient and fast to convert HEX to BMP in this way, search software Converter.

Next up is a simple conversion from 24 bit to 16 bit display. The simplest shift 2 of each color with datasite 65K color format 2:
OLED RGB selector automatic the beginning part two
After these manipulations, the image will be pleasing to the eye. The format corresponds to the standard color palette HTML — easy!

The eight megahertz clock frequency of the microcontroller, in principle, enough that would quickly drive the bus pictures without explicit brakes.

The left of the picture you can see the red rectangle. A blank display text characters. The output function is able to display in the right place with the right background color, the right color and right size letters and numbers. However the pictures are not visible, because the background color matches the color of the symbol)

The next step will be connecting a SPI flash memory for storing images of well, then the FAT file system for use SD memory cards for these purposes
Part one in my blog : OLED RGB selector automatic: the beginning
The part about the OLED display of prndl and 🎥
Part three about the external memory storage of pictures: OLED RGB selector automatic: part three, about the memory
Part four: OLED RGB selector automatic: part 4 — final

OLED RGB selector automatic the beginning part two

OLED RGB selector automatic the beginning part twoFull sizeOLED RGB selector automatic the beginning part twoOLED RGB selector automatic the beginning part twoOLED RGB selector automatic the beginning part twoFull sizeOLED RGB selector automatic the beginning part twoFull size
214 Comments
Sort by:
D
DeepD 05.08.19

last season will probably be the conquest of space )))

B
BlackBaller 05.08.19

Good continuation!
Wait, what's next?

K
KIRR-electronic 05.08.19

zloslov

So like for the Arduino CAN-BUS Shield is.

Insanely expensive solution.

7
7in 05.08.19

Thanks) And thanks for the advice))

D
Diman94 05.08.19

Well, good luck))

7
7in 05.08.19

in manual mode, the CVT pairing need somewhere else to dig up the numbers when you switch))) And so nothing)

Simply, if the Pinout it works out, you will not have to search for transactions box, and all figures can be removed with the very same tidy, and not to drag them through HBS)

D
Diman94 05.08.19

I did not understand what the problem is to connect to the 6 harnesses from the brain of the automatic transmission :)

7
7in 05.08.19

The problem I have is that tidy first all hawala a microcontroller, and then displays. Smoke forums and all info I realized that it is easier to make your own controller than to dig the Pinout of the display, though, with the Pinout for the sake of interest I want to try)))

D
Diman94 05.08.19

So if you have Tiptronic, then the collection tubes should seem? I'm just not showing anything at all, only under the glass near the handle color of paper is moved in the Windows nissanenote.ru/images1/za...lampy-akpp-note_foto4.jpg

7
7in 05.08.19

Yeah, I picked up scheme, too, found there the same 6 wires, but I have they go from the brain of the automatic transmission, but that's not the point. Was just thinking the same thing to decide as you proposed, but we must also dig into the side of the switch to a CVT.

D
Diman94 05.08.19

On my car I can say that from the gearshift knob are 6 wires to the brain are responsible for 6 position handle and one of them appears plus. In this case it would be very easy, through the diodes to connect to those wires and all. I think you should study the service manual to your car, there may be also the same.

7
7in 05.08.19

like Yes, but expensive, IMHO

z
zloslov 05.08.19

7in

Can't seem to find a clear description of the link connection and the interaction of the controller to obd2 (on hand Arduino UNO).

Does the ECU information about the total mileage and the selector lever of the automatic transmission?

So like for the Arduino CAN-BUS Shield is.

C
CAMOKAT-BETEPAHA 05.08.19

Because there is no uniform standard, by this each what and how he wants, and realizes.

7
7in 05.08.19

Can't seem to find a clear description of the link connection and the interaction of the controller to obd2 (on hand Arduino UNO).

Does the ECU information about the total mileage and the selector lever of the automatic transmission?

C
CAMOKAT-BETEPAHA 05.08.19

Ask

7
7in 05.08.19

I understand You, thank you))) If not tired, then I would have a few stupid questions asked, do You mind?

C
CAMOKAT-BETEPAHA 05.08.19

The dream of many ignorant. Yet no one has done that.

7
7in 05.08.19

how then can we identify the purpose of a pin? Display here www.drive2.ru/l/5160553/, pins on the 30... 20 come from the bottom, 10 on top... I'm just very, very beginner, but the topic is very interesting, especially because I want to try it once on a live project, and information not available anywhere else on the Pinout and its definition. Just if you could "snap" from tidy and display them on the oled, you won't have to fuss with connecting to obd2. Or in Your opinion the second option is easier to implement?

C
CAMOKAT-BETEPAHA 05.08.19

As a rule no. It's just a bunch of LEDs to conclusions

7
7in 05.08.19

Sorry for the ignorance. And in segmental displays is the controller?

C
CAMOKAT-BETEPAHA 05.08.19

Really. Impossible to do with him either, if you do not know what display driver it uses

7
7in 05.08.19

Tell, and whether really to determine the Pinout of the ring display from dashboard?

C
CAMOKAT-BETEPAHA 05.08.19

No. Size small

B
BUAZ102 05.08.19

waiting for ready-made solutions for automatic ;-)))) and once the question whether it is possible to push in the display the display of the voltmeter and other parameters?

C
CAMOKAT-BETEPAHA 05.08.19

Anything to push. Only need to remember about the tale of the 7 hats

B
BUAZ102 05.08.19

and the icon size or turn signal with a headlight?

w
wake-off 05.08.19

angrycoding

Can be cheaper just to connect EEPROM, it costs a penny, works on SPI

all SD cards can also be reach via SPI

C
CAMOKAT-BETEPAHA 05.08.19

Damn, aliexpress. Configure the search filter and go!
Found a seller that sells at this price, but provided that you need to buy another flash drive GB large tanks. Got these SD cards a dozen with no load — the seller was happy

o
overbrake 05.08.19

CAMOKAT-BETEPAHA

People just end up not reading. By the way SD card 128 MB for 50 rubles, you can buy it at a price as much as AT25F512, which is on my Board as a memory, but the capacity of SD to order more

Tell me, where cards at that price get you?)
I've come across Aliexpress — nothing caught.
Friend and also collect all the microcontrollers. Cards quite often use. Strategic reserves melkomyagkih cards is almost exhausted, and to put the cards on the 2-4-8GB in projects where you want the flash drive for no more than a few meters, it is in my opinion a crime against humanity. Thanks in advance :)

w
wake-off 05.08.19

the main thing not to run into a map with a crappy TLC drive, they are generally disposable, work met.

C
CAMOKAT-BETEPAHA 05.08.19

People just end up not reading. By the way SD card 128 MB for 50 rubles, you can buy it at a price as much as AT25F512, which is on my Board as a memory, but the capacity of SD to order more

a
angrycoding 05.08.19

Can be cheaper just to connect EEPROM, it costs a penny, works on SPI

4
4igh 05.08.19

To solve the problem with lack of memory by connecting the sd card itself now plagued by the idea of annagh garage with sound proof.

D
Dmitry-st 05.08.19

Well done! And Board quality ;)

S
Storm134 05.08.19

CAMOKAT-BETEPAHA

Solenoid automatic transmission

Sorry A240L this thing not to put will.

T
ThankYou 05.08.19

from the category of why the light in the glove box, I there did not climb))

L
LrG426 05.08.19

in the people, why, why not...any sensible answer or suggestion is all some blank questions. Author Beau knows, knows and does and gets pleasure from it.

C
CAMOKAT-BETEPAHA 05.08.19

Solenoid automatic transmission

V
VakulyukMA 05.08.19

And how do you read this transmission?

C
CAMOKAT-BETEPAHA 05.08.19

It is so embedded in the algorithm of the brain. These brains are still sometimes choose the wrong gear, though, and have for this button Overdrive, but still to see the transfer of desirable.
And I used this piece for several years

3
3ergood 05.08.19

so maybe the box is repaired? or is it the program does not include 4uû?
in any case, it is strange

C
CAMOKAT-BETEPAHA 05.08.19

Here is an example from life: I live near the highway every day going to the track to work in the morning I have not included 4 transmission, while the box warmed. I can't hear the motor, because listening to the radio and just starts to Stoke it climate . A cursory glance at the figure is enough to understand whether it is possible to press on the gas.

3
3ergood 05.08.19

CAMOKAT-BETEPAHA

It replaces the old one. If I say that he and speed machine shows — do not understand why.

why?)

s
somebody 05.08.19

ahh... atavism... ) (C) heart of a dog

C
CAMOKAT-BETEPAHA 05.08.19

I meant transmission automatic transmission

s
somebody 05.08.19

Clear. Speed — in milliseconds?

C
CAMOKAT-BETEPAHA 05.08.19

It replaces the old one. If I say that he and speed machine shows — do not understand why.

s
somebody 05.08.19

Chet did not understand practical value...
On the selector so everything is signed, on the go automatic pull is not necessary...
Why additionally see what is the position?

C
CAMOKAT-BETEPAHA 05.08.19

Like so

v
vampo 05.08.19

Stepan Pavlovich, the display pad with a pitch of 0.7 mm thickness 0.4 mm contact?

A
Andreich1992 05.08.19

Will have to wait.)Very interesting how it will be in the car )

Y
YanSPb 05.08.19

but if the Circlip is not? ratio speed rpm for the same transmission changes?)

T
TAliSMAN38 05.08.19

if the hook is =)

D
Dekado 05.08.19

Yes, no, everything is easier. The balance of revs and speed is unique for each gear, with them its and calculated.

T
TAliSMAN38 05.08.19

if the battle mode is enough and speed sensor, although probably better suited accelerometer

D
Dekado 05.08.19

For example, for a boost controller by gear.
The tasks are different )

T
TAliSMAN38 05.08.19

2 reed switch + magnet 2 and a manual transmission to take, but why...

D
Dekado 05.08.19

the concept is simple )
it is a pity that manual transmission can't do that, we have detours to go.

C
CAMOKAT-BETEPAHA 05.08.19

www.drive2.ru/l/288230376152642619/
www.drive2.ru/l/288230376153180581/

D
Dekado 05.08.19

and a transaction number will show?
there sequence? through the transmission does not jump on the kick down or braking?

C
CAMOKAT-BETEPAHA 05.08.19

Brains with motor, solenoids, automatic transmission, two wires

D
Dekado 05.08.19

and where is evidence of transfer? OBD?

C
CAMOKAT-BETEPAHA 05.08.19

I have one such display. While lying

H
HalfUaz 05.08.19

Plans such crap www.drive2.ru/l/7345728/ . Type will be on Yom Karlovy motor, and in this display will to display different info. My really small and only two colors.

C
CAMOKAT-BETEPAHA 05.08.19

No, it's not colored

l
limoz 05.08.19

arduino-project.net/russk...ainskie-shrifty-oled-i2c Is this display?

J
JokeRR1979 05.08.19

You all the letters it mastered?

C
Crimex 05.08.19

I almost understood everything, especially what the author of wild zadrot :D

J
JokeRR1979 05.08.19

you Cho smoke...I vague from your message... really don't understand ...but I would like((( ))))

A
AterLux 05.08.19

I did not know that colored displaceme do. Thank you for the info.

Y
YanyCh 05.08.19

And now the design is timeless.

C
CAMOKAT-BETEPAHA 05.08.19

Yes, initially it is red. 16 years ago, it caused mortality of the jaw)

Y
YanyCh 05.08.19

Sounds cool, but WILL VS a regular bar so beautiful?

A
Aleksei328 05.08.19

odd, I nifiga not understand what is written above :D but sounds nerd

k
komandir2c3 05.08.19

Great job! an excellent and challenging development. Good specialists at the MK a little, sorry this job is not all can appreciate.

d
dodge1991 05.08.19

Guys, che you crap in the comments?! People tried, and did. He described all the details. Can you repeat that anyone with a head on his shoulders. But to call a wanker not worth it! That's not why the author tried! But if you pictures, there is nothing to read, and then(with the air of a wise guy) to expose his ignorance on display!

d
dodge1991 05.08.19

Personally, I click the signature to such a person!

W
WeLLMaNNeReD 05.08.19

lol:)

s
somebody 05.08.19

Well done
Hands grow from the right place )))