Jump to content
43oh

semicolo

Members
  • Content Count

    137
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by semicolo

  1. No the MSP430 code doesn't need to be changed. Can you provide a bit more of your code (serial port initialization for example) or your project in a zip file?
  2. Works for me on windows, did you set the jumpers to the hw settings?
  3. I don't know any using Ti chips but it may be less work porting from AVR like grbl
  4. There are some that have a linear response, yours seem to be log. I used some log ones on my homemade bench supply to display current and voltage, kinda works, had to make new scales like this But precision is bad, I'm working on making a digital version with LCD display.
  5. I probably ended removing the fglrx drivers, don't remember well since it's been years I've run eagle on my personal linux computer, I've been using the windows laptop provided by my company for a while and don't bother going to the basement to run the desktop.
  6. I remember seeing something alike on older ubuntu/eagle. I think the following cadsoft faq corrected it, don't know if it'll work for you. http://www.cadsoftusa.com/training/faq/#3
  7. The first should set the reset pin to 1, the second clears CE, the last sets CE to 1 (should because RST and CE must contain the right values) It should work if you connect the power of the screen to an output pin, expect a voltage drop if you're using the backlight, but the screen is supposed to work correctly. Edit: corrected the line about the backlight.
  8. It's just an RC low pass filter, it holds Reset to ground when you apply power and after some time the capacitor is charged and the reset pin state becomes 1, no need to connect reset to the MCU at all. I'll try rotating the capacitor to leave more room for the screw hole next time I add this circuit.
  9. I'd say start with a simple setup resistor dividers hooked to the analog inputs of an MCU, output through 8bits pwm hooked to a transistor that switches +5 or +12 and finally a filter. If too noisy, an R/2R network on the output. Any Idea of the needed sampling rate?
  10. Maybe using a R/C reset circuit on the screen would help. When I read the datasheet of this screen, the part saying you can damage it if not reset correctly freaked me out and I didn't bother trying to do it in software. I used a 4.7K resistor and a 100nF capacitor (I had them on hand), 47K/10nF will work too.
  11. Nah, I'll ask my step sister to do it or pay her a visit. I finished it in a rush, almost ripped my left thumb while finishing the woodworking (always use clamps and beware of kickback when using a biscuit joiner guys) and finished screwing the hinges for the top just minutes before giving the gift.
  12. Hi guys, I wanted to share this project I made for my step sister last christmas. After seeing some other music box project on hack a day, I found it would make a nice gift. I started experimenting on arduino and launchpad/g2553 using wavetable software synthesis. It looks like I suck at optimizing c code on microcontrollers, I had to decrease the output sample rate to 6250Hz on the arduino for 6 channels and down to 7812Hz on the launchpad and use fixed point numbers with 4 bits after the point, sound was not good enough to my taste. (here are the CCS sources if someone wants to play wi
  13. Thanks for the tip @@cde but I'm not sure what you found, or they don't call that a table saw. All this made me think about buying a tile saw and changing the blade, we'll see.
  14. Pretty neat. I'm trying to source one of these little table saws, but having it shipped in canada would double its cost. I'll go on trying to find one locally.
  15. So you're already putting the cpu to sleep, if the cpu is still running during the sampling you get additional noise. I don't remember where I got this idea, it's not in the datasheets... Maybe I just imagined it. Edit: In the atmegax8 datasheet there's : "The ADC Noise Reduction mode stops the CPU and all I/O modules except asynchronous timer and ADC, to minimize switching noise during ADC conversions" And I think the ADC example in CCS uses a sleep mode so my brain must have registered this as a mean to minimize noise.
  16. You're getting noise from the cpu if you don't put it to sleep before the conversion, you didn't tell if you're doing that.
  17. If it's a standard HD44780 lcd screen, data is read by the LCD MCU on low on the enable pin, you'll have to read the other pins when enable goes low and interpret that data. You'll have to find if it's working in 4 or 8 bits mode. Then recognize the cursor moves/clear/write to memory. That's the first time I see this sort of project but it's quite interesting, this could work with 7 segment displays too to add some serial output to appliances.
  18. Hard to explain the real maths on a forum and it's been more than 10 years I've learned about it and never really used for real. Adding more samples and shifting is supposed to lower the SNR too, if you just keep adding samples, the noise adds too and you don't really gain any precision.
  19. @@roadrunner84 I think you need more samples for oversampling add 4 samples, right shift once -> 11 bits add 16 samples, right shift twice -> 12 bits add 64 samples, right shift thrice -> 13 bits ... And you need noise for it to work correctly, but it doesn't hurt to implement it.
  20. I'm in too then. Not funny, it's a coat of arms I designed for me and my family. The left side represents what I like, the right side was chosen by my wife. I have nothing to do with nobility though.
  21. semicolo

    @ Bug

    just at generates a lot of member="" for me too. No crash though
  22. My advice would be: keep it simple, if it works with floats and you don't need to optimize more, keep the floats and don't waste time. But if you want to learn, yes floats need to be avoided on more complex projects
  23. semicolo

    @ Bug

    what browser/system? @@Rei Vilo here's a screen shot of your post, there's some weird russian string repeated a lot of times.
  24. If the measure is accurate, isn't 2.2V a bit low? You shouldn't go below 2.5V
  25. You'll have to correct your voltage to be: voltage = value/1023*2.5*2.5/1.5; The maximum you can measure is 4.17V.
×
×
  • Create New...