Of course, some of the US manufacturers make some great boards with superior features and wonderful quality control, but that comes at a price - personally I like paying $4 for a bluetooth module, rather than $25-30.Ĭonnect/power on the Arduino, load the Arduino IDE and load the sketch above. I prefer the CZ over the JY for a few reasons it is really small, it is really well made, it has the KEY (P34, state pin) already broken out and it does level shifting of all the pins back to the 3.3V required by the HC module, unlike some of the other breakouts. You can also use a BLE (Bluetooth Low Energy) or BT4.0 device like the HC-10, but you will need a comms device that talks BLE/BT4.0 and not many computers do (a recent-model Apple Macbook Pro/Air will be able to, my recent-model HP doesn't), so by sticking to the HC-05 you can be sure of being compatible with the majority of devices. If every JY-MCU being sold on Aliexpress was actually made by Linvor, they would be an extremely profitable company.įor an SPP module, I recommend the HC-05 Bluetooth 2.1 EDR (Enhanced Data Rate) module on a breakout board (like the JY-MCU or my personal favourite, the CZ-HC-05) If you are buying from one of the well-known Chinese market sites, check the reviews of of that product in the shop you are buying from. The ubiquitous JY-MCU breakout board has been copied and made by a vast number of Chinese board manufacturers and not all of them are good - some add level shifting for all pins from 5-7V to the 3.3V needed by the HC module, some only level shift the power pins - you get what you pay for. Be careful what you buy - not all HC modules are created equal, just as not all JY-MCU breakout boards with HC-05 modules are the same. ![]() To see what’s in /dev, launch Terminal.app and use the command “ls /dev” before and after, and look for the added device name, and post that here.The most popular of these SPP modules are the 'HC' series of modules. This device name is the way that somebdoy can write this app for you. That is, plesse post the name of the device created when the USB adapter is plugged into the Mac, this name can be found in the device documentation, or by listing out and comparing the devices in /dev directory before and after connecting the device. Please post the device name of the device involved here. The two salient differences being first where the printing output is directed (to the device associated with the connection to the printer, not to the user’s own default output device), and that the data is not intended to be human-readable it’s a fixed and known string containing binary data (that the printer will read and understand). This app is a variant of an app containing a print statement, implemented in the particular chosen language. That is, write a program that opens up the USB adapter serial device, write the string containing the binary data for the desired new projector state, and then exit. The general sequence used in the app? Open the serial device for output (or open the device for both input and output, if you want to first read the projector state before updating the projector state), write the bytes to the projector to update the state, fhen exit. Your choices here are to learn how to program this yourself, or to find some existing open source code or a xommercial tool that controls the projector and use or adapt that, or to appeal to charity and somebody else that eill write the Python or ash or AppleScript or Objective C or Swift code for you, or to pay somebody to write the code on your behalf. This would be extreme diy, since you would have to wire all the pins just you you could jumper what you need. In order to jumper the pins, you need something like this.Ī: DB9 Breakout Connector RS232 Serial 9 Pin Connector Db9 Terminal (Male x 1, Female x 1): Home Audio & Theate… This will show you the pins, but it's not possible to jumper pins together. Don't know how effective it would be at higher speeds.Ī: CableMax RS-232 LED link Tester DB-9 Male to DB-9 Female: Computers & Accessories I used the box at slower speeds than 19.2k. You then need to find a breakout box that supports your pins. You need to count the number of pins on your connector. ![]() This is for a 25 pin connector which is called a db25 connector. Here is the breakout box, my "blue box", that I remember: I think you need at a minimum, a break out box to see if there is any activity on the lines. A retired person who wants to figure this out. ![]() Your going to have to find someone to assist you. ![]() The manufacture of your projector had a lot of documentation, but wasn't end-to-end.
0 Comments
Leave a Reply. |