-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Brushless ESC #2
Comments
yep |
I was unable to arm the motor. |
can you send me a picture of what you have done? |
I would guess that maybe your connections are wrong, or the pin was set incorrectly. |
I assambled everything to a testing board. Tomorrow i will soldering everything and testing again. This part " (byte pin){ |
yes Throttle is parametrised on its pin, on UAVRC_MEGA.ino on line 33 you see Throttle throttle(2); this means that the esc should be put on D2 |
Ok, i understand. |
for fishing, drops the hook |
What switch is for activating the hook?
vin., 26 mai 2023, 23:27 meltoner ***@***.***> a scris:
… for fishing, drops the hook
—
Reply to this email directly, view it on GitHub
<#2 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AVJKEZI3IOVXR5K37VMLBXTXIEG2JANCNFSM6AAAAAAYQQMBSM>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
give it a try to find it on your own, you would search where the object hook is used. |
Switch B! |
bravo inferno90 ! |
Look at this video. Only beeping from ESC and not arming. |
nice work !! i noticed that you haven't actually connected the esc to the board. it should be connected to the arduino instead of the flysky receiver have a look at some more detailed photos of the fabrication in the attached pdf. its flysky -> arduino -> esc, servo phase2_prototype_fabrication.pdf In case its helpful i had also made a board like a shield so you can detach the whole thing. Although it may not be that obvious the first image in the repository shows the "board". I also understand that you have went to assemble everything in one go, which is also what i usually do and then get a hell of debugging in view of one just error. the proper way to do it is incrementally, i.e. first verify X then verify y and etc. i also noticed that you are using a regular led instead of an rgb. off course its not mandatory. just take it step by step and it would also be very helpfull to also use the serial cable to print out on terminal the various phases the board undergoes during initialization. since you have made this progress i am confident you with few careful iterations you reach the desired goal. insane work! bravo |
Maybe you didn't see correctly, but ESC is connected to pin D2. In the video i changed ESC connection to pin D2, D4 și D6 and not arming.... |
mmm yes, i see in the video its different from the photos.
|
I have fs-ia6b receiver and in your project is fs-ia10b receiver. Maybe it is a problem? |
probably not, since it has an ibus slots.. do you know how to see the serial print out of the board ? to see whats is happening? as you after you upload the firmware just open up serial from arduino cli |
ok its should print more after the mpu so something is interrupted, though mpu is after the throttle. in any case after the mpu its the mag, i see no printout there in its setup, next is hook, ok next is gps. the gps setup function does print Serial.print("setup"); so since i do not see it in the print i understand that something before it fails. this apears to be the mag.
Add there in mag more print out to see if it passes from that place. although these are after the throttle pass over everything to ensure all components are setuped properly. At the end of the program setup sequence, its should enter in the loop sequence and every 1 second it should reflect all sensors readings via the context.apply() |
I connected SCL and SDA from mpu and mag to same pin. It is correct? |
i think its not. According to the diagram , https://github.com/meltoner/NEM_UAVRC_MEGA/blob/main/pcb/NEM_UAVRC_MEGA_CONNECTIONS.png i see in the green area, that the magnetometer/compass is assigned to an RX pin. |
the 15th outer pin counting from the left as i see the diagram |
According to your diagram, SDA from mpu and mag is connected both to pin 20 and SCL from mag and mpu connected both to pin 21 |
This pin is for gps module according to your diagram. |
my gps has a magnetometer embedded. that is why the look as the same module. |
Yes you are correct, as you stated above. gps uses the serial the mpu and mag use sda and scl. checked it out in haste |
I found a problem: it shows "begin mpu, do not move, succes" without mpu and mag connected. Only module connected is gps. |
strange i would expect it to fail without them connected. .. |
I tried with a simple servo motor. Not working. Maybe is not something correct in code. |
no everything has been fabricated and tested multiple times with videos. i can't project what is off could be just a wire missed, but one would have to test each thing carefully until discovers what is off. In theory i would test each component you have on its own one by one. |
inferno it just happens that i will be reproducing a 3rd time the project within the next month, nearly identical setup, so i will be re-passing the same steps you have and in case i find any deviation in the plans ill let you know. |
Ok. Thank you. |
Hello again. This work with brushless ESC?
The text was updated successfully, but these errors were encountered: