Python Forum
User serial/pyserial to send messages to an arudino via terminal manually
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
User serial/pyserial to send messages to an arudino via terminal manually
#3
Not plug and play, but a very robust solution:

You could use something like https://www.adafruit.com/product/4471 which uses a Microchip MCP2221A
https://www.microchip.com/wwwproducts/en/MCP2221A uSB to I2C bridge

It can be wired to an Arduino's I2C connectors as follows: https://howtomechatronics.com/tutorials/...h-arduino/

It will take a bit of work to get everything in sync, but software is provided by adafruit.

If you use this approach, you will have the ability to hook multiple devices to the same I2C port.

Here are a couple of I2C tutorials if you are interested in this form of communications (most use python):

These specifically for the arduino:
Video: https://www.youtube.com/watch?v=6IAkYpmA1DQ
https://howtomechatronics.com/tutorials/...h-arduino/

https://learn.sparkfun.com/tutorials/i2c/all

https://www.circuitbasics.com/basics-of-...-protocol/

more video:
https://www.youtube.com/watch?v=DsSBTYbXAKg
https://www.youtube.com/watch?v=HGX457RA4IU
Reply


Messages In This Thread
RE: User serial/pyserial to send messages to an arudino via terminal manually - by Larz60+ - Mar-10-2021, 11:26 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  manually input data jpatierno 0 340 Nov-10-2023, 02:32 AM
Last Post: jpatierno
  pyserial/serial "has no attribute 'Serial' " gowb0w 9 3,903 Aug-24-2023, 07:56 AM
Last Post: gowb0w
Star Pyserial not reading serial.readline fast enough while using AccelStepper on Arduino MartyTinker 4 4,057 Mar-13-2023, 04:02 PM
Last Post: deanhystad
  Use pexpect to send user input alisha17 0 1,888 May-10-2022, 02:44 AM
Last Post: alisha17
  pySerial - missed messages q_nerk 2 1,740 Jan-27-2022, 09:59 PM
Last Post: Jeff_t
  Using print command to send command to rasberry pi terminal MondazeBear 2 1,865 Aug-02-2021, 03:15 PM
Last Post: Larz60+
  Can't transmit serial fast Python to Arduino pyserial mRKlean 0 2,355 Mar-29-2020, 08:12 PM
Last Post: mRKlean
  Manually create a hex value Stas43 5 3,011 Feb-27-2020, 08:28 AM
Last Post: Stas43
  send repeated messages with apscheduler pylab 1 1,902 Jan-04-2020, 08:43 PM
Last Post: snippsat
  How to manually define color bar scale in seaborn heatmap SriRajesh 3 18,287 Sep-08-2019, 11:12 AM
Last Post: RudraMohan

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020