Just in case you need galvanically isolated oscilloscope

IMG_20170801_003757.jpgActually it works even from 50Vdc. Just a 12V battery and step-up converter. Only 28W, not much!

Advertisements

IST3990 Datasheet

IST3990

Some initialisation code:

void init()
{
//RES=0;
//delay(2);
//RES=1;
delay(20);
write_com(0x3A);        //0 0 1 1 1 0 1 OSCOFF
write_com(0x2F);        //0 0 1 0 1 1 VC VF
write_com(0x35);        //0 0 1 1 0 BS2 BS1 BS0    30=1/7, 31=1/8, 32=1/9, 33=1/10, 34=1/11, 35=1/12, 36=1/13, 37=1/14
write_com(0x90);        //1 0 0 1 0 0 0 0
write_com(0x80);        //DUTY7-0
write_com(0xB1);        //DUTY7-0
write_com(0x58);        //3C=0.7 V0=12V     5DH=14V
write_com(0xB2);        //FR:3B     013C=74Hz
write_com(0x3C);        //LN7-0
write_com(0x01);        //LN15-8
write_com(0x6C);        //0 1 1 0 SHL ADC EON REV
write_com(0x44);        //GRAY CONTROL 44H=MONO  45H=4GRAY
write_com(0x88);        //TEST COMMAND SET
write_com(0x88);        //TEST COMMAND SET
write_com(0x88);        //TEST COMMAND SET
write_com(0x88);        //TEST COMMAND SET
write_com(0x8A);        //1 0 0 0 1 BT2-0  BT2-0 000-100 EQU X4-X8 000=x4 001=x5 010=x6 011=x7 100=x8
write_com(0x60);        //0 1 1 0 0 SCAN_MOD1 SCAN_MOD0 MAP_MODE
write_com(0x41);        //TEST COMMAND SET
write_com(0x19);        //1 0 0 0 1 BT2-0  BT2-0 000-100 EQU X4-X8 000=x4 001=x5 010=x6 011=x7 100=x8
write_com(0x2f);
write_com(0xE3);

/*write_com(0x74);
write_com(0x00);        //
write_com(0x7F);        //
write_com(0x75);        //SET WINDOWS AX
write_com(0x02);        //
write_com(0x1F);        //
write_com(0xC0);        //SET WINDOWS AY
write_com(0x02);        //
write_com(0x01);        //
write_com(0x00);        /*/

delay(50);
write_com(0x3D);        //0 0 1 1 1 1 0 DON    set Display ON
delay(50);
}