AndersHoglund / ArduinoProjects

7 stars 1 forks source link

Home #2

Open Michel00Nix opened 4 years ago

Michel00Nix commented 4 years ago

Hi, I'm interested in your rc Led switch found in YouTube. Where to find a circuit? Don't you have a homepage for further Information? Regards Michel

AndersHoglund commented 4 years ago

As stated on YT, an Arduino Nano will work fine. Can be found anywhere or everywhere, for example here: https://www.banggood.com/sv/Geekcreit-ATmega328P-Nano-V3-Controller-Board-Improved-Version-Module-Development-Board-p-940937.html Print a case for it as well: https://drive.google.com/drive/folders/1NiALzqncXLnEsDuKGt93CqeQGMFxudOc?usp=sharing

Michel00Nix commented 4 years ago

Hello ist me again😅Today I just startet to rebuild your lipo monitor first. But there is ab Big "? “On my Radio the Values are always the same with each lipo I triedHere you can see a 3s and a6shttps://drive.google.com/file/d/14UE5EQUcpGUG-IgW9D0KhebY7L151E6d/view?usp=drivesdk I got no idea. I'm not a electrician an not a. Programmer I could just rebuild. I Hope to yor help. The Nano gets his voltage from the lipo!? When I connect the red Xbus wire nothing gets displayed.... Many Questions from me... Thank You for yor helpRegards MichelAm 27.07.2020 02:05 schrieb Anders Höglund notifications@github.com: As stated on YT, an Arduino Nano will work fine. Can be found anywhere or everywhere, for example here: https://www.banggood.com/sv/Geekcreit-ATmega328P-Nano-V3-Controller-Board-Improved-Version-Module-Development-Board-p-940937.html Print a case for it as well: https://drive.google.com/drive/folders/1NiALzqncXLnEsDuKGt93CqeQGMFxudOc?usp=sharing

—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or unsubscribe.

AndersHoglund commented 4 years ago

You have to fire up your DVM and start measuring and debugging your hardware. Also, this is an abandoned project, the FC6250 still has no X-bus support. You can regard it as a startingpoint for developing your own project. That might require some electronics and programming skills though. Good luck. /A PS. I now use Spektrum Smart ESC and batteries. I get all data I need, and more, that way. DS.

Michel00Nix commented 4 years ago

Hmmm, wth is an FC2650? I've tried wit an Tm1000/AR7000 also with an AR6270T. Both the same. When I came near with finger to the cable the values start to spin like a old sensitive TV Remote of the 1970th... LOL.In my case seems all to be should be thrown to Trashcan without any further help. "Smart" Thing  is too many Expensive. Should I buy any time their new Stuff that won't work with each before?¿ I don't think so. Best RegardsMichelAm 28.07.2020 17:40 schrieb Anders Höglund notifications@github.com: You have to fire up your DVM and start measuring and debugging your hardware. Also, this is an abandoned project, the FC6250 still has no X-bus support. You can regard it as a startingpoint for developing your own project. That might require some electronics and programming skills though. Good luck. /A PS. I now use Spektrum Smart ESC and batteries. I get all data I need, and more, that way. DS.

—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or unsubscribe.

AndersHoglund commented 4 years ago

Sounds as if your wiring is incomplete. Missing zero volt reference or such. Or a something to do with the Arduino analog reference voltage pin.

Have you tried the simpler https://github.com/AndersHoglund/ArduinoProjects/tree/master/X-busEscVoltageSensor ? Here you only need a two resistor voltage divider, I used 330kohm plus 33kohm.

FC6250HX is the new heli flight controller, you'll find it on the Spektrumrc site if you care take a look. Well, the "Smart" stuff may have some premium pricing. But it is worth it....

Michel00Nix commented 4 years ago

Wich is the defined Sensor Pin u use in your code (analog red)? Is it + Xbus connect to +Nano? When I use a stable usb5V instead of the Xbus voltage. The values a little bit nearer. In this case I get 4.9xv each count. (by the way its running without any +pin only by the Akku itself only using Gnd and A0-7) What I don't understand in your code the values yo defined with 56.0 560.0.... But in the schematic u use 56k 560k? Shouldn't that value in code sounds like 56000 560000.....an so on?I'm a totally noob. only thing I can do is try to copy by Doing... But understand lessThanks for your Patience and HelpMichelAm 28.07.2020 19:49 schrieb Anders Höglund notifications@github.com: Sounds as if your wiring is incomplete. Missing zero volt reference or such. Or a something to do with the Arduino analog reference voltage pin. Have you tried the simpler https://github.com/AndersHoglund/ArduinoProjects/tree/master/X-busEscVoltageSensor ? Here you only need a two resistor voltage divider, I used 330kohm plus 33kohm. FC6250HX is the new heli flight controller, you'll find it on the Spektrumrc site if you care take a look. Well, the "Smart" stuff may have some premium pricing. But it is worth it....

—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or unsubscribe.

AndersHoglund commented 4 years ago

Best way to learn is to try. The Nano is powered from X-bus, yes. If you have servos and Rx running on regulated +5V you can connect X-bus +V directly to the Nano +5V. If you use high voltage servos and Rx you may need to connect X-bus +V to the RAW voltage input of the Nano. X-bus +V is direct servo rail voltage, can be anything from 3.3V to 9,6V. Read the X-bus spec, chapter 5 https://github.com/SpektrumRC/SpektrumDocumentation/blob/master/Telemetry/Spektrum%20X-Bus%20Telemetry.pdf All resistor values in the code are scaled in kohm units. Simple math. 1000/1000=1.