Jump to content
43oh

nexusone1984

Members
  • Content Count

    56
  • Joined

  • Last visited

  • Days Won

    2

Posts posted by nexusone1984

  1. Sweet. Do you have a link to the contest for the Blog. I cannot find it anywhere. Looks like a good sized VFD. They are known for their contrast ratios.

    Is the flicker because of youtube/framerate or can you see it?

     

    The Contest was last year around November, took about 4 months to get the prize. I looked for the link I had, seems to be gone now. The frame rate makes the flicker worst, not as bad watching it with your eye.

  2. Been a while, but getting a free VFD display from Noritake got me started back on a little project.

     

    After entering a Contest last year "what would you do with Noritake VFD" I got notice a few weeks ago I won a free display kit.

     

    The kit came with a VFD display 144x16 dots serial only, CD with Code examples. 6 pin header not soldered in.

     

    Using code from my 74HC595 project as a base I added to the program code to work like a SPI interface for the display.

    Note the support of the SPI interface for the display was not listed on the starter sheet they sent, but in the PDF file on the CD.

    It required I solder an extra pin in for the CS making it seven pins wide.

     

  3. Thanks I am still here, Summer Vacation, etc.. works been crazy.... I get times where I have more free time then others. Still have a list of stuff on the MSP430 to make.

     

    Nice! Was wondering where you went. Good video.

     

    Now make it better with an RGB :)

  4. Been busy with a lot of other stuff... but after a little time here and there put together a 4x4x4 LED Cube.

     

    Soldering the LED's took me forever.... :D

     

    I used Common Cathode configuration for the LED's, this way logic 1 turns on the LED. and Logic 1 also turns on a Row transistor.

     

    Simple little demo.

     

     

    Parts: Launchpad board, 3 x 74HC595 8-bit shift registers, 4 x 2N3904 NPN transistors, 64 Yellow LED's.

  5. Here is how I write to my 74hc595, and I am running at 1Mhz.

     

    When writing to the 74HC595, I always put the latch on logic 0.

    And shift data in from the going from logic 0 to logic 1 on the clock pin.

    Then at the end of my shifting in data, put the latch pin to logic 1.

     

    If I am looking at your code correctly, your clocking High to low on you clock pin when shifting in. Try going from low to high.

     

    I had to re-edit this part.

     

    If you need a delay use a the delay call for ms delay or maybe a 'for' statement after shifting in the data.

     

    for(j = 0; j < arrayLength; j++)

    {

    for(t.......) // this part in the program is ok

    {

    for(i = 0; i < 8; i++)

    {

    pinWrite(LATCH,0);

    shiftOut(index);

    shiftOut(font[j]);

    pinWrite(LATCH,1);

    // short ms delay here maybe would help...

    }

     

    }

    }

     

     

     

    Also check for loose wires and make sure you don't have any floating logic pins...

  6. Nothing more American then Burgers and Pizza....

     

    Hamburger: Bun (bread), Meat (Ground Cow), Cheese, Mustard, Ketchup, pickles...

     

    Pizza: base made from bread, Meat(Ground Cow, and Ground Pig), Cheese, tomato sauce... BTW the tomato sauce can be made from Ketchup, Mustard... Pickles optional on pizza

     

     

    :D

  7. Linux is a free version of Unix..... Gods of C love it, because C was created first under the Unix operating system. Windows has always moved more and more to be Unix like but has always lack in being as programer friendly as Linux is.

     

    Yes you can do 99% of everything under Windows as Unix, but some things Unix just does better or Unix makes it easier to do.

     

    You may never need to use Linix/Unix for what you want done, not sure I would be running Linux on the MSP430. But I do code in C with my MSP430.

     

    Linux is more a community operating system, unlike Windows which is controlled by Microsoft.

     

    Under Linux you can tweak it, even create your our version of it. For those like me who like using a Unix type OS, gives us the best of both worlds. Windowing system and Unix together.

     

    Because linux is free, it gives people more freedom to improve or try new ideas. That is why you see so many flavors of Unix, Red Hat(Fedora), Ubuntu (Mint which I run as branch of Ubuntu).

     

    Oh and did I say it's free, with Ton's of Great Free software....

     

     

    If you want to be a computer programming God, then at some point Linux/Unix is a must to learn. LOL!

  8. I have maxed out code space on the 2231, you have to watch what C library functions you use.

    Depends on what your trying to do with that chip, you may have to go to another MSP430 with more memory.

     

    So far I have just re-written code to save memory space, but in the future maybe will have to go to a larger MSP430.

     

     

    I picked up a 20 pin MSP430 for when I need more I/O and memory, maybe start playing with it soon.

     

    I am also old school..... my first computer 1Mhz 8-bit, 16K ram..... Just after learning BASIC, started look at ways to make it do other things. Building custom hardware for it.

     

     

     

    An 8255? I like old chips (three 8-bit ports too!).

    I used the 4094 here because I could just tie the strobe pin high (makes it act like a 74HC164), and not have to worry about latching the data into IT too... As it is I'm already using over 1/4 of the '2231s memory (need to clean it up don't I?).

  9. If it works on the Launchpad board and not project board.

     

    I would check your power supply, does it have enough current to drive the LED's and the MSP430?

    Also do you have filter capacitors or large enough ones to handle power spikes with the switching of the LED's on and off.

     

    Power spikes can make the MSP430 do weird things or too much load on the I/O pins.

  10. Going to have to think on it why your circuit/code is not working... Why not use two 74HC595 and not use the 4093?

     

    If you have a parallel device you will also need a control lines for the device. if it is in 8 bit mode, you would need more then 8 bits to control the device.

     

    I think you could get by with 4 lines: data clock latch Write. (maybe even three if you connect the 595's in series)

    You have to keep in mind timing and data race... you want to data and address information to be stable on the buss.

     

     

    First HC595 holds the 8 bit data, second HC595 holds Address, then latch the data to the output.

     

    Depending on how many devices you want to control, could be select a bit on the HC595 for that device.

    Or use an address to select using a address decoder like 74HC138/HC139.

     

    Once you have loaded the data and address, you just change the Write state to load the device.

     

    Devices that do not have an enable pin, would have to do something else... but if they have a enable pin, can tie them all in parallel. and select via the enable pin.

  11. The Dollar store is great for some neat items to hack salvage for electronics parts.....LOL!

     

    First steps of success tonight! Henry the Robot (named for my late uncle who got me into electronics over 30 years ago), propelled himself under his own control! I got the PWM timer controls all set up and working, and he was able to crawl around at low speed, completely disconnected from the outside world, without relying on the Launchpad! No directional controls yet, however.

     

    Instead of getting a 3.3 volt regulator (since Radio Shack was closed), I went to the dollar store. Did you know they sell perfectly good dual AA battery cases cleverly disguised as little fans? So for $1 (which is 29 cents less than Fry's), I got a battery holder, a little motor, and to top it off the spinner on the fan prop turns out to be a little centrifugal led board!

     

    While there, I picked up a pre-built 5 digit 7 segment LCD counter display. They had them mislabeled as "pedometers". I'm going to try to have the motor control board be able to use it for a display, just clear it, and fake the bounces up and down on the pedometer to give an output on the display.

  12. Some code I wrote up but not posted is displaying a Bar graph or Dot graph on the matrix display.

     

    Yes multiplexing the ADC output on the display... you could create a slowly changing graph of the temperature or voltage change on your display in Bar or Dot form.

     

    Look at my scrolling matrix code, with simple changes, you could set a sample rate for the ADC. The older data scrolls off the screen as the new data sample comes in.

     

    Create a simple Oscilloscope....

     

     

    Just throwing some stuff out there....

  13. The ACD10MEM the numbers are padded to zero about the 10th bit.

     

    Just looking at the 4094 logic most if it is enable high...

     

    Output Enable = Logic high or supply.

     

    Strobe (latch) = Low is the data is latched.

     

    Clock looks like data is shifted in on the low to high change.

     

    I think someone has used the SPI to serial out the data to the shift registers, I have not worked with it yet.

     

    I just manually shift out the data, so I can use any port as a serial out port. Also can use any word bit size...

     

    Rainbow ribbon - Digi-key...

     

     

     

    Hey thanks for responding

     

    So I am using 3 Toshiba Tc4094 Shift registers: 1 chip for 7 rows 2 chips for 10 columns. I finalized the schematic today and totally spaced on bringing it home, i will post it tomorrow. Here's the chip pin spec and general function...

     

    [attachment=0]TC4094.JPG[/attachment]

     

    It looks like these chips are using like a C2MOS logic in a transmission gate dynamic latch structure, not sure though wierd symbol...

     

    Am i correct in assuimg that I can transfer the 10-bit ADC10MEM contents to USISR by just setting them equal? The CPU will just zero pad the ADC10MEM MSB?

     

    Pretty much all of the LED matrix example I have investigated along the way have used GPI/O to shift-out-by-toggle from some known dataset. I am trying to shift variable A/D contents out after single converion. Is it even possible to shift ADC10MEM register contents out serially by just toggling a pin? I havent found anything that these register are bit-addressable....

     

    Nice job on your scroller btw, I have been having a really hard time finding a multicolor ribbon like that :(

  14. A little more information... What shift register are you using? I use the 2 - 74HC595 to get 16 bits.

     

    In my matrix configuration I use the same for 8X8 as I would for 8X7.

     

    Maybe I do it screw ball or backwards..... but I shift out column then row out.

     

    I set the Latch pin Low, then clock in pin low bit, put data bit at input, then clock pin goes high shifting in that bit. I repeat it 16 times, then set the Latch pin high.

     

    MSB ---------- LSB

     

    00010000 01010101

    Column Row

     

    Note I depending on if your using Common cathode or Common anode and the driving logic.. your address data for the column could also look like this.... 11101111 where zero selects which column is displayed. The same goes for your data, depending on if you need a 1 or 0 to turn on the led.

     

     

    Then I get the next column data and repeat the above steps.

     

    If you like check out my dot matrix code.....

  15. While compiling the program there is a fatal error which is 'Fatal Error[Pe1696]: cannot open source file "io.h" C:\Users\FERHAT\IAR\main.c 4 ' Is there anyone can help me about this problem.

     

    I am using Linux gcc to compile my programs, a small change will be needed if your using the TI compiler under Windows.

     

    I think you don't need the io.h under Windows TI compiler, try it without it.

  16. I will try to draw up a circuit -

     

    But you can use a bridge rectifier and a opto coupler to get your timing for firing the TRIAC to control the voltage to the lights.

     

    The Bridge will create two pulses from one cycle giving you a reference for firing the TRIAC at the up and down phase of the cycle.

     

    The Opto coupler could be read from the ADC on a port, but not sure it would be fast enough. Or use a schmitt trigger or comparator circuit to trigger the start of the timing count inside the MSP. This one reference would be used for all of your TRIAC's.

     

    From there just adjust timing to control brightness.

     

    Not tried it but maybe PMW the TRIAC's would also work, given the filaments need time to go to full brightness.

  17. Going to throw this out...

     

    One of my thoughts on the modular approach for Dot Matrix.

     

    Common Clock from Master to all slave unit.

    Each slave act as a FIFO (First in/First out), as data from master shifts into slave 1, slave 2 is getting data from slave 1, and so forth.

    Right there we use 3 pins for I/O on each unit. Clock, data in, data out

    Maybe use 4 pins and add a control pin.... for Clear all Buffers, invert data displayed, etc. and some other functions.

    Could use 3 pins, when Clock and data are in one set state for X time, next data is control.

     

    Has any one tried PWM through the 595 for dimming the Dot matrix LED's?

  18. hi guys I have a project at univercity for my 'microprocessor' lesson.I need this project to pass this lesson so can someone send me it's c code and proteus circuits please?

     

     

    Added C code and schematic to my web page...

     

    http://www.youtube.com/redirect?q=https%3A%2F%2Fsites.google.com%2Fsite%2Fericstringer%2Fhome%2Fprojects%2Fmsp430launchpad%2Fdotmatrix-scrolling-text-demo&session_token=zHysJf8hdqhGYrFCGEUNI6hK52J8MTMwNTMzNTk4M0AxMzA1MjQ5NTgz

×
×
  • Create New...