O
O
oc1tane2017-04-12 21:18:30
Arduino
oc1tane, 2017-04-12 21:18:30

How to save arduino memory?

Task: control the air conditioner using arduino. Unfortunately, the air conditioner is still familiar with mammoths, so the IRRemote library does not know how to work with the protocol from the remote control, I had to cling to the RAW code.
Everything seems to work, but in this way I can only use 2 of the 8 commands to transmit, because there is not enough memory in the arduino.
How can I save memory and what are the solutions if, for example, I need a lot of commands to control different equipment?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
E
Eugene, 2017-04-13
@GoldGoblin

You can read commands from eeprom and from external. But it's better to optimize the program, because 2 commands for all the memory is too fat.

E
evgeniy_lm, 2017-04-13
@evgeniy_lm

What is RAW code. ?
As I understand it, you somehow recorded how the remote control LED blinks. Did it ever occur to you to throw it all into a computer, analyze and compress it every 20 times?

V
vanyamba-electronics, 2017-05-01
@vanyamba-electronics

No way. Either use something more powerful, like Arduino DUE , or even Raspberry Pi .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question