I have an automotive sub-display from a 2004 Honda Accord that I’m trying to get to work with Arduino. The display has the OKI MSM9004-02 driver, datasheet attached. There are inputs for CLOCK, DATA, CE (SS) and RESET(blanks out the display). I played with trying to control it with SPI but don’t seem to be able to do it consistently. Any and all help will be greatly appreciated. I’m also attaching a picture of the display, with all segments lit, for reference.
Here’s the sketch I’ve been playing with:
// inslude the SPI library:
#include <SPI.h>
// set pin 10 as the slave select for the digital pot:
const int ss = 10;
void setup() {
// set the slaveSelectPin as an output:
pinMode (ss, OUTPUT);
// initialize SPI:
SPI.begin();
SPI.setBitOrder(LSBFIRST);
SPI.setClockDivider(SPI_CLOCK_DIV2);
SPI.setDataMode(SPI_MODE0);
}
void loop() {
digitalWrite(ss, LOW);
SPI.transfer(11010001);
digitalWrite(ss, HIGH);
}
msm90040102.pdf (118 KB)