Jump to content
43oh

RobG

Members
  • Content Count

    3,117
  • Joined

  • Last visited

  • Days Won

    249

Reputation Activity

  1. Like
    RobG got a reaction from Blurred Talon in MSP430/TLC5940 Based LED Sequencer   
    Your master can send commands to slaves via UART Tx and receive from from one device on UART Rx (the problem here is that Rx and Tx have to use same baud rate and receive from only one.) You could also use SPI or I2C for Bluetooth and accelerometer and UART to drive slaves only. 
     
    Why did you choose 59116? 
     
    So the bulk cap would go close to regulator's input, bypass caps would go as close as possible to Vcc pins of each chip.
     
    Here's an example of 3 ICs with bypass caps and LDO with input and output bulk caps.
     

  2. Like
    RobG got a reaction from Blurred Talon in MSP430/TLC5940 Based LED Sequencer   
    Three things:
    1. your 3.3V power rail is not correct, caps are in series, should be parallel to 3.3V and GND.
    2. Add bulk cap (10uF-100uF/50V) on the input and bypass caps (0.1uF) next to each IC's Vcc.
    3. Add 47k pull-up resistor on RST line.
  3. Like
    RobG got a reaction from jazz in MSP430 deals   
    MSP430F5500IRG for < $1  (11.14.2015)
    http://www.newark.com/texas-instruments/msp430f5500irgzt/microcontroller-mcu-16-bit-msp430/dp/45T9764?ost=45T9764&CMP=AFC-OP&categoryId=&categoryName=
     
    MSP430F5325IPN $1.50
    http://www.newark.com/texas-instruments/msp430f5325ipn/microcontroller-mcu-16-bit-msp430/dp/27W9599
     
    MSP430G2212IN20 $0.37
    http://www.newark.com/texas-instruments/msp430g2212in20/microcontroller-mcu-16-bit-msp430/dp/24T4659
     
    MSP430G2111IPW14 $0.21
    http://www.newark.com/texas-instruments/msp430g2111ipw14/microcontroller-mcu-16-bit-msp430/dp/72R5895
     
    MSP430G2001IPW14R $0.23
    http://www.newark.com/texas-instruments/msp430g2001ipw14r/microcontroller-mcu-16-bit-msp430/dp/88W4668
     
    MSP430G2201IPW14R $0.32
    http://www.newark.com/texas-instruments/msp430g2201ipw14r/microcontroller-mcu-16-bit-msp430/dp/88W4672
     
    MSP430G2553IPW20R <$1.50
    http://www.newark.com/texas-instruments/msp430g2553ipw20r/microcontroller-mcu-16-bit-msp430/dp/88W4680
     
    MSP430F5436IPZ $3.20
    http://www.newark.com/texas-instruments/msp430f5436ipz/microcontroller-mcu-16-bit-msp430/dp/12P7736
     
    Many more:
    http://www.newark.com/webapp/wcs/stores/servlet/Search?catalogId=15003&langId=-1&storeId=10194&categoryId=800000028009&pageSize=25&showResults=true&pf=810096409,810303965,810303982,811279236,811357301,811982078,812021357,812036997,812036998,812036999 
  4. Like
    RobG reacted to Blurred Talon in MSP430/TLC5940 Based LED Sequencer   
    Thanks again for all the help Rob! I've got quite a bit of reading to do.
    I forgot to note that my boards are series parallel, common power, seperate grounds.
     
     
    The previous controller I bought from StupidPig worked good for what I wanted at the time but now I want something more complex (sequencing).
     
    There's 3 tail lights sections on my car, seperate brake/turn signals.

     
    I'm thinking of breaking it down like this:
    1 brake light, either side will be 1 MSP430 and 9 TLCs
    Center brake light - 1 MSP and 4 TLCs
     
    I don't need the signals to communicate as I don't need them to do intricate sequencing like the brake lights.
     
    This video gives an idea of what I am doing (sequencing):
  5. Like
    RobG got a reaction from xxx1 in MSP430 deals   
    MSP430F5500IRG for < $1  (11.14.2015)
    http://www.newark.com/texas-instruments/msp430f5500irgzt/microcontroller-mcu-16-bit-msp430/dp/45T9764?ost=45T9764&CMP=AFC-OP&categoryId=&categoryName=
     
    MSP430F5325IPN $1.50
    http://www.newark.com/texas-instruments/msp430f5325ipn/microcontroller-mcu-16-bit-msp430/dp/27W9599
     
    MSP430G2212IN20 $0.37
    http://www.newark.com/texas-instruments/msp430g2212in20/microcontroller-mcu-16-bit-msp430/dp/24T4659
     
    MSP430G2111IPW14 $0.21
    http://www.newark.com/texas-instruments/msp430g2111ipw14/microcontroller-mcu-16-bit-msp430/dp/72R5895
     
    MSP430G2001IPW14R $0.23
    http://www.newark.com/texas-instruments/msp430g2001ipw14r/microcontroller-mcu-16-bit-msp430/dp/88W4668
     
    MSP430G2201IPW14R $0.32
    http://www.newark.com/texas-instruments/msp430g2201ipw14r/microcontroller-mcu-16-bit-msp430/dp/88W4672
     
    MSP430G2553IPW20R <$1.50
    http://www.newark.com/texas-instruments/msp430g2553ipw20r/microcontroller-mcu-16-bit-msp430/dp/88W4680
     
    MSP430F5436IPZ $3.20
    http://www.newark.com/texas-instruments/msp430f5436ipz/microcontroller-mcu-16-bit-msp430/dp/12P7736
     
    Many more:
    http://www.newark.com/webapp/wcs/stores/servlet/Search?catalogId=15003&langId=-1&storeId=10194&categoryId=800000028009&pageSize=25&showResults=true&pf=810096409,810303965,810303982,811279236,811357301,811982078,812021357,812036997,812036998,812036999 
  6. Like
    RobG got a reaction from bluehash in MSP430 deals   
    MSP430F5500IRG for < $1  (11.14.2015)
    http://www.newark.com/texas-instruments/msp430f5500irgzt/microcontroller-mcu-16-bit-msp430/dp/45T9764?ost=45T9764&CMP=AFC-OP&categoryId=&categoryName=
     
    MSP430F5325IPN $1.50
    http://www.newark.com/texas-instruments/msp430f5325ipn/microcontroller-mcu-16-bit-msp430/dp/27W9599
     
    MSP430G2212IN20 $0.37
    http://www.newark.com/texas-instruments/msp430g2212in20/microcontroller-mcu-16-bit-msp430/dp/24T4659
     
    MSP430G2111IPW14 $0.21
    http://www.newark.com/texas-instruments/msp430g2111ipw14/microcontroller-mcu-16-bit-msp430/dp/72R5895
     
    MSP430G2001IPW14R $0.23
    http://www.newark.com/texas-instruments/msp430g2001ipw14r/microcontroller-mcu-16-bit-msp430/dp/88W4668
     
    MSP430G2201IPW14R $0.32
    http://www.newark.com/texas-instruments/msp430g2201ipw14r/microcontroller-mcu-16-bit-msp430/dp/88W4672
     
    MSP430G2553IPW20R <$1.50
    http://www.newark.com/texas-instruments/msp430g2553ipw20r/microcontroller-mcu-16-bit-msp430/dp/88W4680
     
    MSP430F5436IPZ $3.20
    http://www.newark.com/texas-instruments/msp430f5436ipz/microcontroller-mcu-16-bit-msp430/dp/12P7736
     
    Many more:
    http://www.newark.com/webapp/wcs/stores/servlet/Search?catalogId=15003&langId=-1&storeId=10194&categoryId=800000028009&pageSize=25&showResults=true&pf=810096409,810303965,810303982,811279236,811357301,811982078,812021357,812036997,812036998,812036999 
  7. Like
    RobG reacted to jazz in MSP430F550x based logic analyzer   
    Firmware is updated to support XT2 values of 32 MHz and 48 MHz. During DMA, CPU (MCLK) will be overclocked to XT2 value. With 48 MHz XT2 max resolution (sampling rate) is 2/48=41.7 ns.
     
    la_frm.zip
     
  8. Like
    RobG reacted to cde in TI will no longer accept .edu addresses for samples   
    Is teaching students to use unreliably sourced products wise and/or ethical? Won't that work against them in the field when they attempt to design based on unrealistic dev and production costs? Just a thought.
  9. Like
    RobG got a reaction from bluehash in MSP430 Nixie Clock   
    Very cool how to assemble video from Joe:
     

  10. Like
    RobG reacted to Lauszus in Flight controller update   
    I have just published another blog post about the flight controller I have been working on recently and thought you guys might be interested: http://blog.tkjelectronics.dk/2015/08/bachelors-thesis-launchpad-flight-controller
     
    The source code is available on Github: https://github.com/Lauszus/LaunchPadFlightController.
     
    A PCB for a BoosterPack has been ordered and should arrive in a few weeks. In case anyone of you want to try it out yourself you can order the PCB yourself: https://www.oshpark.com/shared_projects/9DC5cp8eor simply wire it up on a prototyping board.
     
    The video below shows me testing altitude hold based on the height estimated using the barometer and accelerometer:
     

     
    There are several more videos on my Youtube channel.
     
    I won't go into that much detail. For that you have to read the blog post and my report: https://github.com/Lauszus/LaunchPadFlightController/blob/master/docs/Kristian%20Sloth%20Lauszus%20-%20Flight%20Controller%20for%20Quad%20Rotor%20Helicopter%20in%20X-configuration.pdf
     
    Feel free to leave a comment here or on my blog. Any feedback is highly appreciated!
     
    Regards
    Kristian Sloth Lauszus
  11. Thanks
    RobG got a reaction from flautzr in (Universal) Color LCD graphics library (2)   
    This is my new universal graphics library (original one is here.)
     
    Supported boards (this is out of the "box" support, but the library will work with any board after small changes.)
     
    TI's MSP430FR5969 LaunchPad (ugl16msp only for now)
    TI's MSP430F5529 LaunchPad
    TI's MSP430G2 LaunchPad with G2553 chip
    RobG's MSP430G2955 Dev Board
    RobG's MSP430F5172 Dev Board
    RobG's MSP430F5510 Dev Board
     
    Supported displays
     
    1.8" ST7735 based JD-T1800 - ugl8
    2.2" HX8340 based displays - ugl8
    2.2" ILI9225 based displays (touch panel) - ugl8
    2.2" ILI9341 based displays 320x240 pixels - ugl16
     
    Tiva versions are right here
     

     

     
     
    ugl8msp.zip (name change 4/18/14)
    ugl16msp.zip (updated 4/19/14)
  12. Like
    RobG reacted to Lgbeno in BLE Beacon library for Nordic nRF24 & HopeRF RF75/RF73   
    I've been working a lot on my MSP430 Sensor Node project and part of this is generating an Energia library that enables these boards to transmit BLE beacons.  Here is the first release!
     
    The library is a Fork of the Enrf library created by @@spirilis .  I use the same inherited print functions as Enrf and add another function called "flushBle()" to flush the buffer to a BLE advertisement.
     
    Here is the library
     
    Example code can be found here
     
     
     
  13. Like
    RobG got a reaction from tripwire in Warning - don't attempt to solder a ZIF to Launchpad   
    After damaging one of my LPs, I've realized that I do not need LP with ZIF on it. What I have now is LP for development (few to be precise, each with different MCU,) and a ZIF with 4 wires for programming MCUs.
  14. Like
    RobG got a reaction from Testtest in Tiva Eagle Library   
    Tiva Eagle Library
     
    All TM4C123xxxPM and TM4C129xxxPDT parts are now included.
    Two parts now, will add remaining 3 123xxxPM's in few days ( TM4C123[0,2,A]xxPM, TM4C123[6,F]xxPM, and TM4C123[7,G]xxPM )
    Just one part for now, TM4C123[1,3,B]xxPM (for example TM4C1231C3PM)
     
    Content:
    TM4C123[0,2,A]xxPM - 64 pin LQFP package - PM (S-PQFP-G64)
    TM4C123[1,3,B]xxPM - 64 pin LQFP package - PM (S-PQFP-G64)
    TM4C123[6,F]xxPM - 64 pin LQFP package - PM (S-PQFP-G64)
    TM4C123[7,G]xxPM - 64 pin LQFP package - PM (S-PQFP-G64)
    TM4C129xxxPDT - 128 pin TQFP package - PDT (S-PQFP-G128)
     
    ti-tiva.lbr (updated 4/25/14)
  15. Like
    RobG got a reaction from agaelema in Graphics Library for MSP432   
    MSP432 version of my Universal Graphics Library.
    Works with my latest Color LCD BoosterPacks, 2.2" and 2.4" (320x240)
    Touch support will be added in late April.
     
    ugl432.zip
     

     
  16. Like
    RobG got a reaction from spirilis in Tindie acquired by SupplyFrame, which owns Hackaday   
    Does this mean our Tindie fees will go up?
  17. Like
    RobG reacted to terjeio in What are you doing right now..?   
    Monkeyboard arrived, driver and grahics library working - but still some hiccups in main code to be ironed out...
     
    Current version in action:
     

     
    I may publish the graphics library and Monkeyboard driver if any are interested.
  18. Like
    RobG reacted to terjeio in What are you doing right now..?   
    While waiting for the Monkeyboard I have been busy porting the Keystone driver and writing a graphics library:

     
    I have chosen to write my own graphics library that, shock horror, uses the heap for storing the widget descriptors.
    It is fully event driven and currently has support for Canvas, Frame, Button, List and Listelement widgets and stands on top of RobGs LCD driver.
     
    It integrates nicely with remote control and the stepper navigator, and I suspect it should work with a touch driver as well.
     
    So far so good - I hope my code will work together with the Monkeyboard when it arrives...
     
    Terje
     
     
     
  19. Like
    RobG reacted to Druzyek in What are you doing right now..?   
    Porting my RPN Calculator code from MSP430 to LPC1114. Added keystroke programming and a Vfd screen.
     

  20. Like
    RobG reacted to terjeio in What are you doing right now..?   
    Preamp / Multimedia-center featuring:
     
    Raspberry Pi running OSMC, will add a MSP430 for power control.
     
    My preamp modified for I2C control - I2C implemented in a MSP430G2553.
     
    My RC5 remote, based on a MSP430G2312.
     
    Tiva C as main controller: 320x240 LCD panel, old stepper motor as volume control & navigator (via QEI)
     
    Keystone DAB (on a Monkeyboard) - awaiting delivery, I assume this will be the most tricky part to program for.
     
    Prototyping:
     

     
    Previous design in background, new design in front :
     

  21. Like
    RobG reacted to Lgbeno in New MSP430 Wireless Sensor Node   
    Well boards have arrived and I started building them up. So far I have 2 of them built up and tested.
     
    Now the real work begins in writing Energia libraries!
     

     

     

     

     

     
    One change that I'm pondering is changing the connector pinout slightly to support this configuration and take power from the launchpad:
     

     
     
    Sent from my iPhone using Tapatalk
  22. Like
    RobG got a reaction from MAXI888 in Nokia 5110 display   
    This is weird, I got the same error when I created new project.
    Comment out line right above first error, //setAddr(0, 0); 
    Build, then un-comment that line and build again, error should disappear.
  23. Like
    RobG got a reaction from bluehash in New MSP430 Wireless Sensor Node   
    For codes, got to doityourselfchristmas (we were able to reverse eng. those ears) While you there, checkout Komby RF1, it's something similar to what you're trying to do, but larger.
  24. Like
    RobG reacted to terjeio in More fonts for RobGs Color LCD graphics library   
    While searching for a font creator I found an interesting one here: http://www.mikrocontroller.net/topic/99701#865331
     
    It creates fontdata that are bit aligned so was a bit tricky to render but I have managed to create code that does that.
    By default it generates proportional fonts (from True Type) and also includes the top bit set characters that I need for my radio library.
     
    So, here is my initial code for rendering fonts generated by this utility - please note it is cannot handle fonts higher than 24 pixes.
     
    Add as font.h or to graphics.h:
    #include <stdbool.h> typedef struct Font { // common shared fields uint16_t font_Size_in_Bytes_over_all_included_Size_it_self; uint8_t font_Width_in_Pixel_for_fixed_drawing; uint8_t font_Height_in_Pixel_for_all_Characters; uint8_t font_Bits_per_Pixels; // if MSB are set then font is a compressed font uint8_t font_First_Char; uint8_t font_Last_Char; uint8_t font_Char_Widths[1]; // size dependent on number of glyphs uint8_t font_data[]; // bit field of all characters } Font; uint8_t getFontWidth (Font *font); uint8_t getFontHeight (Font *font); inline uint8_t getCharWidth (Font *font, unsigned char c); uint16_t getStringWidth (Font *font, unsigned char *string); uint8_t drawFontChar (Font *font, uint16_t x, uint16_t y, unsigned char c, bool opaque); void drawFontString (Font *font, uint16_t x, uint16_t y, unsigned char *string, bool opaque); Add to graphics.c - also include font.h if code above not added to graphics.h :
    static uint16_t getoffset (Font *font, unsigned char c) { uint16_t offset = 0; if(c > font->font_First_Char) { c -= font->font_First_Char; while(c--) { offset += font->font_Char_Widths[c]; }; } return offset; } uint8_t getFontWidth (Font *font) { return font->font_Width_in_Pixel_for_fixed_drawing; } uint8_t getFontHeight (Font *font) { return font->font_Height_in_Pixel_for_all_Characters; } uint8_t getCharWidth (Font *font, unsigned char c) { return c != ' ' && (c < font->font_First_Char || c > font->font_Last_Char) ? 0 : ((c == ' ' || font->font_Char_Widths[c - font->font_First_Char] == 0 ? font->font_Width_in_Pixel_for_fixed_drawing / 4 : font->font_Char_Widths[c - font->font_First_Char]) + 2); } uint16_t getStringWidth (Font *font, unsigned char *string) { unsigned char c; uint16_t width = 0; while((c = *string++)) { width += getCharWidth(font, c); } return width; } uint8_t drawFontChar (Font *font, uint16_t x, uint16_t y, unsigned char c, bool opaque) { uint8_t width = getCharWidth(font, c); uint32_t row, column, bitOffset, dataIndex, preShift, pixels; bool paintSpace; unsigned char *fontData = font->font_Char_Widths + font->font_Last_Char - font->font_First_Char + 1; if(width) { bitOffset = getoffset(font, c) * font->font_Height_in_Pixel_for_all_Characters; dataIndex = bitOffset >> 3; preShift = bitOffset - (dataIndex << 3); column = width; width -= 2; paintSpace = c == ' ' || !font->font_Char_Widths[c - font->font_First_Char]; if(!paintSpace || opaque) { x += column; while(column--) { row = font->font_Height_in_Pixel_for_all_Characters; if(!((column == 0) || (column > width)) && !paintSpace) { pixels = *((uint32_t *)&fontData[dataIndex]) >> preShift; while(row--) { if(pixels & 0x01) { setArea(x - column, y - row, x - column, y - row); writeData(colorHighByte); writeData(colorLowByte); } else if(opaque) { setArea(x - column, y - row, x - column, y - row); writeData(bgColorHighByte); writeData(bgColorLowByte); } pixels >>= 1; } bitOffset += font->font_Height_in_Pixel_for_all_Characters; dataIndex = bitOffset >> 3; preShift = bitOffset - (dataIndex << 3); } else if(opaque) { while(row--) { setArea(x - column, y - row, x - column, y - row); writeData(bgColorHighByte); writeData(bgColorLowByte); } } } } } return width == 0 ? 0 : width + 2; } void drawFontString (Font *font, uint16_t x, uint16_t y, unsigned char *string, bool opaque) { uint32_t xs = x; unsigned char c; while((c = *string++)) { xs += drawFontChar(font, xs, y, c, opaque); } } The font files has to be modified slightly before they can be used - it should be quite obvious what to remove.
     
    Example:
    drawFontString((Font *)pixelmix, 5, 100, "The lazy fox...", false); There are room for optimizations, but I'll leave that for later - my primary goal is to get the DAB project on air.
     
     
    Terje
     
     
     
  25. Like
    RobG reacted to Remixed123 in Geeky Tattoo   
    Well done and congratulations, great to see other like minded people wanting a permanent expression of their passion for technology.
     
    Here is my PCB inspired tattoo, had this for a very long time now.
     

     
    Glenn.
×
×
  • Create New...