Schematic

Post here to discuss The Great Race.

Moderators: Chuckt, Garth, bitfogav

Post Reply
User avatar
1kiko1
Can't get enough of electronics!
Can't get enough of electronics!
Posts: 57
Joined: Wed Jun 29, 2011 11:16 pm

Schematic

Post by 1kiko1 » Sun Jul 03, 2011 2:16 am

here is my finished schematic
Attachments
The Great Race Schematic.jpg
The Great Race Schematic.jpg (311.88 KiB) Viewed 12524 times

rd1196
Can't get enough of electronics!
Can't get enough of electronics!
Posts: 83
Joined: Mon Aug 30, 2010 8:05 am

Re: Schematic

Post by rd1196 » Mon Oct 17, 2011 10:22 am

What pins exactly are connected to the buttons? Because I always seem to connects the wrong button to each pin so the car moves to the opposite side of the button

User avatar
brad
Site Admin
Site Admin
Posts: 2576
Joined: Fri Mar 26, 2010 10:30 pm

Re: Schematic

Post by brad » Mon Oct 17, 2011 8:45 pm

Are you sure that you aren't just putting your buttons on the wrong sides?

User avatar
sdudley
Moderator
Moderator
Posts: 337
Joined: Sun Mar 28, 2010 1:33 pm
Location: Florida, U.S.A.

Re: Schematic

Post by sdudley » Mon Oct 17, 2011 9:01 pm

Maybe the buttons are on backwards? :shock:

Sorry, I couldn't resist! :P
Any time you deviate from sequential consistency, you increase the complexity of the problem by orders of magnitude.

rd1196
Can't get enough of electronics!
Can't get enough of electronics!
Posts: 83
Joined: Mon Aug 30, 2010 8:05 am

Re: Schematic

Post by rd1196 » Tue Oct 18, 2011 10:51 am

Yeah you are probably right, I just wanted to make sure because it seemed odd that of the 3games ive build i had to change the button connections on all 3 of them

rd1196
Can't get enough of electronics!
Can't get enough of electronics!
Posts: 83
Joined: Mon Aug 30, 2010 8:05 am

Re: Schematic

Post by rd1196 » Tue Oct 18, 2011 11:38 am

What do you mean by putting the buttons backwards? I thought it was the same to put the buttons one way or rotated 90 deegres

User avatar
sdudley
Moderator
Moderator
Posts: 337
Joined: Sun Mar 28, 2010 1:33 pm
Location: Florida, U.S.A.

Re: Schematic

Post by sdudley » Tue Oct 18, 2011 12:29 pm

rd1196 wrote:What do you mean by putting the buttons backwards? I thought it was the same to put the buttons one way or rotated 90 deegres
I was joking. You mentioned the cars going the opposite direction so I couldn't resist making a joke, sorry! :D

Yes, the buttons work both ways.
Any time you deviate from sequential consistency, you increase the complexity of the problem by orders of magnitude.

rd1196
Can't get enough of electronics!
Can't get enough of electronics!
Posts: 83
Joined: Mon Aug 30, 2010 8:05 am

Re: Schematic

Post by rd1196 » Wed Oct 19, 2011 11:12 am

I know it was a joke but could that really be the problem? I mean if either side is fine (up or down) why if I use the connections shown on that schematic (the one provided by 1kiko1) the car goes the opposite sides?

User avatar
brad
Site Admin
Site Admin
Posts: 2576
Joined: Fri Mar 26, 2010 10:30 pm

Re: Schematic

Post by brad » Wed Oct 19, 2011 8:43 pm

One thing to note with the buttons is that there are four connections although they are shorted together on opposite sides to really give you just two connections. So just be mindful of where you connect your wires to.

rd1196
Can't get enough of electronics!
Can't get enough of electronics!
Posts: 83
Joined: Mon Aug 30, 2010 8:05 am

Re: Schematic

Post by rd1196 » Thu Oct 20, 2011 11:40 am

http://www.sparkfun.com/datasheets/Comp ... /00097.jpg in this picture you can see the internal connections of the buttons so I think the way to do it is connect either the ground or the microcontroller to pin 1 or 2 and the other one to pin 3 or 4, I mean I think it is the same to use 1-3 or 2-4. Brad using that picture what connections do you think would be wrong to do while using those buttons?

User avatar
bitfogav
Moderator
Moderator
Posts: 908
Joined: Sun Mar 28, 2010 9:03 pm
Location: United Kingdom
Contact:

Re: Schematic

Post by bitfogav » Fri Oct 21, 2011 1:30 am

I think you have put your LEFT button to pin RA7 and your RIGHT button to RA6.. When you really need to connect your LEFT button to RA6 and your RIGHT button to RA7 of the microcontroller pins.
the_great_race_schematic.png
the_great_race_schematic.png (27.13 KiB) Viewed 12386 times

rd1196
Can't get enough of electronics!
Can't get enough of electronics!
Posts: 83
Joined: Mon Aug 30, 2010 8:05 am

Re: Schematic

Post by rd1196 » Fri Oct 21, 2011 9:30 am

I did connect RA6 to the left button and RA7 to the right but on the schematic on top of the topic it is actually the other way around

User avatar
1kiko1
Can't get enough of electronics!
Can't get enough of electronics!
Posts: 57
Joined: Wed Jun 29, 2011 11:16 pm

Re: Schematic

Post by 1kiko1 » Fri Oct 28, 2011 2:05 am

ricky i did it the way in my schematic and i had no problem play with the cables and you will get success :D

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest