Jump to content


  • Content Count

  • Joined

  • Last visited

  • Days Won


Everything posted by username

  1. username

    DAC GUI V2

    It was in honor of all of TI's fun licensing agreements and information inquiries to simply download code composer =P
  2. Lgbeno, how'd your project go? Do you by chance have video of it ...ect? I'm thinking of doing my own brushless motor 430 controller. However, what you mentioned in that last sentence scares me. I've had issues with PWM glitches in the MSP430 in the past. This makes me scared of the MSP430 PWM Timer pins in a critical application...have any ideas? Did you ever figure out a glitch less method of controlling them?
  3. 43oh is a highly talented & technical community. Members being rewarded with work for their own display of competency & knowledge certainly shouldn't be prevented or discouraged. Provided that the job section is actually popular and produces good work, this would produce more traffic to the site which would support 43oh. Crippling job offers behind a pay barrier would certainly discourage posting since people hate paying for anything non-physical online even if its as small as 0.01 USD because of risk involved. This would potentially remove opportunities from well deserving members. With that said, I don't have any time currently to be doing jobs or to be as active of a forum member as i'd like to be so I doubt my advice is worth 2 cents
  4. username

    DAC GUI V2

    Hey all, Round 2: This extends the peripherals of the MSP430 to a UART based ascii AT command set. For example, send "AT+GET_ADC" over the USB->Serial bridge to get all the ADC values returned. Since I released my first GUI there have been a couple others like it. You will find that this version's strength is that the underlying C driver set is my personal driver set which is quite powerful XD . I then wrote a C# GUI as a wrapper around this command set. Features Implemented: Digital IO, Analog I, PWM, SPI PWM Example: Steps to use: 1. Download code & .exe file here: https://github.com/NateZimmer/ICBM 2. Import C code into CCSV5.1 (haven't tested with other versions) and flash to launchpad. 3. Ensure UART jumpers on the MSP430 Launchpad are set to Hardware based UART on a msp430g2553 launchpad Rev 1.5 4. Run GUI and connect to launchpad. 5. Enjoy! Skip to 10:35 for setup instructions: Todo: Implement DCO Calibration for better CLK accuracy Implement I2C Implement Graphing/Logging Implement more flexible spi chip select features Please let me know if this does not work for you
  5. Yea, i've used a VNA with a SA to test antennas in a method of relative strength. That is what I do to measure the strength of my tunes and the gains of various antennas. Hopefully i'm going about that the right way. Works well as long as you have a consistent test setup. So how much did that VNA set you back? I can't find any type of decent VNA for under 5k. I'd hate to have to choose between a car and a VNA.
  6. Daaannnggg, if I were to purchase another piece of electronics anytime soon it would probably be something like that. I assume your trying to tune some antennas? Any plans for it beyond S11 measurements? Edit: sorry for double post, not sure how to delete this to combine with post above...
  7. Hmm.... where do you live again? You wouldn't miss that scope tooo much would you if it randomly went missing?
  8. Very neat application. Always wanted to do some server side plotting. Will have to take a look into this.
  9. Use information from this tutorial at your own risk to yourself and your device Its no secret that most of us nerds don't get enough exercise. A handy way to get that is exercising while nerding out on the PC which treadmill desk. Or a dog.... http://xkcd.com/1329/ . The issue is that with most treadmill desk tutorials out there is that there all about building a desk platform on the existing bars/display of the treadmill. This is annoying cause I already got a desk that I like and I don't want to make another one on top of a treadmill. I kinda suck at mechanical stuff anyways so I figured it be easier to hack the controls of the internal controller. Turns out, it wasn't so bad. I'm using the Gold Gym 420 treadmil from walmart. This thing costs about 380 something USD (ouch!). I couldn't find a good cheapie on cregs list and the beauty of the 420 treadmill is that it doesn't rely on the vertical bars to support the platform thus making it insanely simply to convert to a treadmill desk. One simply skips the assembly and designs a simple control board and presto you are done! http://www.walmart.com/ip/Gold-s-Gym-Trainer-420-Treadmill/27407264 Thankfully this treadmill is well designed and consequently is easy to control. It uses a standard 100mil spaced header and only uses 8 wires. See picture: Starting from right to left, here is the pinout: 1. Black --> GND 2. Pink --> 12V 3. Green --> 3.3V (you must source this, ideally get it from the 12V) 4. Blue --> Speed Control, 1.5V Signal, PWM (3.3V IO through 1kohm resistor seems to work) 5. Orange --> Incline Control Drive+ 6. Yellow --> Incline Control Drive- 7. Purple --> Incline Control Encoder Feedback 8. Black --> Ground Speed Control The speed control on this device is elegant and simple. It is controlled through a simple PWM controller where the +%duty cycle correlates to the speed. The frequency is 20hz and 10ms on correlates to 1mph. The speed then increases by 0.4ms per 0.1mph increase. Consequently, 3mph = 10ms + (3-1mph)*10*0.4ms = 18ms positive pulse width. See screenshot below for reference. This screenshot is going at 1.3mph Todo Incline control walkthrough Add distance & Calorie burn support Add 802.11 support to send exercise information to the cloud / Xlivley Interface Control board Commands will be sent through a NRF24L 2.4 GHz to a dumb controller that will simply pulse width modulate accordingly to the speed sent. The main controller will be the same controller I designed for my smart Scale. It has 2.2" touch support, 2.4Ghz NRFL24 support, as well as 802.11 support. Controller back Controller front ^^^ I'm happy with this control board I designed. It can control my reflow oven, works as a lazer power meter, works for my smart scale, and it works for my smart treadmill among many other applications. Driver Board: This was a small wireless IO board I made in senior design to control my coffee maker. Turns out it works perfectly for the treadmill as well. This device is what communicates through the NRF24L module to my display board. This basically goes inside the treadmill to eliminate wire mess. Desk View (sorry for the mess... haven't quite situated everything yet) More to come as I have time to post it...
  10. Hey spirilis, your library looked good although I tried your code in CCSv5 and I was getting some odd ISR errors. Might have been doing something wrong or using the wrong device.
  11. I wrote a CCSv5 example for the launchpad here: http://forum.43oh.com/topic/5107-nrf24l-launchpad-example-ccs/ might be of some use.
  12. Couldn't find a simple msp430 CCS example of the NRF24L 2.4ghz so I wrote one. Requires 2 msp430g2553 launchpads and 2 NRF24L modules. Press button on 1 launchpad to toggle LED on other launchpad. Note example code assumes you know C language. *Note: Driver referenced from Brad S, supreme overlord of all C Preview of main (download for full driver set): //Author: Nathan Zimmerman //Date: 3/2/14 // Driver referenced from Brad S, supreme overlord of all C //Launchpad CCS example of NRF24L Driver. Use P1.3 Button to toggle LED on other launchpad. Hence requires 2 NRF modules & 2 launchpads //Note example uses a fixed packet length of 5. //GPIO Pinouts //P2.0 = IRQ //P2.1 = CSN //P2.2 = CE //P1.5 SCLK //P1.6 MISO //P1.7 MOSI //P1.3 Button Launchpad Rev 1.5 //P1.0 Red LED Launchpad Rev 1.5 #include "msp430g2553.h" #include "stdint.h" #include "Drivers/rtc.h" #include "Drivers/clock.h" #include "Drivers/usi.h" #include "Drivers/External/NRF24L.h" #include "Drivers/External/LAUNCHPAD_IO.h" const uint8_t txMessage[PAYLOAD_WIDTH]= "Hello"; void main(void) { uint8_t rxbuffer[PAYLOAD_WIDTH] = {0,0,0,0,0}; volatile uint8_t statusData = 0; disableWDT(); setupCoreClock(CLK_16_MHZ); setupRLED(); RLED_OFF; setupButton(); SERIAL_CLASSES spiHandle = { SPI, SMCLK_16MHZ_SPI_CLK_4MHZ, MODULE_B}; // NRF cannot run at max baud 16mhz initUSI(&spiHandle); initNRF24L(); statusData = getNrfStatus(); if(statusData != 0x0E) { while(1); // NRF failed to init, check pinout or device } while(1) { if(recievedRfData()) { getRfBuffer(rxbuffer); if(rxbuffer[0]=='H') // newb check for "Hello" Message { RLED_TOGGLE; } } if(buttonPressed) { transmitTxData((uint8_t *)txMessage); _delay_cycles(16000000); // newb button debounce } handleRxData(); handleTxData(); } } NRF_Example_NateZ.zip
  13. Hey all, *Quick Reflow Oven Update Sorry you haven't heard much from me in awhile, work has been keeping me very busy. First off, I apologize for not being able to keep up with the reflow oven kit demand. My new job has been abit demanding and the displays I was using appeared to have gone off the market so it would require a redesign. In addition, I ran out of code size on the msp430 while many features still needed to be implemented. I'm working on a new one but it won't involve a msp430. *Onto the project So with my new job and all i've spent abit too much time sitting around. Consequently I needed a little motivator to get out to the gym. Basically I wanted to log my weight data and view it in a graphical form. Apparently these already exist in the form of a "smart scale". Anyhow, didn't really know that going into the project nor would I feel like paying 100USD+ for one. Step 1: First I bought the worlds crappiest weight scale at walmart for less than 20usd http://www.walmart.com/ip/Healthometer-LED-Split-Mat-Bath-Scale/10264542 Step 2: Then I opened it up and attempted to hack the internal control board. Acourse it was one of those black blobs which meant it was a system on chip. Sadly the analog lines were feeding directly into the micro which presumably had its own differential amplifier. Sadly there were no outgoing lines from this micro that had a voltage or pulse width proportional to the weight. Long story short, there was no easy way to get the weight from the prebuilt electronics so I scraped it. Step 3: So next step was to determine how to build the electronics required for the weight scale. Weight scales use a sensor called a load cell which are generally just strain gauges. Strain gauges are sensors that have a very very very small change in resistance with respect to weight. Consequently, a wheat stone bridge configuration is generally used to read them. In addition, one uses multiple strain gauges in order to avoid temperature fluctuation and drift. This weight scale used load cells similar to ones on sparkfun: https://www.sparkfun.com/products/10245 So in the scale, there are 4 load cells. Each load cell is a half wheat stone bridge. With clever wiring, you can make 1 wheat stone bridge consisting of 4 half wheat stone bridges, see picture below: Step 4: ...Time to go to work so i'll post more on this later. Basically I used a instrumentation op amp to read the Wheatstone bridge. Then I built a board with dorkbot pcb and populated it. As for the 802.11 support, ages ago I bought a wizfi210 from bluehash so I used that. Also used one of my few remaining 2.2" lcd displays. Step 5: write the code stuff and make it upload to xivley: https://xively.com/feeds/1844651192 Step 6: (ongoing) WIP is getting this to not drift and give consistant repeatable measurements.... i'm getting there. and yea.. i'm off to work. I'll get more of a writeup on this latter.
  14. Hey all, Will try to start pumping these out again. Been working 50-70hr weeks as of late and haven't had much time for hobby projects. Just finished a major project at work so should have some more time to pump these out.
  15. With pretty much all products in general, the massive all in one kits are usually somewhat gimmicks. I'm not a fan of the tip replacement methods on that solder station and i'd recommend buying dedicated solutions. I'm a huge fan of the Aoyue 2900 because it has fully replicable tips. Integrated into the tips is the heating element and temperature sensor. Keeps iron maintenance extremely easy and allows for fast tip swapping. This is more or less a replica of how the 1000+ USD solder stations work. http://sra-solder.com/product.php/6363/0?gclid=CISrxpy9mbkCFctAMgoddl8AJQ Then for hot air i'd recommend something like this: http://www.ebay.com/itm/NEW-858D-110V-Hot-Air-Gun-Rework-Station-SMD-Solder-Soldering-Digital-Free-/161027015370?pt=LH_DefaultDomain_0&hash=item257df542ca
  16. Thanks for the shares Zeke, Will have to look into some of that :grin:
  17. Lookin sweet! Keep ups updated on the project. Takes roughly 2-4 weeks generally to USA, ND where I live =( . Be curious to see how fast they ship to Europe.
  18. Hey all, Been doing abit of electronics over the years and here is alittle image of my workbench (not my design bench w/ all my computers) and what I've found to be necessities for it. On my workbench I do construction & debug, my sepperate design bench is well... for designing. Would be interested in what you guys highly recommend as well. For hobbyists that is... no 100k Agilent terahertz bandwidth probes plz =P Sub 1k rage Clearer text: http://zallus.com/images/workbench.jpg Links to some recommended equipment: Oscilloscope: http://www.tequipment.net/RigolDS1052E.html?Source=Google&gclid=CLz2mbzImbkCFZE7MgodZTIAEg Solder Station: http://sra-solder.com/product.php/6363/0?gclid=CISrxpy9mbkCFctAMgoddl8AJQ Bench Kit: http://www.menards.com/main/see-more/shelving-visualizer/garage-basement/6-metal-workbench/p-1469456-c-9442.htm Flux Remover: http://sra-solder.com/product.php/6684/98/plastic_safe_flux_remover Tweezers: http://www.digikey.com/product-detail/en/18072-ER/243-1100-ND/1953903 Part Organizer: http://www.sears.com/homak-mfg-co-inc-parts-organizer/p-SPM6178761201P?PDP_REDIRECT=false Solder General 60/40 pb: http://www.radioshack.com/product/index.jsp?productId=2062715 Flux : http://www.radioshack.com/product/index.jsp?productId=2049774 Edge Cutters http://www.digikey.com/product-detail/en/170M/170M-ND/278946
  19. Without a picture i'm not quite sure what were dealing with. Are the gates properly ESD protected & have the components been in a controlled ESD environment through shipping to your handling & soldering of them?
  20. Hey all, Currently i'm working on adding 2 more profiles to the controller. I'll be adding Convection Pb Free & Convection Leaded since there are not as many IR ovens on the market currently. You can use convection ovens but your reflow speeds will be reduced. I'll have to have a much more conservative profile in order to avoid overshoot. I've also got 50 PCBs & am waiting for parts to come in so I can hopefully make enough kits in the upcoming weeks to keep up with demand. Hey PunKidd, Mind re uploading your images to 43oh? Not sure if the upload worked.
  21. Try stepping through assembly versus stepping though C. Depending on optimizations, that can make quite a difference.
  22. Hey Timothy, Your setup looks sweet! Thanks for sharing. As far as ovens go, looks like the infrared craze certainly has died down and the sleek black n decker infra-wave ovens are off the market. Here are some possible alternatives. Not sure about Europe shipping: Panasonic NB-G110P Flash Xpress Toaster Oven, Silver http://www.sears.com/kenmore-elite-infrared-convection-toaster-oven-brushed-aluminum-stainless/p-00806905000P 60 USD for the kit shipped. Currently out of kits but have more pcbs coming from china in the next couple weeks.
  23. w00t glad to hear its working for ya! Mind taking a picture of your setup? Howdy all, been shipping them out as soon as I get the chance. My day job has been keeping me quite busy. I got 50 more kits on the way and got a new design SMT for mass produce being released soon. I'll be willing to ship over seas once I get abit more feedback from the current users. Thanks for your patience. Most people have been buying pre assembled kits but for those of you who haven't, here are preliminary instructions http://www.zallus.com/reflow-oven-kit-assembly-instructions/ I'll work on getting a more elaborate video up showing the whole process.
  24. Perhaps, are there nchannel mosfet drivers that have an internal charge pump up to 40V+ powered from a 3.3V source? I probably should look for some. I don't think a pchannel external FET driver would work because it wouldn't be able to drive low voltage signals. I suppose 40V is a bit overly conservative. My reference is for vehicles. 12V is a single battery system, 24V is a double battery system. Then when fully charged, a 24V battery can get up to ~28-30V. The extra 10V is probably uneeded margin. Anyhow, I wanted to make a modular universal input protection circuit for these systems. 40V is abit excessive so I suppose I could drop back on that abit. The device will normally be battery powered and thus with respect to the batteries reference, the input drive signal will be between 0-3V. However, the device has a USB port on it so should isolation be lost, the input signal may appear to be ~36V with respect to the ground in which case I need to shut it off. I want to shut it off quickly so I was going to use FETs as opposed to a mechanical relay. I also wanted there to be virtually 0 voltage drop so I was avoiding a SSR.
  25. Hey all, So I remember back in the day when studying CMOS we went over transmission gates. The idea with these is the ability to fully drive high and low signals. However, I can't find anything that works like this at a macro level. I've looked at analog switches and multiplexers and none of them seemed to drive a sizable amount of current/voltage range without having series resistance drawbacks. Most highside drivers that I found only drive high signals. The requirements would be the following: High current capacity: ~5A max Low on resistance: < 0.05 ohms Requirements above maintain true for ~0-40V drive signal. Here would be my pathetic analog solution: However, I was hoping there would be a integrated solution that could come close to this. Any chance you guys are aware of any?
  • Create New...