Jump to content

username

Members
  • Content Count

    305
  • Joined

  • Last visited

  • Days Won

    8

Reputation Activity

  1. Like
    username got a reaction from izdane in Security System 3 & Reflow Oven 3   
    Howdy all,
     
    School wanted acouple IR reflow ovens so I figured heck, why not make a new control board? In addition, I want to make my new security system V3 so why not combine the 2 into 1 small compact board? (besides the inevitable routing nightmare). Any review of the schematic would be appreciated. I figured i'd make 1 last project with an MSP430 but i'm tempted to put an ARM on there cause I need more GPIO and I will probably need more RAM. Many thanks to RobG for his awesome development of the 2.2" lcd display.
     
    My new Security System V3 will use an ultrasound sensor, a infrared sensor, and a magnetic door sensor. No one is getting through my door without me knowing it XD. Will use an NRF chip to send a watch dog signal to my omega alarm box I have yet to build. Will also have a separate NRF key that will deactivate the system automatically if i'm around.
     
    Click for full size, all values are by majority simply representational

  2. Like
    username reacted to oPossum in G2553 Hardware UART "Hello World" Example   
    #include <msp430.h> #include <stdint.h> const unsigned RXD = BIT1; const unsigned TXD = BIT2; const unsigned SW2 = BIT3; const unsigned long smclk_freq = 16000000; // SMCLK frequency in hertz const unsigned long bps = 9600; // Async serial bit rate // Output char to UART static inline void putc(const unsigned c) { while(UCA0STAT & UCBUSY); UCA0TXBUF = c; } // Output string to UART void puts(const char *s) { while(*s) putc(*s++); } // CR LF void crlf(void) { puts("\r\n"); } // Output binary array to UART void putb(const uint8_t *b, unsigned n) { do putc(*b++); while(--n); } // Print unsigned int void print_u(unsigned x) {     static const unsigned dd[] = { 10000, 1000, 100, 10, 1 };     const unsigned *dp = dd; unsigned d;     if(x) { while(x < *dp) ++dp;         do { d = *dp++; char c = '0'; while(x >= d) ++c, x -= d; putc(c); } while(!(d & 1));     } else putc('0'); } // Print signed int void print_i(const int x) { if(x < 0) putc('-'); print_u((x < 0) ? -x : x); } // Print hex nibble static inline void puth(const unsigned x) { putc("0123456789ABCDEF"[x & 15]); } // Print hex byte void print_hb(const unsigned x) { puth(x >> 4); puth(x); } // Print hex word void print_hw(const unsigned x) { print_hb(x >> 8); print_hb(x); } void main(void) { WDTCTL = WDTPW + WDTHOLD; // No watchdog reset // DCOCTL = 0; // Run at 16 MHz BCSCTL1 = CALBC1_16MHZ; // DCOCTL = CALDCO_16MHZ; // // P1DIR = ~(RXD | SW2); // Setup I/O for UART and switch P1OUT = P1REN = RXD | SW2; // P1SEL = P1SEL2 = RXD | TXD; // // const unsigned long brd = (smclk_freq + (bps >> 1)) / bps; // Bit rate divisor UCA0CTL1 = UCSWRST; // Hold USCI in reset to allow configuration UCA0CTL0 = 0; // No parity, LSB first, 8 bits, one stop bit, UART (async) UCA0BR1 = (brd >> 12) & 0xFF; // High byte of whole divisor UCA0BR0 = (brd >> 4) & 0xFF; // Low byte of whole divisor UCA0MCTL = ((brd << 4) & 0xF0) | UCOS16; // Fractional divisor, oversampling mode UCA0CTL1 = UCSSEL_2; // Use SMCLK for bit rate generator, release reset for(; { // int n = 1; // do (P1IN & BIT3) ? --n : (n = 5000); while(n); do (P1IN & BIT3) ? n = 5000 : --n; while(n); puts("Poke me with a Stick\r\n"); // for(n = -5; n <= 5;) print_i(n++), putc(' '); crlf(); n = 0xDEAD; print_hw(n); putc(' '); // n += 0xE042; print_hw(n); crlf(); // crlf(); // } // } //  
  3. Like
    username reacted to RobG in Serial Comm - Scrolling Text board   
    I am in the process of making Serial Comm -> Scrolling Text board.
     


    Here are the specs:
    MSP430F5132
    5V supply
    9600, 8 bit, 1 stop, RS-485, ASCII
    128 char display buffer (max message size)
    128 + 5 char receive buffer
    adjustable scroll speed 10-40fps (20fps default)
    5x7 character set
    8 outputs (since chars have 7 rows, only 7 will be used unless we use 8x8 font)
    up to 256 LEDs (WS2811) per strip (will fit 42 5x7 chars)
    solid color or predefined color palettes (each char or each char's column could have a unique color)

    You will need USB(RS-232)->RS-485 dongle on the PC side.

    Each message will begin with a "{" start byte ( I would allow ASCII chars in the range 32-122, {|}~ will be used to control MSP430.)
    Second byte will select solid color or a palette , color# = ASCII# - 32.
    Third byte will select scroll speed, speed = ASCII# - 22 (limited between 10fps and 40fps)
    Fourth byte space
    Then up to 128 ASCII chars (actual message to display)
    The last byte is "}" end of message byte

    Sending "|" would pause the message at the beginning of the display. Another "|" would continue scrolling it.
    Sending "~" would stop and reset MSP430 and the display

    For example: Sending { Hello world!} from the Terminal would play "Hello world!" at 10fps in color #0.
     
     
    Here's almost finished firmware running on LaunchPad (MSP430G2553)
     
    http://www.youtube.com/watch?feature=player_embedded&v=D61UWEcJNdM
  4. Like
    username got a reaction from LariSan in Is it just me or tonight TI doubled LaunchPad price?   
    Larissa, thanks for taking the time to explain some of the background info to us. Communication effort on the part of the manufacture is greatly appreciated and shows us your listening!



    I'd say 43oh.com & its awesome members are quite decent partners to have for making the 430 ecosystem grow & even in the educational realm. Do note that the majority of us have no interest in making mega bucks off the msp430 and we all were certainly okay with that. Were all in this simply because its fun. Many of us enjoy working on a MCU development platform that was sub par to none in terms of price point. The price point of this platform inspired us to teach other members, write documentation for it, and create boosterpacks...ect. While you may gain some members with this move you will certainly lose others. Because as many members have already mentioned, more than doubling the price simply isn't competitive with what already exists out there. Don't forget your original member base! There was something significantly novel about you and your friends being able to develop on micro controllers for just $4.30.
     
  5. Like
    username got a reaction from gwdeveloper in G2553 Hardware UART "Hello World" Example   
    Howdy all, sorry I neglected this post. I updated the code for the rev 1.5 and made some improvements. My coding skills hopefully have improved abit over the last year. I'm avoiding interrupts & low power modes for simplicity. This code is meant for beginners
  6. Like
    username reacted to RobG in Ethernet Booster Pack v2   
    The new Ethernet Booster Pack assembled (no memory.)
     

  7. Like
    username got a reaction from keithehenry in G2553 Hardware UART "Hello World" Example   
    A simple well documented hardware uart "Hello World" example.
    Updated, thanks for member comments 3/13/13
     
    Notes:
    This code is for launchpad rev 1.5
    This is hardware UART, your launchpad jumpers must be set for hardware UART
    The TI TUSB3410 is a TERRIBLE usb-> UART chip and is very buggy on WIN7 64bit. If your still having issues, it could be a driver issue. Try on XP or use a different USB -> serial device.
     
     
    //Nate Zimmer UART example // Press button to print hello to terminal #include  <msp430g2553.h> // System define for the micro that I am using #define RXD        BIT1 //Check your launchpad rev to make sure this is the case. Set jumpers to hardware uart. #define TXD        BIT2 // TXD with respect to what your sending to the computer. Sent data will appear on this line #define BUTTON    BIT3 void UART_TX(char * tx_data);            // Function Prototype for TX void main(void) {   WDTCTL = WDTPW + WDTHOLD;         // Stop Watch dog timer   BCSCTL1 = CALBC1_1MHZ;            // Set DCO to 1 MHz   DCOCTL = CALDCO_1MHZ;   P1DIR &=~BUTTON;                  // Ensure button is input (sets a 0 in P1DIR register at location BIT3)   P1OUT |=  BUTTON;                 // Enables pullup resistor on button   P1REN |=  BUTTON;   P1SEL = RXD + TXD ;                // Select TX and RX functionality for P1.1 & P1.2   P1SEL2 = RXD + TXD ;              //   UCA0CTL1 |= UCSSEL_2;             // Have USCI use System Master Clock: AKA core clk 1MHz   UCA0BR0 = 104;                    // 1MHz 9600, see user manual   UCA0BR1 = 0;                      //   UCA0MCTL = UCBRS0;                // Modulation UCBRSx = 1   UCA0CTL1 &= ~UCSWRST;             // Start USCI state machine   while(1)                          // While 1 is equal to 1 (forever)   {       if(!((P1IN & BUTTON)==BUTTON)) // Was button pressed?       {           UART_TX("Hello World! \r\n");  // If yes, Transmit message & drink beer           __delay_cycles(100000); //Debounce button so signal is not sent multiple times       }   } } void UART_TX(char * tx_data) // Define a function which accepts a character pointer to an array {     unsigned int i=0;     while(tx_data[i]) // Increment through array, look for null pointer (0) at end of string     {         while ((UCA0STAT & UCBUSY)); // Wait if line TX/RX module is busy with data         UCA0TXBUF = tx_data[i]; // Send out element i of tx_data array on UART bus         i++; // Increment variable for array address     } }
  8. Like
    username got a reaction from Philipp in Is it just me or tonight TI doubled LaunchPad price?   
    Larissa, thanks for taking the time to explain some of the background info to us. Communication effort on the part of the manufacture is greatly appreciated and shows us your listening!



    I'd say 43oh.com & its awesome members are quite decent partners to have for making the 430 ecosystem grow & even in the educational realm. Do note that the majority of us have no interest in making mega bucks off the msp430 and we all were certainly okay with that. Were all in this simply because its fun. Many of us enjoy working on a MCU development platform that was sub par to none in terms of price point. The price point of this platform inspired us to teach other members, write documentation for it, and create boosterpacks...ect. While you may gain some members with this move you will certainly lose others. Because as many members have already mentioned, more than doubling the price simply isn't competitive with what already exists out there. Don't forget your original member base! There was something significantly novel about you and your friends being able to develop on micro controllers for just $4.30.
     
  9. Like
    username got a reaction from RobG in Is it just me or tonight TI doubled LaunchPad price?   
    Larissa, thanks for taking the time to explain some of the background info to us. Communication effort on the part of the manufacture is greatly appreciated and shows us your listening!



    I'd say 43oh.com & its awesome members are quite decent partners to have for making the 430 ecosystem grow & even in the educational realm. Do note that the majority of us have no interest in making mega bucks off the msp430 and we all were certainly okay with that. Were all in this simply because its fun. Many of us enjoy working on a MCU development platform that was sub par to none in terms of price point. The price point of this platform inspired us to teach other members, write documentation for it, and create boosterpacks...ect. While you may gain some members with this move you will certainly lose others. Because as many members have already mentioned, more than doubling the price simply isn't competitive with what already exists out there. Don't forget your original member base! There was something significantly novel about you and your friends being able to develop on micro controllers for just $4.30.
     
  10. Like
    username got a reaction from cde in Is it just me or tonight TI doubled LaunchPad price?   
    Larissa, thanks for taking the time to explain some of the background info to us. Communication effort on the part of the manufacture is greatly appreciated and shows us your listening!



    I'd say 43oh.com & its awesome members are quite decent partners to have for making the 430 ecosystem grow & even in the educational realm. Do note that the majority of us have no interest in making mega bucks off the msp430 and we all were certainly okay with that. Were all in this simply because its fun. Many of us enjoy working on a MCU development platform that was sub par to none in terms of price point. The price point of this platform inspired us to teach other members, write documentation for it, and create boosterpacks...ect. While you may gain some members with this move you will certainly lose others. Because as many members have already mentioned, more than doubling the price simply isn't competitive with what already exists out there. Don't forget your original member base! There was something significantly novel about you and your friends being able to develop on micro controllers for just $4.30.
     
  11. Like
    username reacted to Rickta59 in Is it just me or tonight TI doubled LaunchPad price?   
    I'm going to use this price increase as an excuse to find something better. I've long put up with all the warts on the msp430 because of the price. At $4.30 I felt like it needed a hand from the community to let it shine. At $9.99 you are just taking advantage of the work the rest of us have done for free.
     
    Things I used to like about the msp430:
     
    $4.30 with hardware debugger
     
    Things that have bugged me from day one, that I put up with because the price was $4.30
     
    o Lack of Linux or Mac support
    o CCS v4 based on some ancient version of Eclipse and full of plugins that made it
    dog slow and unreliable
    o Size limited CCS
    o Lack of launchpad CCS support on linux
    o The tiusb3410 9600 baud limited linux nightmare of a usb -> serial interface
    o lack of dip chips beyond 16k/512bytes
    o Booster pack stupidity,
    o Lack of standardization for the pin layouts.
    o Couldn't even figure out some standard pins for SPI/I2C/UART
    o Different chips use different pins for spi , uart , i2c
    o Can't use i2c/spi and hw UART at the same time
    o no 5 volt available from USB connection
    o Spending all my time on these forums trying to explain why the Serial port doesn't work
    o Wondering why they launched it with a 2k chip with no hardware UART when they were
    trying to make it look like an Arduino and then being surprised when people bought them
    and put them in a drawer until Energia emerged.
    o Having to explain to people why an msp430g2231 really isn't the same as an atmega328
    and how to get around the fact that there is no hardware uart so you have to juggle
    to be able to send serial commands to a g2231 while running a servo code both using
    the timer chip
    o not enough ram on the chips to do useful things with sdcards or graphics displays
    o msp430 chips get expensive in low quantities once you leave the value line
    o msp430 chips don't really compete on a performance or price basis to ARM or PIC chips
    other than with the value line chips. So you can waste a lot of time learning the architecture
    only to find out that doing real world things with them is probably not the smartest
    decision.
    o It is actually very difficult to source msp430 chips. It took about 1 year after I got my
    first msp430g2553 before I started seeing them available on http://octopart.com To be
    honest, now I don't care I really want a dip chip version of a FRAM chip as that is
    really the only useful msp430 chip.
    o Confusing licensing schemes with regard to USB code and the msp430f5510. I decided to
    not try and figure out the lawyerese and just use another usb solution after trying
    to get an answer on e2e.ti.com
     
    So did TI fix any of those problems? No, the community did.
     
    How does TI repay the community ..
     
    "Thanks, we got it. We'll take it from here. Oh, BTW the price is going up!"
     
    You're welcome!
     
    -rick
  12. Like
    username reacted to cubeberg in Elecrow PCB Service - Free color   
    Just got notification mine shipped.  Never had white before - they look pretty nice.  Ordered from OSHPark on the same day - they're not due in until Wednesday.  


  13. Like
    username got a reaction from cubeberg in Elecrow PCB Service - Free color   
    Can someone please post a 20minute un-boxing video review? I'm curious about the bubble wrap they come in.
  14. Like
    username reacted to spirilis in Elecrow PCB Service - Free color   
    Just got my boards... 2 cents-
    The vias were all tented, a little weird b/c I don't recall unchecking the vias box in the soldermask layers.  Seeed and OSHpark never tent them.  Not a problem, just minor point to note.
    The drill holes are indeed slightly offset or something.  Probably not an issue, I'll see once I assemble a couple.
    They gave me exactly 10 boards, Seeed always seems to toss in 1 or 2 extra.  Not a big deal, Elecrow is cheaper anyhow!
     
    The red color is very nice, looks closer to the TI LaunchPad board's red color than Seeed's slightly orange-ish red.
    A couple PTH holes had some greenish-yellow specks of crud in them, but it wiped away (and there was HASL solder underneath so it's not like a corroded un-HASL'd pad or anything).

    (my faulty 1st edition F5172 board up above, with Seeed's orange-ish red color for comparison sake)
  15. Like
    username reacted to jpnorair in STM32L vs. MSP430F5: What's left for MSP430?   
    Recently I've been doing a lot of work with STM32L.  The asynchronous RTOS that I had previous built for MSP430F5/F6 is now working nicely on STM32L.  I'm doing some benchmarking and profiling of STM32L vs. MSP430 -- it is a long process, but the signs aren't looking good for MSP430.  Here are some of the preliminary, qualitative results.
     
    Lowest-Power Sleep:
    I've used LPM3 for MSP430F5 and STOP-mode for STM32L.  These are the lowest-power modes that allow SRAM retention (and register retention) and a means for the MCU to schedule its own wakeup with a timer.  Both of the devices use roughly 2uA in this mode.  Both devices also come out of lowest power sleep in roughly 10us, however the MSP430 needs more like 100us if you have the supply voltage monitor enabled.  STM32L does not need the extra time, so it wins.
     
    Runtime Performance per mA
    STM32L is using the Cortex M3, not the M0, so it has a brutish ALU with 32x32 multiplier in addition to single-instruction multiply-accumulate, single-instruction logical comparsion with shift, and a bunch of other neat ALU instruction that make it run very fast.  Additionally, it has a DMA that is independent of the CPU.  I'm using it a 4.2 MHz to achieve 1mA runtime, and my MSP430F5 is running at 5.2 MHz to achieve 1mA.  For doing DSP or software crypto (like RSA), it isn't even close.  The ARM just humiliates the MSP.  For doing protocol processing, RTOS scheduling, and more logical operations, the ARM still is beating the MSP by about 2x, even though the MSP is clocked a bit higher.  So, my verdict is that STM32L uses less than half the runtime power of MSP430F5.  STM32L also has a fast-settling 16MHz clock that outperforms MSP430 at 25MHz, and if you're crazy you can push it to 32 MHz.  It absolute performance, it just dominates.
     
    Features and cost
    I'm comparing a low-end STM32L (STM32L151C8: 64KB Flash, 4KB EEPROM, 10KB SRAM) and a mid-range MSP430 (MSP430F5510: 32KB Flash, 0.5KB storage Flash, 6KB SRAM).  Otherwise, they have a comparable set of peripherals and they cost about the same.  The difference is that almost every peripheral in the STM32L is just a little bit better than its equivalent on the MSP430.  Plus, having the 4KB EEPROM is really nice.  The storage Flash is still NAND-type Flash and it still needs wear-leveling, which is hardly worth the effort for such a small piece of memory.
     
    The sole redeeming factor of MSP430
    A major deficiency of STM32L is that there isn't a low-power clock source other than the RTC, so building a low-power asynchronous RTOS is difficult.  But, it is obviously possible.  Moreover, chips like EFM32 are nearly identical to STM32L, except even lower power, and EFM32 has an array of low-power timers.  MSP430 has a much better clocking system for implementing low-power apps, and overall it is a lot easier to work-with than STM32L.  But now that my RTOS is ported, that hurdle is cleared, so the ease-of-use argument is really not a huge deal, in my opinion.
     
    What's left for MSP430?
    Frankly, I'm not bullish on MSP430 anymore.  I've used it for years, I think the architecture is very elegant, and I love the clocking system.  The competition from Cortex-M is just getting to tough for any mid-range "proprietary" MCU architecture to face.  It's not just TI: everyone making competitors to Cortex-M is getting squeezed.  The Wolverine core is a nice move by TI, but it's too little too late.  For the same price as a Wolverine core MSP430, I can get an EFM32 with superior MCU features apart from the FRAM, and similar or even superior low-power features.  These EFM32s have 16KB of SRAM and a really good supply monitor, so all you are really getting with FRAM is a speed-limiter on your CPU (8 MHz).
     
    My conclusion is simple: TI needs to find a way to drop the price on MSP430 so they can compete in the low-end market against AVR8 and PIC, where the MSP430 is faster and lower-power.  Today's mid and high-end MSP430's simply cannot compete against Cortex-M.  TI has always been about beating competition on marketing and fabrication, so I know they can do it, and I'm surprised they haven't.  Clearly, the G-series is a step in that direction, but in my opinion it is really it is the 5-series that they need to cost-optimize.
  16. Like
    username got a reaction from arsviator in MSP430 Reflow Oven   
    Hey all,

    Nate here, made a nice little reflow oven to help me in the construction of surface mount boards. Got a video explaining it all here:

    PCBs and Control Boards for sale here: viewtopic.php?f=22&t=2040
    No longer for sale, no time to pump any out.
     

    Project Video:





    Project Pics:







    Schematic:This is my old V1 schematic. Todo if you want a better board:
    -Use a MSP430G2553 MCU (more pins and flash)
    -Use a non EOL thermocouple driver IC: MAX31855KASA+
    -Add in a FT230XS for a USB interface
    -Add flyback protection to relay LSD if a mechanical relay is used.
     
    Full size at link:
    http://forum.43oh.com/uploads/monthly_12_2011/post-4818-135135531417.jpg
     



    Oven: Convection (30 usd)
    http://www.walmart.com/ip/Black-Decker-Toaster-Oven-Stainless-Steel/16913546
     
    Oven: IR (recommended that you use an IR oven of sorts)
    http://www.walmart.com/ip/George-Foreman-Infrared-Countertop-Oven-with-Rotisserie/19411514
     
     
    C# GUI for live plotting:

     

    Here is the BOM:

    Update: Schematic has most Part #s on it
     
    Thermal-couple: (Important that it is low thermal mass and rated for temp range)
    Digikey: 290-1911-ND
     
    Thermal-couple IC:
    MAX31855KASA+
    MAX31855KASA+T
     
    Relay: (this is a mechanical relay. I salvaged a SSR for my V2. I highly recommend you use an SSR for long life and quicker switching times)
    Digikey: T9AS1D22-5-ND (Relay)

    Misc Digikey Part # (Part Discription)
    MC78M05CDTGOS-ND (5V regulator Dpak)
    445-1590-1-ND ( CAP CER 1.0UF 25V Y5V 0805)
    754-1133-1-ND ( LED 2X1.2MM 630NM RD WTR CLR SMD)
    754-1127-1-ND (LED 2X1.2MM 570NM GN WTR CLR SMD)
    CP-102B-ND (CONN POWER JACK 2.5MM PCB CIRC)
    785-1112-1-ND (MOSFET N-CH 20V 25A TO-252 (Relay))
    IRLML6344TRPBFCT-ND ( MOSFET N-CH 30V 5A SOT23 (SSR Load))
    RMCF0805JT100KCT-ND ( RES 100K OHM 1/8W 5% 0805 SMD)
    RMCF0805JT47K0CT-ND ( RES 47K OHM 1/8W 5% 0805 SMD)
    RMCF0805FT499RCT-ND ( RES 499 OHM 1/8W 1% 0805 SMD)
    296-8247-5-ND (IC 8-BIT SHIFT REGISTER 14-SOIC)
    296-28430-1-ND (IC MCU 16BIT 20TSSOP)
    RMCF0805JT1K00CT-ND ( RES 1K OHM 1/8W 5% 0805 SMD)
    CT94EY104-ND (TRIMMER 100K OHM 0.5W TH)
    MCP1700T3302ETTCT-ND ( IC REG LDO 3.3V 250MA SOT23-3)

    + a 16x2 LCD display
    + some dip headers that are used for jumping and programing.
    + 5mm/.2in lead spacing terminal headers for relay and thermocouple input.
  17. Like
    username got a reaction from RobG in 2.2" Color LCD Booster Pack with Touch   
    Here is a non Energia hardware SPI optimized version for the G2553. Uses max speed for LCD and down clked for touch requests. Wrote some touch lib stuff & got rid of custom type defs.  Ensure you check the board version. "TSC chip select was moved from P2.2 to P2.1". I'm using P2.2 in my code.
     
    Edit: Fixed Spi dwnclk. Also, no filtering yet.
     

    See attached files
    hrd_spi_max.zip
  18. Like
    username got a reaction from spirilis in LPC1769 web interface board   
    Hey all,
     
    For a school project, I wanted to make a web interface board. Sadly MSP430s just don't cut it for advanced applications. I wanted to make a powerful portable web server I could plug into certain projects. Majority of code base credit goes to Brad S, my partner in crime. Credit also a course also goes to RobG for his brilliant universal lcd lib.
     
    Web server board has the following features:
     
    ARM cortex m-3 LPC1769 MCU
    LPC1769 USB mini device interface
    SPI based micro SD card interface
    W5200 web server
     


     
    I also made a docking board which as an NRF wireless chip on it and one of Robs 2.2" LCD touch displays on it.

     
    Also made a wireless interface board which goes in application you wish to control. This guy uses an msp430G2553.

     
    Been a long work in progress.
  19. Like
    username got a reaction from xpg in LPC1769 web interface board   
    Hey all,
     
    For a school project, I wanted to make a web interface board. Sadly MSP430s just don't cut it for advanced applications. I wanted to make a powerful portable web server I could plug into certain projects. Majority of code base credit goes to Brad S, my partner in crime. Credit also a course also goes to RobG for his brilliant universal lcd lib.
     
    Web server board has the following features:
     
    ARM cortex m-3 LPC1769 MCU
    LPC1769 USB mini device interface
    SPI based micro SD card interface
    W5200 web server
     


     
    I also made a docking board which as an NRF wireless chip on it and one of Robs 2.2" LCD touch displays on it.

     
    Also made a wireless interface board which goes in application you wish to control. This guy uses an msp430G2553.

     
    Been a long work in progress.
  20. Like
    username got a reaction from izdane in G2553 Hardware UART "Hello World" Example   
    A simple well documented hardware uart "Hello World" example.
    Updated, thanks for member comments 3/13/13
     
    Notes:
    This code is for launchpad rev 1.5
    This is hardware UART, your launchpad jumpers must be set for hardware UART
    The TI TUSB3410 is a TERRIBLE usb-> UART chip and is very buggy on WIN7 64bit. If your still having issues, it could be a driver issue. Try on XP or use a different USB -> serial device.
     
     
    //Nate Zimmer UART example // Press button to print hello to terminal #include  <msp430g2553.h> // System define for the micro that I am using #define RXD        BIT1 //Check your launchpad rev to make sure this is the case. Set jumpers to hardware uart. #define TXD        BIT2 // TXD with respect to what your sending to the computer. Sent data will appear on this line #define BUTTON    BIT3 void UART_TX(char * tx_data);            // Function Prototype for TX void main(void) {   WDTCTL = WDTPW + WDTHOLD;         // Stop Watch dog timer   BCSCTL1 = CALBC1_1MHZ;            // Set DCO to 1 MHz   DCOCTL = CALDCO_1MHZ;   P1DIR &=~BUTTON;                  // Ensure button is input (sets a 0 in P1DIR register at location BIT3)   P1OUT |=  BUTTON;                 // Enables pullup resistor on button   P1REN |=  BUTTON;   P1SEL = RXD + TXD ;                // Select TX and RX functionality for P1.1 & P1.2   P1SEL2 = RXD + TXD ;              //   UCA0CTL1 |= UCSSEL_2;             // Have USCI use System Master Clock: AKA core clk 1MHz   UCA0BR0 = 104;                    // 1MHz 9600, see user manual   UCA0BR1 = 0;                      //   UCA0MCTL = UCBRS0;                // Modulation UCBRSx = 1   UCA0CTL1 &= ~UCSWRST;             // Start USCI state machine   while(1)                          // While 1 is equal to 1 (forever)   {       if(!((P1IN & BUTTON)==BUTTON)) // Was button pressed?       {           UART_TX("Hello World! \r\n");  // If yes, Transmit message & drink beer           __delay_cycles(100000); //Debounce button so signal is not sent multiple times       }   } } void UART_TX(char * tx_data) // Define a function which accepts a character pointer to an array {     unsigned int i=0;     while(tx_data[i]) // Increment through array, look for null pointer (0) at end of string     {         while ((UCA0STAT & UCBUSY)); // Wait if line TX/RX module is busy with data         UCA0TXBUF = tx_data[i]; // Send out element i of tx_data array on UART bus         i++; // Increment variable for array address     } }
  21. Like
    username got a reaction from jsolarski in LPC1769 web interface board   
    Hey all,
     
    For a school project, I wanted to make a web interface board. Sadly MSP430s just don't cut it for advanced applications. I wanted to make a powerful portable web server I could plug into certain projects. Majority of code base credit goes to Brad S, my partner in crime. Credit also a course also goes to RobG for his brilliant universal lcd lib.
     
    Web server board has the following features:
     
    ARM cortex m-3 LPC1769 MCU
    LPC1769 USB mini device interface
    SPI based micro SD card interface
    W5200 web server
     


     
    I also made a docking board which as an NRF wireless chip on it and one of Robs 2.2" LCD touch displays on it.

     
    Also made a wireless interface board which goes in application you wish to control. This guy uses an msp430G2553.

     
    Been a long work in progress.
  22. Like
    username got a reaction from bluehash in (Universal) Color LCD graphics library   
    FYI for anyone interested in printing images to their LCD display, this tool is super useful --> http://code.google.com/p/lcd-image-converter/ . You can get the output in hex bytes. Consequently, to print a image you simply do
     
        setAddr(0, 0, LCD_WIDTH, LCD_HEIGHT);
        for(i=0;i<byte_array_length;i++)
            writeData(byte_array);
     
    Only trick with this is that we got a very small amount of flash size on the MSP430. Not even close to being able to fit a full screen generally. I've ported this lib to a cortex-m3 LPC1769 and have been playing around with it on there where I got 512kb flash size. I'd be nice to get an example up with a msp430 using a SD card and flashing an image to it. Trick with most file system like fatfs is our ram is so tiny =( . One of these days when I get abit more time i'll make it a point to try it. Anyhow, heres using that 2.2" display
     
    Cameras taking pics of LCD displays generally doesn't work too well. Looks alot better than the this pic =P
    Image i flashed was one I created in highschool and can be seen here: http://www.superiorgamer.deviantart.com/art/The-Empire-s-fleet-84524169
     

  23. Like
    username got a reaction from zborgerd in LPC1769 web interface board   
    Hey all,
     
    For a school project, I wanted to make a web interface board. Sadly MSP430s just don't cut it for advanced applications. I wanted to make a powerful portable web server I could plug into certain projects. Majority of code base credit goes to Brad S, my partner in crime. Credit also a course also goes to RobG for his brilliant universal lcd lib.
     
    Web server board has the following features:
     
    ARM cortex m-3 LPC1769 MCU
    LPC1769 USB mini device interface
    SPI based micro SD card interface
    W5200 web server
     


     
    I also made a docking board which as an NRF wireless chip on it and one of Robs 2.2" LCD touch displays on it.

     
    Also made a wireless interface board which goes in application you wish to control. This guy uses an msp430G2553.

     
    Been a long work in progress.
  24. Like
    username got a reaction from GeekDoc in LPC1769 web interface board   
    Hey all,
     
    For a school project, I wanted to make a web interface board. Sadly MSP430s just don't cut it for advanced applications. I wanted to make a powerful portable web server I could plug into certain projects. Majority of code base credit goes to Brad S, my partner in crime. Credit also a course also goes to RobG for his brilliant universal lcd lib.
     
    Web server board has the following features:
     
    ARM cortex m-3 LPC1769 MCU
    LPC1769 USB mini device interface
    SPI based micro SD card interface
    W5200 web server
     


     
    I also made a docking board which as an NRF wireless chip on it and one of Robs 2.2" LCD touch displays on it.

     
    Also made a wireless interface board which goes in application you wish to control. This guy uses an msp430G2553.

     
    Been a long work in progress.
  25. Like
    username got a reaction from RichardVowles in LPC1769 web interface board   
    Hey all,
     
    For a school project, I wanted to make a web interface board. Sadly MSP430s just don't cut it for advanced applications. I wanted to make a powerful portable web server I could plug into certain projects. Majority of code base credit goes to Brad S, my partner in crime. Credit also a course also goes to RobG for his brilliant universal lcd lib.
     
    Web server board has the following features:
     
    ARM cortex m-3 LPC1769 MCU
    LPC1769 USB mini device interface
    SPI based micro SD card interface
    W5200 web server
     


     
    I also made a docking board which as an NRF wireless chip on it and one of Robs 2.2" LCD touch displays on it.

     
    Also made a wireless interface board which goes in application you wish to control. This guy uses an msp430G2553.

     
    Been a long work in progress.
×
×
  • Create New...