Jump to content


  • Content Count

  • Joined

  • Last visited

Reputation Activity

  1. Like
    KwaiChang got a reaction from petertux in quadrophonic 3 channel mixer with front to rear pan   
    No problem.
    The impedance problem shouldn't be too difficult. 
    I also noticed that with your summing amplifiers it sums the voltages out of the PGAs which has a maximum output is 7.5V p-p.  your opamps have a -5v to 5v(10p-p) rails so you risk railing the opamps pretty easily when summing the signals. I don't know if you have a specific output you want. So I would recommend either increasing the rails to probably -15v +15v for the opamps or averaging the summing amplifiers so you can still use the -5v +5v rails?
  2. Like
    KwaiChang reacted to zlalanne in Serial Data GUI   
    I created a quick project to start learning nodejs. To those that are unfamiliar nodejs allows you to write javascript for the server side. So I decided to write a small gui that plots serial data. The GUI itself is written in javscript/html and uses node-webkit to package it into a .exe file (or the correct package for your os).
    This could easily be extended to visualize a lot more I/O from the launchpad, and given that the GUI is written in html/javascript it is really easy to create new elements.

    Here is the source:
    The repository includes the nodejs code as well as a simple Energia sketch to send a random value over serial.
  3. Like
    KwaiChang reacted to Xuan in Fixing damaged dell power adapter using MSP430G2211   
    This is all about learning OneWire communications. I'm able to make a small "adapter" playing the "man in the middle" hack between dell laptop and its power brick to provide "fake" wattage information. For me I'm using it to "fix" a power adapter which has a damaged identification chip. Of course it can also be used to use non-dell power adapter (on your own risk of damaging the laptop, or even burn your house, who knows...)
    All the code and pcb design can be found at https://github.com/HclX/DELL_POWER_SPOOFER.git and my http://hclxing.wordpress.com/2014/02/26/hacking-a-dell-power-adapter-final-not-really/
    Some pictures:

    pcb layout:

    final populated pcb, toner transferred and hand soldered, some of the parts are salvaged from old dvd rom pcb:

    dc jack from a broken dell laptop, it took me a fair amount of work to cut the pcb into that shape using my dremel so I can solder the dc jack

    connecting with a working power adapter

    to prove it's working, i'm faking my working 90W adapter as 65W 

    There is still work to do like enabling push button to import data from the connected working adapter, or switching between multiple imported data, making use the led indicator, ...
  4. Like
    KwaiChang reacted to RobG in Ethernet Booster Pack v3   
    Buy: The 43oh Store or Rob's Tindie Store.
    The newest version of the Ethernet BoosterPack is based on the newest chip from WIZnet, W5500.
    P1.5 - SCLK
    P1.6 - MISO
    P1.7 - MOSI
    P2.3 - /CS
    P2.4 - /INT
    P2.5 - /RST

    Configuration jumpers are on the bottom, PMODE1-PMODE3, LINK LED, and ACT LED.
    LED jumpers control which LEDs are used, on board or socket.

    Available on Tindie.
  5. Like
    KwaiChang got a reaction from tripwire in Wolverine Launchpad   
    Here are some pictures. It is running off the supercap in the picures.
  6. Like
    KwaiChang got a reaction from bluehash in Wolverine Launchpad   
    Here are some pictures. It is running off the supercap in the picures.
  7. Like
    KwaiChang got a reaction from pine in Wolverine Launchpad   
    Here are some pictures. It is running off the supercap in the picures.
  8. Like
    KwaiChang reacted to glitovsky in New Tool for Code Composer and MSP430   
    Hi Everyone,
    We'd like to announce a new tool we've developed for those using MSP430 with Code Composer Studio called
    CCS Map analyzer:  http://www.argenox.com/products/ccsmapanalyzer/
    This tool is completely free and currently supports Windows XP/7 and potentially Windows 8 (yet to be tested).
    We've released it since we were constantly being asked by customers about Flash and RAM utilization during development and for years
    we've seen the lack of tools that make it easy to provide this information.
    You can quickly see the routines that are taking the most space in Flash, instead of manually parsing the MAP file.
    We know of a few issues that wer'e currently working to fix, but we would love to have feedback from the community, as well
    as some more documentation.
    Feel free to download and share with us any issues, comments or new features by dropping us an e-mail at support[at]argenox(dot)com
    Argenox Team
  9. Like
    KwaiChang reacted to Rei Vilo in Sakoman microSD-Card BoosterPack Review   
    Please find a review of the microSD-Card BoosterPack from Sakoman and the pins map.

    Click to enlarge and download.

  10. Like
    KwaiChang reacted to oPossum in TV-B-Gone using Launchpad   
    This is a reimplementation of adafruit's TV-B-Gone kit. It has been written from scratch to be more efficient and more precise than the AVR version. Assembly code is used for the critical timing, everything else is in C. Clock is 1 MHz (vs. 8 MHz for AVR).
    This code is small enough to fit in a G2231 (2K flash, 128 RAM) that comes with the launchpad. There are only 39 codes due to limited flash capacity. Obviously larger parts like the G2553 could be used to fit all codes and add additional features.
    main code (excerpt)

    void send_code(TIRCODE * const ic) { const uint8_t *code_byte; unsigned code_bitmask; static uint8_t idx[100]; // static so it is not on the stack unsigned n, j; uint8_t *p; // Make sure there is room for all indicies if(ic->pair_count > sizeof(idx)) return; // Convert variable bit count to uint8_t n = ic->pair_count; code_byte = ic->bitstream; code_bitmask = 0x80; p = idx; // Iterate indicies while(n--) { *p = 0; j = ic->bits_per_index; // Iterate bits while(j--) { *p <<= 1; if(*code_byte & code_bitmask) *p |= 4; code_bitmask >>= 1; if(!code_bitmask) ++code_byte, code_bitmask = 0x80; } ++p; } if(ic->carrier_period) { TACCR0 = ic->carrier_period; TACCR1 = ic->carrier_period >> 1; tx_ir_carrier(ic->pair_count, idx, ic->durations); } else { tx_ir_pulse(ic->pair_count, idx, ic->durations); } } void main(void) { unsigned n; WDTCTL = WDTPW + WDTHOLD; // Disable watchdog // DCOCTL = 0; // Use 1 MHz calibration BCSCTL1 = CALBC1_1MHZ; // DCOCTL = CALDCO_1MHZ; // // // See chart for I/O assignment P1OUT = 0x0E; // Txd, Rxd, S2 high P1REN = 0x0C; // Rxd / S2 pullup enabled P1DIR = 0xF3; // Rxd / S2 in, all others out P1SEL = 0x50; // Timer A T0.1 / SMCLK TACTL = TASSEL_2 | MC_1; // Clock = SMCLK, Mode = UP // do { // /// todo: Sleep while waiting for S2 press // while(P1IN & 8); // Wait for S2 press // for(n = 0; n < code_count; ++n) { // P1OUT |= 0x01; // LED on delay10us(450 * 100u); // Wait 450 ms P1OUT &= ~0x01; // LED off send_code(CodeList[n]); // Send code } // } while(1); // }
    ir transmission code (excerpt)

    tx_ir_carrier ; void tx_ir_carrier(unsigned n, uint8_t *i, TDUR *d) ; R12 Duration pair count ; R13 Pointer to duration indicies ; R14 Pointer to durations ; mov #OUTMOD_7, R10 ; IR Carrier On (reset/set output mode) mov #OUTMOD_5, R11 ; IR Carrier Off (reset output mode) ; ir_tx_loop mov.b @R13, R15 ; Get duration index add R14, R15 ; Add duration pointer mov @R15, R15 ; Get duration ; mov R10, &TACCTL1 ; Turn on IR call #delay ; Wait for on duration ; nop2 ; Precise timing ; mov.b @R13+, R15 ; Get duration index and increment pointer incd R15 ; Adjust for off duration add R14, R15 ; Add duration pointer mov @R15, R15 ; Get duration ; mov R11, &TACCTL1 ; Turn off IR call #delay ; Wait for off duration ; dec R12 ; Decrement pair count jne ir_tx_loop ; Do next duration pair... ; ret ; Return ; ; ; ; - Delay in units of 10 cycles (10 us at 1 MHz) delay cmp #4, R15 ; Compare to minimum jlo dlyret ; Below minimum, return... sub #2, R15 ; Adjust loop count for overhead jmp eloop ; Make the first iteration shorter ; delay10us mov R12, R15 ; C callable ; dloop nop2 ; 7 cycles of nop nop2 ; nop2 ; eloop nop ; dec R15 ; Decrement loop count - 1 cycle jne dloop ; Loop if not zero - 2 cycles ; dlyret ret ;
    Complete code attached
  11. Like
    KwaiChang reacted to Atas in Anaren CC110L RF BoosterPack with msp430 launchpad as Chronos eZ430 Access Point   
    I loved the eZ430-Chronos.
    On the Internet many projects made ??on the basis of this development tool. But one thing I did not like is that you need a computer to manage their programs. And without a computer Chronos watch can not control anything. So I bought Anaren CC110L RF BoosterPack (868 Mhz).
    But this kit does not work with Chronos. I looked a lot of information and code on this forum and on the internet. But always something was wrong, I did not want to rewrite the SimpliciTi protocol. And finally... 
      I did emulation of RF USB dongle. The project uses the unmodified Chronos Control Centre and firmware of sportswatch. But blurobin and wireless firmware update does not work. To me, this part is not important. I used code composer studio. And now I have a working SimpliciTI on msp430g2553 with CC110L. And Run many examples which are in SimpliciTi installation directory.

    Here is a video how it works.

    Thanks to @gwdeveloper, with post SimpiciTI Tutorial for CC2500
    Project attached CCS SimpliciTI MSP430 CC110L Anaren busterpack.rar
  12. Like
    KwaiChang reacted to KatiePier in External crystal load capacitance   
    Hi @@mbeals!
    The effective load capacitance (1pf) value is really the impact on the effective load, the impact that is coming from the 2pF that is on each pin - so the two notes are really describing the same thing. Basically, there's 2pF on each pin, which is 1pF when taken as a whole for the crystal (it's how the value comes out depending on which side of the equation you put it on - on the side where you are plugging in per-pin values, or the side where you're getting your effective load capacitance).
    If you haven't seen it yet, a good resource is the MSP430 32kHz crystal oscillators app note: www.ti.com/lit/pdf/slaa322
    Section 2.1 includes an example of how to calculate your required capacitance. If you use this equation, the Cparasitic is referring to the per pin (2pF) value, so that's what you'd plug in.
  13. Like
    KwaiChang got a reaction from petertux in quadrophonic 3 channel mixer with front to rear pan   
    Sounds like a fun project.  Daisy chaining the PGA2311 would save you a ton of pins. I'm not good with audio so I may be sticking my foot in my mouth but reading the data sheet for the OPA2134 it says that the distortion goes up if the input impedance is above 2k so that might be a factor for you. Someone please correct me if I am wrong.
  14. Like
    KwaiChang got a reaction from chicken in [POTM] dAISy - A Simple AIS Receiver   
    I looked at your layout and it looks like your traces for the radio are not 50 ohms but ~65. How I did this is using AWR tx-line calculator(its free) , its really helpful when dealing with trace impedances.  When doing RF stuff you always need to be conscious of impedance.  Also using an SMA connector will help because it is designed for 50ohm impedance the pins you have right now are probably also messing with your signal because the impedance is probably greater than 50ohms. 
  • Create New...