Electrical System Generator The rear bicycle wheel is directly connected to a friction wheel attached to the shaft of the generator. This generator uses the power produced by the bike to go into the beginning of the system as shown in Figure 3. This power is split using Pulse Width Modulation so the generated power is always going somewhere where it is needed, whether that is to charge the battery, to directly power the motor, or somewhere in between. Arduino (PWM Switching) The Arduino Uno is a microcontroller board based on the ATmega328, which is a 8-bit microcontroller. It has 14 digital input/output pins (of which 6 can be used as Pulse Width Modulation [PWM] outputs), 6 analog inputs, a 16-MHz ceramic resonator, a USB connection, a power jack, an ICSP header, and a reset button. A picture of the Arduino Uno can be found in Appendix V. The Arduino Uno can be programmed with the Arduino software having a similar language to C++. The Arduino was chosen simply because of ease of use and meeting specification needs. Speed Relay Shield (PWM Switching) The Relay Shield provides a solution for controlling high-current devices that cannot be controlled by the pins due to their current and Arduino’s Digital I/O voltage limits. The Relay Shield features four high quality relays, only two are used in this system, and provides NO/NC interfaces, four dynamic LED indicators to show the on/off state of each relay, and the standardized shield from factors to provide a smooth connection to the Arduino board or other Arduino compatible boards. This shield attaches to the Arduino that controls them. The relays are
Electrical System Generator The rear bicycle wheel is directly connected to a friction wheel attached to the shaft of the generator. This generator uses the power produced by the bike to go into the beginning of the system as shown in Figure 3. This power is split using Pulse Width Modulation so the generated power is always going somewhere where it is needed, whether that is to charge the battery, to directly power the motor, or somewhere in between. Arduino (PWM Switching) The Arduino Uno is a microcontroller board based on the ATmega328, which is a 8-bit microcontroller. It has 14 digital input/output pins (of which 6 can be used as Pulse Width Modulation [PWM] outputs), 6 analog inputs, a 16-MHz ceramic resonator, a USB connection, a power jack, an ICSP header, and a reset button. A picture of the Arduino Uno can be found in Appendix V. The Arduino Uno can be programmed with the Arduino software having a similar language to C++. The Arduino was chosen simply because of ease of use and meeting specification needs. Speed Relay Shield (PWM Switching) The Relay Shield provides a solution for controlling high-current devices that cannot be controlled by the Arduino’s Digital I/O pins due to their current and voltage limits. The Relay Shield features four high quality relays, only two are used in this system, and provides NO/NC interfaces, four dynamic LED indicators to show the on/off state of each relay, and the standardized shield from factors to provide a smooth connection to the Arduino board or other Arduino compatible boards. This shield attaches to the Arduino that controls them. The relays are