ΔЅịMø
Diesel Generator
Pogi/Ganda Points: 81
Offline
Gender: 
Posts: 1661
"Live Curious"
|
 |
« Reply #480 on: August 30, 2010, 10:49:02 AM » |
|
mga sir and mam.. i've made a mobot poh kya lang may problem ung h-bridge nya.. ayaw poh mag-backward ang left.. nu poh kya possible na sira mga sir?  i have used 8050 and C945 transistors...
|
|
|
|
|
Logged
|
|
|
|
|
The Philippine Electronics and Technology Forum
|
 |
« Reply #480 on: August 30, 2010, 10:49:02 AM » |
|
|
|
|
|
|
Logged
|
|
|
|
tiktak
Gas Turbine

Pogi/Ganda Points: 171
Offline
Gender: 
Posts: 2498
|
 |
« Reply #481 on: August 30, 2010, 10:54:44 AM » |
|
8050 and C945 are both NPN, kung mapapansin mo NPN/PNP combination ang circuit nung h-bridge na posted dito, can you show your schematic?
|
|
|
|
|
Logged
|
Bakit andaming hindi marunong gumamit ng search? 
|
|
|
|
lloydi12345
|
 |
« Reply #482 on: August 31, 2010, 11:33:00 AM » |
|
Ito ang complete circuit.  panu po ung connection nito sa L293d H-Bridge mga sir? or pde rin po ba mapaikot ung motor sa ULN 2003A? saan po ako mkakamura if I'm controlling it with pic16f84a?
|
|
|
|
|
Logged
|
|
|
|
ΔЅịMø
Diesel Generator
Pogi/Ganda Points: 81
Offline
Gender: 
Posts: 1661
"Live Curious"
|
 |
« Reply #483 on: August 31, 2010, 12:34:02 PM » |
|
okay na poh xa sir...  salamat poh... baliktad lang poh ung location nang mga transistor... ^_^
|
|
|
|
|
Logged
|
|
|
|
mini_mouse ^_^
Size C Battery
   
Pogi/Ganda Points: 4
Offline
Gender: 
Posts: 186
...All is Well...
|
 |
« Reply #484 on: August 31, 2010, 05:41:06 PM » |
|
...ok na po lahat, sensor ko po at hbridge... ok na rin po yung LED na representation ko po sa output para sa movement ng motor.. the problem is mahina po yung rotation ng motor kapag nasafloor po xa... pero pag-inangat ko po, ok naman po... sometimes, kaylangan mo munang iturn2 yung wheels para mgrotate xa... this status was after i assemble all the mobot parts po... complete mobot na po xa... kaya nga lng po, ganun,, mahina po yung pgturn ng wheels kapag nakapatong xa... if pure Hbridge lng po at motor at yung trigger po is from Vcc lng, mabilis namn po yung turns... but if ang trigger po is from the output Pins of PIC, yun yung problem... hindi po tumatakbo ang mobot... maliit lng po kasi yung Vout ko from comparator... 3.9 V po... at yung Vout sa pic sobra lng po sa 3V... ano po ba ang problem? is it the battery na gamit ko? low class lng po kasi yung.. 12Pesos na 9V..
|
|
|
|
|
Logged
|
...I'm thankful each and every day, coz I found you...
|
|
|
mini_mouse ^_^
Size C Battery
   
Pogi/Ganda Points: 4
Offline
Gender: 
Posts: 186
...All is Well...
|
 |
« Reply #485 on: September 03, 2010, 10:46:42 AM » |
|
pahelp po mgPWM sa assembly.. here's my code: list p=16F84A ; list directive to define processor #include <p16F84A.inc> ; processor specific variable definitions
__CONFIG _CP_OFF & _WDT_ON & _PWRTE_ON & _RC_OSC
; '__CONFIG' directive is used to embed configuration data within .asm file. ; The lables following the directive are located in the respective .inc file. ; See respective data sheet for additional information on configuration word.
;***** VARIABLE DEFINITIONS w_temp EQU 0x0C ; variable used for context saving status_temp EQU 0x0D ; variable used for context saving cblock 0x10 step1, step2,prev_state endc
;RA0= right sensor ;RA1=Mid sensor ;Ra2=Left sensor ;Ra3=ON Button
;RB4=Forward ;RB5=Backward -------------pwde na wala na ;RB6=turn right ;RB7=turn left
;********************************************************************** ORG 0x000 ; processor reset vector goto main ; go to beginning of program
ORG 0x004 ; interrupt vector location movwf w_temp ; save off current W register contents movf STATUS,w ; move status register into W register movwf status_temp ; save off contents of STATUS register
; isr code can go here or be located as a call subroutine elsewhere
movf status_temp,w ; retrieve copy of STATUS register movwf STATUS ; restore pre-isr STATUS register contents swapf w_temp,f swapf w_temp,w ; restore pre-isr W register contents retfie ; return from interrupt
delay_norm movlw .125 movwf step1 s1 movlw .125 movwf step2 s2 decfsz step2 goto s2 decfsz step1 goto s1 return
main
movlw b'00001111' tris porta movlw b'00000000' tris portb
clrf porta clrf portb
sta btfsc porta,3 goto sta una btfsc porta,0 goto test_porta100 btfsc porta,1 goto test_porta200 btfsc porta,2 goto frwdryt_motor ;forward-ryt goto frwd_motor ;forward
test_porta100 btfsc porta,1 goto test_porta201 goto test_porta202
test_porta200 btfsc porta,2 goto frwdryt_motor ;forward-ryt goto f_prevcmd ;follow prev_command
test_porta201 btfsc porta,2 goto f_prevcmd ;follow prev_cmd goto frwdleft_motor ;forward left
test_porta202 btfsc porta,2 goto frwd_motor ;forward goto frwdleft_motor ;forward-left
frwd_motor ;forward bcf portb,7 ;off front motor bcf portb,6 ;off front motor bcf portb,5 ;logic 0 to 4ward back motor (-) bsf portb,4 ; logic 1 to 4ward back motor (+) call delay_norm ;I just put delay b turning off back motor bcf portb,4 call delay_norm ;I just put delay b turning on back motor bsf portb,4
movf portb,w ; save status of portb to w
movwf prev_state ;store value of w to prev_state goto una
frwdryt_motor ;forward ryt bcf portb,7 ;logic 0 to turn ryt front motor bsf portb,6 ;logic 1 to turn ryt front motor bcf portb,5 ;logic 0 to 4ward back motor (-) bsf portb,4 ; logic 1 to 4ward back motor (+) call delay_norm ;I just put delay b turning off back motor bcf portb,4 call delay_norm ;I just put delay b turning on back motor bsf portb,4 movf portb,w ; save status of portb to w movwf prev_state ;store value of w to prev_state goto una
frwdleft_motor ;forward left bsf portb,7 ;logic 1 to turn left front motor bcf portb,6 ;logic 0 to turn left front motor bcf portb,5 ;logic 0 to 4ward back motor (-) bsf portb,4 ; logic 1 to 4ward back motor (+) call delay_norm ;I just put delay b turning off back motor bcf portb,4 call delay_norm ; I just put delay b turning on back motor bsf portb,4 movf portb,w ; save status of portb to w movwf prev_state ;store value of w to prev_state goto una
f_prevcmd ;follow prev_cmd movf prev_state,w ;move the value of prev_state to w movwf portb ;move value of w to portb goto una
END ; directive 'end of program'
|
|
|
|
|
Logged
|
...I'm thankful each and every day, coz I found you...
|
|
|
cristanboj
CR2032 Battery

Pogi/Ganda Points: 0
Offline
Posts: 8
|
 |
« Reply #486 on: September 05, 2010, 02:34:46 PM » |
|
ask ko lang . pde ba aku gumamit ng L293D para poh hindi na aku ggamit ng H-bridge as
what has already displayed earilier.? pa help nman po if kung gagamit aku ng :293D anu na
poh ang magiging schematic ko?
|
|
|
|
|
Logged
|
|
|
|
tiktak
Gas Turbine

Pogi/Ganda Points: 171
Offline
Gender: 
Posts: 2498
|
 |
« Reply #487 on: September 06, 2010, 10:49:35 PM » |
|
The L293D is a h-bridge, its just in a single IC package 
|
|
|
|
|
Logged
|
Bakit andaming hindi marunong gumamit ng search? 
|
|
|
RaffT
Technical People
Hydroelectric
   
Pogi/Ganda Points: 95
Online
Gender: 
Posts: 3214
more on R-n-D
|
 |
« Reply #488 on: September 08, 2010, 06:27:10 PM » |
|
pa help nman po if kung gagamit aku ng :293D anu na
poh ang magiging schematic ko?
you can read the datasheet for that L293D for connections/schematic/wiring
|
|
|
|
|
Logged
|
Learning is CooL! BEAM robotics/DIY UCD180/PSP/AC wtmtr/digiESRmtr/PICkit™2 clone/SGTC/SSTC/DR-SSTC
|
|
|
|
|
OPTIMUS PRIME
Diesel Generator
Pogi/Ganda Points: 28
Offline
Gender: 
Posts: 1523
|
 |
« Reply #490 on: September 30, 2010, 05:57:32 PM » |
|
Sa DILDO wars maraming DILDO boys may alam dyan try to visit the thread and know whos who to ask..
|
|
|
|
|
Logged
|
Dont worry about failures but worry about the chances you miss if you dont even try...........
|
|
|
blitzers00
CR2032 Battery

Pogi/Ganda Points: 0
Offline
Posts: 14
|
 |
« Reply #491 on: January 24, 2011, 12:45:30 AM » |
|
mga sir! ung bang servo motor is parang h-bridge lng? o tlagang magkaiba sila? hehe.. ndi ko po kase alam salamat ! 
|
|
|
|
|
Logged
|
|
|
|
LTSGü
Size C Battery
   
Pogi/Ganda Points: 10
Offline
Gender: 
Posts: 190
~two things in life: RIGHT and WRONG~
|
 |
« Reply #492 on: January 24, 2011, 01:41:04 AM » |
|
@blitzers00 yung servo motor po ay MOTOR na may feedback circuitry at mga gearings sa loob... hindi na kailangan nito ng motor driver.. supply lang tsaka controlling signal para gumana siya...
yung H-bridge po ay motor driver commonly used sa mga simple dc motors katulad nung sa tamiya.. XD
-------------------- Google is your friend.
|
|
|
|
|
Logged
|
Extremely Cute Engineer
~Craving for Knowledge~
|
|
|
leslie019
CR2032 Battery

Pogi/Ganda Points: 3
Offline
Gender: 
Posts: 13
|
 |
« Reply #493 on: January 26, 2011, 03:09:12 PM » |
|
ay grabe.. ang haba nito.. hahaha! malaking tulong toh para makabuo kami ng sarili naming line follower..  )
|
|
|
|
|
Logged
|
kung hindi ka para sa taong mahal mo.. malay mo.. para sa 'kin ka pala.. =))
|
|
|
blitzers00
CR2032 Battery

Pogi/Ganda Points: 0
Offline
Posts: 14
|
 |
« Reply #494 on: January 27, 2011, 02:07:21 AM » |
|
may matindi po akong tanong! nung nag program po ako gamit ko ung codes na pang sensor para pagalawin ung servo.. ng in'on ko na ung emulator ang default po ng servo ay nka full clockwise xa.. kpag ung isang sensor ay nka sense mag counter clockwise xa at kpag tinangal ko bumabalik sa full clockwise! haha  kpag ung isang sensor naman ay nka sense walang nangyayari, dun pa din xa sa full clockwise! bket po kaya ganun? kase kpag pushbutton lng ang gamit ko na nsa breadboard ok xa! as in ok tlaga.. pero ng gamitan ko na ng sensor medyo may palya  HELP! SALAMAT PO! 
|
|
|
|
|
Logged
|
|
|
|
tiktak
Gas Turbine

Pogi/Ganda Points: 171
Offline
Gender: 
Posts: 2498
|
 |
« Reply #495 on: January 27, 2011, 07:42:18 AM » |
|
post nyo po codes nyo para mas madali kayo matulungan
|
|
|
|
|
Logged
|
Bakit andaming hindi marunong gumamit ng search? 
|
|
|
OPTIMUS PRIME
Diesel Generator
Pogi/Ganda Points: 28
Offline
Gender: 
Posts: 1523
|
 |
« Reply #496 on: January 27, 2011, 08:50:11 AM » |
|
push button will have a logic high at full 5V logic low at full 0V..pag sensor pede di umabot sa logic high or low. Try to check the logic high and low na voltage. Diko maalala kung 2.5V start ng high logic at 0.5V below ang low logic.
Pede tama ang code pero yung logic voltage hindi
|
|
|
|
|
Logged
|
Dont worry about failures but worry about the chances you miss if you dont even try...........
|
|
|
leslie019
CR2032 Battery

Pogi/Ganda Points: 3
Offline
Gender: 
Posts: 13
|
 |
« Reply #497 on: January 28, 2011, 10:21:00 PM » |
|
sino po marunong gumamit nung 2-Ch DC Motor Driver Kit ng egizmo?  )
|
|
|
|
|
Logged
|
kung hindi ka para sa taong mahal mo.. malay mo.. para sa 'kin ka pala.. =))
|
|
|
OPTIMUS PRIME
Diesel Generator
Pogi/Ganda Points: 28
Offline
Gender: 
Posts: 1523
|
 |
« Reply #498 on: January 29, 2011, 12:03:30 AM » |
|
phase1 VAR PORTA.0 enable1 VAR PORTA.1 phase2 VAR PORTA.2 enable2 var PORTA.3 Yan ang pin assignments ko. try download the datasheet ng universal programmable controller sa e-gizmo site + datasheet ng H-bridge used. Analyze it ng maintindihan mo bakit ganyan ang assignment ko http://www.e-gizmo.com/KIT/Robotc.HTM
|
|
|
|
|
Logged
|
Dont worry about failures but worry about the chances you miss if you dont even try...........
|
|
|
leslie019
CR2032 Battery

Pogi/Ganda Points: 3
Offline
Gender: 
Posts: 13
|
 |
« Reply #499 on: February 05, 2011, 10:15:10 PM » |
|
mga boss.. bago po ung h-bridge na labas ng gizmo eh.. iba po histura dun sa luma.. panoh ba ung sa bago? :| sabi kasi nung isang technician sa gizmo nndun dw s cd n bnigay nla ksma s kit ung instructions kng pnoh gmitin ung kit n un..kso schematic diagram lng ska pcb layout po ung nakita ko dun s cd eh
|
|
|
|
|
Logged
|
kung hindi ka para sa taong mahal mo.. malay mo.. para sa 'kin ka pala.. =))
|
|
|
|
The Philippine Electronics and Technology Forum
|
|
|
|
|
|
Logged
|
|
|
|
|