You’re all talk.
Some comments removed, keep it polite please.
Thank you.
Edit,
Another comment removed. Please stick to helping the OP.
More intervention from the moderators will involve suspensions and the like.
True, true….
And we don’t even know what hardware is available to the OP……
I might write Pseudocode for the project if I get bored…..
Here's some:
(The names might need a little adjusting to fit this particular application.)
This is your list of requirements:
- Start the Bot at the position indicated
- Drive inside the circles clockwise, not touching the tape edges
- until the Bot detects the Red tape
- When detect Red tape stop
- use a for loop to play 6 increasing tones (1000, 1500, 2000, 2500, 3000 and 3500 Hz)
- Turn around about 180 degrees,
- drive counter-clockwise until the Bot detects Red tape again.
- When detect Red tape stop
- use a for loop to play 6 decreasing tones (3500, 3000, 2500, 2000, 1500 and 1000 Hz). Play each tone for 500 msec, no space between.
- Then terminate the program.
At $500 per project (lowest bidder), that is $50 per step, here are Step 5 and Step 9 for $100. PM me for my payment.
Or... are you all talk?
#define redTape 2
#define buzzerPin 8
const int sidirTones[] = { 1000, 1500, 2000, 2500, 3000, 3500};
const int toneSize = sizeof(sidirTones) / sizeof(sidirTones[0]);
int i, j, dir; // counters
void setup() {
pinMode(redTape, INPUT_PULLUP);
}
void loop() {
if (!digitalRead(redTape)) {
j++; // count button press
tapeTones(j); // play tones
}
}
void tapeTones(int dir) {
pinMode(buzzerPin, OUTPUT);
if (dir % 2) { // determine direction (up/down)
for (i = 0; i < toneSize; i++) { // up
tone(buzzerPin, sidirTones[i]); // pin, freq
delay(500);
}
noTone(buzzerPin);
} else {
for (i = toneSize-1; i > -1; i--) { // down
tone(buzzerPin, sidirTones[i]); // pin, freq
delay(500);
}
noTone(buzzerPin);
}
}
@xfpd Umm. I think, if you read the posts above carefully, the dollar values quoted were for providing a quote
But hey, who cares, it's not like this is going anywhere seriously. It's all electrons, gone pfft!
++good
I'll donate any scalping as an Arduino education kit to a school.
Nice that you don't say "to the school of the TO"
Well... the TO has a kit... might have import restrictions... and could use some direction (in school, not on-line).
I am close enough to a below-average school where kids are choosing trouble over learning. I know a few teachers who can get me in contact with the administration and an "Industrial Arts" teacher wanting to put high-tech in the shop... I feel robotics (computo-mechanics) can be a vocation, rather than a degree, if started early. Maybe keep the kids off the streets (and the Forum).
Seems like a good plan..
But funding..?
Wondering what is going on with this project….
An "engineer" is getting a free lesson in contracting.
Lowest bid is $500 for the survey of devices required for the line-follower project, before the coding begins. The tones portion could be considered complete, just waiting for the PM for the DM (Deutsch Marks - rhymes).
I have no need to profit from this, so If anything is sent, I will invest this "engineer student tax" into an OEM education kit and find an instructor who could use it in a structured class.
(p.s. I am cobbling a Nano based line follower for follow-up support)
A few points :
- no solid engineer will undertake a poorly detailed ask without access to the real hardware for $50.
- We (programmer worth their salt) have worked hard and long hours to get where we are and have expectations of key skills for those in our trade. The last thing we want to see is poorly skilled professionals who bought their ways through graduation hit the market and then have to do double the work because they don’t know what they are supposed to know.
➜
My view - and l am pretty sure many old timers think like me - is that you have to face the music and take responsibility for your "screwing up this semester and not learning a thing".
Behavior/acts have consequences, you learn it sometimes the hard way and hopefully you learn from your mistake and if that has been hard enough on you then you never let that happen to you ever again.
That’s how you grow, become a responsible person and gain respect.
For those reasons, even though it’s true we could code this relatively quickly together, many of us won’t touch your project, be it for 50 500 or 5000 because it’s just wrong and the world does not need more wrong…
PS: some might see that making it you pay hard $ - something that hurts - for teaching you a lesson and give away the money to support poor kids who are denied the learning opportunity… I see the point but still think it’s not OK.
Cynicism would be to get the money from you and give it away and provide you with a failing projet and/or report to your school so that you do pay twice…
Do the right thing.
You know Russell Peters? https://www.youtube.com/watch?v=3gD1woa_Cbw