Things used in this project

Hardware components:
A000066 iso both
Arduino UNO & Genuino UNO
×1
12002 04
Breadboard (generic)
×1
Texas instruments tlc551cp image
Texas Instruments 555 Timers Ultra Low Voltage
Use generic NE555.
×1
Microchip MCP41010
×1
Panasonic eca2am101
Capacitor 100 µF
Not 100uF!!! 1uF.
×1
Software apps and online services:
Microsoft Desktop Windows Operating System 10
Ide web
Arduino Web Editor
Or use offline IDE. Really doesn't matter lol
555square
Good web to understand NE555

Schematics

Schematic
Shows MCP41010 and NE555 connected together. Quite simple if you think about it.
untitled_sketch_LfGD7yTHRQ.fzz
Excel file for frequency chart
book1_ADwQzj7g33.xlsx

Code

Arduino CodeArduino
Makes Arduino sing using MCP and NE555. Will be quite straight forward.
#include <SPI.h>
const int CS = 8;

void setup() {
  pinMode(CS, OUTPUT);
  SPI.begin();
}

void loop() {
  MCPWrite(78);
  delay(500);
  MCPWrite(48);
  delay(500);
  MCPWrite(58);
  delay(3000);
  MCPWrite(58);
  delay(500);
  MCPWrite(51);
  delay(500);
  MCPWrite(48);
  delay(3000);
  MCPWrite(58);
  delay(375);
  MCPWrite(48);
  delay(375);
  MCPWrite(38);
  delay(250);
  MCPWrite(43);
  delay(3000);
  MCPWrite(58);
  delay(500);
  MCPWrite(51);
  delay(500);
  MCPWrite(48);
  delay(2000);
  MCPWrite(51);
  delay(1750);
  MCPWrite(65);
  delay(250);
  MCPWrite(65);
  delay(375);
  MCPWrite(69);
  delay(375);
  MCPWrite(87);
  delay(2000);
}

void MCPWrite(int value) 
{
  //value is step# for controlling resistance!
  digitalWrite(CS,LOW);
  SPI.transfer(B00010001); // This tells the chip to set the pot
  SPI.transfer((byte)value);     // This tells it the pot position
  digitalWrite(CS,HIGH);
}

Credits

36ad8bd804b4e59cca8fad30132b64d6
Jeremy Yoo
1 project • 0 followers
Random guy building random stuff
Contact

Replications

Did you replicate this project? Share it!

I made one

Love this project? Think it could be improved? Tell us what you think!

Give feedback

Comments

Add projectSign up / Login