2021-02-24, 09:14 AM
(2021-02-24, 09:02 AM)richarddaneel Wrote:(2021-02-23, 06:44 PM)xfactor99 Wrote:(2021-02-23, 04:48 PM)richarddaneel Wrote: Hi Andreas and CapnKernel
OK, thanks. I have loaded motor.ino and find the following. When I power up the RPi with no nano all works fine but get error message no controller detected. When I plug in (USB) the nano I get the following error... over current, bad voltage, fault. Any ideas
Cheers
Richard
Hi Richard,
that show up as you have no sensors connected.
agein you can change the code in motor.ino
.......
[color=var(--color-text-primary)][color=var(--color-prettylights-syntax-comment)]//#define DISABLE_TEMP_SENSE // if no temp sensors avoid errors[/color]
[color=var(--color-text-primary)][color=var(--color-prettylights-syntax-comment)]//#define DISABLE_VOLTAGE_SENSE // if no voltage sense[/color][/color]
[color=var(--color-text-primary)][color=var(--color-prettylights-syntax-comment)]//#define DISABLE_RUDDER_SENSE // if no rudder sense
[/color][/color]........
just delete the "//" before #define
Somwere there was also comented that you shoud connect the nano pins of the sensors to ground if you
don´t use them. I guess it wil work without grounding, but you should know for your final layout.
Greetings
Andreas
[/color]