I apologize for the long post but bear with me please.
First off, I am new to Arduino but I did pick up one of the beginners sets and going through all the projects just to get a better understanding of how everything works before I start my project. I am not new to programming though I haven’t really used it in a while but I did know python and C++ pretty well. I will just have to shake off the cobwebs there.
The plan is to control a few accessories that I am adding to my Jeep and having it be a little smarter than just a bunch of regular switches, hence I decided to go with an Arduino. I guess just having switches and a few relays seemed too easy. Ha!
For the heavy lifting, I already have a fuse box that holds 10 fused circuits and 5 relays. I will need the Arduino to trigger those relays though which I don’t think will be a problem. Only three of the relays will be used for the time being and the other two will Aux 1 and Aux 2, in case I decide to add more things.
I will be adding a set of rear fog lights when bad weather hits (i.e. blizzard conditions) since jeep decided not include it as an option on the 2014s but they were available on the previous years. So I will just retrofit those. Since the bulbs have the two modes, dim and bright, I will have the dim setting come on with all of the regular lights and have them switch to the bright setting either when I turn on the rear fogs or have them turn on with the front fog lights. This is where the Arduino comes in and giving me the options of how I want those lights to behave.
I am also adding an LED light bar up front that will basically be either on or off without any real logic built into with the Arduino. This will be useful on some back roads that have little to no light. This part will be easy enough to do, so I am not worried about this one.
Currently, I have an Arduino UNO, Seeed Studio CAN-BUS Shield and a 4D Systems 3.2 inch touchscreen LCD. The plan is to use CAN-BUS data as opposed to tapping into various wiring for signals to figure out when various lights are on. Is an UNO enough to run a CAN-BUS shield, a touch-screen LCD and trigger five relays?
Since I will already be pulling data from the CAN-BUS, I also want to add the ability to pull and erase OBD2 codes if they come up. I am just worried that I won’t have enough memory on the UNO to upload such a big sketch and starting to lean towards using a Mega; having four native serial ports is a good bonus too.
I will probably be sending some data over the CAN-BUS as well since Jeep decided not to save last state for some things like ECO mode. So I would like to send the command to turn it off after the car starts but I don’t think that will be a big issue after the other CAN-BUS stuff is figured out. Once I get the prototype out of the way, I will have a custom PCB made for the sake of packaging and durability. I will also include a proper DC-DC power supply on the PCB.
So what are everyone’s thoughts? Am I crazy in my undertaking as a first Arduino project? Is an UNO enough for my project or do I need to step up to a Mega or a Due? I don’t plan on getting this done overnight but it is an ongoing project to work on during my free time.
Thanks for reading my wall of text!
Roman