Lil' Blackbox

Coding => v2.0 => Topic started by: 606lyfe on August 20, 2021, 06:37:25 AM

Title: No access to android / app - can values be set via serial?
Post by: 606lyfe on August 20, 2021, 06:37:25 AM


Hi all

Unfortunately I don't have access to an android device to utilise the app for setting custom values ..etc

Is it possible to do this via laptop and serial connection? If so what commands / syntax need to be used?

I can connect via a terminal window and execute things like 'calibration' and 'output' but was wondering if there was a way to set custom values for curve rpm / position, idle, and walkdown values and save them to eeprom..etc


Cheers



Title: Re: No access to android / app - can values be set via serial?
Post by: hakcenter on August 22, 2021, 10:01:01 AM
Yes you can talk to the controller through the USB interface.
It's 115200 baud. Use the arduino IDE and connect to the same port you use to program it.
From the Arduino IDE if you load up the common code, you can make any adjustments you want and create your own custom curves, just hardcoded in the code, not eeprom. Same difference.

All the general serial commands are in the SERIAL tab of the common code.

output
Being the most important, it'll just spam the screen with current info.
Title: Re: No access to android / app - can values be set via serial?
Post by: 606lyfe on August 25, 2021, 04:00:34 AM

Cheers for the reply, makes sense to alter the values in the common code and upload them to the device - nice one!