Jump to content

hiatus138

Members
  • Content Count

    20
  • Joined

  • Last visited

  • Days Won

    2

Reputation Activity

  1. Like
    hiatus138 got a reaction from bluehash in What are some things you would like in the Store?   
    When I think of what should be sold in the 43oh! store, I think, what do people like us need, that isn't widely available elsewhere, at places that we'll be ordering from anyway.
    So what comes to mind for me is this:
    Breakout boards for smd chips. Something for when we want to use the higher end chips, or the smd variants that have more I/O than the DIP versions. Simple adapters that let us either bring out smd pins to a breadboard, or just to break out the surface mount pins to a through hole for wiring it to another board. They are available, but can be hard to find, and with all the board etching that folks around here do, it seems like it'd be easy to build up a stock of small breakout/adapter boards in sizes for many of the more common/popular Gseries devices
    Other than that, I think a bunch of "i'll need to throw these in my cart to go along with everything else" items, like 10k resistors for pullups, indicator leds, pushbutton (tactile) switches, etc.
    But, most importantly, I think things specific to our 3v needs: 3.3 volt LDOs, boost and/or buck switchers, and voltage level translator chips, like TXB0108, 8 port 3.3<>5v bidirectional translator which, iirc, TI doesn't sample.
     
    Just trying to think of what'll actually _sell_ here, because it's specifically for our needs _here_ rather than getting picked up at digi-key etc.
  2. Like
    hiatus138 got a reaction from bluehash in What are some things you would like in the Store?   
    When I think of what should be sold in the 43oh! store, I think, what do people like us need, that isn't widely available elsewhere, at places that we'll be ordering from anyway.
    So what comes to mind for me is this:
    Breakout boards for smd chips. Something for when we want to use the higher end chips, or the smd variants that have more I/O than the DIP versions. Simple adapters that let us either bring out smd pins to a breadboard, or just to break out the surface mount pins to a through hole for wiring it to another board. They are available, but can be hard to find, and with all the board etching that folks around here do, it seems like it'd be easy to build up a stock of small breakout/adapter boards in sizes for many of the more common/popular Gseries devices
    Other than that, I think a bunch of "i'll need to throw these in my cart to go along with everything else" items, like 10k resistors for pullups, indicator leds, pushbutton (tactile) switches, etc.
    But, most importantly, I think things specific to our 3v needs: 3.3 volt LDOs, boost and/or buck switchers, and voltage level translator chips, like TXB0108, 8 port 3.3<>5v bidirectional translator which, iirc, TI doesn't sample.
     
    Just trying to think of what'll actually _sell_ here, because it's specifically for our needs _here_ rather than getting picked up at digi-key etc.
  3. Like
    hiatus138 got a reaction from bluehash in What are some things you would like in the Store?   
    When I think of what should be sold in the 43oh! store, I think, what do people like us need, that isn't widely available elsewhere, at places that we'll be ordering from anyway.
    So what comes to mind for me is this:
    Breakout boards for smd chips. Something for when we want to use the higher end chips, or the smd variants that have more I/O than the DIP versions. Simple adapters that let us either bring out smd pins to a breadboard, or just to break out the surface mount pins to a through hole for wiring it to another board. They are available, but can be hard to find, and with all the board etching that folks around here do, it seems like it'd be easy to build up a stock of small breakout/adapter boards in sizes for many of the more common/popular Gseries devices
    Other than that, I think a bunch of "i'll need to throw these in my cart to go along with everything else" items, like 10k resistors for pullups, indicator leds, pushbutton (tactile) switches, etc.
    But, most importantly, I think things specific to our 3v needs: 3.3 volt LDOs, boost and/or buck switchers, and voltage level translator chips, like TXB0108, 8 port 3.3<>5v bidirectional translator which, iirc, TI doesn't sample.
     
    Just trying to think of what'll actually _sell_ here, because it's specifically for our needs _here_ rather than getting picked up at digi-key etc.
  4. Like
    hiatus138 reacted to mcookieman in RCremote (Can also be used to control 8(+?) servos)   
    First post! Hello, I'm currently making a RC remote for my quadcopter which I am in the process of building. The idea is to output a ppm frame which then goes into a FrSky module which beams it to a receiver on my quadcopter. I currently have the code for ppm generation done. I am reading up on i2c with the UCSI module in the msp430g2553 right now and will hook it up to a wii nunchuk for testing. The end product will have recycled gymbals from an esky transmitter remote hooked up to it's own microcontroller acting as an i2c slave to the ppm generation microcontroller.
     

    #include #include int Pnum = 1; //Stores the number of pulses triggered so far in current ppm frame int servo[8] = {1000,1150,1300,1450,1500,1750,1900,2000}; // Servo pulse values void main(void) { WDTCTL = WDTPW|WDTHOLD; //stop watchdog timer BCSCTL1 = CALBC1_1MHZ; DCOCTL = CALDCO_1MHZ; P1OUT = BIT6|BIT0; //Preload P1.2 on P1DIR = BIT6|BIT0; //Set P1.2 to output TA0CCR0 = 100; //Timerinitiallycountsuptothisvalue.Mustbelongenoughforeverythingtosetup TA0CCTL0 = CCIE; //Enable interrupts on CCR0 TA1CCR0 = 20000; //Length of PPM frame minus one TA0CTL = MC_1|ID_0|TASSEL_2|TACLR; //Setup TimerA0 (up mode|clock divide by 1|SMCLK|Clear timer) TA1CTL = MC_1|ID_0|TASSEL_2|TACLR; //Setup TimerA1 (up mode|clock divide by 1|SMCLK|Clear timer) __enable_interrupt(); //enable interrupts for(; //infinite loop { } } #pragma vector = TIMER0_A0_VECTOR //T0A0_ISR __interrupt void T0A0_ISR (void) { P1OUT &= ~BIT6; _delay_cycles(300); P1OUT |= BIT6; if(Pnum != 9) { TA0CCR0 = servo[(Pnum-1)]; //Servo pulse Pnum++; //increment Pnum } else { TA0CCR0 = (20000-(TA1R)); //Sync pulse Pnum = 1; //Reset Pnum } }
    This is the code I have right now. The way it works is Timer0 is set to count up to the value in TA0CCR0 (the length of the servo pulse). When TA0CCR0 overflows an interuppt is requested and the interrupt service routine T0A0_ISR runs. T0A0_ISR changes the value of TA0CCR0 to the next value in the array servo. After 8 pulses TA0CCR0 is set to fill in the time remaining until 20ms has passed since the start of the ppm frame. This is done by setting Timer1 to count up to 20 000 (TA1CCR0), after the 8th pulse TA0CCR0 is set to 20 000 minus the amount that Timer1 has currently counted up to, thus giving the time remaing until the end of the 20 ms.
     
    The positions of the servos are stored in the array servo as the length of each servo pulse. This array can be modified in the main loop.
     
    This code can also be used to control 8 or more(i think, depends how many pulses you can fit in a 20ms period) servos through 1 pin (selectable). All that is required is a 4017 decade counter to demultiplex the ppm signal into standard servo pwm.
     
    But there's a catch. I actually haven't tested any of this code in real life. (I accidentally killed 3 servos somehow before making this) My pickit2 logic analyzer shows me that everything is working fine though.
     
    Thanks for reading.
     
    edit: fixed array values, should range from 1000 - 2000 not 500 - 1500
  5. Like
    hiatus138 got a reaction from jsolarski in Freebies at TI estore   
    It may have been pointed out here before, but TI has a few FREE (breakout boards?) in the estore right now. The easiest way to find them is to just enter "free" in the estore's search box. At the moment, there are 2 op-amp modules, a buffer module, and an amplifier module. I don't have time to look in detail, but they ARE there, and they ARE free. Incl. shipping.
     
    "Dem-buf-sot-1a - free" is the name/ part number of one of them. The description is "demonstration fixture"
    Limit 3 is listed also.
     
    Search "free" and you'll get a few dozen hits, most are priced $5.00, but a few are 0.00. I'm wondering if they rotate which ones are free occasionally, since the $5.00 ones also have free in the title.
     
    Maybe someone with a bit more free time tonight can look into them, and give us some more info about it.
     
    Btw, our friend kenneth finnegan (PhirePhly) has made a thermocouple amplifier board, he has a few spares he's willing to share with anyone who has a use for it. I don't mean to put words in his mouth, check out his blog for info. And once again, thanks Kenneth.
  6. Like
    hiatus138 got a reaction from jsolarski in Freebies at TI estore   
    It may have been pointed out here before, but TI has a few FREE (breakout boards?) in the estore right now. The easiest way to find them is to just enter "free" in the estore's search box. At the moment, there are 2 op-amp modules, a buffer module, and an amplifier module. I don't have time to look in detail, but they ARE there, and they ARE free. Incl. shipping.
     
    "Dem-buf-sot-1a - free" is the name/ part number of one of them. The description is "demonstration fixture"
    Limit 3 is listed also.
     
    Search "free" and you'll get a few dozen hits, most are priced $5.00, but a few are 0.00. I'm wondering if they rotate which ones are free occasionally, since the $5.00 ones also have free in the title.
     
    Maybe someone with a bit more free time tonight can look into them, and give us some more info about it.
     
    Btw, our friend kenneth finnegan (PhirePhly) has made a thermocouple amplifier board, he has a few spares he's willing to share with anyone who has a use for it. I don't mean to put words in his mouth, check out his blog for info. And once again, thanks Kenneth.
  7. Like
    hiatus138 got a reaction from jsolarski in Freebies at TI estore   
    It may have been pointed out here before, but TI has a few FREE (breakout boards?) in the estore right now. The easiest way to find them is to just enter "free" in the estore's search box. At the moment, there are 2 op-amp modules, a buffer module, and an amplifier module. I don't have time to look in detail, but they ARE there, and they ARE free. Incl. shipping.
     
    "Dem-buf-sot-1a - free" is the name/ part number of one of them. The description is "demonstration fixture"
    Limit 3 is listed also.
     
    Search "free" and you'll get a few dozen hits, most are priced $5.00, but a few are 0.00. I'm wondering if they rotate which ones are free occasionally, since the $5.00 ones also have free in the title.
     
    Maybe someone with a bit more free time tonight can look into them, and give us some more info about it.
     
    Btw, our friend kenneth finnegan (PhirePhly) has made a thermocouple amplifier board, he has a few spares he's willing to share with anyone who has a use for it. I don't mean to put words in his mouth, check out his blog for info. And once again, thanks Kenneth.
  8. Like
    hiatus138 got a reaction from jsolarski in Freebies at TI estore   
    It may have been pointed out here before, but TI has a few FREE (breakout boards?) in the estore right now. The easiest way to find them is to just enter "free" in the estore's search box. At the moment, there are 2 op-amp modules, a buffer module, and an amplifier module. I don't have time to look in detail, but they ARE there, and they ARE free. Incl. shipping.
     
    "Dem-buf-sot-1a - free" is the name/ part number of one of them. The description is "demonstration fixture"
    Limit 3 is listed also.
     
    Search "free" and you'll get a few dozen hits, most are priced $5.00, but a few are 0.00. I'm wondering if they rotate which ones are free occasionally, since the $5.00 ones also have free in the title.
     
    Maybe someone with a bit more free time tonight can look into them, and give us some more info about it.
     
    Btw, our friend kenneth finnegan (PhirePhly) has made a thermocouple amplifier board, he has a few spares he's willing to share with anyone who has a use for it. I don't mean to put words in his mouth, check out his blog for info. And once again, thanks Kenneth.
  9. Like
    hiatus138 got a reaction from jsolarski in Radio Shack's recent campaign   
    I know you all have seen the recent radio shack ad campaign, about how they are embracing makers and diy-ers. I went in there the other day, and was pleasantly surprised to see that they had trebled the size of the components/tools/diy section! They now have a couple dozen kits from velleman and others, copper clad pcb and protoboards in many sizes and shapes, lots of project boxes and test equipment, anda lot of new components, like ic sockets, chip puller tool, and all that jazz.
     
    I was quite excited to see that perhaps the ads, and the poll they did on makezine, were being followed up on.
    I live in portland, OR, and I happen to live near the store that is known to all the other RS in town as "the diy branch" ie the one that has the most diy stuff in portland, so I don't know how well the rest of the country is being handled. However, I did go check in at 2 other radio shacks, and they had both done the same!
     
    I am excited about this turn of events!
     
    The stuff still _is_ expensive, but I just consider it the price I pay to have relatively obscure products (not obscure to diy-ers, but to the general public) available to me locally. No shipping costs, or long wait for delivery. Like buying a gallon of milk at the gas station instead of the grocery store.
     
    Has anyone else noticed this in their town?
    Wnat are all your thoughts on this? Someone on HaD said it was "too little, too late". I don't think thats the case. It may be too late to win back some of us, but there's always another generation of hackers just getting their toes wet.
  10. Like
    hiatus138 reacted to rockets4kids in Using the Launchpad with a Breadboard   
    This has been mentioned a few times before but as not too many people know about it I thought I would bring it up again with my particular spin on things.
     
    It is a little known fact that the Launchpad can easily program external chips. In fact, I only programmed a chip in the Launchpad socket itself just a few times before connecting it to an external breadboard.
     
    A picture is worth a thousand words, so here are some of my Launchpad-breadboard setup:
     
    http://imgur.com/a/UA46s#Qmjp7
     

    Very high resolution versions of the image are available through the "Image Options" menu.
     
    Physically, the breadboard is taped (double-sided foam tape) to a piece of scrap plastic. The Launchpad is held in place with a rubber band -- the ones that hold broccoli are perfect.
     
    I didn't have any "proper" connectors, so I simply trimmed (cut and sanded) one of the 10-pin female connectors that comes with the Launchpad. I also didn't have any heat-shrink small enough, so I just "potted" the solder connections with epoxy. It's not pretty, but it works just fine.
     
    To understand what is going on here, it is best to look at the schematic and PCB layout that is included in the Launchpad User's Guide:
     
    http://focus.ti.com/lit/ug/slau318/slau318.pdf
     
    It is important to note that the "Emulation" side is completely separate from the "EXP-MSP430G2" or "target" side. You can actually (physically) cut the board along the dashed line if you want. Aside from power and ground, all of the signals cross the dashed line via the jumper pins. If you remove the jumper pins, you have access to all of the signals required to program an external chip.
     
    It may not be clear in the picture, but the jumpers are hanging off one pin on the target side -- that is the easiest way to keep from losing them when the external programming header is connected.
     
    Many people also seem to be confused about the minimal support circuitry required for the MSP430, so that is definitely worth going over. The schematic in slau318 is nicely split on multiple pages to show G2/target side of things on a single page. This is essentially what you will be building on the breadboard.
     
    Obviously the chip requires power and ground, and these are provided via the Launchpad. The power supply must be properly decoupled for proper operation. This involves a 10 uF cap (electrolytic or tantalum) somewhere on the breadboard and a 0.1 uF (a cheap ceramic is just fine) as close to the MSP430 as possible.
     
    The RST line must be held high with a 47 k resistor. If you wish to reset the chip, just apply a jumper from RST to ground. You could use a switch, but a simple wire works just fine when needed.
     
    I have a watch crystal on XIN-XOUT, but this is not necessary. My xtal requires two 22 pF caps for proper loading, but I have not used these, instead enabling the internal 14 pF caps on the MSP430. The xtal seems to oscillate just fine with the improper loading, but I am certain that it effects the frequency. I don't have a frequency counter, so I don't know how far off it really is. The important thing is that oscillator does not seem to fault even when I touch it with the case ungrounded.
     
    If you don't want to use an xtal, you can use the pins as GPIOs.
     
    It is important to note that the chip is programmed over the TEST/RST lines, *not* the TX/RX serial lines. If you do not need serial communication, TX/RX do not need to be connected to the launchpad, and the pins can be used as GPIOs. Even more important to note is that the TX/RX lines used by the chips with a hardware UART (The 2xx3 chips) are *reversed* from the pins used for software serial! The breadboard in the photograph is populated with a 2553, so TX from the 2553 goes to RX on the jumper block and vice-versa.
     
    The only real "application circuit" here is the LED/resistor on P1.0 -- which happens to match LED1 on the Launchpad.
     
    As you can see, this leaves quite a fair bit of board space to experiment with, even with a small 400 pin breadboard.
     
    These little breadboards can be had for just a little more than two bucks when you get 10 of them, and it's really nice to be able to leave multiple small circuits all wired up at the same time. It's also useful to wire up each board as a discrete function, just like a "shield" on an Arduino. For example, you can wire a 2x16 LCD display for 2-pin serial display, and then easily connect that among multiple other boards.
     
    Hopefully this will be helpful to others just getting started!
  11. Like
    hiatus138 reacted to hvontres in __delay_cycles on G2553 @ 16Mhz Problem   
    Ok, as promised, here are the scope traces for a standard 350Mhz 10:1probe (Channel 2) and a "homebrew" 20:1 probe (channel 4). Both probes were looking at the same pin. The scope used is an old Tek TDS 460A and the Bandwith was limited to 100Mhz.
     
     

     
    On a 1Mhz clock, the 10:1 probe shows a little overshoot, but not much distortion.
     

     
    On the 16 Mhz Clock signal, the 10:1 Probe shows significant distortion and overshoot due to it's capacitance. The 20:1 probe shows a nearly trapezoidal wave shape with no overshoot in the corners. I think a couple of these probes would be a useful addition to all of our toolboxes.
  12. Like
    hiatus138 got a reaction from RobG in recent problems with TI's site? focus.ti.com   
    I am not sure if anyone else has been having problems with TI's site, (especially the "Focus.ti.com", which is where the datasheets, etc. come from) Or if this is a transient problem, I have had difficulty connecting with anything on the Focus side of the site, the "processors.wiki.ti.com" part works fine.
    The problem comes up in firefox, chromium, and on my android phone.
    Today I discovered that the problem is CAPITALIZATION in the URL.
     
    For example:
    http://focus.ti.com/docs/prod/folders/p ... G2553.html
    Resolves to
    Sorry! We couldn't find your page.
    The page you are looking for might have been removed, had its name changed, or is temporarily unavailable.
     
    But, if you change the MSP430G2553 to msp430g2553, like this:
    http://focus.ti.com/docs/prod/folders/p ... g2553.html
    You get:
    MSP430G2553 Status: ACTIVE
    MSP430G2x53, MSP430G2x13 Mixed Signal Microcontroller
    which is the 20 pin g2553, big boy of the ValueLine, which I just received as a free sample! WooHoo!
     
    This capitalization issue seems to apply all over the Focus.ti part of the site.
     
    Hope this helps!
  13. Like
    hiatus138 reacted to bluehash in Something on the blog page..   
    A goodie for you guys on the Blog page. A bit expensive, but if you can afford it with the 43oh discount...
  14. Like
    hiatus138 got a reaction from bluehash in Need feedback on 43oh's mobile version   
    Not to resurrect a dead thread, but the site looks fine on my android (galaxy s), blog and forums.
    Forums are a tad small, but thats not your fault, just a function of a 4" screen. :-)
  15. Like
    hiatus138 got a reaction from RobG in recent problems with TI's site? focus.ti.com   
    I am not sure if anyone else has been having problems with TI's site, (especially the "Focus.ti.com", which is where the datasheets, etc. come from) Or if this is a transient problem, I have had difficulty connecting with anything on the Focus side of the site, the "processors.wiki.ti.com" part works fine.
    The problem comes up in firefox, chromium, and on my android phone.
    Today I discovered that the problem is CAPITALIZATION in the URL.
     
    For example:
    http://focus.ti.com/docs/prod/folders/p ... G2553.html
    Resolves to
    Sorry! We couldn't find your page.
    The page you are looking for might have been removed, had its name changed, or is temporarily unavailable.
     
    But, if you change the MSP430G2553 to msp430g2553, like this:
    http://focus.ti.com/docs/prod/folders/p ... g2553.html
    You get:
    MSP430G2553 Status: ACTIVE
    MSP430G2x53, MSP430G2x13 Mixed Signal Microcontroller
    which is the 20 pin g2553, big boy of the ValueLine, which I just received as a free sample! WooHoo!
     
    This capitalization issue seems to apply all over the Focus.ti part of the site.
     
    Hope this helps!
  16. Like
    hiatus138 got a reaction from RobG in recent problems with TI's site? focus.ti.com   
    I am not sure if anyone else has been having problems with TI's site, (especially the "Focus.ti.com", which is where the datasheets, etc. come from) Or if this is a transient problem, I have had difficulty connecting with anything on the Focus side of the site, the "processors.wiki.ti.com" part works fine.
    The problem comes up in firefox, chromium, and on my android phone.
    Today I discovered that the problem is CAPITALIZATION in the URL.
     
    For example:
    http://focus.ti.com/docs/prod/folders/p ... G2553.html
    Resolves to
    Sorry! We couldn't find your page.
    The page you are looking for might have been removed, had its name changed, or is temporarily unavailable.
     
    But, if you change the MSP430G2553 to msp430g2553, like this:
    http://focus.ti.com/docs/prod/folders/p ... g2553.html
    You get:
    MSP430G2553 Status: ACTIVE
    MSP430G2x53, MSP430G2x13 Mixed Signal Microcontroller
    which is the 20 pin g2553, big boy of the ValueLine, which I just received as a free sample! WooHoo!
     
    This capitalization issue seems to apply all over the Focus.ti part of the site.
     
    Hope this helps!
  17. Like
    hiatus138 got a reaction from RobG in recent problems with TI's site? focus.ti.com   
    I am not sure if anyone else has been having problems with TI's site, (especially the "Focus.ti.com", which is where the datasheets, etc. come from) Or if this is a transient problem, I have had difficulty connecting with anything on the Focus side of the site, the "processors.wiki.ti.com" part works fine.
    The problem comes up in firefox, chromium, and on my android phone.
    Today I discovered that the problem is CAPITALIZATION in the URL.
     
    For example:
    http://focus.ti.com/docs/prod/folders/p ... G2553.html
    Resolves to
    Sorry! We couldn't find your page.
    The page you are looking for might have been removed, had its name changed, or is temporarily unavailable.
     
    But, if you change the MSP430G2553 to msp430g2553, like this:
    http://focus.ti.com/docs/prod/folders/p ... g2553.html
    You get:
    MSP430G2553 Status: ACTIVE
    MSP430G2x53, MSP430G2x13 Mixed Signal Microcontroller
    which is the 20 pin g2553, big boy of the ValueLine, which I just received as a free sample! WooHoo!
     
    This capitalization issue seems to apply all over the Focus.ti part of the site.
     
    Hope this helps!
  18. Like
    hiatus138 got a reaction from RobG in recent problems with TI's site? focus.ti.com   
    I am not sure if anyone else has been having problems with TI's site, (especially the "Focus.ti.com", which is where the datasheets, etc. come from) Or if this is a transient problem, I have had difficulty connecting with anything on the Focus side of the site, the "processors.wiki.ti.com" part works fine.
    The problem comes up in firefox, chromium, and on my android phone.
    Today I discovered that the problem is CAPITALIZATION in the URL.
     
    For example:
    http://focus.ti.com/docs/prod/folders/p ... G2553.html
    Resolves to
    Sorry! We couldn't find your page.
    The page you are looking for might have been removed, had its name changed, or is temporarily unavailable.
     
    But, if you change the MSP430G2553 to msp430g2553, like this:
    http://focus.ti.com/docs/prod/folders/p ... g2553.html
    You get:
    MSP430G2553 Status: ACTIVE
    MSP430G2x53, MSP430G2x13 Mixed Signal Microcontroller
    which is the 20 pin g2553, big boy of the ValueLine, which I just received as a free sample! WooHoo!
     
    This capitalization issue seems to apply all over the Focus.ti part of the site.
     
    Hope this helps!
×