Ask A Question

Notifications

You’re not receiving notifications from this thread.

Weighing scale connection

Patrick asked in Rails

Is there a way of connecting a weighing scale to rails application and get the weight readings.

Reply

Hey Patrick,

That all depends on what connection options the weighing scale provides e.g. Bluetooth, WiFi, etc. You'll need to figure that out first before trying to connect anything to Rails.

What scale are you trying to use?

Reply

Cas weighing scales.

They have rs232 connection.

Reply

Hi Patrick,

That is a serial port so you'll first need to use a gem that allows you to interact with serial ports like ruby-serialport. Then if you can use Rails as a way of displaying that information.

Reply

They have rs232 connection.

Reply
Join the discussion
Create an account Log in

Want to stay up-to-date with Ruby on Rails?

Join 82,329+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.