Jump to content


  • Content Count

  • Joined

  • Last visited

  • Days Won


Reputation Activity

  1. Like
    GeekDoc reacted to PTB in 2.2" Color LCD Booster Pack with Touch   
    if (z>TOUCH_TRIM) { // x0 = check(x0, 311, 1632);//Old Style Screens from RobG (Green PCB) // y0 = check(y0, 195, 1859);//Old Style Screens from RobG (Green PCB) // // x = map(x0, 311, 1632, 0, LCD_WIDTH);//Old Style Screens from RobG (Green PCB) // y = map(y0, 195, 1859, LCD_HEIGHT, 0);//Old Style Screens from RobG (Green PCB) x0 = check(x0, 156, 1874); //Edited by PTB New Style Screens from RobG (Red PCB) y0 = check(y0, 120, 1859); //Edited by PTB New Style Screens from RobG (Red PCB) x = map(x0, 156, 1874, 0, LCD_WIDTH); //Edited by PTB New Style Screens from RobG (Red PCB) y = map(y0, 120, 1859, 0, LCD_HEIGHT); //Edited by PTB New Style Screens from RobG (Red PCB) return true; } else { return false; } } Here's the 4 lines of code change (to the old code) at the bottom of LCD_Touch.cpp I did to get touch working for me on the newer screens
  2. Like
    GeekDoc reacted to PTB in 2.2" Color LCD Booster Pack with Touch   
    The earlier versions of Robs board have the opposite direction for the touch panel.
    I had to change some code to flip the y direction and tweak the calibration.
    The old code works great with the old screens.
    But the new screens need a few lines changed.
    I'll dig out what i did just to throw it into the mix.
    These are fantastic boosterpacks. Absolutely love 'em.
  3. Like
    GeekDoc reacted to mbeals in Quadcopter BoosterPack   
    Another option would be to integrate the MCU and keep the headers....turn the entire thing into a launchpad-like platform that you can stack with new/existing booster packs to extend the functionality.  
  4. Like
    GeekDoc reacted to jazz in MSP430FR5969 launchpad evaluation kit   
    As already noted here and on TI E2E, you (probably) can recover your device using BSL and mass erase. On this way JTAG/SBW fuse value will reset to $FFFF (unlock).
    You can't unlock it with another JTAG/SBW tool (FET) because of "blown" JTAG/SBW fuse. To be more precise, if you know used JTAG password (different than $5555) than device can be unlocked by JTAG/SBW, but don't know how this (handling JTAG password on FRAM devices) is supported by TI software /  FET's (http://e2e.ti.com/support/microcontrollers/msp430/f/166/p/335334/1171969.aspx#1171969).
    BSL is based on simple hardware (MAX chip for -12V/12V -> 0V/3.3V conversion) and software is provided by TI (slaa450 BSL Scripter). There is also slaa535 LaunchPad-Based MSP430 UART BSL Interface where 10$ MSP430G2xx LP is used as BSL hardware. Of course, any other LP / EVB  can be used as BSL hardware, but in this case you must adapt slaa535 code by yourself.
    It is good thing to have BSL tool on hand, because locking of MSP430x5xx / 6xx device by mistake can happen anytime, and every time changing on board QFN chip is not a best option.
  5. Like
    GeekDoc reacted to JWoodrell in small solution for detecting 120V AC as a digital input   
    unfortunately i have to detect 16 different lines (these are output verification on a relay control module, so i gotta do 15 copies of this circuit, and don't have the room to implement alot of these suggestions.)
    the msp430  talks to an open drain constant current led driver, driving the LEDs inside some SSR relays to switch the AC signal to control the 120v relays on the target piece of equipment)  each of these outputs is what I am sensing and feeding into the sensing optocouplers, all acting as open drains on on a common sensing bus, so when i put it through self test, it turns each one on and off seperately looking for that sense buss to be pulled low.
    here is what the board layout looks right now (with the capacitor driven optos) looks like
    for those playing at home...
    the LED driver is a Texas Instrument TLC5926
    the SSRs are Panasonic AQH3213A
    the Optocouplers are Lite-On LTV-814HS, and LTV-844HS  (single, and 4 channel units)
    and the 3.6v regulator is a Texas Instrument TPS54336 switcher
    this PCB actually serves 3 functions.  the wall mounted box has this board to drive the primary 15 relays, if I cut along the 120v line, and mount a second version via standoffs with the JP points and close the solder jumper on the back, it will act as a second relay board with its LED driver serial input coming from the output of the main LED driver, so it is a second set of 15 relays as an optional expansion for them.  neither of these have the MSP430 mounted on them though, the hand held box has this board in the base with the MSP430 mounted and none of the 120v stuff populated, and going out the PB_IO header, and the OLED_IO header to the frint panel of the handheld unit to the switch board that has the user push buttons and OLED on it for the interface, so this same PCB has 3 different jobs built into it.

  6. Like
    GeekDoc reacted to JWoodrell in small solution for detecting 120V AC as a digital input   
    that is something to say towards the opto then, because worst case is the capacitor would fail shorted and would cause the optos LEDs to blow and wouldn't take out anything else cause the output side is still isolated.
  7. Like
    GeekDoc reacted to spirilis in small solution for detecting 120V AC as a digital input   
    I read somewhere one thing to keep in mind with voltage dividers and other circuits for conditioning HV is redundancy--think hard about the choice of components and design, e.g. in a voltage divider, if the GND side resistor blew or wasn't soldered right, would anyone get hurt and/or is a total loss of the board acceptable? Probably also surges/spikes to consider...
    Sent from my Galaxy Note II with Tapatalk 4
  8. Like
    GeekDoc reacted to TI_Trey in Quadcopter BoosterPack   
    Here's a little more information on how its setup:
    4x TMS320F28027F + DRV8312 make up the ESC.  That is the bulk of what is on the board which you can see on the first post.
    1x C2000 LP acts as the brain.  This board decodes the control signals and sends torque commands to each of the ESCs via a PWM signal.  This LaunchPad runs the open source AeroQuad firmware on top of Energia...which also means other LaunchPads could be used as the brain.
    Control Inputs come via a standard RC 2.4GHz radio and receiver.  Because the LaunchPad doesn't have 1 million capture inputs I am using a receiver which supports S.Bus.
    3 axis accelerometer, gyro, magnetometer, barometer and GPS
    I agree that for efficiency it would be better to integrate the "brain" microcontroller on board and do away with the headers, but part of the cool factor of this is the open source nature and the ability to share boosterpacks between the different LaunchPads.
    I'll post some pictures of the boards when I get them next week.
  9. Like
    GeekDoc reacted to Fred in Quadcopter BoosterPack   
    I'm not sure I need a quad right now, but certainly very interesting. What am I saying? I'd probably crumble and get one!
    A couple of questions if you don't mind though:
     - Why use a LaunchPad rather than saving weight by having the microcontroller on the board? I assume as you work for TI it might be a bit of a LP promotional thing.
     - What's the wireless link / control going to be?
    I think it may have been this tiny quad that made me take notice MSP430s in the first place: http://43oh.com/2010/11/msp430-based-quadcopter-ez430-rf2500/
  10. Like
    GeekDoc reacted to Fred in Interfacing the MSP430 with the A4988 Stepper Motor Driver   
    You should probably connect the DIR pin - even if just because I can guarantee the next thing you will want to do is to check whether you can drive it in both directions.
    Is your delay getting optimised out? That would cause the pulses to be too fast for the A4988. I'd suggest using the onboard LEDs on the LP to easily see what you're outputting and at what speed. Either use the LED pins (P1.0 and P1.6 if I remember correctly) to drive the A4988 or just set P1.0 and 1.4 together in your code with P1OUT |= (BIT0 + BIT4).
    Also, double check that black/green are one coil and that red/blue are the other. That's how they are on my steppers, but a multimeter will provide an quick check.
    You can check whether the A4988 is healthy by manually connecting the DIR and STEP pins to VCC or GND (or use the LP's buttons).
    The A4988 definitely works with the Launchpads (MSP430 and Stellaris/Tiva).
  11. Like
    GeekDoc reacted to bluehash in Education Booster Pack dc/d? 0 quantity available...   
    @@Randall, Probably because there is a new version of the Educational Boosterpack MKII coming soon.
    Also, welcome to the forum!

  12. Like
    GeekDoc reacted to JWoodrell in atx power box   
    well I needed a full 24v supply to test my project here (only 300 mA)
    and i thought hey i can snag the 12V and -12V rail from my workhorse ATX supply i have,  but then i thought this morning, HEY i got that Dangerous prototypes ATX breakout board as a prize on the forum here a while back although at this point i don't remember for what.
    so i was off to the races, resoldering and reworking the dc half of the ATX supply board to clean up the wan-hung lo construction and massive blobs of solder all over everything...  anyway it now only has a single line from each rail to the pin on the breakout board rather than the 6 to 8 wires per rail for the computer like it used to have, much cleaner and better airflow.
    anyway stuffed it in a spare 4"x6"x2" project box i had left over, with just alittle encouragement two of the mounting holes for the atx pcb mounted to the mounting bosses in the box, so its actually screwed down nicely.  used the stock plastic isolator sheet that used to isolate the pcb from the metal atx frame to isolate the atx breakout from the high voltage stuff, as well as directing air flow around in the case.
    works pretty well, and not as large as I thought it would end up being when i started.
    I like how it turned out

    you can see the LEDs shining through the label for each rail.

    the guts from my atx, and the breakout board.

  13. Like
    GeekDoc reacted to reaper7 in PCB Give Away   
    my home barometer
    OLED + BMP085 + LiIon 400mAh with charger (TP4056)

    P.S. 05.05.2014 - working 24h/day -> acc voltage 3.867V without charging ...
    P.S. 13.06.2014 - working 24h/day -> acc voltage 3.709V without charging ...
    P.S. 18.06.2014 - working 24h/day -> acc voltage 3.541V without charging ...
    P.S. 22.06.2014 - working 24h/day -> acc voltage 2.578V without charging ...
  14. Like
    GeekDoc reacted to igor in Raffle - confusing participation message for guests   
    One thing that bothers me a little about the giveaways is the way the raffle participation message is worded.
    When I connect to 43oh.com it says 
    "Hi, guest ,You are welcome to participate in our giveaway!"
    and then there is a link to the giveaway,
    but when you click the link you get a screen that again says you are welcome to participate, but with a button on the right that is gray saying "You can't participate!"
    Bit of a mixed message there.  (Even an exclamation point to drive the message home.)
    It might be friendlier to change that "You can't participate!" button to say something like.
    Sign in to participate
    Create an account to participate
    Or in some other way indicate that guests are in fact welcome to participate, they just need to go through a few more steps in order to do so.
  15. Like
    GeekDoc reacted to cubeberg in Giveaways are fun, only...   
    Sounds like a good case for a Big Box of Parts  http://dangerousprototypes.com/category/big-box-of-parts/
  16. Like
    GeekDoc reacted to igor in Giveaways are fun, only...   
    I am not sure what item numbers 2 and 3 in the list mean, could you explain?  
    At least the giveaways here have few enough participants that they seem like worth entering.
    (So many giveaways have so many entries that they are kind of pointless to enter.  "Nobody goes there anymore, it is too crowded." )
  17. Like
    GeekDoc reacted to cubeberg in Giveaways are fun, only...   
    The free PCB giveaways sounds cool - I'm sure a lot of us have extra PCBs laying around that we could contribute.  I know I've got several designs myself.
  18. Like
    GeekDoc got a reaction from KatiePier in Giveaways are fun, only...   
    How about a running reward idea?  User who gets the most "Thanks" each month gets a prize!
  19. Like
    GeekDoc reacted to greeeg in 120 LED Ring Clock   
    I've been working on the code for the control board. Here is a quick demo.

    I've ordered a few more parts (accelerometer, regulator, levelshifter) which my board is running without currently.
    Here is a BOM (not including LEDs)
    Accel (MMA 8453) $1.31 level converter       $0.26 resistor/caps    14x $0.003 regulator         $0.60 32.768kHz crystal  $0.726 MSP430g2553  $2.73 Total: $5.40
    Since the BOM is quite low, I would have no issue populating some of these board for other members, (I would make this a donation to cover BOM+time.) but how about a flat $10USD
    If you'd like to DIY, I can ship the bare PCBs for free to members of the group-buy.
    Also, if you'd like a controller, but don't have any LEDs left, I have a few left.
    @@pyrosster @@dubnet @@t0mpr1c3 have already expressed interest, if you all drop me a PM, that would be much appreciated.
  20. Like
    GeekDoc reacted to oPossum in WS2811 LED controller driver   
    To use the high speed protocol just change write_ws2811() to write_ws2811_hs(). That will give you the most precise timing possible and allow use of any pin on port 1. SPI/IIC remains free for other uses.
    Here is some code for RTC: http://forum.43oh.com/topic/1957-software-real-time-clock-rtc-two-methods/
    The 32 kHz crystal is used just for the RTC - the MSP430 can still run at 16 MHz.
  21. Like
    GeekDoc reacted to bluehash in 43oh_RFID booster pack NFRC522   
    Looks sweet! Thank you for sharing!
    If you can make a kit out of this, let me know... I can help you get this on the 43oh Store.
  22. Like
    GeekDoc reacted to traxman in 43oh_RFID booster pack NFRC522   
    Hi, I would like introduce my last boosterpack - 43Oh_RFID.
    I use very popular chip -> NFRC522 (energia library was posted at: http://forum.43oh.com/topic/4028-energia-library-nfc-card-reading-with-energia-mf-rc-522/).
    Schematic diagram

    Element placement:

    PCB files (zipped traxmaker/protel 2.0)
    and mounted boosterpack

  23. Like
    GeekDoc reacted to nuetron in Anyone notice the 8-pin MSP430 yet?   
    Since those pins in the registers aren't used, we could use the register bits as spare bools:

    if(5 > some_condition < 10) P1OUT |= BIT0; else P1OUT &= ~BIT0; ... ... (P1OUT & BIT0) ? (turn_motor_left()) : (turn_motor_right());
  24. Like
    GeekDoc reacted to Fred in Hard to interface with Stepper Motors?   
    Some good advice by @@rockets4kids and @@jazz, but for a straight answer to your question, no you can't drive a stepper directly from a microcontroller. The easiest route would be to get a ready-made stepper driver module like the Pololu A4988. Whatever microcontroller you chose (MSP430 or Arduino) then provides the STEP and DIR signals to control the stepper.
  25. Like
    GeekDoc reacted to t0mpr1c3 in source for low cost small run PCBs?   
    OSHpark quality is first class. For small boards, or if you only want 3 of something, they are best. Shipping is free to USA.
    There are several Chinese outfits that will do 10 50x50mm PCBs for $10 plus postage. I recommend Elecrow. Elecrow allow a colour option for free and have the most transparent shipping charges. In my limited experience their customer service is more responsive than Seeedstudio.
  • Create New...