Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Go big(ger) or go home
05-24-2016, 11:48 AM
Post: #1
Go big(ger) or go home
I backed this project mainly to get access to the STLs and source so that I could adapt it to a larger dry erase board in my pediatrics office. I assume that this would mean changes to the Arduino code, which shouldn't be a problem for me, but also a custom web server. Is that correct? I base that assumption on the fact that the scaling of the text, art, etc. seems to happen in the app. If anyone else is considering a larger version, it would be great to hear your thoughts!
Find all posts by this user
Quote this message in a reply
05-24-2016, 12:55 PM (This post was last modified: 05-24-2016 12:56 PM by ViezeVingertjes.)
Post: #2
RE: Go big(ger) or go home
You could write your own webserver, yet there is no 'app', the convertion to svg, scaling/rendering text etc, is all done server-side.
A bigger version if a piece of cake though, you just need longer bar/tubes, wires and belts, that's pretty much it.

You need to rewrite or extend the protocol ( and code on both sides) to be able to handle anything larger than 39,9cmx39,9cm though.
(But this is also quite easy to do)
Find all posts by this user
Quote this message in a reply
05-24-2016, 01:11 PM
Post: #3
RE: Go big(ger) or go home
(05-24-2016 12:55 PM)ViezeVingertjes Wrote:  You could write your own webserver, yet there is no 'app', the convertion to svg, scaling/rendering text etc, is all done server-side.
A bigger version if a piece of cake though, you just need longer bar/tubes, wires and belts, that's pretty much it.

You need to rewrite or extend the protocol ( and code on both sides) to be able to handle anything larger than 39,9cmx39,9cm though.
(But this is also quite easy to do)

Thanks for the reply. I have longer bars/tubes/belts coming, and will be printing some parts. I'd appreciate any pointers on where I need to look for the code I must modify. The board I'll be using is 94 X 61 cm.
Find all posts by this user
Quote this message in a reply
05-24-2016, 01:23 PM (This post was last modified: 05-24-2016 01:25 PM by ViezeVingertjes.)
Post: #4
RE: Go big(ger) or go home
https://github.com/jjrobots/iBoardbot/bl...t?raw=true

The current code expects the 'commands' to be 3 bytes, when you are going to write on bigger boards, you are going to need more bytes per command or a different protocol.

But remember, if you use the jjrobots server, this will send you packets for the regular sized board.
(Maybe this will be configurable in the future though, you have to ask them)
Find all posts by this user
Quote this message in a reply
05-24-2016, 03:39 PM
Post: #5
RE: Go big(ger) or go home
I took a look into this, and the easiest way is to divide your board into sections, you can then introduce a new command, something like:

C1, C2
4007, n

Where C2 (n) is the section number.
After selecting a section, just add sectionSize * n as drawing offset to the current code.

This will leave it compatible with the official server, yet it can handle your bigger drawings.
Find all posts by this user
Quote this message in a reply
05-24-2016, 04:51 PM
Post: #6
RE: Go big(ger) or go home
(05-24-2016 03:39 PM)ViezeVingertjes Wrote:  I took a look into this, and the easiest way is to divide your board into sections, you can then introduce a new command, something like:

C1, C2
4007, n

Where C2 (n) is the section number.
After selecting a section, just add sectionSize * n as drawing offset to the current code.

This will leave it compatible with the official server, yet it can handle your bigger drawings.

Wow, thanks for looking into this! I may be a bit in over my head on the code side, but I will give it a shot...
Find all posts by this user
Quote this message in a reply
05-24-2016, 05:45 PM (This post was last modified: 05-24-2016 06:28 PM by ViezeVingertjes.)
Post: #7
RE: Go big(ger) or go home
No problem, the best place to start is to create a simple test server, so you can test custom packets.
If you're new to coding, i could probably write one so you can focus on your code on the Arduino.

Source: https://github.com/ViezeVingertjes/iBoardBot-TestServer
Binary: https://github.com/ViezeVingertjes/iBoar...tag/v1.0.0

It will return the encoded version of Packet.txt once, and when the iBoardBot confirms the packet, it will close automatically.
It runs on port 8080 by default.

Only modification needed in the C code of iBoardBot is on this line:
#define SERVER_URL "http://ibb.jjrobots.com/ibbsvr/ibb.php" in the Configuration.h file.
Replace this with http://your_ip:8080

The commands you see in Packet.txt is the test script from the documentation at:
https://github.com/jjrobots/iBoardbot/bl...t?raw=true
Find all posts by this user
Quote this message in a reply
05-25-2016, 11:51 AM
Post: #8
RE: Go big(ger) or go home
(05-24-2016 05:45 PM)ViezeVingertjes Wrote:  No problem, the best place to start is to create a simple test server, so you can test custom packets.
If you're new to coding, i could probably write one so you can focus on your code on the Arduino.

Source: https://github.com/ViezeVingertjes/iBoardBot-TestServer
Binary: https://github.com/ViezeVingertjes/iBoar...tag/v1.0.0

It will return the encoded version of Packet.txt once, and when the iBoardBot confirms the packet, it will close automatically.
It runs on port 8080 by default.

Only modification needed in the C code of iBoardBot is on this line:
#define SERVER_URL "http://ibb.jjrobots.com/ibbsvr/ibb.php" in the Configuration.h file.
Replace this with http://your_ip:8080

The commands you see in Packet.txt is the test script from the documentation at:
https://github.com/jjrobots/iBoardbot/bl...t?raw=true

Thanks so much! I will try to dig into this over the weekend.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)