+ Reply to Thread
Page 2 of 2 FirstFirst 12
Results 21 to 29 of 29

Thread: 0832 LED Display from Sure Electronics project

  1. #21

    Default

    Parsec,

    I am currently rewriting some of the subroutines to better understand them and make them more efficient. Some older code allowed for message scrolling. I will definately get there but itsnot quite rightand I want to fix it first. So I will work on it over the weekend and see what turns up on the forum then. Thanks for following.
    Last edited by ForumTools; 10-02-2010 at 02:11 PM. Reason: Forum Migration

  2. #22

    Default

    This morning at the SURE Electronics website they showed a free demo board for the 0832 and 2416 displays. You willl still need a mini USB cable, 12 vdc power supply, etc. but it controls up to 2 sets of 4 0832 boards and 1 (maybe 2) 2416 displays. It looks promising but they are out of stock at the moment, probably to get the interest of there customers. Also there does not appear to be a manual available yet.

    http://www.sureelectronics.net/goods.php?id=972
    Last edited by ForumTools; 10-02-2010 at 02:11 PM. Reason: Forum Migration

  3. #23

    Default

    I have Sure electronics 0832 board, but can't connect it to Arduino. I use all required pins and upload sample from this forum (http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1225239439/0)
    May be someone can show simple code example for turn on any led?
    Thanks.
    Last edited by ForumTools; 10-02-2010 at 02:11 PM. Reason: Forum Migration

  4. #24

    Default

    Andric,

    This forum is for the SX microcontroller not the Arduino. In particular this post is for the Sure Electronics 0832 and code used to connect to it. If you are looking for Arduino code, your best bet is to post a message on the Arduino site that you mentioned before. That posting link is very good and I have posted many 0832 questions in the past. As a mater of fact, it was because of their Arduino code that I was able to convert it into a working version for the SX microcontroller. I would specifically address your code comment on that site. The code is from Westfw and others like florinc. Florinc had a site that he had the entire Arduino code posted (not just in bits and pieces from your link). He is a good one to ask about the details (as well as generally to the entire forum members).

    However, if you do decide to go with an SX microcontroller (SX48 or SX28), I can help more then. I do have an Arduino board but don't know C well enough to do too much with it - at least for the moment.

    Good luck.
    Last edited by ForumTools; 10-02-2010 at 02:11 PM. Reason: Forum Migration

  5. #25

    Default

    Thread revival! Hope you don't mind ;)

    In any case, I stumbled upon this thread when looking up information about the 0832.

    I myself have bought a red 0832 display (with 3 more on the way) as well as the demo board that Sure Electronics provides.

    Fortunately I got into this mess after they released a manual for it haha.

    Just wanted to share that the demo board can display text sent to it over USB and the 0832 displays only show 4 characters at a time (1 character per LED module). So it's comparatively inferior to what you got here.

    I wish I could write up my own code to use on the demo board (to fit more characters on), but I've got no clue - only ever messed with AVR and an ATMega64 dev board a couple years ago... The Sure Electronics demo board is a PIC16F723..

    For now I've just written a C program to tell the demo board what to display - turned it into a scrolling LED ticker... The program has an open UDP port, so other applications can send it stuff to display. Handy, but simple.

    Post Edited (Vylen) : 2/27/2010 3:13:24 PM GMT
    Last edited by ForumTools; 10-02-2010 at 02:11 PM. Reason: Forum Migration

  6. #26

    Default

    Holtek tells me that the PWM works on an individual pixel basis, so that you have 16 brightness levels for each pixel. However, the best that I can do is to set a PWM level for one entire panel. With four panels I can have 4 different brightness levels, but it doesn't seem to address anything smaller than an entire panel.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    TYSHAWN
    Last edited by ForumTools; 10-02-2010 at 02:11 PM. Reason: Forum Migration

  7. #27

    Default

    I have worked extensively with the Sure Electronics 0832 display and other related Sure Electronics LED displays.

    I have also built a custom RGB board that uses the Holtech HT1632C newest chip (very similar to the obsolete HT1632 that is used in the 0832 displays - but a couple of coding changes are needed).

    http://forums.parallax.com/showthread.php?p=867334

    Although I have not focused on these displays in a few months, I beleive it is possible to have individual PWM per LED since these boards are RAM based and controllable.

    See my code I have in the firstpageof thispostand ask any questions. Other than yourself, I haven't seen much other development on this forum with the 0832 (at least not in posts). If you haven't seen this other Arduino thread, it also has some good information on the 0832 and Sure Electronic's 2416 (which is basically just another configuration of how the HT1632 or HT1632C can be used in LED outputs (either 32x8 or 24x16).
    http://www.arduino.cc/cgi-bin/yabb2/...1225239439/210

    Post Edited (T&E Engineer) : 3/19/2010 7:10:50 PM GMT
    Last edited by ForumTools; 10-02-2010 at 02:11 PM. Reason: Forum Migration

  8. #28

    Default Re: 0832 LED Display from Sure Electronics project

    Hello all,

    I am currently working on 0832 sure electronics Led dot matrix display. I want to interface it with PIC 16F1937 . I am using MPLAB and Hi-Tech C compiler as a software platform.
    I write simple C code but nothing happened.
    My connections are as follows:

    PIC Pin 0832 pin

    RB1 - CS1
    RB2 - WR
    RB3 - DATA
    VCC OSC(Connected with Vcc)
    GND

    Here i am attaching my code.

    #include<htc.h>
    #include<pic.h>
    #include <math.h>


    #define SYS_OSC 0b01101010;




    __CONFIG( FOSC_INTOSC & WDTE_OFF & PWRTE_OFF & MCLRE_ON & CP_OFF & CPD_OFF &
    BOREN_OFF & CLKOUTEN_ON & IESO_OFF & FCMEN_OFF);


    __CONFIG( WRT_OFF & VCAPEN_OFF & PLLEN_OFF & STVREN_OFF & BORV_25 &
    LVP_OFF);


    #define CS TRISB1
    #define WR TRISB2
    #define DATA TRISB3


    #define CS_BIT LATB1
    #define WR_BIT LATB2
    #define DATA_BIT LATB3


    int i,j,k,address,comd,dataB,z;
    //unsigned char dataA[8];


    //void init();
    void Command_mode(unsigned char address);
    void Data_mode(unsigned char address);
    //void Display();


    /*
    dataA[0] = 0b00111100; //'start of "letter 'S'"
    dataA[1] = 0b00100000;
    dataA[2] = 0b00100000;
    dataA[3] = 0b00111100;
    dataA[4] = 0b00000100;
    dataA[5] = 0b00000100;
    dataA[6] = 0b00000100;
    dataA[7] = 0b00111100;
    */


    const unsigned char dataA[]= {0xaa}; // FOR LETTER 'M'


    void Data_mode(unsigned char address){


    CS_BIT = 0;


    // Data MODE ID


    comd = 0b00000101;
    for(k=0;k<3;k++){
    WR_BIT =0;
    _delay(1000);
    DATA_BIT = comd;
    _delay(1000);
    WR_BIT =1;
    comd = comd >> 1;
    _delay(1000);
    }
    // 7 BIT ADDRESS
    for(j=0;j<7;j++){
    WR_BIT =0;
    _delay(1000);
    DATA_BIT = address;
    _delay(1000);
    WR_BIT =1;
    address = address >> 1;
    _delay(1000);


    }


    for(i=0;i<8;i++)
    {
    WR_BIT =0;
    _delay(1000);
    DATA_BIT = dataB;
    _delay(1000);
    WR_BIT =1;
    _delay(1000);
    }
    CS_BIT = 1;


    }






    void Command_mode(unsigned char address){
    CS_BIT = 0;


    // COMMAND MODE ID


    comd = 0b00000100;
    for(k=0;k<3;k++){
    WR_BIT =0;
    _delay(100);
    DATA_BIT = comd;
    _delay(1000);
    WR_BIT =1;
    comd = comd >> 1;
    _delay(100);
    }
    // 7 BIT ADDRESS
    for(j=0;j<8;j++){




    WR_BIT =0;
    _delay(100);
    DATA_BIT = address;
    _delay(1000);
    WR_BIT =1;
    address = address >> 1;
    _delay(100);


    }
    // END BIT
    WR_BIT = 0;
    _delay(10);
    DATA_BIT =1;
    _delay(10);
    WR_BIT =1;
    //LAST send the endbitZ
    _delay(10);


    //All set! Now set CS to high
    CS_BIT = 1;


    }


    void Display(){
    address = 0x00;
    for(i=0;i<8;i++){
    dataB = dataA[i];
    Data_mode(0x00);
    address = address + 2;
    }
    }


    void init(){

    Command_mode(0b00000001); // turn on system oscillator
    Command_mode(0b00011000); // RC
    //_delay(1000);
    Command_mode(0b00000011); // TURN ON led outputs
    //_delay(1000);
    Command_mode(0b10101111); // PWM DUTY CYCLE 16/16
    //_delay(1000);
    Command_mode(0b00100000);
    //_delay(1000);


    }


    void main(){


    TRISB=0x00;
    ANSELB=0x00;
    OSCCON = SYS_OSC;




    init();


    Display();


    //while(1);
    }


    I am really confused where I am going wrong. Your corrections and suggestions are appreciated.

    Thanks in Advance.

  9. #29

    Default Re: 0832 LED Display from Sure Electronics project

    xyzabcpqr -- this is an SX microcontroller forum. You might want to try a PIC forum, an MPLAB forum and/or a C forum for help with your questions.
    When the going gets weird, the weird turn pro. -- HST

    my site: 1uffakind.com
    create bitmap data tool: 1uffakind.com/robots/povBitMapBuilder.php
    resistor ladder tool: 1uffakind.com/robots/resistorLadder.php
    convert images to ascii art: 1uffakind.com/apptoys/convtoascii/
    MC6808/Hero-1 assembler: 1uffakind.com/apptoys/onlinecompilers/MC6800/

+ Reply to Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts