digital_scale

Creator: coderz1093

Last updated:

0 purchases

digital_scale Image
digital_scale Images

Languages

Categories

Add to Cart

Description:

digital scale

Digital Scale #
This package read a weight from digital scale by serial or usb port
Installation #
flutter pub add digital_scale
copied to clipboard
Import #
import 'package:digital_scale/digital_scale.dart';
copied to clipboard
Example #
void main() {

/// digital scale models to send in digitalScaleModel param:
/// Toledo Prix 3
/// Elgin DP1502
/// Urano

/// call Digital Scale and pass arguments
final digitalScale = DigitalScale(
digitalScalePort: 'COM1',
digitalScaleModel: 'toledo prix 3',
digitalScaleRate: 9600,
digitalScaleTimeout: 3000,
);

/// async return of weight
digitalScale.getWeight().then((resp) => print('weight $resp'));
}
copied to clipboard
Digital Scales tested #


Toledo Prix 3 #


Configuration

Protocol Ptr1
recommended timeout 3000 ms





Elgin DP-1502 #


Configuration

Data1 300030
Prog RS232 1030
recommended timeout 5000 ms





URANO #


URANO POP LIGHT #


Configuration

stopbits 2
recommended timeout 3000 ms





URANO US20/2 POP-S #


Configuration

Protocol USE-P2
recommended timeout 3000 ms





URANO US31/2 POP-S #


Configuration

Protocol USE-P2
recommended timeout 3000 ms







Log Error #

Any error in weight reader, open or write port a log error will be create.
digital_scale_error.log in app directory

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.