![]() |
|
What Have You Done To Your Tdm Today? - Printable Version +- Forums (https://www.carpe-tdm.net) +-- Forum: Start your Engine (https://www.carpe-tdm.net/forumdisplay.php?fid=6) +--- Forum: All About TDM (https://www.carpe-tdm.net/forumdisplay.php?fid=22) +--- Thread: What Have You Done To Your Tdm Today? (/showthread.php?tid=8583) Pages:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
|
What Have You Done To Your Tdm Today? - jbx - 18-09-2017 Quote: As I said, to keep things simple and reliable.  Cmos are well suited for low-power and frequencies up to 5MHz, they have a nice 3 to 18 Vdd.  With a single 4093 you may get two gated osc at some kHz, each with a well-chosen mark-space ratio to give the right brightness, and add a third osc at 16 Hz to switch both.  Using a µC just to flash leds may be very fashionable but it's also overkill imho. It's like using a raspi to display "hello world" on a tft display. But it's everybody's choice, sometime coding is fun. ![]()  If you plan to use a g-sensor, be careful as they are very noisy. You'll need to implement a Kalmann filter - then you'll need a µC !  Actually to get the moving - non moving info i'd better use the neutral gearbox sensor which does not require any extra electronics / coding and is free from perturbations, or the speed sensor signal to get a more precise speed info.  With a cheap, noisy accelerometer you'll be in need for a regular null speed calibration or you'll get diverging speed figures. :good: What Have You Done To Your Tdm Today? - fixitsan - 19-09-2017 Quote: not wanting to pollute this thread any more than I already have, but i do appreciate your thoughts, input and experience JB  The combined accelerometer/gyro has a built in DMP, it can output clean raw values with very little noise. But i actually want noise, because the noise amplitude is directly proportional to speed. A stationary bike, with engine running has low amplitude noise, as soon as the bike starts moving the noise increases amplitude by almost x10 (real world tests)  I will be using the gyro to detect short turns and quick sideways manouvres, such as when turning around a corner, or pulling out to overtake a vehicle ahead. This was something I had not anticipated doing until i ran the test rig on the bike and noted how sensitive the x-gyro was to x-axis rotation.  No need for Kalmann filttering, because i need noise from the accelerometer I'm bypassing it's own DMP, but then for the values which need to be noise free, 5-pole low pass filtering is working fine.  Because of the accelerometer I am also able to add a flashing rear facing red led which comes on under heavy braking....whicc could also double up as a fog lamp.  I also need button functionality...... a single debounced pushbutton  ---> DRL off ---> DRL on 100% ---> DRL on 50% ---> DRL Auto (dimming for night) ---> DRL Auto (dimming + glimmering effect)  (with non volatile memory to remember the last state when it was powered down). .... with a rider information LED to give feedback about which program is running at the moment (if not already clear)  Automatic dimming is coming from from reading an upwards facing LDR (with a long term integrator so it doesn't pulse driving under streetlights !)  I also want to add 'forced flickering' which would be a short button push, to bring on the glimmering effect for just 20 seconds or so, for filtering. I already have made a unit which does this, but it has a very noticeable glimmer (4 oscillators, 14Hz, 15Hz,16Hz and 17Hz running together produce a briliiant interference pattern).....just recently I tried it when filtering and although the test was not scientific I got the feeling that cars further in the distance were aware of my presence sooner than if i did not have it on. (judged by the number of people driving in the middle of two lanes who moved back to their own lane, to let the biker through in the middle !) That would just be a short button push, and run for 15 or 20 seconds.  I have to add that the what i'm testing is even less obvious than the Bikevis Podmod unit, and when you look directly at the LED you see just a bit of pulsing, but looked at from a distance, in your peripheral vision the effect definitely makes vehicle stand out to anyone glancing in their mirror  This is the Bikevis Podmod working, not great because the frame rate of the camera is too slow and makes them to appear to flicker more than they do in reality... https://www.youtube.com/watch?v=3Jnv8gSBxxk  I've also found that when running the PWM on the DRLs in a complementary way (left on = right off, and vice versa) there is a better effect because you see movement in the peripheral vision. What Have You Done To Your Tdm Today? - jbx - 20-09-2017 Great project, very interesting stuff ! Agree, too complex to use only cmos, better choice with µC.  Btw I use loop delay to read buttons without rebound on AVR - reading occurs every 100ms, enough to get a correct reading. This also allow to distinguish between short / long keypresses. Not using interrupts anymore for that purpose, better use them for non-human events.  Any chance to get pics and other info on your project ? What Have You Done To Your Tdm Today? - fixitsan - 20-09-2017 Quote:Great project, very interesting stuff !  It's just for fun JBX, basic details so far... Accelerometer unit -MPU6050 (cheap Chinese PCB mounted.) The micro, for development is a PIC18F25k22, i use an LCD there to give me raw data values for evaluation), final project will be implemented on a pic 16F1824 (14 pins), which has 4 PWM outputs, I2C for the MPU6050, and the LED's will be low side switched by _any_generic_NPN_transistor_ of a suitable power rating.  I program a mixture of assembly language for time critical functions and interrupts, nested within PicBasicPro. I use Basic for structural outlines and because it already has I2C control instructions built in , so no need for 'bit banging' any more, thankfully ! I used to use C for structure but just because i got a free PicBasicPro compiler I use that mostly instead. (If you can use C then it's great for Microchip piuc micro's, they have vast libraries, all in C, free to download)  So far I've run a test rig with LCD display on the tank to check all 6 axis outputs from the MPU6050. I was really surprised by the x-gyro, it can be used as a trigger to detect the rolling over of the bike when changing direction quickly. The x- accelerometer gives a good steady linear accel/decel output.. Not much money for such a lot of motion detection.  Then i transferred the code to an 8 pin micro 12F1840 to see if I could modulate the PWM outputs to show that when braking hard the DRL's could (as an example) be flickered more obviously, to give the vehicle you're about to crash into a heads up ! (bad taste joke....), or just as easily warn a pedestrian who stepped onto the road, when you see them before they see you.....(maybe a loud exhaust is enough here though !)  So now the 16F1824's arrived this morning, I'm too tired to to do something with it tonight but I hope to connect it all together in the next week or two. What Have You Done To Your Tdm Today? - zardoz - 20-09-2017 I recognise most of the words, it's just when 2 or more are co-joined that I start getting confused. What Have You Done To Your Tdm Today? - fixitsan - 21-09-2017 Quote:I recognise most of the words, it's just when 2 or more are co-joined that I start getting confused. Sorry normal service will now be resumed
What Have You Done To Your Tdm Today? - bjorge - 21-09-2017 Quote:I recognise most of the words, it's just when 2 or more are co-joined that I start getting confused. Having a background from electronics, working with programming, I get most of the abbreviations, only have a problem with understanding what "JBX" is..... ![]() What Have You Done To Your Tdm Today? - fixitsan - 22-09-2017 Rode to Hull to visit family aand that brings the mileage to 98880.... looks like I'm in with a chance of crossing the 100000 mile barrier this year. Goes without saying the bike was great, bit thirsty at speed in the wet and windy conditions, but the Pilot Road 3's were excellent in the wet What Have You Done To Your Tdm Today? - fixitsan - 24-09-2017 Quote:Rode to Hull to visit family aand that brings the mileage to 98880.... looks like I'm in with a chance of crossing the 100000 mile barrier this year. And on the return journey I rode the A68 all the way back, from just above Darlington to Edinburgh. On some steep climbs under hard acceleration the oil light flicked on  But when I set off the oil tank was full. I suspect there's some tolerance, or maybe the oil feed pump isn't as capable of pumping as the scavenge pump is......I'll add a drop or two today, it's been a while since I added any !What Have You Done To Your Tdm Today? - wicklamulla - 24-09-2017 Quote: be interesting to see what the current oil level is fixitsan and how much you end up adding? What Have You Done To Your Tdm Today? - alanfavell - 24-09-2017 Yesterday - I had a ride around the county in the sunshine instead of watching MotoGP practice - took the camera, but took no pics, I was enjoying the ride too much. What Have You Done To Your Tdm Today? - ChrisG - 24-09-2017 SORNed it ![]()  MoT expires tomorrow and not had a chance to get a new one for the last few weeks. What Have You Done To Your Tdm Today? - fixitsan - 24-09-2017 Quote:  Soooo.  I pulled the dipstick out just now and the oil is forming a diagonal line on the dipstick at the high mark (as you would expect considering the angle that the dipstick enters the tank). Out of curiosity I wiped the dispstick (as you always should) and the oil level line is now below the low mark. Schoolboy error.  Looking at the dispstick before wiping it the amount of oil on the dispstick isn't just a thin film but is consistent with having been submerged in oil...... I suspect the dipstick traps oil in the fill tube when the engine stops.  It took about 900ml to get the level good again which considering the neglect of not changing it for 4500 miles (I was too focussed on the mk2 i guess) and considering it has undergone a lot of reflashed ECU 'testing' I don't object to at all. Filter and oil on order.  Looking at the exhaust outlets after nearly 600 miles the deposits are light to mid grey. It proves the Samios remap isn't just dumping loads of fuel for the hell of it. Fuel consumption between Hull and Corbridge was 14L for 151 miles, 49mpg, including some fast A1/ motorway, lots of hills, 100kg of me and a big top box. Happy enough with that ![]()  Still impressed with the Michelin PR3, there's no chicken strip but i feel I lack speed in corners half way through, maybe the suspension is too high, or maybe I'm just too slow anyway !   There's a good looking 2005 9er on ebay for £1395, with supposedly high mileage at 63000  hahahaha ......I mean, really ? If I were looking for another 900 i wouldn't hesitate or be put off with the mileage. (do the rear shock linkage, fit nice exhausts, maybe rebuild the rear shock, and enjoy !)  http://www.ebay.co.uk/itm/Yamaha-TDM900-Motorcycle-/182711272817?hash=item2a8a70c571:g:sU8AAOSwJLJZgbZv What Have You Done To Your Tdm Today? - jbx - 25-09-2017 The best mileage is 80085...  Took the beast for a ride with the camera :   [media]https://www.youtube.com/watch?v=T1oeXrRYf90[/media] What Have You Done To Your Tdm Today? - Kelpie - 26-09-2017 Rode it from Harlow to Rutland and back to see my mammy on Sunday. In spite of all my training, nearly got taken out by a p$*&k on a R1 taking the "racing line" doing at at least 100 mph. I managed to avoid colliding with his head, by just inches. When will they ever learn. What Have You Done To Your Tdm Today? - alanfavell - 26-09-2017 Quote:The best mileage is 80085... ![]() What Have You Done To Your Tdm Today? - drewpy - 26-09-2017 just ordered a new RR from electrex world, the old one startyed playing silly buggers and only charges @13v now  £65 for a mosfett one, they gone down in price What Have You Done To Your Tdm Today? - fixitsan - 26-09-2017 Quote:The best mileage is 80085... True enough ! What Have You Done To Your Tdm Today? - drewpy - 29-09-2017 fitted my mosfet RR on, and its great, stable voltage across all rev ranges and loads. What Have You Done To Your Tdm Today? - peter-may - 29-09-2017 Quote:True enough ! Ahhh.....just got it!! Derrrr |