Hi everyone! :o)
I am new to the Arduino world but I am very excited to learn and to get started. I am scouring the internet to learn as much as possible and will eventually figure everything out, but I thought I would start a thread to get some (or a lot:) of guidance since my profession (Flatbed Truck Driver) doesn't allow me much project time. I will TRY to keep this short but still give a full description of my project and what my goals are, however, I tend to be pretty long winded since I am active in other forums, where I tend to be the one giving advice and helping others out, I prefer a full and detailed description so I can better assess and address the situation. Thank you in advance for taking the time to read through this whole thing and helping me out. Future posts will be more concise and to the point.
I am starting a project build thread on another forum so I will use the put up that introduction here so you can get a good idea of what I am doing and my goals for the Adruino part of the project.
THE PROJECT: I am building a homemade electric go kart for my kids. The theme is a miniature "Hot Rod" powered by a 500w 24vdc motor and controller from a Razor Dunebuggy. I am going to put a fake engine in the front to make it look and sound more realistic. This is where the Arduino comes in.
The engine will have a fake GM style supercharger on it with a butterfly to open in relation to the pedal (fly by wire), open headers that I am going to put 1 or 2 LED's in per exhaust pipe to simulate expelled gases like a dragster, a belt pully to spin, 2 small DC motors with off-center mass weights to simulate engine vibration (maybe from an old PS3 controller?), and loud, crisp and realistic dragster type of engine sounds-all of which will vary with the input from the 5v potentiometer accelerator.
I will have a switch to turn on the power, a button to initiate a starter sound and then loop into an "idle" program, which will run an 8 LED array (or 16, 2 colors per exhaust pipe lit very closely together-example: orange and yellow-to better simulate spent exhaust gases) at a lower brightness, spin a stepper motor to spin the pulley belt, pulse power to the vibrator motors, iniate the servo to be ready to control the butterfly and produce a realistic ilde sound to the speaker. I plan on running the LED's in a loop sequence where the time between each light being lit is the same but a longer delay before starting the sequence again, but the delay between the the LED's within the sequence and the delay between the end of the sequence and the beginning to both get shorterAND the brightness of the LED's to get brighter in relation to the voltage increasing of the potentiometer of the accelerator, as well as the engine sounds to increase in pitch and volume.
I am thinking there will be two main modes: an "idle" mode and a "drive" mode. I will run the +5v signal wire of the accelerator potentiometer to a button that will be toggled on/off with a "gear shifter." With buttton "on" will be "neutral" mode and the signal will not reach the motor controller, with button "off" will be "drive" mode and the signal will go to both the Arduino and motor controller. I may need a driver to produce full and accurate +5v signals to both devices.
"Idle" and "drive" modes: In "idle" mode the engine will be more able to "rev up" quickly and able to produce quick idle "blurps". In "drive" mode I want to limit the "acceleration" speed to better correspond to vehicle speed, and for a bonus challenge (as if this project isn't challenging and complicated enough!), I may even throw in a shift sound or two as vehicle speed increases. After each shift the engine rpm sound would drop back down to 25% above idle and increase anain to top speed or another transmission shift sound. Two transmission shifts will be the max. Besides, top speed will likely never excede 10 mph, how many shifts would it take? :0) I'm thinking that I may have to utilize a small encoder wheel and hall effect sensor to guage speed from the axle rotation to control the environment of "drive" mode.
I think that about covers the goals of this portion of the project. I am not breaking it down into smaller parts so as to not feel so overwhelmed... and keep a bit of my sanity. :o)
So this is my current shopping list:
-Arduino Mega2560 R3 with A-B cable
-SainSmart L293D Motor Drive Shield For Arduino Duemilanove Mega
-Hobby servo and servo module-For throttle linkage/butterfly
- Audio IC Development Tools Adafruit Audio FX Sound Board - WAV/OGG Trigger with 16MB Flash-To handle the audio
-Stepper motor and Stepper drive module
-Hall effect sensor/reed switch (I think I will have to get a magnetic hall effect sensor because it says this measures the magnetic field. I need one that has a magnet in it and pulls to a metal as it goes past. I don't want to add magnets to the tips of the wheel attached to the axle) Oh well, it come with a kit I am getting.
- Keyestudio Xbee Sensor Shield V5 with RS485 BLUEBEE Interface for Arduino-To be able to activate a remote "kill switch" from my phone.
-(2) ZJchao 9V 1A Power Adapter for Arduino (2-Flat-Pin Plug / 100CM Cable)-To power the Mega and driver shield or breadboard while prototyping
-Big set of 3mm LED's of various colors
-Pack of jumper wires-For prototyping
-Dupont wites, breadboards, header pins, buttons... and asprin ;0)
I think that should get me started pretty well. I hope I have made the right choices. I am going to try to get some help/feedback from the Arduino community.
More on next comment.....