I may do a valet Darth Vader in tribute of this post title lol good lord I know im in your hood y'all are vicious ![]()
pin 9 on the isd 1820
Except you provide little to no information... and ramble.
There is no Arduino. If it was simple, you would not be here.
What does either of these have to do with the topic subject, or Arduino?
Not disputing this assessment, but now we at least know that OP wants to use Arduino analog input to sample the SP+ voltage output by the ISD 1820 on Pin 9. The circuit diagram indicates that the ISD 1820 has VCC=5 V, so presumably they could connect a wire directly from the ISD 1820 Pin 9 to the A0 pin on their Arduino board (not shown), and this would not harm the Arduino.
With my limited personal expertise, though, I'm unsure whether it would be more appropriate for OP to connect the Arduino GND to the ISD 1820 SP- pin (Pin 7) or to the VSSA pin (Pin 8). If someone could clear this up, perhaps some progress can be made in this thread, despite the communication challenges.
notes for jitter project #2 the arduino sketch needs to read a value from the touch sensor like it would from a variable res ... use serial port 9600 to communicate with max jitter video use print instead of print Ln the int would be the sensorVal ill have to use (" ") so max can unpack the information also map sensor val 0, 1023 ,0, 255 button state and sennsorPin
It sounds like you are reading from kit assembly instructions or homework. Share them. Post a picture or a link.
const int sensorPin = A0;
int sensorVal = 0;
void setup() {
Serial.begin(9600);
}
void loop() {
sensorVal = analogRead(sensorPin);
sensorVal = map(sensorVal, 0, 1023, 0, 255);
Serial.print(" ");
Serial.print(sensorVal);
the original sketch had leds and buttons so I cut those out ....so sending data to Max jitter video
https://www.instagram.com/p/DJNkPcDPEu1/
progress for jitter project #2
I need help with these sketches I don't have time to take 12 years of computer science to write this sketch ....the circuit is provided in this post ....im afraid that's all I cann do when the project is complete I will post how I did this .....I feel like theres many applications this post can be a good reference for ...if and when I get the right sketch that works I can learn from that as a templet getting a better understanding how to write my own sketches. I believe people can do circuitry I will keep looking into these project however still hoping a super nerd will come to my aid and feel compelled to help is there like a secret thing I have to say ? Dubl Cane?
FYI, the code you posted in Comment #28 has a missing curly brace } at the end of the code, but otherwise looks like it should compile and run. Did you have some kind of issue with this code?
You'll have better luck getting help if you try to not ignore questions or requests from those forum members who are making some attempt to help you.
For example, you have ignored the request that was made by @xfpd almost a week ago.
Peter Edwards might help with a basic sketch ....I don't feel like I ignored any advice here maybe it's unclear to me .... I came in here asking for some open source sketch and ive been figuring most of this on my own so far its been a lot of judgment and explaining myself every thing is here in these posts that is important someone just needs to come through until that happens ill continue to figure out what to do I feel like im closer but yeah nothing is clear
You're definitely ignoring (or refusing to answer) questions that we are asking you, though.
So, don't. You will still need to read about everything you touch, perform practical exercises, be self-reliant, take notes, experiment, fail, take more notes, and learn. You just get to skip paying for a piece of paper that increases your income by double or ten fold. How do you think I gained so many bad habits of poor programming?
I agree. You find the template and learn from it. If you do not want to learn why the template works (or does not work), do not involve people who want to help people learn.
You have so many here, who have fun programming and helping. If you want copy/paste/learn-nothing, use Instructables. They have so many bad pages that you will soon learn what NOT to do. I don't think that is how you want to learn.
Who here has not tried to help? You must be willing to learn.
I doubt Peter Edwards frequents this forum, but perhaps you can reach out to him on Instagram.
You need to post the original sketch. Whatever you posted in #28 is not complete.
Also, you do not show where A0 connects... because your drawing has nothing to do with Arduino... so make a drawing with Arduino connections.
Connect a potentiometer to A0 and run this adaptation of your #28 sketch.
const int sensorPin = A0;
int sensorVal = 0, sensorValOld;
void setup() {
Serial.begin(9600);
}
void loop() {
sensorVal = analogRead(sensorPin);
if (sensorValOld != sensorVal) {
sensorValOld = sensorVal;
sensorVal = map(sensorVal, 0, 1023, 0, 255);
Serial.print(" ");
Serial.print(sensorVal);
}
}
already did
Why do you not have an indication of the pin connection?
Okay... you should see numbers change in the sketch in #36 as you adjust the potentiometer.
Previously, you said that you wanted to use the Arduino A/D converter to sample Pin 9:
But now, you're saying it's Pin 10.
Which is it?
And where is the Arduino's GND connected? (Hint: It should be connected to Pin 8 on the ISD 1820).
Did you mean the following?
int sensorVal, sensorValOld = 0;
or even better:
int sensorVal, sensorValOld = -1;
