projects:hardware:beamer_serial

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
projects:hardware:beamer_serial [2023/01/07 15:31] – created xbrprojects:hardware:beamer_serial [2023/01/07 15:49] (current) – add info about serial println xbr
Line 3: Line 3:
  
 <note tip>Without it, we need to power on the beamer, wait for the lamp to turn on, and then click on the source button, in hopes that HDMI is already plugged in. There is no guarantee that it'll stay on HDMI, unlike the commands you can send via serial.</note> <note tip>Without it, we need to power on the beamer, wait for the lamp to turn on, and then click on the source button, in hopes that HDMI is already plugged in. There is no guarantee that it'll stay on HDMI, unlike the commands you can send via serial.</note>
 +
 +===== Hardware =====
  
 We have a [[https://www.sparkfun.com/products/449|Sparkfun RS232 Shifter]] which can be used to shift the voltage (12V) down to a voltage usable by an ESP8266 (3.3V) or an Atmega328 (e.g. Arduino Uno/Nano) (5V). We have a [[https://www.sparkfun.com/products/449|Sparkfun RS232 Shifter]] which can be used to shift the voltage (12V) down to a voltage usable by an ESP8266 (3.3V) or an Atmega328 (e.g. Arduino Uno/Nano) (5V).
 +
 +The goal is to hook up an ESP8266 (Wemos D1 mini) to it and make it "smart", as to make use of the [[chaosstuff:infrastructure:beamer|beamer]] less annoying.
 +
 +<note tip>You can **use the Wemos D1 mini**, as well as many other microcontroller boards **as Serial Adapters**! \\
 +All you need to do is **upload an empty Arduino sketch to it**, and **switch the Serial wires (TX/RX) around**. \\ \\ This is because many microcontroller boards incorporate serial adapters to communicate with the microcontroller itself, you can thus abuse it by making the microcontroller do nothing, and use the serial adapter for another purpose.</note>
 +
 +===== Software =====
 +While you can probably send the indiviudal hexademical bytes, it is much easier to simply copy-paste the text (e.g. ``* 0 IR 001``) into a ``Serial.println()`` statement.
 +
 +Note that you do not copy the ``\r``, but instead use ``Serial.println()`` to achieve the same effect.
 +
  
 <note tip>[[https://global-download.acer.com/GDFiles/Document/RS232%20Command%20Table/RS232%20Command%20Table_Acer_1.0_A_A.xls?acerid=636437389660226028|RS232 spreadsheet]]</note> <note tip>[[https://global-download.acer.com/GDFiles/Document/RS232%20Command%20Table/RS232%20Command%20Table_Acer_1.0_A_A.xls?acerid=636437389660226028|RS232 spreadsheet]]</note>
  • projects/hardware/beamer_serial.1673101881.txt.gz
  • Last modified: 2023/01/07 15:31
  • by xbr