gunhaxxor / me-high-power-motorboard-firmware Goto Github PK
View Code? Open in Web Editor NEWCustom built firmware for the atmega 328p on the Me High-Power Encoder Motor Driver board.
Custom built firmware for the atmega 328p on the Me High-Power Encoder Motor Driver board.
Hi guys, thanks for sharing this, the noise is exactly the problem we are trying to solve with our robot.
I'm trying to upload your firmware to the encoder board using and FDTI board. I connected 5c gnd tx and rx as suggested and selected Arduino Uno as board in the Arduino software.
However it's returning an error during the upload phase:
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x00
Can you please advice which board you select from the arduino IDE?
thanks
Hello,
I successfully uploaded your firmware to the encoder board.
I'm trying to set speed from a Me Auriga board.
We are using the MeEncoderNew library from Makeblock to do so...
//Setting up motors
MeEncoderNew motor1(0x09, SLOT1);
MeEncoderNew motor2(0x09, SLOT2);
// initialise motors in Setup
motor1.begin();
motor2.begin();
// set mode
motor1.setMode(1); //0:I2C_MODE;1:PWM_MODE;2:PWM_I2C_PWM;
motor2.setMode(1);
//set speed
motor1.runSpeed(11, 0);
motor2.runSpeed(11, 0);
We can control the motors correctly but the range is very small. With the previous firmware we could control speed setting a value from -255 to 255.
With the current firmware with value 10 the motors move for one second and than stop and with value 11 they go extremely fast.
I was wondering if you could share the code you use to set speed from the external board.
thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.