Hardware Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   Dev Hardware ForumsHARDWAREHardware Development

Closed Thread
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Hardware Forums Sponsor:
  Trader Rating: 0 · #1  
Old September 23rd, 2004, 10:02 AM
chound chound is offline
n00b DevH'er
Dev Hardware Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Posts: 11 chound User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Smile Coding a hardware

How are all the machines coded? How are they programmed to do functions. Like how does my remote control car work? When i press right button it moves right, how is it made to do that???

Reply With Quote
  Trader Rating: 0 · #2  
Old September 23rd, 2004, 11:46 AM
butmunch butmunch is offline
Moz
Dev Hardware Frequenter (2500 - 2999 posts)
 
Join Date: Aug 2004
Location: Leeds
Posts: 2,796 butmunch User rank is Brigadier General (60000 - 70000 Reputation Level)butmunch User rank is Brigadier General (60000 - 70000 Reputation Level)butmunch User rank is Brigadier General (60000 - 70000 Reputation Level)butmunch User rank is Brigadier General (60000 - 70000 Reputation Level)butmunch User rank is Brigadier General (60000 - 70000 Reputation Level)butmunch User rank is Brigadier General (60000 - 70000 Reputation Level)butmunch User rank is Brigadier General (60000 - 70000 Reputation Level)butmunch User rank is Brigadier General (60000 - 70000 Reputation Level)butmunch User rank is Brigadier General (60000 - 70000 Reputation Level)butmunch User rank is Brigadier General (60000 - 70000 Reputation Level)butmunch User rank is Brigadier General (60000 - 70000 Reputation Level)butmunch User rank is Brigadier General (60000 - 70000 Reputation Level)butmunch User rank is Brigadier General (60000 - 70000 Reputation Level)  Folding Points: 241 Folding Title: Novice Folder
Time spent in forums: 3 Weeks 2 Days 3 h 12 m 20 sec
Reputation Power: 681
Send a message via MSN to butmunch
Quote:
Originally Posted by chound
How are all the machines coded? How are they programmed to do functions. Like how does my remote control car work? When i press right button it moves right, how is it made to do that???

They are madeto recognize high voltages and low voltages as ones as zeroes, this forms a binary language, the signals are then manipulated via logic gates and silicon chips (which are like uber logic gates).. basically the remote control sends a signal to the car, the signal is then transformed into a signal which the chip can use, it then sends out the signal needed to make the motors in the car do what you want them to do. Like some stupid car in my physics department which changes direction when you clap... the signal is controled by the variable, sound, because the resistance is changed when the noise is made to make the signal either low or high, 0 or 1, which makes all the difference... hope this helps, i'm only doing a level physics and gcse electronics, so i don't know that much... things like processors work by magic, i dont even want to try and comprehend them...

Reply With Quote
  Trader Rating: 0 · #3  
Old September 23rd, 2004, 09:50 PM
Arrow17's Avatar
Arrow17 Arrow17 is offline
Just can't stay away
Dev Hardware Newbie (0 - 499 posts)
 
Join Date: Jun 2004
Location: Albany, New York
Posts: 494 Arrow17 User rank is Private First Class (20 - 50 Reputation Level)Arrow17 User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 4 h 38 m 24 sec
Reputation Power: 5
It's difficult to explain, Butmunch did a commendable job, so I'll just try to add what I can. On your RC car, I'm betting that you can move the control levers and control the speed of whatever action it preforms. This is actually an analog action, that must must be changed to binary, in order for the servos in your car to respond appropriately. The instructions that are formed from this are called PWM's (PWM stands for Pulse-Width Modulation). Just thought I'd add my 2 cents on how hardware can be programmed to kind of understand analog.

Reply With Quote
  Trader Rating: 0 · #4  
Old September 23rd, 2004, 11:45 PM
chound chound is offline
n00b DevH'er
Dev Hardware Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Posts: 11 chound User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
ok but how does the code go into the circuit of my car. Like, its programmed and that program is store where? and how does the program get there?

Reply With Quote
  Trader Rating: 1 · #5  
Old September 24th, 2004, 11:30 AM
Dmytry's Avatar
Dmytry Dmytry is offline
none
Dev Hardware Intermediate (1500 - 1999 posts)
 
Join Date: Jun 2004
Posts: 1,524 Dmytry User rank is Second Lieutenant (5000 - 10000 Reputation Level)Dmytry User rank is Second Lieutenant (5000 - 10000 Reputation Level)Dmytry User rank is Second Lieutenant (5000 - 10000 Reputation Level)Dmytry User rank is Second Lieutenant (5000 - 10000 Reputation Level)Dmytry User rank is Second Lieutenant (5000 - 10000 Reputation Level)Dmytry User rank is Second Lieutenant (5000 - 10000 Reputation Level)Dmytry User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 2 Days 7 h 18 m 25 sec
Reputation Power: 88
Go get a book on electronics and digital electronics.

Reply With Quote
  Trader Rating: 0 · #6  
Old September 24th, 2004, 11:34 AM
Quantum Skyline's Avatar
Quantum Skyline Quantum Skyline is offline
Enjoy the silence
Dev Hardware Regular (2000 - 2499 posts)
 
Join Date: Jan 2003
Location: North of the 49th Parallel
Posts: 2,296 Quantum Skyline User rank is Captain (20000 - 30000 Reputation Level)Quantum Skyline User rank is Captain (20000 - 30000 Reputation Level)Quantum Skyline User rank is Captain (20000 - 30000 Reputation Level)Quantum Skyline User rank is Captain (20000 - 30000 Reputation Level)Quantum Skyline User rank is Captain (20000 - 30000 Reputation Level)Quantum Skyline User rank is Captain (20000 - 30000 Reputation Level)Quantum Skyline User rank is Captain (20000 - 30000 Reputation Level)Quantum Skyline User rank is Captain (20000 - 30000 Reputation Level)Quantum Skyline User rank is Captain (20000 - 30000 Reputation Level)  Folding Points: 136545 Folding Title: Super Ultimate Folder - Level 1Folding Points: 136545 Folding Title: Super Ultimate Folder - Level 1Folding Points: 136545 Folding Title: Super Ultimate Folder - Level 1Folding Points: 136545 Folding Title: Super Ultimate Folder - Level 1Folding Points: 136545 Folding Title: Super Ultimate Folder - Level 1Folding Points: 136545 Folding Title: Super Ultimate Folder - Level 1
Time spent in forums: 3 Weeks 18 h 52 m 55 sec
Reputation Power: 298
Quote:
Originally Posted by chound
ok but how does the code go into the circuit of my car. Like, its programmed and that program is store where? and how does the program get there?


Honestly, you need a course in
1) signal processing
2) microprocessor design and assembly programming
3) communications

Your questions are really broad - and WAY too general. A Sony remote control is not the same as a Panasonic remote, but they have some principles that are the same and we can try to explain those.

I can explain software related stuff (and a bit of hardware) but none of the communications since I haven't taken a course in signal processing.

Reply With Quote
  Trader Rating: 0 · #7  
Old September 24th, 2004, 07:46 PM
drumz0rz's Avatar
drumz0rz drumz0rz is offline
Call of Duty 4
Click here for more information
 
Join Date: Jun 2004
Location: NY
Posts: 5,065 drumz0rz User rank is General 42nd Grade (Above 100000 Reputation Level)drumz0rz User rank is General 42nd Grade (Above 100000 Reputation Level)drumz0rz User rank is General 42nd Grade (Above 100000 Reputation Level)drumz0rz User rank is General 42nd Grade (Above 100000 Reputation Level)drumz0rz User rank is General 42nd Grade (Above 100000 Reputation Level)drumz0rz User rank is General 42nd Grade (Above 100000 Reputation Level)drumz0rz User rank is General 42nd Grade (Above 100000 Reputation Level)drumz0rz User rank is General 42nd Grade (Above 100000 Reputation Level)drumz0rz User rank is General 42nd Grade (Above 100000 Reputation Level)drumz0rz User rank is General 42nd Grade (Above 100000 Reputation Level)drumz0rz User rank is General 42nd Grade (Above 100000 Reputation Level)drumz0rz User rank is General 42nd Grade (Above 100000 Reputation Level)drumz0rz User rank is General 42nd Grade (Above 100000 Reputation Level)drumz0rz User rank is General 42nd Grade (Above 100000 Reputation Level)drumz0rz User rank is General 42nd Grade (Above 100000 Reputation Level)drumz0rz User rank is General 42nd Grade (Above 100000 Reputation Level)  Folding Points: 398324 Folding Title: Super Ultimate Folder - Level 1Folding Points: 398324 Folding Title: Super Ultimate Folder - Level 1Folding Points: 398324 Folding Title: Super Ultimate Folder - Level 1Folding Points: 398324 Folding Title: Super Ultimate Folder - Level 1Folding Points: 398324 Folding Title: Super Ultimate Folder - Level 1Folding Points: 398324 Folding Title: Super Ultimate Folder - Level 1
Time spent in forums: 3 Weeks 5 Days 1 h 32 m 14 sec
Reputation Power: 3802
Send a message via AIM to drumz0rz Send a message via Google Talk to drumz0rz Send a message via XFire to drumz0rz
if your truely interested inthing get one of those mad expensive Lego Mindstorm robots.


Quote:
Originally Posted by butmunch
things like processors work by magic, i dont even want to try and comprehend them...

yeah those are amazingly complex, I'm sure everyone here knows that a northwood P4 for example has .09um platters, but to really know how small that is, 1 micrometer is equal to 1/1,000th of a millimeter, which is equal to 1/1,000th of a meter, so 1 platter inside a Northwood is equal to 0.00000009 meters, now the die of the P4 is about 1 1/4 mm tall so think about how many logic gates fit on that tiny little chip.
__________________



Last edited by drumz0rz : September 24th, 2004 at 07:54 PM.

Reply With Quote
  Trader Rating: 0 · #8  
Old September 24th, 2004, 08:18 PM
Arrow17's Avatar
Arrow17 Arrow17 is offline
Just can't stay away
Dev Hardware Newbie (0 - 499 posts)
 
Join Date: Jun 2004
Location: Albany, New York
Posts: 494 Arrow17 User rank is Private First Class (20 - 50 Reputation Level)Arrow17 User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 4 h 38 m 24 sec
Reputation Power: 5
Microchips are extremely complex, it could take you 2 semesters of college (probably more) to understand them. I don't.

Reply With Quote
  Trader Rating: 0 · #9  
Old September 24th, 2004, 08:53 PM
Quantum Skyline's Avatar
Quantum Skyline Quantum Skyline is offline
Enjoy the silence
Dev Hardware Regular (2000 - 2499 posts)
 
Join Date: Jan 2003
Location: North of the 49th Parallel
Posts: 2,296 Quantum Skyline User rank is Captain (20000 - 30000 Reputation Level)Quantum Skyline User rank is Captain (20000 - 30000 Reputation Level)Quantum Skyline User rank is Captain (20000 - 30000 Reputation Level)Quantum Skyline User rank is Captain (20000 - 30000 Reputation Level)Quantum Skyline User rank is Captain (20000 - 30000 Reputation Level)Quantum Skyline User rank is Captain (20000 - 30000 Reputation Level)Quantum Skyline User rank is Captain (20000 - 30000 Reputation Level)Quantum Skyline User rank is Captain (20000 - 30000 Reputation Level)Quantum Skyline User rank is Captain (20000 - 30000 Reputation Level)  Folding Points: 136545 Folding Title: Super Ultimate Folder - Level 1Folding Points: 136545 Folding Title: Super Ultimate Folder - Level 1Folding Points: 136545 Folding Title: Super Ultimate Folder - Level 1Folding Points: 136545 Folding Title: Super Ultimate Folder - Level 1Folding Points: 136545 Folding Title: Super Ultimate Folder - Level 1Folding Points: 136545 Folding Title: Super Ultimate Folder - Level 1
Time spent in forums: 3 Weeks 18 h 52 m 55 sec
Reputation Power: 298
Quote:
Originally Posted by Arrow17
Microchips are extremely complex, it could take you 2 semesters of college (probably more) to understand them. I don't.


It takes the better part of a degree to understand them.

Reply With Quote
  Trader Rating: 0 · #10  
Old September 24th, 2004, 11:41 PM
chound chound is offline
n00b DevH'er
Dev Hardware Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Posts: 11 chound User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Are there any free courses on them(For Jr.High School Student). lol

Reply With Quote
  Trader Rating: 0 · #11  
Old September 24th, 2004, 11:43 PM
chound chound is offline
n00b DevH'er
Dev Hardware Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Posts: 11 chound User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
How does the code go into the circuit? Are wires attached to it for the code to go into it? And where is the code stored in the circuit?

Reply With Quote
  Trader Rating: 0 · #12  
Old September 25th, 2004, 01:36 AM
drumz0rz's Avatar
drumz0rz drumz0rz is offline
Call of Duty 4
Click here for more information
 
Join Date: Jun 2004
Location: NY
Posts: 5,065 drumz0rz User rank is General 42nd Grade (Above 100000 Reputation Level)drumz0rz User rank is General 42nd Grade (Above 100000 Reputation Level)drumz0rz User rank is General 42nd Grade (Above 100000 Reputation Level)drumz0rz User rank is General 42nd Grade (Above 100000 Reputation Level)drumz0rz User rank is General 42nd Grade (Above 100000 Reputation Level)drumz0rz User rank is General 42nd Grade (Above 100000 Reputation Level)drumz0rz User rank is General 42nd Grade (Above 100000 Reputation Level)drumz0rz User rank is General 42nd Grade (Above 100000 Reputation Level)drumz0rz User rank is General 42nd Grade (Above 100000 Reputation Level)drumz0rz User rank is General 42nd Grade (Above 100000 Reputation Level)drumz0rz User rank is General 42nd Grade (Above 100000 Reputation Level)drumz0rz User rank is General 42nd Grade (Above 100000 Reputation Level)drumz0rz User rank is General 42nd Grade (Above 100000 Reputation Level)drumz0rz User rank is General 42nd Grade (Above 100000 Reputation Level)drumz0rz User rank is General 42nd Grade (Above 100000 Reputation Level)drumz0rz User rank is General 42nd Grade (Above 100000 Reputation Level)  Folding Points: 398324 Folding Title: Super Ultimate Folder - Level 1Folding Points: 398324 Folding Title: Super Ultimate Folder - Level 1Folding Points: 398324 Folding Title: Super Ultimate Folder - Level 1Folding Points: 398324 Folding Title: Super Ultimate Folder - Level 1Folding Points: 398324 Folding Title: Super Ultimate Folder - Level 1Folding Points: 398324 Folding Title: Super Ultimate Folder - Level 1
Time spent in forums: 3 Weeks 5 Days 1 h 32 m 14 sec
Reputation Power: 3802
Send a message via AIM to drumz0rz Send a message via Google Talk to drumz0rz Send a message via XFire to drumz0rz
for jr. high, i doubt it, I know in High school in select schools(very few, mines one of them) they do have a program called the Academy of Information Technology and they have all sorts of courses within it such as programming, web design, and cisco networking. Also any high School with a decently large technology dept.(such as mine) may have classes such as consumer electronics, robotics, etc. and those go into codeing the actual hardware, especially robotics where you design and build a robot them "teach" it to walk, pick up something, etc. Its very basic controls for example it you wanted to get motor#1 to move the robot foward you'd have to calculate how long the motor would be on and program the chip to tell the motor to go on for x amount of seconds and then go off.I beleve robots can be programmed with C++(although many other ways exsist) and that program gets flashed to an onboard flash memory chip that controls the rest of the machine. Yes wires are attached, however its not going to be something nice such as USB unless you buy a kit.

Last edited by drumz0rz : September 25th, 2004 at 01:38 AM.

Reply With Quote
  Trader Rating: 0 · #13  
Old September 25th, 2004, 03:07 AM
chound chound is offline
n00b DevH'er
Dev Hardware Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Posts: 11 chound User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Are there any good links on this subject?

Reply With Quote
  Trader Rating: 0 · #14  
Old September 25th, 2004, 03:10 AM
chound chound is offline
n00b DevH'er
Dev Hardware Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Posts: 11