Hey
I've been trying to write a certain program for a project for a long time now and I can't. I'd love for you to help me
The general idea of the project is a device that should show where the other person is
To do this I use servo motors, xbee components
and 2 Arduino mega controllers
The program will do the following:
On engine 1 will be the xbee
He will perform a test at three different angles 160,90,45
In each of the angles it will check the strongest transmission power
Where the strongest power is there he will direct the second servo
In addition, on the keyboard, according to the clicks, it will send serials through the xbee
Pressing 2 will send a south string
Pressing 8 will send a north string
Pressing 6 will send a west string
Pressing 4 will send a string east
Pressing 5 will send a danger string
What are you looking for:
connections :
xbee > serial2
lcd i2c > arduino (scl, sda)
The program will perform the following action:
Constantly transmit some string to the xbee component so that the other component finds it
the strings it receives (sent through the second controller)
Print on the screen.
Keep it simple and stupid firstly.
Follow the example code that comes with the library or
run some tutorials for the hardware selected.
If you are happy with the results of the tutorials you can merge these to your project.