Hi all,
I'm new to this forum, so I hope I'm doing thing by the book here. Excuse me if I dont 
For a project I need to remote control two servos (one 180 degree and one continous rotation). The Feather 32u4 with RFM69HCW seemed to be good for this application.
To start small, I want to remote control 1 servo with a joystick. I already can control it by wire using a UNO, I'll upload that code here as well. I just walked through the tutorial on the feather and everything there is good. Now I want to make my own code to remote control 1 servo with a joystick, but I just cant get it to work! can someone please guide me in the right direction. I can't find others who have done what I want on the internet, but maybe I'm looking in the wrong places.
I'm not asking anyone to write my whole code, but I just need some guidance. maybe the code is already made by someone, but I can't find it.
Thanks in advance!
code for wired control is included in this post if I did it right.
also posted here: Control servo using Feather 32u4 with RFM69HCW - adafruit industries
servo_met_joystick_2.ino (1.8 KB)
It would be a lot more useful to see the transmitter and receiver code that you tried and that you now need help with. Please give some description of what it does or does not do e.g. are the two ends talking to one another at all? If not that's the first thing to sort out.
Steve
slipstick:
It would be a lot more useful to see the transmitter and receiver code that you tried and that you now need help with. Please give some description of what it does or does not do e.g. are the two ends talking to one another at all? If not that's the first thing to sort out.
Steve
I managed to let the two talk to echother. one transmitter and one receiver. I tried the basic "hello world" tutorial from adafruit: Using the RFM69 Radio | Adafruit Feather 32u4 Radio with RFM69HCW Module | Adafruit Learning System
The two can definetly talk to eachother, but i just can't sort out how to put my servo code in the "pack".
thank you for repliyng!
We generally do these things in small steps testing each step.
You need the program in your transmitter to read the joystick. Have you done that yet?
Then the next thing is to decide exactly how to send the information from the joystick to the receiver in the car. If you don't already know that then Serial Input Basics should give you some ideas.
Then you need to check that the car can receive the information. That same Serial Input Basics will help again.
In all cases if you have problems post your best effort here so we have something to help with.
When you have those parts working post both programs and we can help with sorting out the servo code. For that you will find that map() statements do most of the work for you.
Steve
slipstick:
We generally do these things in small steps testing each step.
You need the program in your transmitter to read the joystick. Have you done that yet?
Then the next thing is to decide exactly how to send the information from the joystick to the receiver in the car. If you don't already know that then Serial Input Basics should give you some ideas.
Then you need to check that the car can receive the information. That same Serial Input Basics will help again.
In all cases if you have problems post your best effort here so we have something to help with.
When you have those parts working post both programs and we can help with sorting out the servo code. For that you will find that map() statements do most of the work for you.
Steve
thank you for the help! i will try to start small, and move from there!