Comments (22)
Bug fixed
Please try again
from msrc.
Ok i test.
thanks
from msrc.
I,
not better
best
from msrc.
I just reread the readme and there may be some problem with the RX and arduino with USB port.
I have this model and the ESC is only plugged into the RX0 port. Is it well connected?
https://www.amazon.fr/gp/product/B0722YYBSS/ref=ppx_yo_dt_b_asin_title_o00_s00?ie=UTF8&psc=1
from msrc.
Yes, that's the problem. The serial signal from the esc is not strong enough for a serial port shared with usb on the arduino board
from msrc.
is there a solution ?
from msrc.
Yes. I've added more flexibility to use software serial with any serial interface. Now you should be able to select softwareserial for the ESC. This can be done as you are using XBUS. With smartport this wouldn't be feasible as software serial is required for smartport to invert the serial signal
Update line 30 from config.h:
#define ESC_SERIAL softSerial
and connect ESC serial to pin 7 (PIN_SOFTSERIAL_RX)
Not much tested yet... let me know
from msrc.
I,
Thanks ok, i test today with D7.
best
from msrc.
Hello,
sorry, I couldn't test yesterday because i work.
I used the version from yesterday. I welded in D7, modified line 71.
So I no longer have the tirests but I now have a value of 0 everywhere.
If it is worth testing, can you give me the line to modify on today's version?
cordially
from msrc.
Modify line 30 in config.h:
#define ESC_SERIAL softSerial
The reason behind is that ESC serial uses 3.3v logic level whereas your Arduino board is 5v. Thus a 3.3v (8mhz) board is recommended. There are versions of Pro Mini and Pro Micro for 3.3v (8mhz). Also Pro Mini 5v (without USB) usually works well
As a workaround you can try with the software serial (by modifying config.h as explained before) which usually gives better results with this issue
from msrc.
To verify that the ESC can be read with your board you can use the sniffer.ino sketch (under tools) and connect ESC data to pin 10, ESC GND to GND and see the debug on the serial monitor at 19200 baud
from msrc.
Good evening,
I tested without success. I don't know how to use the debug.
So, is this model the right one?
Thank you
from msrc.
I tested without success
Download and flash the latest code
Check that ESC data is connected to pin 7
Check that line 30 in config.h is:
#define ESC_SERIAL softSerial
I don't know how to use the debug.
Also connect ESC GND to Arduino GND
Enable ESC debug mode in config.h uncommenting line 107:
#define DEBUG_ESC
Open Serial Monitor in Arduino IDE at 115200bps. Check the output. You should see something like this:
DEBUG
V0.8.0
PN: 40 RPM: 123456.00 Volt: 11.94 Curr: 2.85 tempFET: 35.59 tempBEC: 35.59
So, is this model the right one?
Yes, but I recommend to try debug mode before, to discard any other issue
from msrc.
i,
On serial monitor, i have only :
⸮⸮⸮⸮�⸮
DEBUG
V0.8.0
from msrc.
Then if the connections are ok, definitely your board is not reading the ESC. Go buy the Mini 3.3v. Note you'll need a USB-TTL programmer
I'm still surprised that is not working even with softwareserial. You could also post a picture of the connections to check if everything is ok
from msrc.
from msrc.
Ok, looks good. Last check...
Upload the sketch under tools folder sniffer
Be sure you change the pin in line 10:
#define PIN_SNIFFER 7
Connect the ESC to the Arduino and open a serial monitor at 19200bps and check the output. If there is no output, absolutely sure your board is not reading the ESC
from msrc.
Ok,
INIT
20:13:19.993 -> ⸮��⸮��⸮⸮��⸮�⸮⸮⸮⸮⸮��⸮�
Nothing else
from msrc.
Which firmware version is installed in your ESC? You may try with another version. See post
Some firmware versions may not be sending telemetry
from msrc.
I have the 160A HV with the latest firmware.
On the other hand, when I connect my ESC to my receiver, I have the RPMs.
thanks
from msrc.
Just check it doesn't have the VBAR in the title of the firmware version. See post
On the other hand, when I connect my ESC to my receiver, I have the RPMs.
For this to work the esc has to be connected to the receiver and armed... Do you have telemetry with the Arduino?
from msrc.
Good evening. The firmware for Vbar does not exist for my esc. I order the arduino in 3.3v. thanks
from msrc.
Related Issues (20)
- Average alpha setting is not correct - above 1.0 for temperature - temp sensors are bouncing HOT 1
- RP2040 with sport and castle not working HOT 1
- read gas engine rpm from cdi to my radio by RP2040 HOT 1
- Jeti EX Bus GPS not working HOT 8
- Jeti - How to give the sensor a name
- Futaba SBUS - BMP280 variometer bug HOT 5
- About RP2040 Indicators are not blinking HOT 1
- Hall effect RPM sensor HOT 2
- FS Ibus problem
- vaio-1672 cant work with futaba 3004,but 7008 and 3008 work fine?could you help me? HOT 1
- Arduino UNO HOT 1
- PixHawk telemetry support
- RP2040 and Smartport with Castle question HOT 9
- RP2040 and Jeti HOT 32
- Hott Telemetry HOT 2
- Current Sensor Sensitivity - Increase Decimal cases
- RP2040 Zero status LED is not used - different pin HOT 7
- XBUS-Connection to AR8020T-Receiver HOT 1
- Problems with FrSky XSR HOT 1
- Telemetry with Hobbywing V4 40A does not work HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from msrc.