Share:
Notifications
Clear all

[Sticky] Cloudless iBoardBot Server (via USB)  

  RSS

eb96fbe7025be242f7e593a0201df034?s=80&d=mm&r=g
(@dbrgn)
New Member
Joined: 3 years ago
Posts: 3
15/10/2017 11:08 pm  

I bought an iBoardBot with the intention to leave it running in a shop window, but I definitely do not feel at ease using a not very secured cloud API and a printer that accepts unauthenticated commands from any host in an unsupervised public place. If I were a bored student, I’d probably think it would be funny to send drawings of genitals to all printers connected to the API 🙂 Another issue is that in some cases you don’t actually have an internet connection from where you want to use it.

Therefore I started hacking on a custom iBoardBot server that connects to the robot through serial (USB) connection. It is written in Rust and accepts SVG uploads through a web browser. The SVG processing isn’t very feature-complete yet, it only supports simple paths without handling stroke thickness and things like that, but it does support flattening of Bézier curves. The server also supports scheduling of erase-redraw cycles, so a single drawing could be erased and re-drawn automatically every 5 minutes or every hour.

Here’s the code: https://github.com/dbrgn/iboardbot-web Note that you need to use a different firmware on your robot to use this. It’s linked from the README and still a bit hacky (like the original firmware :P)

The library that does the conversion from the SVG file to polylines processable by the iBoardBot can be found here: https://github.com/dbrgn/svg2polylines

The intended use case is a Raspberry Pi connected to the printer that is not connected to the internet, but supports connecting through direct WiFi.

If you’re interested, feel free to comment here or open issues on Github 🙂 Any feedback is welcome.


Quote
350a26dd49eb55d3494500240423a207?s=80&d=mm&r=g
(@robotn1)
Honorable Member Admin
Joined: 5 years ago
Posts: 687
16/10/2017 10:43 am  

Great job! We will try it. For sure.

We have here, in Edinburgh some iboardbots in public places and yes… people use to draw… “everything” 😀

Thanks!


ReplyQuote
eb96fbe7025be242f7e593a0201df034?s=80&d=mm&r=g
(@dbrgn)
New Member
Joined: 3 years ago
Posts: 3
16/10/2017 11:07 am  

Yeah, if the drawing is meant to be public, then it’s great 🙂 But if it’s used as an advertising platform you want to make sure that nobody else gets access.


ReplyQuote
CHIRoofing
(@chiroofing)
New Member
Joined: 8 months ago
Posts: 1
30/03/2020 8:52 am  

Thanks for sharing your ideas. It’s very useful. Great! Please also visit our website https://www.731roof.com/windows/ or contact us at (513) 731-7663.


ReplyQuote
Share: