Jy-mcu

From RepRapWiki
Jump to: navigation, search

This page is a development stub. Please enhance this page by adding information, cad files, nice big images, and well structured data!


Crystal Clear action run.png
Jy-mcu bluetooth

Release status: WORKING

No image available.png
Description simplify bt connection to reprap
License GPL
Author jamesdanielv
Based-on [[]]
Categories [[]]
CAD Models none
External Link none


How to print over Bluetooth

One way to cut the cable between your laptop and your RepRap:

Jy-mcu f.jpg Jy-mcu b.jpg

Replace

  • The USB cable and the FTDI USB-to-TTL-RS232 adapter

with 2 Bluetooth radios:

  • Many or most laptops already have a Bluetooth radio built in
  • The TTL-RS232 serial pins of the RepRap controller board can be directly connected to the "jy-mcu" board or similar Bluetooth adapter.

jy-mcu is a board that contains the hardware of the hc-03,hc05,hc06 chipsets. compatibility is the same as they all accept the same at commands, however voltage levels may be different, so use caution if it is not on a board with 4 pin headers.

This is a bt adapter that is used on some reprap with bt connection. Also will provide detailed instructions on how to setup with using android device only.

BT Connection RAMPS1.4.png

Bluetooth is a wireless technology used for short range communications. Bluetooth has protocols that allow it to mimic serial communications and this makes it perfect for use with arduino, and on a ramps board for 3d printing software controls such as pronterface, and repetier host.

Also it allows programing to be done on any device that has arduino ide. this includes PC, Mac, ubuntu, and android.


here is a video of it working on a reprap.

http://www.youtube.com/watch?v=eZO8BniV1xI&lc=ShtOIYGwn4AhHoBuM1LTSm9Suhi8WjYiwIZM74MbKF0

here is a program i made that runs on arduino ide and automatically detects baud rate and sets up device. bt_magic.ino for arduino runs on version 1 of arduino ide. also serial monitor needs to be at 57600 and set to no line ending. cr and line need to be disabled for serial monitor.

Now there is a version that runs with software serial, so it works on basically anything ported to arduino that can run software serial library. tested on arduino 1.5, but should work as far back as 1.0 i recently updated it so it works on mega,adk,and other arduino devices. still i think that hardware serial version above should be used first.

softwareserialbtmagic

here is a video of the program used to setup bluetooth adapter link title

SETUP with android devices requires a ON THE GO CABLE and the following free apps to be installed Arduino Communicator (to setup usb comm), arduino droid, and free usb serial. free usb serial app acts as the terminal because the system monitor does not yet exist in android version of arduino ide.


I will do another video soon (using a better camera), and add multicomm port program ability.

enjoy!. questions or comments or feedback contact me on the forum. thanks!

troubleshooting

if issues with detecting device, first shorten tx/rx lines to be less than 6 inch. If that doesn't work, try changing

   if (detect < 2) {x=0; Serial.println("_no");}

to

   if (detect < 1) {x=0; Serial.println("_no");}

This allows for detection even when serial receiving timing is off, usually from the dual interrupt. chip should program fine as serial2 data is all sent at once.


On boards version 1.06 and possibly later, the baud rate may not be detected at all. Try adding a pullup resistor to the Bluetooth Module's TX line (the RX line on the Arduino).

Other wireless options