![]() A user over at Arduino SE suggested I use a transistor to separate it. ![]() Now, the Mega 2560 has three sets for Serial communications embedded into it which would be perfect… only if I could separate the RX and TX from the 1-Wire. The problem is that the example used is based on an emulated serial port on the Arduino that doesn't like working with multiple instances. Now, I have three of these, and my final objective is to be able to grab data off all of them in the same point in time repeatedly so that I can send the data over to some other program I'm writing to run an algorithm. These sensors use a communication method known as 1-Wire/MicroLAN wherein they use only one pin for transmission and reception depending on the state of the pin they're attached to, among a few other specifics. I've been fiddling around with the specifics for this project over at the Arduino SE but I suppose this question could be for any microcontroller in general. ![]() I just want to start by saying that I'm relatively new to electrical engineering in general, so if I sound absolutely retarded please bear with me.Īs part of a learning project I'm working with a few color sensors, specifically Parallax's ColorPAL 28380s, and I have both an Arduino Uno and Arduino Mega 2560 lying around to grab data off them.
0 Comments
Leave a Reply. |