View previous topic :: View next topic |
Author |
Message |
kimmi
Joined: 24 Feb 2006 Posts: 1922 Location: Denmark
|
Posted: Tue Feb 28, 2012 4:15 pm Post subject: |
|
|
Hi,
Did you change fusebits to Internal 8Mhz ?
and CKDIV/8 unselectet ? else it run 1 Mhz
Maybe your 7 Segment minimum trigger time is 5ms
Change to 5ms test addon file _________________ / Kim |
|
Back to top |
|
|
erwin4838
Joined: 24 Feb 2012 Posts: 39 Location: Indonesia
|
Posted: Tue Feb 28, 2012 10:27 pm Post subject: |
|
|
and CKDIV/8 is select,and i add xtal 8mhz in pin 3&4 chip and c 22pf to ground ,
And then I'll try to unplug this xtal and c ,but it the same 7 segmen still flicker |
|
Back to top |
|
|
erwin4838
Joined: 24 Feb 2012 Posts: 39 Location: Indonesia
|
Posted: Tue Feb 28, 2012 10:47 pm Post subject: |
|
|
i allready try new file hex (test3.rar)but 7 seg still flicker,but 7seg seen bright,not like abefore seen dull,if i burn with file hex(count up) 7seg work in normal count up,do i wrong in instalation or etc |
|
Back to top |
|
|
kimmi
Joined: 24 Feb 2006 Posts: 1922 Location: Denmark
|
Posted: Wed Feb 29, 2012 3:44 am Post subject: |
|
|
hi,
Yes wrong fuse setup you are still running 1 Mhz !!!
here is a 1 Mhz version (addon) _________________ / Kim |
|
Back to top |
|
|
erwin4838
Joined: 24 Feb 2012 Posts: 39 Location: Indonesia
|
Posted: Wed Feb 29, 2012 1:26 pm Post subject: |
|
|
i think this one is perfect,i was try and see number in 7seg is stabil when i give a constant time NO to NC with my pen in sensor,but ascertain tomorow i want to try again with actual plate in motor to know correctly,i'll send you report tomorow,thank many on the aid |
|
Back to top |
|
|
erwin4838
Joined: 24 Feb 2012 Posts: 39 Location: Indonesia
|
Posted: Thu Mar 01, 2012 4:38 pm Post subject: |
|
|
i was try,its work,but output number 2 digit in 7seg is different with araound plate ,im very very sory couse my explaint is not complite,i mean the fungtion speedometer is only to know how much plate is araound in one minute,only in one minute,example :
if number in 7seg "50" mean plate araound is the same "50" in one minute,please guide and help me
Thanks before |
|
Back to top |
|
|
kimmi
Joined: 24 Feb 2006 Posts: 1922 Location: Denmark
|
Posted: Thu Mar 01, 2012 5:51 pm Post subject: |
|
|
Hi
You ask for speedometer to show KM/h with a diameter of 6 cm
the timer is setup to count puls for 1 sec
Circumference of the diameter 6cm = 18.84955592153876 (cm pr rev) same as diameter * Pi
1 kn/h is 27.777777778 cm pr sec
(puls*cm pr rev) / 1 kn/h pr sec = km/h
Is it RPM you like to see or Km/h ? _________________ / Kim |
|
Back to top |
|
|
erwin4838
Joined: 24 Feb 2012 Posts: 39 Location: Indonesia
|
Posted: Thu Mar 01, 2012 11:16 pm Post subject: |
|
|
yes i ask for speedometer,but after i'll try in actualy with motor speed,the result is different not like speedometer original in other mechine,to ascertain i'll try with same a new speedometer and old/original speedometer ,the result is different,on the other side a new speedometer only get number 33 in max speed,although i add speed motor
and then i look for to know actually speedometer original functioned for what,after i caculate obvious speedometer original the fungtion is for to know how many araound plate in a minute,i think this fungtion same with pulse meter/speedometer,if my arguments its wrong,i'm so sory,but speedometer i mean like this,some fungtion with (old/original) speedometer in other mechine,for value difference certain it between speedometer new and speedometer old ones later i count to repeat, and i report to you |
|
Back to top |
|
|
kimmi
Joined: 24 Feb 2006 Posts: 1922 Location: Denmark
|
Posted: Fri Mar 02, 2012 7:09 am Post subject: |
|
|
HI,
So you get Max 33 with this version
what do you get with the orginal ?
how fast do the plate spind ? turns pr sec or minutes
If you have MSN or skype you can find me here farmtech@has.dk _________________ / Kim |
|
Back to top |
|
|
erwin4838
Joined: 24 Feb 2012 Posts: 39 Location: Indonesia
|
Posted: Fri Mar 02, 2012 5:12 pm Post subject: |
|
|
in original he can display appropriate actualy araound plate in one minute although speed of motor is add or less
speed today display is 50 (in 1 minute),mean plate araund is full need time 1,2 sec
original speedo is same work principle with pulse meter omron type MP5Y
http://www.autonics.com.vn/upload/data/9-F-05-27_MP_en_100317.pdf
i.m sory i.haven't msn/skype,i'm only have ym,ok next i'll creat new accunt in msn/skype
if you not angry(cause i'm stupid and so many ask with you)can i see source code in bascom ver,for a last hex you send to me?
i want to learn you source code,and trial,thaks before |
|
Back to top |
|
|
kimmi
Joined: 24 Feb 2006 Posts: 1922 Location: Denmark
|
Posted: Sat Mar 03, 2012 1:34 pm Post subject: |
|
|
Hi,
Ok now I have the info ty
try this (addon)
change output from sensor from INT0 (portd.2) to ICP (Portd.6)
now we count the time between High 2 pulses on Portd.6 _________________ / Kim |
|
Back to top |
|
|
erwin4838
Joined: 24 Feb 2012 Posts: 39 Location: Indonesia
|
Posted: Sun Mar 04, 2012 4:40 am Post subject: |
|
|
i have try,but number 7seg nothing change,i only get number "99",he only flicker if get respon from sensor |
|
Back to top |
|
|
kimmi
Joined: 24 Feb 2006 Posts: 1922 Location: Denmark
|
Posted: Sun Mar 04, 2012 7:35 am Post subject: |
|
|
Hi did you connect sensor output to PD.6 ?
test puls was 1.2 sec
_________________ / Kim |
|
Back to top |
|
|
erwin4838
Joined: 24 Feb 2012 Posts: 39 Location: Indonesia
|
Posted: Sun Mar 04, 2012 8:57 am Post subject: |
|
|
yes i have change to pd6,but still not work,ok now i'll try this one |
|
Back to top |
|
|
erwin4838
Joined: 24 Feb 2012 Posts: 39 Location: Indonesia
|
Posted: Sun Mar 04, 2012 9:18 am Post subject: |
|
|
i was try "2313_1_mhz_PD6.rar" and i was change to pd6, the result 7 seg is off (not a lighting) but sensor is on,and i was check the power supply is normal |
|
Back to top |
|
|
|