Ask A Question


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.


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?


Cas weighing scales.

They have rs232 connection.


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.


They have rs232 connection.

Join the discussion
Create an account Log in

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

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

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

    Screencast tutorials to help you learn Ruby on Rails, Javascript, Hotwire, Turbo, Stimulus.js, PostgreSQL, MySQL, Ubuntu, and more.

    © 2023 GoRails, LLC. All rights reserved.