Warren said:Martin,
Your BB drive, MTB is spot on. Now tell us about the Manta!
http://www.youtube.com/watch?v=4H_6brrNGEM&list=UUP8AAVgO5574WFNGvfHVkzg&index=10&feature=plcp
Warren
mauimart said:Just rigged-up a prototype rpm bar graph that may find its way on the bike. I will replace the Arduino with LM2907 (frequency to voltage converter) once it arrives. This will make those rapid gear changes more dramatic.
[youtube]B6vtIfTjB_s[/youtube]
pff7 said:Can't find the 80-100 motor outrunner on HK, do they not have it anymore? and if not what would be equevalent?
Awesome video, being in fast motion was hard to tell how fast you were going though......and did you do the whole 2 hours without a recharge? I noticed some of those roads not having a shoulder really...but the scenery was very good.
Ive always thought using the existing drive train on the bike seems most efficient and smart.
mauimart said:.....If there was an easy way to effectively get the heat out of this motor (who hasn't heard that before), it would be the perfect e-bike...
Can you share some about that Arduino "CA" and rpm meter? wiring diagrams, code, parts... Saw a lot of interest around here!
h0tr0d said:My 2 cents, 80mm pc fan glued to the rotor, forcing air in....?
h0tr0d said:Can you share some about that Arduino "CA" and rpm meter? wiring diagrams, code, parts... Saw a lot of interest around here!
h0rt0d
I have a number of arduino based e-bike projects going all of which are in an incomplete or buggy state. Once I feel the designs are mature enough, I can post some more details.
pff7 said:On top of page 2, regarding jack shaft gears, is that a piece of L shape aluminum or metal? Looks nice and shiny , was wondering what and how much machining/welding you had to do? Sick bike parts free wheel assembly am assuming. You mentioned rpm's in the order of 6000 max?
mauimart said:Just rigged-up a prototype rpm bar graph that may find its way on the bike. I will replace the Arduino with LM2907 (frequency to voltage converter) once it arrives. This will make those rapid gear changes more dramatic.
[youtube]B6vtIfTjB_s[/youtube]
Byte,Byte said:Have you done this completely by yourself? Or was there a tutorial or something on the internet? Could you please share it?
// E-bike RPM bar graph display using 2 cascaded LM3914N display drivers
volatile byte rpmcount;
unsigned int rpm;
unsigned long timeold;
int pwmPin = 9; // output pin supporting PWM
// int inPin = 3; // voltage connected to analog pin 3, e.g. a potentiometer for testing
int val = 0; // variable to store the read value
float volt = 0; // variable to hold the voltage read
void setup()
{
pinMode(pwmPin, OUTPUT); // sets the pin as output
analogWrite(pwmPin, val);
attachInterrupt(0, rpm_inter, RISING); //interrupt 0 is digital pin 2
rpmcount = 0;
rpm = 0;
timeold = 0;
}
void loop()
{
if (rpmcount >= 21) {
//Update RPM every 21 counts (3 revolutions), increase this for better RPM resolution,
//decrease for faster update
// rpmcount = rpmcount/7; //7 pole pairs on C80100
rpm = (8571/(millis() - timeold))*rpmcount; // 7 pole pairs 60/7=8.571 -> 8.571*1000 = 8571
timeold = millis();
rpmcount = 0;
// Serial.println(rpm,DEC);
val = rpm/30; //4000 rpm = 50% duty cycle = 128
analogWrite(pwmPin, val);
}
if ((millis() - timeold) >= 500) {
analogWrite(pwmPin, 0);
}
}
void rpm_inter()
{
rpmcount++;
}