Skip to content
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

Instructions for using arduino nano #2

Open
3dpete opened this issue Jan 17, 2023 · 9 comments
Open

Instructions for using arduino nano #2

3dpete opened this issue Jan 17, 2023 · 9 comments

Comments

@3dpete
Copy link

3dpete commented Jan 17, 2023

Hi great project
I see you have Arduino nano as an option as possible hardware on the parts list but no instructions on how to set up. I wanted to use the nano as I have a few lying around Could you add how to use I asked painless 360 as you reference his set-up video but he was not sure ?
Any advice would be appreciated.

@Qrome
Copy link
Owner

Qrome commented Jan 19, 2023

It has been a while since I initially coded and tested with the Arduino Nano, but I think it may still work.
In the OSD_positions_config.h -- fine the line:
#define ESP8266
and comment that out.

The reason I stopped working with the Nano was it was more expensive than the Wemos D1 Mini and you don't get the speed or logging (memory) that you get with the ESP8266 core.

You will also have to read through the code in the INO file for the pins -- they are there.

@3dpete
Copy link
Author

3dpete commented Jan 19, 2023 via email

@Qrome
Copy link
Owner

Qrome commented Jan 19, 2023

I am quite sure the Voltage divider should work on the Nano as that is where I originally tested it out. I don't know, off the top off my head, why you would not be able to read the voltage.

@3dpete
Copy link
Author

3dpete commented Jan 19, 2023 via email

@Qrome
Copy link
Owner

Qrome commented Jan 19, 2023

I have also created a more simple version called VoltOSD using the XIAO SAMD21

  • VoltOSD
  • XIAO SAMD21 TX to DJI Air unit RX(115200)
  • Voltage sensor on A0 pin 0
  • PWM Arm Signal on D1 pin 1

image

https://github.com/Qrome/VoltOSD

@3dpete
Copy link
Author

3dpete commented Jan 19, 2023 via email

@3dpete
Copy link
Author

3dpete commented Jan 19, 2023 via email

@Qrome
Copy link
Owner

Qrome commented Jan 19, 2023

you can try a different pin to read the voltage on.

@3dpete
Copy link
Author

3dpete commented Jan 19, 2023

didnt work still trying

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants