Jump to content
RobG

LaunchPad, DC Motor, PWM

Recommended Posts

@@RobG sir it works like a charm. i really owe you a big time. if we were in same country, i would like to take you to a fancy dinner :)

What's your job by the way? Is this just a hobby for you or what if i may ask?

Share this post


Link to post
Share on other sites

Good to hear it works and I hope you got something out of this.

You should now try to move switch conditionals to ISR. What you have works, but this is not the best solution.

 

This is just my hobby, but software development is what I do for living.

Share this post


Link to post
Share on other sites

@@RobG i am just trying to get through this project right now, but i am really starting to understand how embedded systems work.

 

i moved on to next step of the project - PCB of the circuit. before i started to draw it on isis-ares, i tried to see if it will work while msp430 chip is on breadboard. i put to  

msp430's pin 1 to vcc, pin 20 to ground on board and made other pin assigments with l293d.

 

But as always it didn't work on first try. Any special requirements for this application that you think i don't know?

post-39242-0-02393200-1418568501_thumb.jpg

Share this post


Link to post
Share on other sites

RST pin is floating, you should pull it up to Vcc (directly or through 47k resistor. If you want to do in circuit programming, add 47k resistor between Vcc and RST and 1nF capacitor between RST and GND.)

Also, add 0.1uF bypass capacitors next to Vcc pins of both chips or MSP at least.

Share this post


Link to post
Share on other sites

@@RobG i drove the pcb layout on ares. i added layout files to attechments (the site doesn't let me uploud ares file). Now the deal is how can i take a output of schema that fits real measurements of peripherals? 

 

i am trying extending or narrowing the images but it doesn't seem like to be working.

Share this post


Link to post
Share on other sites

@@RobG i stucked again :)

 

i've done the pcb. at the beginning it didn't work at all. after some adjusments, i got voltage out of motor pins but a motor doesn't run with it. there is voltage out of it but no current. how is that even possible? is pcb broke? any idea?

l293d is functional by the way.

 

post-39242-0-25062000-1420030302_thumb.jpg

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...