Results 1 to 12 of 12

Thread: what does embedded programming mean?

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Jul 2005
    Posts
    1,168

    what does embedded programming mean?

    Could someone give me what this actually means? I hear this a lot with software, but don't understand it.

  2. #2
    PowerPoster dilettante's Avatar
    Join Date
    Feb 2006
    Posts
    24,487

    Re: what does embedded programming mean?

    Usually it means programming for some non-computer device that has a microprocessor or microcontroller "embedded" in it. This small computer inside replaces what might have been done in the past by springs, gears, levers, cams, etc. or might not even have been possible in the past. Sometimes it is about data manipulation but can just as easily be almost anything else.

    Could be a toy aircraft turning piezo accelerometer signals into steering moderation and flight stabilization. Could be a TV remote control. Could be almost anything.

  3. #3

    Thread Starter
    Frenzied Member
    Join Date
    Jul 2005
    Posts
    1,168

    Re: what does embedded programming mean?

    Quote Originally Posted by dilettante View Post
    Usually it means programming for some non-computer device that has a microprocessor or microcontroller "embedded" in it. This small computer inside replaces what might have been done in the past by springs, gears, levers, cams, etc. or might not even have been possible in the past. Sometimes it is about data manipulation but can just as easily be almost anything else.

    Could be a toy aircraft turning piezo accelerometer signals into steering moderation and flight stabilization. Could be a TV remote control. Could be almost anything.
    Thanks. That gave me a much better idea.

  4. #4
    Banned
    Join Date
    Mar 2009
    Posts
    764

    Re: what does embedded programming mean?

    also, smartphones programming

  5. #5
    PowerPoster dilettante's Avatar
    Join Date
    Feb 2006
    Posts
    24,487

    Re: what does embedded programming mean?

    There are more than just "smartphones" too. There is a whole class called a "featurephone" that can be programmed and even the dumbest cellular phones run code inside these days.

  6. #6
    Super Moderator FunkyDexter's Avatar
    Join Date
    Apr 2005
    Location
    An obscure body in the SK system. The inhabitants call it Earth
    Posts
    7,957

    Re: what does embedded programming mean?

    To be honest, I'd argue that programming for SmartPhones isn't embedded programming at all. On a Smartphone your working with an operating system.
    The best argument against democracy is a five minute conversation with the average voter - Winston Churchill

    Hadoop actually sounds more like the way they greet each other in Yorkshire - Inferrd

  7. #7
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    40,110

    Re: what does embedded programming mean?

    I was going to argue the same way. Any device can be made to host a program written by somebody else, even if it is a totally trivial program. For example, some advanced data loggers have a small amount of static RAM where a person can program in a sequence of logging events. Some of those data logger languages are fairly advanced. I would not consider the program that was written by the user of these data loggers to be embedded programming, but the program that hosts those user written scripts would certainly be embedded. Similarly, I wouldn't consider programming for a smart phone to be considered embedded programming.

    On the other hand, the distinction clearly blurs. Any program that can host other programs would be an operating system, of a sort, but I wouldn't say that writing an OS is embedded programming, as I wouldn't say that Windows is an embedded program. On the other hand, any device that has a CPU and an interface could host programs written externally. At their simplest level, such devices might allow for external input, even if each instruction was entered individually. Chain a sequence of those instructions together and you have a program, and the device has a rudimentary OS.

    In other words, there appears to be a steady continuum from devices that are coded to accept no input and just run a single program perpetually, up through PCs. I'm not sure that there is, any longer, a firm boundary between embedded and regular programming.
    My usual boring signature: Nothing

  8. #8
    Super Moderator FunkyDexter's Avatar
    Join Date
    Apr 2005
    Location
    An obscure body in the SK system. The inhabitants call it Earth
    Posts
    7,957

    Re: what does embedded programming mean?

    I agree with that except that it's not even a single continuum. It's a bunch of factors that all add up and, at the end of it, whether or not it's embedded is a subjective call. Here's a few (not very scientific) factors that people might consider:-
    1. Does it come pre-installed on the device?
    2. Is it concerned with controlling hardware?
    3. Is it highly complex

    The trouble is that you could find an exception to every one of those.
    The best argument against democracy is a five minute conversation with the average voter - Winston Churchill

    Hadoop actually sounds more like the way they greet each other in Yorkshire - Inferrd

  9. #9
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    40,110

    Re: what does embedded programming mean?

    I want my toaster to be able to act as a phone. I don't care that it can make phone calls, I just want it to have the other features of a smart phone. I could then rig it on a catapult, and when my toast is done, it could call my phone, the two could figure out relative distances, and the catapult could be arranged on a base containing a PIC microprocessor to drive servo motors that would allow the catapult to be aimed and launched in such a way that the toast hit me right in the face. Now, THAT would be technology.

    However, in all of that, I'm not sure that a single part of it would constitute embedded programming.

    I would say that these days: It is embedded programming if you say it is embedded programming, but it will work best if you carry a large stick, and sufficiently sociopathic personality, to whack anybody who argues with you.
    My usual boring signature: Nothing

  10. #10
    Super Moderator FunkyDexter's Avatar
    Join Date
    Apr 2005
    Location
    An obscure body in the SK system. The inhabitants call it Earth
    Posts
    7,957

    Re: what does embedded programming mean?

    I want my toaster to be able to act as a phone. I don't care that it can make phone calls, I just want it to have the other features of a smart phone. I could then rig it on a catapult, and when my toast is done, it could call my phone, the two could figure out relative distances, and the catapult could be arranged on a base containing a PIC microprocessor to drive servo motors that would allow the catapult to be aimed and launched in such a way that the toast hit me right in the face. Now, THAT would be technology.
    erm... do you own a dog called Grommit?
    The best argument against democracy is a five minute conversation with the average voter - Winston Churchill

    Hadoop actually sounds more like the way they greet each other in Yorkshire - Inferrd

  11. #11
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    40,110

    Re: what does embedded programming mean?

    I only barely get the reference, and I thoroughly don't understand it. I've seen just one of those shows, and that was years ago.
    My usual boring signature: Nothing

  12. #12
    Banned
    Join Date
    Mar 2009
    Posts
    764

    Re: what does embedded programming mean?

    example :

    DOT NET MICRO FRAMEWORK


    the netduino board is a micro controller (for robotic stuff) http://www.netduino.com/ with windows ce on in it's chip.
    to work it download .NET Micro Framework 4.0 SDK from which works with Visual Basic 2010 Express (so I have read):
    http://netmf.codeplex.com/releases/view/52340
    or
    http://www.microsoft.com/downloads/e...displaylang=en

    code examples :
    http://forums.netduino.com/index.php...f-now-in-beta/

    Code:
    vb Code:
    1. Imports Microsoft.SPOT
    2. Imports Microsoft.SPOT.Hardware
    3. Imports SecretLabs.NETMF.Hardware
    4. Imports SecretLabs.NETMF.Hardware.Netduino
    5.  
    6. Module Module1
    7.  
    8.     Sub Main()
    9.  
    10.         Dim led As New OutputPort(Pins.ONBOARD_LED, False)
    11.  
    12.         Do
    13.             led.Write(True)
    14.             Thread.Sleep(250)
    15.             led.Write(False)
    16.             Thread.Sleep(250)
    17.         Loop
    18.  
    19.     End Sub
    20.  
    21. End Module
    vb Code:
    1. [CODE]Imports Microsoft.SPOT
    2. Imports Microsoft.SPOT.Hardware
    3. Imports SecretLabs.NETMF.Hardware
    4. Imports SecretLabs.NETMF.Hardware.Netduino
    5.  
    6. Module Module1
    7.  
    8.     Sub Main()
    9.         Dim Led As OutputPort = New OutputPort(Pins.ONBOARD_LED, False)
    10.         Dim Button As InputPort = New InputPort(Pins.ONBOARD_SW1, False, ResistorModes.PullUp)
    11.  
    12.         Do While True
    13.             Led.Write(Button.Read())
    14.         Loop
    15.  
    16.  
    17.     End Sub
    18.  
    19. End Module[/CODE]
    vb Code:
    1. [CODE]Imports Microsoft.SPOT
    2. Imports Microsoft.SPOT.Hardware
    3. Imports SecretLabs.NETMF.Hardware
    4. Imports SecretLabs.NETMF.Hardware.Netduino
    5.  
    6. Module Module1
    7.  
    8.     Public led As OutputPort = New OutputPort(Pins.ONBOARD_LED, False)
    9.  
    10.     Sub Main()
    11.         Dim button As InterruptPort = New InterruptPort(Pins.ONBOARD_SW1, False, Port.ResistorMode.PullUp, Port.InterruptMode.InterruptEdgeBoth)
    12.         AddHandler button.OnInterrupt, AddressOf ButtonChange
    13.         button.EnableInterrupt()
    14.  
    15.         Thread.Sleep(Timeout.Infinite)
    16.  
    17.     End Sub
    18.  
    19.     Sub ButtonChange(ByVal data1 As UInteger, ByVal data2 As UInteger, ByVal time As Date)
    20.         If data2 = 0 Then led.Write(False) Else led.Write(True)
    21.     End Sub
    22.  
    23. End Module[/CODE]

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width