|Nov 07, 2014, 07:09 AM|
New coding season started. Lessons learned will be implemented.
1: Receiving and transmitting arduino's will be seperated from the executing arduino's. Less lag and more ways to send commands then just a box with switches and sticks.
2: the RX/TX arduino's will get a small LCD(on i2c) for configuring, info (voltage, Ah, etc.), debugging and later Feedback (easier since it's not busy setting pins on/off).
3: Protocol works, needs commenting and refining
4: Changing channels by remote is possible. Change the channel on the TX and the RX follows. Other way around won't be implemented. If someone changes the channel on his boat, your transmitter could also change, NOT funny.
Most functions were tested in previous versions, but are now more final.
Not much time thou, since my boss asked me to go and study some more. But then, since the RX/TX side is now seperate from the command/executing part of the code. It's easier to debug and I have way less soldering to do. Previous versions toke a lot of time because I had to resolder/redesign most stuff. Now it's just a few buttons, an encoder and 4 i2c wires. The TX gets it's commands from the Serialport (either USB (PC or Raspberri) or Pin0 & 1). The RX side can be read through the USB for testing and Pin 1 & 0 for transfer to the other Arduino for actually doing stuff. Debugging is now a whole lot easier.
keep you guys posted. Happy building,
PS: most of the code is written from scratch to eliminate errors.
PPS: added some preview files. Serialpart works, transmit part awaits parts. After that, the LCD and encoder will be fully implemented.
|Nov 11, 2014, 03:02 AM|
Closing this topic. New version is to different from this one. New topic will be made when this new version is ready to build by others. Less soldering and way less code. More flexible in input and output.
Thanks for the comments and tips. Some will be implemented in the new code.
Preview of things to come:
|Category||Thread||Thread Starter||Forum||Replies||Last Post|
|New Product||Open Source Lights - Arduino based RC Light Controller||LukeZ||DIY Electronics||114||Oct 27, 2014 11:42 PM|
|Discussion||Arduino Uno Based Flight Controller?||alexgator||Multirotor Electronics||4||Feb 15, 2013 01:49 AM|
|Discussion||I want to auto controlled RC helicopter with arduino+wmp+nunchuk||parkjungho||Electric Heli Talk||3||Jun 21, 2011 03:58 PM|
|Discussion||Arduino project to build autopilot controlled RC plane!||Ecibob||Electric Plane Talk||2||Apr 25, 2011 11:17 AM|