I've searched the web but could not find a straightforward answer to my query.
I am building a control board for one of my models and this time have decided to also include a computer interface, so I have incorporated an Arduino Uno into my project instead of just analog circuits. I'm not an electronics expert of any sort but I manage by applying basic logic and a lot of trial and error.
Anyway, I have a single Arduino. It is operating the following:
An LCD display, a 4 button operation panel I made using an LS148 ic, an L293 operating 2 small motors, a servo, a dark sensor, a temperature sensor, and it also does serial communication.
Everything is working great, but slow (or so it appears to me).
If i push a button it takes the board about a second to pick up on the signal while an external LED indicator shows the circuit using the LS148 is working as it should. (I basically chained the 1-4 inputs and checking the truth table on the board to determine which button was pressed). Or pick up on a signal sent from the dark sensor for example. It appears as if the whole code in the Arduino runs at a cycle of once per second. Also sending instructions from the computer.
When I disable the LCD code everything works fast(er) and so goes when I remove other parts. So my question is, have I overloaded it?
I am on the verge of ordering another board (which I am going to do anyway), but in this case it is purely due to my belief that if I connect the LCD with the whole display code onto one board and the rest of the sensors and chips to another it will solve my problem.
I haven't figured out yet if it's possible to link the two boards or how to do that, but once I'll get to that bridge I'll cross it as well.
Thanks for your advice.