ti83 plus comunicacion half-dulpex con Arduino
To enable half-duplex communication between a TI-83 calculator and an Arduino micro, you'll need to connect a link cable to the Arduino's digital pins, typically two and three, along with a ground connection. You'll use software like the ArTICL project to program the Arduino, enabling it to act as both a transmitter and receiver for half-duplex communication. This requires coding the Arduino to switch between transmit and receive modes using specific digital pins, allowing data to flow in both directions but not simultaneously.
Hardware Setup
- Calculator Connection: Acquire a TI-83 Plus, TI-84 Plus, or TI-84 Plus C Silver Edition calculator, as these have a round IO port.
- Link Cable: You'll need a link cable with a headphone-style jack.
- Wiring:
- Cut the link cable in half to expose the conductors.
- Connect the red wire to digital pin 2 on the Arduino.
- Connect the white wire to digital pin 3 on the Arduino.
- Connect the shield wire to a ground pin on the Arduino.
Software and Programming
- Use a project like ArTICL to program your Arduino for this specific task, as it includes necessary sketches and example projects.
- In your Arduino code:
- Transmission Mode: Set digital pins 2 and 3 to a HIGH state to enable transmission.
- Receiving Mode: Return the pins to a LOW state to switch back to receiving mode.
- Data Handling: Use commands like
Serial.available()to check for incoming data andSerial.print()orSerial.write()to send it.
- Transmission Mode: Set digital pins 2 and 3 to a HIGH state to enable transmission.
Operation
- Upload Code: Program the Arduino with the appropriate code.
- Test: Use the example projects included with the ArTICL project to test your setup and verify that data can be sent and received between the calculator and the Arduino.
No hay comentarios:
Publicar un comentario