News:

C5alive meets Chris Barrie
http://c5alive.co.uk/forum/index.php?topic=417.0


Author Topic: ULA replacement modules for sale  (Read 9895 times)

0 Members and 1 Guest are viewing this topic.

Phil

  • Guest
ULA replacement modules for sale
« on: 18, January, 2011 - 18:15:11 »
Hello folks!

As announced, I'm now going to sell some ULA replacement modules.

I'm sorry to let you wait this long - but I used the time to drive the C5 and made some last minute improvements on the firmware.

There are two recent mentionable changes:
  • I noted that sometimes the reed sensor switches tend to keybouncing which results in false speed values.
    To resolve this problem with less complexity, I just defined a "maximum reliable speed" of 70km/h. I don't expect you will ever gain this speed (as long you're not driving the jet powered Sinclair C5).
  • I thought I would be very annoying if you lose the magnet that triggers the reed switch because then the motor wouldn't be available any longer if the pedelec mode is active. So I added the option to add more than just one magnet - in case you lose one, speed value or pedal rpm value will be incorrect but motor support is still available.

There are some more recent changes - i.e. I reduced flickering of the current indication LEDs.
Although I'm still not 100% satisfied with the firmware and probably never ever will be, I think it's now time to sell the thing.

I made 12 modules. One is for my own C5, one for further software development and one already sold. So there are 9 modules left which I'm now going to sell here.

REPLACEMENT MODULE
The price for a replacement module will be 40 EUR (£ 34.00) +5 EUR for shipping within the EU.
This is what you will get:

  • the replacement module assembled, programmed and configured with your desired settings
  • a 47k resistor for installation in the control box
  • a crimp connector for the pedelec sensor interface
  • a 5V regulator

What is the regulator for? -> During development the 5V regulator in my POD broke. I don't know if this is due to the replacement module or another reason. However, I replaced my old regulator with this stronger type and in case your regulator will also break, you then will have a replacement.

Is there anything more I need which is not included?
Yes, if you like to operate the C5 in pedelec mode you will need bicycle tacho sensors for the pedal cog and for one wheel.


RS232 CONVERTER KIT (for connection with a PC)
If you like to develop own firmware for the replacement module and upload it via the bootloader or if you want to edit configuration settings (i.e. to activate or to deactivate the pedelec mode) you will need a voltage converter to connect the replacement module with a computer.
This is what you get:

  • a voltage converter module (some of the kits are already assembled as shown in the picture, some are not)
  • a cable to connect with the replacement module
The price for one converter set will be 5 EUR (circa £ 4.20).


How to buy?
You can contact me


I need to know:
  • the number of replacement modules you want
  • the number of RS232 kits you want
  • the shipping address

Please also tell me for each replacement module:
  • Whether you want the replacement module operating in pedelec mode or not.
  • The wheel circumference where you will attach the tacho reed sensor.
  • The minimum speed required to enable the motor. This value applies only if the pedelec mode is active.
  • The maximum speed where the motor is enabled while the driver is pedalling. This value applies only if the pedelec mode is active.
  • The fan activation temperature (default = 45°C).
  • The number of magnets for the tacho reed sensor.
  • The number of magnets for the pedal reed sensor.
With a RS232 converter you are able to connect the replacement module with a PC and edit
this setting by yourself. But as a service I will pre-program the module prior shipping with your desired settings.

PAYMENT
Payment can be done via paypal or giro transfer. You'll get detailed information via e-mail.

INSTALLATION
All required information can be found on the ULA replacement project page.


Greetings!

- Phil


PS: I guess I'm just not a communication guy. In general I replay private mails only at the weekend because on weekdays I usually come home late from work and then I'm not in the mood for yet more e-mail. So please be patient with me ;)

Offline vanpeebles

  • Full Member
  • **
  • Posts: 167
  • Battery level: 1
Re: ULA replacement modules for sale
« Reply #1 on: 18, January, 2011 - 20:28:11 »
Can I take a chip and the pc connector please? Set up for a standard C5.

Offline gowrings c5

  • Newbie
  • Posts: 16
  • Battery level: 0
Re: ULA replacement modules for sale
« Reply #2 on: 19, January, 2011 - 21:24:44 »
please reserve one for me with the module thingy. will advise settings in another email later if thats ok. thanks.

Offline PLOD11

  • Millennium Member
  • *****
  • Posts: 1010
  • Battery level: 11
  • Trust No one !
Re: ULA replacement modules for sale
« Reply #3 on: 20, January, 2011 - 18:20:15 »
Hi have sent e mail re this.

Thanks

John

Phil

  • Guest
Re: ULA replacement modules for sale
« Reply #4 on: 20, January, 2011 - 20:36:12 »
So far we have:
- 1x for vanpebbles + 1x connector
- 1x for PLOD11 + 1x connector
- 2x for Chas + 1x connector
- 1x for growings c5 + 1x connector
- 1x for mikedx
- and two other people who showed interest but didn't respond since then.

John, Vanpeebles and Mike, I've send you an email.

Thanks

Phil
« Last Edit: 21, January, 2011 - 17:32:09 by Phil »

Phil

  • Guest
Re: ULA replacement modules for sale
« Reply #5 on: 21, January, 2011 - 19:16:40 »
I think I have to clarify this pedelec mode the ULA replacement module offers.
This is going to be a long story but please read this if you want a replacement module for your C5!

A Pedelec bike is a bicycle with electric motor support and follows three rules:
- motor power max 250W
- motor support only available while pedaling
- motor switches off when driving faster than 25 km/h

On the other hand, the compensation for these constraints is, that you can drive the vehicle within the entire EU totally street legal and without further insurance, accreditation or the like.

The ULA replacement modules offers two modes
- pedelec mode active
and
- pedelec mode inactive

If set to "inactive" everything is in the same manner as hithero: push the button and just go. Nothing more to tell about that.

But when the pedelec mode is active, this is how it's going:

Here is our C5. It is standing stopped on the road, in this example on a uphill street.


Let's also assume the configuration settings are as following:


In this situation the motor isn't available.
Why?
1. The driver isn't pedaling.
2. We configured a minimum speed of 6.0 km/h to enable the motor. This prevents to accelerate with motor power only since this would cause an extreme motor current and discharge the battery very fast.
But of course, you are free to set the minimum required speed to 0 km/h. The only thing to start the motor would then be to pedal.

However, let's proceed. Let's turn around the vehicle and start to roll downhill:


In this example, you soon gain a speed of 16 km/h just by rolling downhill.
But the motor is still not available.
Why?  ???
Because you are not pedaling.

So it's time for some sport activities. Start pedaling:


Moderate pedaling increases the speed to 18 km/h and now the motor is available!

Turn on the motor!


Yeah! Together with the motor you gain an incredible speed of 22 km/h and you feel like a jet pilot on a low-level flight!  ;D

This makes you so crazy - you're going totally mad and give everything you have, accelerating up to insane 30 km/h!!  :o


You're so mad you even don't notice that the motor went off because you exceeded the configured maximum speed of 25.0 km/h.  ;)


So much about that.
Now, how does the replacement module know how fast you are driving or pedaling?

You need to add reed-switches to connect with the replacement module and magnets to trigger these switches.
Here is an example for the speed sensor:


If you are driving, this will happen:


What the replacement module notices is:
Oh! The switch was pressed! AGAIN!
Let's see: it's been 500ms since this happend the last time. I know from the configuration settings that the wheel circumference is 1.28m. So you could say the current speed is 1.28m/0.5ms = 2.56 m/s. One hour has 3600 seconds. So the speed is 2.56 m/s * 3600 = 9216 m/h. Now I divide by 1000 to get 9.216 km/h TA-DA!


Also add a reed switch to get the pedal revolutions to enable the replacement module to see if you are pedaling or not. It doesn't matter how fast you are pedaling. You can do this completely whishy-washy as long you are pedaling anyway.


Now, what would happen, if you lose the magnet on the image above or the pedal switch magnet?
You wouldn't be able to activate the motor because the replacement module either thinks the C5 is stopped or you are not pedaling.
Solution: add more magnets! (and enter the number of magnets in the configuration settings)

Scenario #1:
There are 4 magnets for the speed sensor. The replacement module calculates the speed as described above and then divides the value by 4.
Now you lose one magnet. Constant actual speed given, less switch pulses are generated as before but the calculated speed value is still divided by 4 causing a false speed value lower than the actual speed. But as a matter of principle the motor is still available.

Scenario #2:
There are 2 magnets for the pedal sensor and you lose one of them. The replacement module then calculates a wrong pedal rpm value. But since this value doesn't matter anyway (because it's only relevant whether you are pedaling or not) this has not further impact.



I hope this answered some questions and that it wasn't too long/complex/boring/whatever.


Best regards

-Phil

Offline Retro Andy

  • Global Moderator
  • Millennium Member
  • *****
  • Posts: 2097
  • Battery level: 12
Re: ULA replacement modules for sale
« Reply #6 on: 21, January, 2011 - 19:26:17 »
Certainly long and complex, but not boring. Really great stuff   :)

Retro Andy.

Offline gowrings c5

  • Newbie
  • Posts: 16
  • Battery level: 0
Re: ULA replacement modules for sale
« Reply #7 on: 22, January, 2011 - 08:36:47 »
phil thats a really cool explanation. (wish i could do that stuff). i wasnt aware that pedalec mode means you have to constantly pedal.  is it possible to put the pedal sensor on the back wheel too? that way you just pedal before the motor kicks in, thus allowing you to stop peddling once moving. that stops gearbox stress from standing starts. david.

Offline radiomarty

  • Administrator
  • Millennium Member
  • *****
  • Posts: 2641
  • Battery level: 100
Re: ULA replacement modules for sale
« Reply #8 on: 22, January, 2011 - 12:50:06 »
This is really good stuff chaps and makes the future of c5's long and bright - well done.  :)

Phil

  • Guest
Re: ULA replacement modules for sale
« Reply #9 on: 22, January, 2011 - 20:24:04 »
is it possible to put the pedal sensor on the back wheel too? that way you just pedal before the motor kicks in, thus allowing you to stop peddling once moving.

David,
yes, although this wouldn't be a "legal definition" of a pedelec mode, to prevent the motor or gearbox from taking stress damage this would work.

And another note concerning the pedelec mode: there is a timeout of 2 seconds for the pedal sensor. This means with one magnet you have 2 seconds for one pedal revolution, with 2 magnets you have 2 seconds for a half revolution, 3 magnets => 2s for 1/3 revolution, and so on...
What I'm about to say is, that with the pedelec mode you indeed have to constantly pedal. But you can do this comfortable and very slowly without any effort.
The timeout also allows a short pedaling pause to switch to another gear, if you build a gearshift into the C5.

-Phil

Phil

  • Guest
Re: ULA replacement modules for sale
« Reply #10 on: 29, January, 2011 - 15:00:15 »
Update: now 2 Modules left for sale.

-Phil

Offline C5 ENTHUSIAST + RESTORER

  • Millennium Member
  • *****
  • Posts: 1877
  • Battery level: 8
Re: ULA replacement modules for sale
« Reply #11 on: 04, February, 2011 - 17:21:25 »
Hi there Phil how do I pay you for the two ....Bye Chas

Offline gowrings c5

  • Newbie
  • Posts: 16
  • Battery level: 0
Re: ULA replacement modules for sale
« Reply #12 on: 05, February, 2011 - 19:48:10 »
i received mine today (thanks phil). it all looks highly well produced and designed and also came with some additional back up components (thats a sure sign of a quality piece of electronics). im in no rush to fit mine but im sure others will be fitting pretty soon. thanks again to phil.  ;)

Phil

  • Guest
Re: ULA replacement modules for sale
« Reply #13 on: 05, February, 2011 - 21:55:37 »
Chas, I just send you an email with payment details.

@all: Since the module for gowrings c5 went to the post office on 27th Jan, the delivery to England seems to take much longer than I expected.
Maybe the package triggered a bomb alert at the customs office due to the cables and electronic stuff inside...  ;D

Btw: each package contains some extra parts:
- 2x 47k resistor (you need one for the control box modification)
- 5V voltage regulator (spare part)
- LM358 op-amp (spare part)
- IC socket for op-amp (since the op-amp often get broken this allows faster replacement)
- 4-pin crimp plug (to connect reed switches with module)
- a PC connector (if ordered)

Greetings
-Phil

Offline C5 ENTHUSIAST + RESTORER

  • Millennium Member
  • *****
  • Posts: 1877
  • Battery level: 8
Re: ULA replacement modules for sale
« Reply #14 on: 06, February, 2011 - 18:33:45 »
Hi there Phil just sent you the payment thanks Chas