5
votes
1answer
164 views

Serial Communication over 1 Pin?

Okay guys, I'm in a bit of a pickle here. I have the following circuit: As you can see, pin 3 is my only output. I've actually already had this board printed, so there's not much room for ...
0
votes
2answers
269 views

Digole serial LCD with PIC [closed]

Does anyone have experience using the Digole serial LCD adapter/converter with PIC? I plan to use it in SPI mode on an PIC18F46K20. I can only find Arduino code examples that refer to libraries such ...
2
votes
1answer
228 views

Serial LED driver with individual PWM, compatible with common cathode bargraphs?

I bought one of these circular bargraphs from Sparkfun. A 16 LED bargraph with two common cathodes. I'd like to drive it from a single chip to free up I/O on my micro, and not take a bunch of cycles ...
3
votes
5answers
908 views

Computer to Arduino Interface Options

I need to send 800 bytes of data from a computer to an arduino board every 20ms (approximately). I began with the serial library which works nicely but it is too slow even at its highest rate (115200 ...
8
votes
5answers
555 views

What is the most popular embedded serial bus? [closed]

I'm designing an embedded device that I would like to make interoperable with third party peripherals through a serial bus. Should I choose SPI, I²C, or some other bus? The peripherals will be ...
8
votes
4answers
1k views

How to reverse engineer I2C and SPI protocols?

If I have an unkown device which talk I2C or SPI how can I reverse engineer the protocol. Basically I am looking for something similar as snoop or tcpdump. For software Mac is preferred but can also ...