Jump to content
Ultimaker Community of 3D Printing Experts
Catlord

wifi thru Xbee need schematic of the electronic board ultimaker

Recommended Posts

Hi,

I'm using Xbee system on several instruments ( UAV, Theodolites,...) The Xbee replace efficiently a USB cable thru an ad hoc link up to 1500m.

Xbee is composed with two parts:

one USB/TTL converter :

990002_layout.jpg

and one wifi system:

XBee%20Pro%20Chip%20S.jpg

As you can see there is an USB plug in it so it could be plug n play with the Ultimaker, you just plug the Xbee in the USB port and that's it. But it would let the Xbee on the side on the UM and I would rather prefer to have it hidden in the bottom part.

And that's where you come to help me :D

Does anyone have the schematics of the electronic UO+ board (last revision, same as UM2) ? I need to catch the Tx and Rx wires on the board (if there are some plugs somewhere).

Once I will have these, I will present you a complete DIY "My Ultimaker works in wifi without SD card ^^"

Best regards,

Cedric

Share this post


Link to post
Share on other sites

Hi,

I tried to use the Serial 3 port with no success. I Have reversed Tx and Rxn combining them between serial 3 and the Xbee: no sucess. (combining the Tx and Rx is the best way to find a potential problem :)

So, next step:using the USB B cable, plug a USB a to mini USB converter and plug the UXBEE directly in the USB B port of the Ultimaker.

If this works, I will try to find a short USB B to Mini USB cable and make a proper installation.

By the way, there are several Xbee systems: some with antennas (rubber duck type), other without. Those without antenna are working great for inside applications. I'm working in a reserach center and we have concrete walls of 1.5m. I'm able to control an instrument at 30m distance with a 1.5m wall between PC and instrument with just a small window (30cmx20cm) in the concrete wall :)

Anyway: If it works, I will make a full review (link to buy stuff, assembly, parameters, ...)

My electronic skillls are basically 0, I can't measure the signals on the serial 3 port (if there are) and say what kind of signal it is. If anybody knows...

  • Like 2

Share this post


Link to post
Share on other sites

... next step:using the USB B cable, plug a USB a to mini USB converter and plug the UXBEE directly in the USB B port of the Ultimaker.

If this works, I will try to find a short USB B to Mini USB cable and make a proper installation.

...

 

I don't think that this can work ... but you can still try ;)

... the USB port is not a simple "serial connection" ... the USB that you have on the UM2 main board and the USB that you have on the Xbee are USB "device", both made to connect to an USB "host" (e.g. the USB port on the PC).

The differences between a USB host and device is that the "USB host" initiates all communication on the bus, the "USB device" only responds when asked by the host. For Details see the specs on usb.org.

Guglielmo

Edited by Guest

Share this post


Link to post
Share on other sites

Not sure about that because we use the XBEE on several instruments that are designed to work with direct USB connexion and it works fine :)

The USB B port on the UMO isn't powered with 5v so I will have to power the XBEE module (I'll pick à 5v output on the UMO board)

Does anybody knows the USB parameters used on the UMO ? is it a 9600bauds or a 57600 bauds connexion ?

Share this post


Link to post
Share on other sites

If you look on the first page of the schematic, you will find the USB (J3) connected to the ATmega16U2 which convert from USB to serial.

The serial I/O is on the pin 8 and 9 (PD2 and PD3) where you can find 2 resistors, R13 and R14 and you have the two signal named PE0 and PE1.

Now, if you look on the top left, you have the ATmega2560 (U1 - the main MCU), and PE0, PE1 are connected to pin 2 and 3.

So ... if you really want to risk ... you can :

1. disable the ATmega16U2 MCU setting LOW (connect to GND) the pin RESET (pin 24, TP8 or pin 5 on J2)

2. connect the TX from the XBEE (if the XBEE work at 3.3V you MUST insert a level translator) to the RX pin of the ATmega2560 (pin 2 - PE0)

3. connect the RX from the XBEE (if the XBEE work at 3.3V you MUST insert a level translator) to the TX of the ATmega2560 (pin 3 - PE1)

4. cross the fingers and hope that work :):):)

Disclaimer : I have not tried this thing and it could also damage your card. Do at your own risk !!!

Guglielmo

Share this post


Link to post
Share on other sites

Hi Guglielmo, on the new batch of UMO+, the board is a UM2 board :)

I don't want to do a tricky thing there. My scope is to find how to have an xbee xworking with the UM without doing some small electronic stuff on the board :)

If there are some pin directly available: fine, otherwise I will try with the USB B but if nothing works, I will leave it like that.

As Neotko mentionned, there are serial pins (SERIAL 3) but it seems it doesn't work. Maybe I have the bad baudrate. The Xbee must be configured with the correct baudrate in order to work properly. Is there any source code available where we can find the baudrate somwhere ?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Our picks

    • "Back To The Future" using Generative Design & Investment Casting
      Designing for light-weight parts is becoming more important, and I’m a firm believer in the need to produce lighter weight, less over-engineered parts for the future. This is for sustainability reasons because we need to be using less raw materials and, in things like transportation, it impacts the energy usage of the product during it’s service life.
      • 12 replies
×

Important Information

Welcome to the Ultimaker Community of 3D printing experts. Visit the following links to read more about our Terms of Use or our Privacy Policy. Thank you!