I thought I had the CA thing figured, Then I found this website.
http://www.chp.ca.gov/html/motors.html
Correct me if I'm wrong but that says all we need is a bicycle helmet and no special licence! I got mine registered and everything already and I've been riding around with a DOT helmet.
Not really complicated: the section in Bold covers gas powered bicycles Section 406(a) and the rest covers Electric bicycles Section 406(b) .
What is a moped or motorized bicycle?
* There are two types of motorized bicycles, defined in the California Vehicle Code (VC) Sections 406(a) and 406(b).
* Section 406(a) VC refers to a moped or motorized bicycle as any two or three wheeled device having fully operative pedals for propulsion by human power, or having no pedals if powered solely by electrical energy, has an automatic transmission, and a motor which produces less than 2 gross brake horespower and is capable of propelling the device at a maximum speed of not more than 30 miles per hour on level ground.
* Section 406(b) VC refers to a motorized bicycle as a device that has fully operative pedals for propulsion by human power and has an electric motor that:
o Has a power output of not more than 1,000 watts;
o Is incapable of propelling the device at a speed of more than 20 miles per hour on level ground; and
o Is incapable of further increasing the speed of the device when human power is used to propel the motorized bicycle faster than 20 miles per hour
If it burns gas you need a DOT approved helmet - if it is electric you need a bicycle helmet.