technically, anything is possible
I don’t like your answer
are you suggesting it is not practical?
if you actually want to do an arduino project with digital signal to PWM conversion why don’t you just check out the wii nunchuck and try to modify its receiver signal to output a suitable PWM signal? That would be a real contribution.
You asked if it was possible, i said it is
For real though, you could make a sweet controller if you did that. you could add in an lcd like the new evolve one. maybe add in some additional features. It would be a good project.
Now, if you want something that just works, either get an RC controller, a nyko wii nunchuck and modify it, or get the steeze (i think thats what its called) remote from enertion or some other place online.
I tried exactly that.
There is a phletora of similar remotes available from China.
I ordered a few and connected them to my Arduino and generated a pwm output that could be read by a (V)ESC.
Conclusion: all units I tried suck bigtime. The joysticks basically act as on/of switches, there is no way you can gradually accelerate or gently brake.
They are now at the bottom of my junk drawer.
did you try nunchucks as well? Can you post a link to your code - I want to try it with a nunchuck and could need a sample of how to do the digital to PWM conversion.
The stick does not move a potentiometer? wow that’s disappointing. Thanks though.
They do, but the ouput range was just abysmal.
What you descibe is basically the Wiiceiver. As far as I know that code is open source and available to all.
Yeah i just don’t get why you need special hardware for that. Hook up an Arduino Mini Pro to the Receiver cables of a nunchuck then read the digital values and output a PWM servo signal. Could be done for 5$ with any nunchuck.
Maybe someone tried already and found a problem - but right now it actually sounds too simple to be true.
You are aware that the Wiiceiver is just an Arduino on breadboard, right ?
The chip is the same yes (ATmega328P) - but I thought there is more to it. Why are people paying 40-50$ for this when they could just use a 2$ arduino?
Also what does “due to the lack of good wireless nunchucks available” mean on Austin David’s site? Don’t all nunchuks use the same I2C protocol? has anyone ever tried to see what the differences in the output signal are to a kama?
It’s as simple as that. Look at his code, it’s not complicated if you’re familiar with Arduino coding.
Though the protocol is the same, there are differences in handshaking/encryption. The Nyko Kama nunchuck is slowly going extinct and there arent any good alternatives.
How can there be differences? That would mean the wii handset is capable of negotiating with different protocols or encryptions or whatever - can that really be? People a lot more intelligent than me have probably tried this already and apparently failed for a reason but I can not find any information on this. When the wii handset is capable of connecting to different nunchuks we should be too…
There are actually posts about this on ES.
Sorry but I’m too wasted to search just now.
Ok so I’m sobered up now, I found the post I was referencing:
Thanks - but it just seems like one line of code could fix this. But there is no feedback since February. This could have been solved long ago but seems to not be in focus anymore for whatever reason.
output range means bluetooth connectivity range, or ppm range (or something like that). thanks.
After i saw the 3 part tutorial of GreatScott on youtube how to make a e-board,
I was actually searching to see if it was possible to use one of those bluetooth remotes and stumbled across this topic.
I wanted to build my own eletric board and was coming up with idea’s. I liked the idea of using a nunchuck of a wii.
But i don’t really like those. Don’t really fit my hands well. I mean, i don’t have big hands or anything but i really hate small controllers or anything like that. I rather have it a little bit bigger. I was looking at this one Bluetooth Mouse Joystick Controller
Also i wanted something else then the nunchuck because i wanted some more buttons. Mainly because i wanted to add a head/tail light on it for when i’m cruising when it’s dark. Being able to control them from the remote is nice and convenient. Was also thinking of adding in turning signals of some kind. Don’t ask me why, just because.
Also i’m from the netherlands so we have weird laws and the boards are technically banned because they are unsafe or something? So yeah, would be nice to tweak it a bit to make it. “safer”.