Jump to content
43oh

nimblemotors

Members
  • Content Count

    20
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by nimblemotors

  1. Found out the problem, the sync values defaulted to zero which don't really work as sync values.
  2. nimblemotors

    RFM69HCW

    Anyone have experience using this wireless module with the msp430? I have a pair running hooked to msp430's, not using any library, using pretty much all the chip defaults, just fixed length packets of 10 bytes. I have one running sending a packet every 250ms, I timed the xmit time, and it takes 33ms to send a packet at the default 4.8kbps. The other in recv mode. It is getting packets, but losing about 99% of them, but every once in a while it gets one, which has me stumped. After I get a packet I put it in standby, and have a watchdog run every second that puts it bac
  3. It looks like you can't trim the clock with the same level of adjustments as the older chips.
  4. In my R/C controller the DCO clock changes quite a lot over temperature, and when it got warm, the servo signal kept changing. So I used the 32k crystal to adjust the DCO to keep it consistent.
  5. Well, I have a custom car where I repalced 15lbs of wiring with a wireless control for the brakes and turn signals and hazards. I have a little msp430 board that gets a 'turn left' message and does the flashing itself until it hears a no-turn or right-turn message, and then it stops flashing. Actual flashing code is about as simple as it gets, just use the watchdog timer at 1 second intervals, and turn on/off the light. You need a 3v relay or mosfet to toggle the 12v power (I use LEDs for my lights also, very low power)
  6. Well, I finally got this working..sort of. It looks to me the 9850 board has an issue with bad solder joints or something, as it will output the signal but then stop and start again if I physically mess with it. Thought it might be the 125mhz clock chip as pushing down it got it outputing again, but that is not consistent, sometimes it doesn't work I need to twist the board and it works again, and sometimes that doesn't work either, but eventually if I mess with it it outputs again until it stops again. What may be of interest here is the code to compute the 32bit tuning word. In gen
  7. One of those useless gadgets that people might like. Cold beer never gets any better when warmer, so looks to me this is only applicable to too-hot drinks. While a coaster would be nice, it seems to me with variations in the insulation of a cup, you can't really know the fluid temperature from measuring the cup. I think you need a new cup of tea. One powered by the hot liquid, and wireless connected to the internet and can scroll tweets on it... Yeah, that is it, a $50 internet cup of tea. Hope that helps.
  8. I need to have a variable frequency generator in order to measure the inductance of a coil. There are these very cheap AD9850 boards that can output sine waves of any frequency up to even 40Mhz. Just what I need, so I took one of my old MSP430 battery charger boards and wired up the interface to the AD9850 board. But it is not working, I get no output. I've seen lots of Arduino's interfaced to them, but not any msp430. I thought I figured out my problem when I discovered that at 5v power, a HIGH signal must be 4.9v, and as I run my 430 at 3v, not going to work. But the 9850 also runs
  9. I've built a BLDC controller, but it is not a sensorless. That really complicates things. With the sensor, control is really quite simple software, the power hardware is the difficult part. My system was orginally tested on a small Novac BLDC 1/10 scale R/C car motor. I used it for a Mars 15hp pancake motor for an electric jetski I built (but never finished). I orginally used a IR2130 as the gate driver, but my newer version uses two LT1161, and six fets in a sot227 format, these are so much nicer, mounted to aluminum heatsink. Jack
  10. The code I posted was just the fuel injection control. The ignition control is an independant msp430 board. Here is the code for the ignition. Was looking at it today, as I've got a new project to control a 12A rotary engine that is going into a jet boat I'm building, so thought I'd post it while I have it up. This code is much cleaner as it was all finished, unlike the EFI which was still a work in progress. Hope it helps someone. Cheers, Jack #include <signal.h> #include <io.h> #include <msp430/usart.h> #include <msp430/common.h> #include <msp430/b
  11. //****************************************************************************** // // Electronic Fuel Injection, Written by Jack Murray 2011 // NOTE, this is not cleaned up finished code, but decided to share it anyway. // // We use a Geo Metro 1.0L Throttle Body Injector (TBI) for fuel // The throttle is an electronic controlled from a 2004 Prius // The water temp sensor is from a '87 Chevy // The 02 sensor is a generic narrow band. // We use the on-chip temp sensor to proxy the air temp // The Fuel Pump is from an '89 Jeep Cherokee, and is turned on through
  12. I don't have a schematic of the battery charger, which is what the hardware was used for orginally. But I can tell you about the connection to the msp430. I used a LTC1155. It is a high-side mosfet driver that drives n-channel mosfet at +10v over the supply. So unlike most applications, I switch on/off the 12v to the fuel inject, instead of switching ground on/off. This was important for the battery charger, because switching the high side it could detect when a battery was attached, and automatically start charging them. The LTC1155 has two on/off inputs that are connected directly to
  13. Hello again my friends, I posted the video of the full msp430 based EFI system running my tractor. You can see the waterproof box that holds the fuses and all the connections. Originally this tractor did not have a single fuse. The fuel injector is a TBI unit from a Geo Metro, just using the injector portion of the TB. The throttle plate is from a Prius, and is an electronic controlled throttle. Processor is a msp4301232, with two high-side mosfets (previously used to charge NiMH batterys), one used to control the throttle, the other controls the fuel injector. The ADC inpu
  14. randomness isn't really needed, but just the perception of randomness, or said another way, there is no perception of a pattern. So just pick some numbers that appear random, and use them in order, and every third time skip over by 2 and then do them backwards after 5 times. and btw, you are the devil!
  15. I have more than four now, but still doesn't work, it appears I must also wait 24 hours as well. So tomorrow I'll put in the links, and maybe some pics of the fuel injection too.
  16. I need the mclock to be consistant for pwm and use the 32khz aclock to sync it. I've used the code below to do this. I have two issues, one is it seems I must divide Aclk by 8 so it works, otherwise I think it is too fast. My real issue is how to I keep it in sync? In my previous application, i have timer outputs that I know have dead time where I can use CCTL2 (which is only control with Aclk input) during the deadtime to sync, but in my current situation, it isn't clear when I have time to resynch the mclock, the PWM on TA2 is almost constant. Am I just going to have to find so
  17. I have do this often for my LCD display output, and wrote a routine called BCDdecode that does it for 3 digits, and then returns the remainder so it can work for more digits if needed. And also note if d3 is zero, it is just doing two digits unsigned short BCDecode(unsigned short val, unsigned char *d1, unsigned char *d2, unsigned char *d3) { *d1 = val % 10; val = val / 10; *d2 = val % 10; val = val / 10; if (d3) { *d3 = val % 10; val = val / 10; } return val; } // and example use to display temp LCDout_temp (unsigned short temp) { unsigned short val = temp; char
  18. So just four posts and I can embed links?
  19. Hello, I've got a project that uses the msp430 that I thought you folks would enjoy. I have an old 1960 Tractor that was running like crap, and turns out the distributor was junk. New parts have long since become obsolete, but who wants the old technology anyway (.025 gap plugs) So I have converted the ignition to electronic coil-on-plug, which eliminates the distributor and the plug wires, and uses 4 ignition coils, one on each spark plug, and now have vastly increase spark with 0.060 gap plugs. Here is a youtube video of it running in the final setup: OK, so they won't let me incl
×
×
  • Create New...