Need a lot of help with sons science fair project... wireless robotic hand

Well, I am new to all of this. I can code a little, but it has been a while, and I am ok following schematics. Anyways, trying to help my son with a science fair project. He had the idea of a head tracking device, like they use in the rc world, coupled with a wireless tx/rx that controls two servos in a hand - left right, up down - moving to your head movements.

A friend of ours is into rc hobby and suggested checking out one of the rc boards. We did, and bought the arduino and sensor for the head tracker. Very simple, and the code was also, simple. That part we have running.

The second part involved purchasing a promini tied to a cc2500 rx/tx. We assembled that as per the schematic on the board, however the code, the author only has in hex, and we are getting so many compiling errors, it is not even funny. We are using a usbasp S51 & AVR programmer (10 pin) and finally found out for arduino IDE to push the code you have to wire it not to the header pins but, MOSI, MISO, SCK,RST etc. AND push the reset button while compiling. So basically I have a couple of questions, and I am HOPING someone can help and greatly simplify this whole thing. We (shared the cost) bought a few of each board and transmitter for spares, but this whole thing has gone south and trying to salvage it...

First, is there a better programmer for the promini atmega328?

Second, is there an easier way to accomplish this wireless and simple to understand code? Basically looking for a simple transceiver that will take the PPW signal from the head tracker, and wireless transmit to the hand that contains a receiver, and two servos, that converts the PPW wireless signal to the up/down - left/right motion.

Any help greatly appreciated. THANKS!!!

This reminds me of a phone call I got years ago, late one evening, from one of my nephews who was then in his 2nd last year of high school: "Jim, you need to help my Dad with my maths homework, hang on here he is...." :slight_smile:

Hahahaha, yea, I have been there many times. I hope this is the right forum to ask these questions in. I hope someone can assist. Thanks.

Pityocamptes:
First, is there a better programmer for the promini atmega328?

Most people use an FTDI breakout to program their Pro Mini because it will allow you to do serial communication with the Arduino via the virtual serial port for debugging, etc. In your case since the cc2500 is connected via serial the USBasp is probably the best option and saves you the flash space the bootloader would use. I don’t understand why you would need to manually press reset to make it work, I’ve never heard of that with the USBasp, it should do the reset automatically.

Pityocamptes:
however the code, the author only has in hex, and we are getting so many compiling errors, it is not even funny.

If it’s a hex file then it’s already compiled so I don’t know how you’d be getting compiling errors from it.

Pityocamptes:
Second, is there an easier way to accomplish this wireless and simple to understand code?

I’d drop the wireless part of the project, that will make it more simple and you can always do it later. Just control the hand directly from the Arduino that has the head tracker.

Bump...

Does anyone have a schematic?? The project has to be wireless FIRST, as that is the premice of the fair. HELP really needed. Thanks.

I would just use a wireless serial link made of 2ea. HC-05 modules. See Phillipe Cantin: HC-05 Bluetooth link with zero code

jbike:
I would just use a wireless serial link made of 2ea. HC-05 modules. See Phillipe Cantin: HC-05 Bluetooth link with zero code

Thanks. But how would I get the head tracker to actuate the servos? Don’t I need code for that?

Servo Magazine Aug 2015 has a nice article on Wooden hand can teach you Servo Control MECHATRONICS.PAGE 27-35. Good luck