Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > Electronic Projects Design/Ideas/Reviews


Electronic Projects Design/Ideas/Reviews Are you building an electronic project or want to? Maybe you need some assistance? Come and submit your electronic questions here and let our experienced members find a solution.

Reply
 
LinkBack Thread Tools Display Modes
Old 23rd January 2008, 04:40 AM   (permalink)
Default

3v0,

Well done on getting that on a single sided board.

I took the liberty of photoshopping it to clean up the holes, make it black on white and set the resolution for printing. This should now come out the right size by printing in MS Photo Editor. The cleaned up holes also make drilling much easier. With a bit of luck I'll get around to etching one this afternoon.

Mike.
Attached Images
File Type: png MagicSW.png (12.5 KB, 37 views)

Last edited by Pommie; 6th July 2008 at 05:13 PM.
Pommie is online now  
Old 23rd January 2008, 04:52 AM   (permalink)
Default

Quote:
Originally Posted by Pommie
3v0,

Well done on getting that on a single sided board.

I took the liberty of photoshopping it to clean up the holes, make it black on white and set the resolution for printing. This should now come out the right size by printing in MS Photo Editor. The cleaned up holes also make drilling much easier. With a bit of luck I'll get around to etching one this afternoon.

Mike.
Laying out PCBs is a lot like doing puzzles. I enjoy it. I kept this on simple to make it easy for others to make. SS and no traces between IC pads.

Looks like you are going to beat me to building it I can not make a board till tomorrow. It is a simple thing. If you have any questions feel free to ask. If you or anyone wants eagle files I would be glad to post them. The quality of the boards printed withing eagle is better.

Enjoy and let me know if/when you find any errors.
3v0 is offline  
Old 23rd January 2008, 09:58 PM   (permalink)
Default Foil PDF

The beta version of Eagle has a feature that allows you to create a PDF of the board.
The pdf image is very smooth and clear compared to the exported 300 dpi image I posted.
I am updating the previous set of files to include a PDF for the foil. When I get the top artwork finished I will provide it.
3v0 is offline  
Old 23rd January 2008, 11:06 PM   (permalink)
Default

Neat trick. During the part where he puts all the caps behind his back and asks his friend to pick one, I guess he had to make certain that his friend picked the colour who's bulb was fitted in the 1st position?

Brian
Brian Hoskins is offline  
Old 23rd January 2008, 11:31 PM   (permalink)
Default

Ah - sorry about that everyone. First time I've seen this thread and I didn't notice the discussion had gone beyond 1 page! Doh!

Brian
Brian Hoskins is offline  
Old 24th January 2008, 12:18 AM   (permalink)
Default

Quote:
Originally Posted by Brian Hoskins
Neat trick. During the part where he puts all the caps behind his back and asks his friend to pick one, I guess he had to make certain that his friend picked the colour who's bulb was fitted in the 1st position?

Brian
You are correct. This is the slight of hand I was talking about much earlier. It is an old staple. Ask a person to pick a hand then keep or discard without regard to the choice. The magician never specifies if he is going to keep or discard your choose. Because of that most people do not catch on.
3v0 is offline  
Old 24th January 2008, 06:00 AM   (permalink)
Default Assembled board

Attached is a pic of the finished board. The switch connector was to close to the processor socket but using a right angle header was a good work around. The problem is fixed foil_1C2.pdf.

This board is setup to bulbs. It can also be assembled for use with LEDs.
Attached Images
File Type: jpg asm 021e.jpg (135.0 KB, 106 views)
3v0 is offline  
Old 27th January 2008, 08:14 AM   (permalink)
Default

I finally got around to building a board and writing some code for this.

The code starts of in learning mode and will assign switches in the order they are switched to bulbs from 1 to 4. Once all switches are assigned it goes into display mode. It stays in display mode until either, a bulb is removed or replaced, a preset sequence is entered or the timer times out AND all switches are off.

The code is self explanatory and is only 230 byte long.

I haven't tried this on 3v0's board as I ended up making my own (due to dodgy eyesight and even dodgier soldering). I think the equates at the top are correct. Maybe someone can try it and let me know.

Mike.
Attached Files
File Type: asm Magic.asm (8.2 KB, 36 views)

Last edited by Pommie; 6th July 2008 at 04:29 PM.
Pommie is online now  
Old 27th January 2008, 06:18 PM   (permalink)
Default

Nice job, 3v0!! Looks great!
__________________
Regards,
William Mullaney

"HOPE for the best, EXPECT the worst, ACCEPT whatever comes."

http://wiliamsville.myminicity.com/
http://wiliamsville.myminicity.com/ind/
http://wiliamsville.myminicity.com/tra/
http://wiliamsville.myminicity.com/sec/
wmmullaney is offline  
Old 27th January 2008, 08:35 PM   (permalink)
Default

Mike,

I should have made the board larger. I will spread things out a bit to make it easier to build. In the past I have given people grief for making things to small

The C code for the board is comming along. You must have done some nice work to get it is so little space.

wmmullaney,

I did not get the board in the mail as planned. I will be sending you an easier to solder version this week
3v0 is offline  
Old 27th January 2008, 08:38 PM   (permalink)
Default

I've been debugging a really simple version is asm. We'll have to compare code when we're done.
__________________
Bill
Smart Kits build Smart People

http://www.blueroomelectronics.com
blueroomelectronics is offline  
Old 28th January 2008, 03:51 AM   (permalink)
Default

This is what my prototype looks like. The board I made uses 2n7000 and 100k pull down resistors which are a little high - they take a while to discharge the pin capacitance. I can post the circuit and board if anyone needs a more spread out version.

Next step is to find a nice piece of wood and get working with the router to fit it inside.

Mike.
Attached Images
File Type: jpg Switch.jpg (153.7 KB, 38 views)

Last edited by Pommie; 6th July 2008 at 05:13 PM.
Pommie is online now  
Old 28th January 2008, 03:58 AM   (permalink)
Default

Quote:
Originally Posted by blueroomelectronics
I've been debugging a really simple version is asm. We'll have to compare code when we're done.
It'll be interesting to see how the various versions compare in the end. I added the timeout bit at the very end and think it makes it less flexible. Having it learn when a bulb is removed or a secret sequence is entered seems to work better.

@3v0,
Which C compiler are you using. I considered switching to a 627 so I could use the free HiTech compiler. I knew I should have waited until I had a socket for the 88.

Mike.
Pommie is online now  
Old 28th January 2008, 04:03 AM   (permalink)
Default

I'm cheating and using an old ICE with a 16F628 pod.
__________________
Bill
Smart Kits build Smart People

http://www.blueroomelectronics.com
blueroomelectronics is offline  
Old 28th January 2008, 04:35 AM   (permalink)
Default

Quote:
Originally Posted by Pommie
It'll be interesting to see how the various versions compare in the end. I added the timeout bit at the very end and think it makes it less flexible. Having it learn when a bulb is removed or a secret sequence is entered seems to work better.

@3v0,
Which C compiler are you using. I considered switching to a 627 so I could use the free HiTech compiler. I knew I should have waited until I had a socket for the 88.

Mike.
Actualy I am thinking of redoing the board to use with a 18F1320 (or similar) so we can use the free compiler. I am using the CCS complier which is not free for the 88. I have never used the Hi-Tech compiler (that I can recall) and since I have been talking about not using the 16F chips I should put my money where... But porting from CCS to Hi-Tech should not be difficult.

I may also add some onboard status llights to help with debug. Either that or a serial port. Maybe a speaker too! Please stop me. Actualy I am thinking there are other games that could be played on this little box.

I am having fun with it. It is works fine the first time through. Just need to get it working right in a loop...

The IO is a simpiler without the bulb sense circuit.
3v0 is offline  
Reply

Bookmarks

Thread Tools
Display Modes



Similar Threads
Title Starter Forum Replies Latest
Question about Inchworm+ Quan Micro Controllers 54 28th October 2007 01:21 AM



All times are GMT. The time now is 09:36 AM.


Electronic Circuits  |  Learning Electronics
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.

eXTReMe Tracker