Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
02/09/08 20:27
Read: times


 
#150530 - photo
Responding to: ???'s previous message
Photobucket


I am an absolute noob at this, so i cannot say that the board looks very pretty...infact, it looks like a crows nest even to me :)

1,2,3 &4 are 100nF ceramic caps.. ive added a 10 uF tantalum as close as i could (added after my first post-thanks to the suggestions i received here...certainly a HUGE improvement) ( which is much more than 2.54mm as suggested- impossible for me to do that!))

I'll start from the beginning-- part of my task involves controlling and maintaining the speed of a brushless dc motor using a feedback system. This consists of a simple IR led & detector setup and a small vane like obstruction on the spinning motor blocking and unblocking the IR light to the detector. the detector output is given to P3.2 ( int0).
My program worked, and the motor did spin slower than full throttle. i hooked up the cro to P3.2 to calculate the rpm and...noise! P1.0 showed an extremely noisy pwm output.

I realized that i had a bad problem when the microcontroller int0 (P3.2)used to trigger at the falling edge( which it is supposed to) and at the rising edge( not supposed to happen!)( wrote a small test prog for this)

the weird nand( i did not have any other logic gate ic around) setup was actually stuff i added as an afterthought thinking that the noise and double triggering was due to the bare transistor input to P3.2( int0)the reasoning was that a logic gate must output either a 1 or a 0, nothing in between...

i'm using a separate regulator for the micro controller. the external hardware has another regulator with a separate power supply.the grounds are connected to each other.

the uln2003 driver ic is connected to the motor, which again has a separate 12v power supply.

adding the tant and ceramics has greatly diminished the noise( now lesser than 75 mV- cro probe at vcc pin of microcontroller as well as p3.2 and p1.0) but i still have double triggering of int0.



List of 58 messages in thread
TopicAuthorDate
problems with edge triggering and noise            01/01/70 00:00      
   5v regulator,capacitors - elko and creamic            01/01/70 00:00      
      not likely            01/01/70 00:00      
         not true!            01/01/70 00:00      
   How much noise?            01/01/70 00:00      
      using a 78L05 voltage regulator IC with 220 uF cap            01/01/70 00:00      
         be conservative ... for now ...            01/01/70 00:00      
   First things first - Begin at the beginning            01/01/70 00:00      
      yes i agree..            01/01/70 00:00      
         photo            01/01/70 00:00      
            Well done            01/01/70 00:00      
               the "backside" :)            01/01/70 00:00      
                  Use Solder Wick as Braid            01/01/70 00:00      
                     is this ok?            01/01/70 00:00      
                        i found this strange looking woven wire?            01/01/70 00:00      
                  Perf Board Types            01/01/70 00:00      
                  Pad-Per-Hole PTH            01/01/70 00:00      
                     How much ?            01/01/70 00:00      
                        This Much            01/01/70 00:00      
                           other boards            01/01/70 00:00      
                     Here\'s what I prefer.            01/01/70 00:00      
            it looks quite acceptable, with caveats ...            01/01/70 00:00      
      How much noise!            01/01/70 00:00      
   Regulator problems..            01/01/70 00:00      
      sorry wrong measurements            01/01/70 00:00      
         Actuall, you were right, in part ...            01/01/70 00:00      
            Different caps..            01/01/70 00:00      
      one more issue            01/01/70 00:00      
         7805            01/01/70 00:00      
            Swop the pins around !!            01/01/70 00:00      
            agreed            01/01/70 00:00      
               what about switching noise and ripple?            01/01/70 00:00      
                  to RE            01/01/70 00:00      
                     This is a real disappointment            01/01/70 00:00      
                        numbers            01/01/70 00:00      
                           that's not what was asked ...            01/01/70 00:00      
                              yes and no            01/01/70 00:00      
                                 I've got lots of those ...            01/01/70 00:00      
                                    not mostly - only and who cares            01/01/70 00:00      
                                       It's what's before the filter that matters!            01/01/70 00:00      
                                          enough            01/01/70 00:00      
                                             not exactly ...            01/01/70 00:00      
                                                as stated before            01/01/70 00:00      
                                                   Nonsense!            01/01/70 00:00      
                                                      you can't stop, can you            01/01/70 00:00      
                                                         I love to see Erik backpedal            01/01/70 00:00      
                                                            Better start giving a hoot            01/01/70 00:00      
                                                               as stated so often, I DO give a hoot ...            01/01/70 00:00      
                                                                  as stated so often, I DO give a hoot ...            01/01/70 00:00      
                                                                     I think you are right            01/01/70 00:00      
                                                                        I too favour looking inside black boxes            01/01/70 00:00      
                                                                           blindly?            01/01/70 00:00      
                                                                              Erik ... you\'re headed for a disappointment            01/01/70 00:00      
                                                                                 If you accept datasheet blindly I cant help            01/01/70 00:00      
                                                                                    you do not get the point, do you?            01/01/70 00:00      
                                                                     not exactly            01/01/70 00:00      
                                                                        I never made any such claim            01/01/70 00:00      
         gee ... that's a negative regulator ...            01/01/70 00:00      

Back to Subject List