Jump to content


  • Content Count

  • Joined

  • Last visited

  • Days Won


Everything posted by semicolo

  1. I'd use the logic analyzer to check the timings and bytes are correct and fix any trouble. How did you wire everything? Also isn't the clock supposed to be in the 10KHz range? 38400bps might be too high.
  2. I think the minimum voltage is +-3V at the other end of the cable, but I agree with spirilis, integrated USB-UART is a must unless the timing is critical and you know it'd work better without USB.
  3. Hi guys, I've got these supplies that come from lexmark dot matrix printers, I'm wondering how much juice I can safely squeeze out of them keeping enough safety margin to not burn them. Here are my thoughts: Mains fuse is 5A, so less than 600W is in order. Next, the mains is rectified by a D3SBA60, that's a 600V 4A bridge rectifier, the datasheet says 2.3A maximum without a heatsink, we're down to 276W. On the output side of the high frequency transformer, there's a YG901C2 rectifier, that is in essence 2 diodes in parallel. Datasheet says average of 5A maximum for a half duty
  4. Hi all, I promised this ebay seller (e_goto) that I'd speak of them for adding the MSP430G2553 and MSP430G2452 to their store. In fact I don't think this was a good idea anymore since I've seen their price of the parts, it's probably cheaper to buy a launchpad even with their free slow shipping. They had really good communication and I bought some nice stuff from them for a good price and I thought it'd be nice if someone would offer these parts without having to pay for the usually high shipping fees if you're not in a hurry. Oh well, the road to hell is paved with my intentions.
  5. Yeah women that understand all the beauty of an axis moving thanks to a stepper are rare.
  6. Did the same measures using LPM0 before doing the AD conversion. Jitter was better at +/-1LSB, the curve is the same.
  7. Oh yeah an unsigned long must be 16 bits, but why does it looks like it's resetting around 56000 and not 65535?
  8. Same for me and same if using micros(), in the core these functions use the watchdog and an uint32 variable is incremented 160 times per ms, so it should reset after about 26843s or about 7.5hours (160 times less than the normal 50 days) So there's something else not working.
  9. I'm not sure how it's done in Energia, but on the regular Arduino, the regular serial library uses a buffer that can easily be overrun, another strange thing with your code is it doesn't look like this is happening (I think you should see something like "ccccccccc...." when it happens). It must be blocking, your loop takes about 64ms, that is consistant with the length of the string you're sending. I'll dig out a stellaris and try it.
  10. So I have this MAX5214Lite evaluation board I got for free from Maxim (love free stuff). It's got a MAX5124 high precision 14bits DAC and was wondering what I could do with it. I figured it may be the best precision voltage source I have on hand so I hooked it to a launchpad, ran the energia AnalogInOutSerial sample, took some measures and drew a curve of the values returned by the ADC. This looks rather linear to me, there was some +-2LSB noise, I have no way to check if it comes from the USB line, MAX5214 output or the launchpad itself, probably a mix of all these factors.
  11. Nice, the drawing is quite slow compared to the speed when the pen is up, is it because of all the small lines, or does it miss steps if going faster when the pen is dragging?
  12. I made a more in depth description of the project using the hackster.io site: http://beta.hackster.io/projects/31-YAMB
  13. Your code almost works, you mixed RXBox and TXBox in the SendButton_Click method I just had to change it's body to serialPort1.Write(TXBox.Text); And it worked as intended.
  14. I finally got a small video and a photo of the closed box, enjoy: http://www.youtube.com/watch?v=sh77g58Do_I
  15. What we need is cheap chinese launchpad knockoffs then. But seriously what I like about the launchpad is the integrated debugger, Arduino is nice to start quick but debugging takes too much time and effort.
  16. That guy has a nice design, but your cdrom steppers may be too weak that pen holder seems heavy.
  17. Nice start, I'm working on something similar using repurposed scanners. Since your Z axis is more like an on/off thing, maybe you could add a small spring to allow the pen to go up/down on bumps whithout having to compensate on Z. Are you using floppy drives? If so the steppers should take 12V and have more torque (double check first :-)
  18. Can you try running it from the command line, maybe it'll send back an error that'll help finding what's wrong.
  19. Do you mean you get the splash screen but not the editor? Splash screen: Editor: I have both environments (energia and official arduino IDE) and have no problem. Did you mix energia and the arduino softwares?
  20. Are you using windows or Linux? I don't know if it's still true, on windows you have to put energia on a path without spaces (ex: "c:\my work\energia" will cause problems) I have to set the jumpers to HW serial when trying the communication samples (and note the launchpad max speed is 9600bps, you can go faster if you use an external ttl to serial adapter)
  21. seems hard to get a desired color with only 3 push buttons, it'd make more sense to use sliders or 3 buttons to increase color intensities and 3 others to lower it. Or I don't get what you're trying to do
  22. Yes there's room for improvement, what about using variables to hold color increments, something like // debounce inputs and leave time to press another button if (digitalRead(redButton) == LOW || digitalRead(blueButton) == LOW || digitalRead(greenButton) == LOW) delay(50); // rinc, ginc, binc hold the r,g and b increments if (digitalRead(redButton) == LOW) rinc=5; else rinc=0; if (digitalRead(blueButton) == LOW) binc=5; else binc=0; if (digitalRead(greenButton) == LOW) ginc=5; else ginc=0; // go up to 255 int i; for (int i=0; i<51; i++) { r=r+rinc; g=g+ginc; b=b+b
  23. @@afonso360 do you see a new serial port when you plug your MSP430 launchpad? Is there a device missing drivers in the windows device manager?
  24. That's not quite what Rei has in mind, he wants to be able to add the arduino core to a CCS project to be able to use the IDE (debugger and all) The makefile probably uses the energia compiler/linker, but it may be a start to see if the Ti toolchain is compatible.
  25. this might be a problem because energia isn't using the same compiler as CCS but maybe it can be done if the core is compatible (CCS must compile the sources in \hardware\msp430\cores\msp430 successfully)
  • Create New...