The board used is a cheap Arduino nano clone CH340G, $6.00 on Amazon cable included like the one in the picture. That’s why we will use the a software serial port for ccTalk and for debugging the hardware serial port.
The hardware serial port is used for programming.It doesn’t have a real in circuit debugger.Following Jordy’s comment I decided that Arduino is the easiest ready made board to use and very popular, cheap and easy to find everywhere even I don’t have much experience with Arduino and it has two major drawbacks: I used an oscilloscope to display the signals for this Instructables.For some time I was thinking to show an example using a micro-controller board still not sure which one to use. The AD7376 digital potentiometer is a surface mount device so I soldered it onto a surface-mount proto-PCB so it could be plugged into the proto-board. It could be any 8-bit SPI device using this circuit.įor this Instructables, I used an Arduino Uno board, a proto-board, some DIP (Dual Inline Package) switches (they are optional), a variety of jumper wires, a DC power supply, an ohm meter, a few capacitors for DC power supply smoothing, and a few pull-up resistors for the digital potentiometer. This Instructables will show you how to set up and program a simple proto board circuit using the Arduino Uno to drive SPI data to a peripheral circuit which, in this case, is an Analog Devices AD7376 digital potentiometer. Oftentimes, you just want to test the electronic device to make sure it and its associated circuitry is working properly. Many hobbyists use microcontrollers such as the Arduino to control and use SPI devices. The devices receive data serially from a microcontroller using a 3-wire set-up that includes a chip select signal (usually titled CS - when this signal is at logic 0, a chip recognizes it will be receiving or sending data), a clock signal for clocking the serial data into the device, and the serial data stream itself. various sensors, LCD displays, digital potentiometers, D/A and A/D converters, wireless transmitters and receivers, audio volume controls).
There are many electronic devices that use the SPI bus, or Serial Peripheral Interface bus, for communications (e.g.