microcontroller

64-bit integer implementation for 8-bit microcontroller

I'm working on OKI 431 microcontroller. This is 8-bit microcontroller. We don't like to have any floating point operation to be performed in our project so we've eliminated all floating point operations and converted them into integer operations in some way. But we cannot eliminate one floating point operation because optimizing the calc...

What happens if I disable an interrupt inside of its ISR?

What happens if you disable an interrupt inside that interrupt's ISR? For example, if I am transmitting data over USART from a buffer and that buffer runs out of data then I want to stop transmitting temporarily, so after sending the last byte in the buffer, I disable the interrupt. (This is on a PIC18F4580) The datasheet for the PIC18...

Interested in Device Programming. Where to Start.

Hi! All I've a Good Command over C++, But I've never done anything anything on device programming. I've some basic understanding on Digital Logic Design. But I am complete Noob in Electronics. Currently I am getting huge interest on microcontroller Programming. Where To Start ? I don't think one really needs to have huge amount of know...

Are there any current non-Harvard architecture microcontrollers?

I have used and like the Atmel ATMEGA and ATTINY series microcontrollers, and think them quite good. One thing I am not terribly fond of though is the fact that they (and Microchip PIC uC family also) are all Harvard machines, meaning I can't really put external memory to use or execute out of RAM, only the flash. While there are obviou...

Building an USB peripherial

I would like to control an RC model via USB from my computer. I don't need a real radio control, so controlling the servos directly through cables is sufficitent (yes, there will be cables between the model and the controlling unit). I thought I would build some microcontroller-based device which would be connected to the computer via US...

PIC board with a webserver

Can anyone please suggest a small PIC board which has a web server built into it and can be programmed to handle ftp connections? ...

Good programming podcasts?

Possible Duplicate: What good technology podcasts are out there? Are there good CS programming and Eletronics podcasts? Itunes U has a many classes turned into podcasts, but most of them are terrible to follow without video. ...

Drive Sequence for Sanyo B00224 Stepper Motor

Hi, I was given a Sanyo #B00224 4 wire stepper motor, and for the life of me cannot determine the drive sequence, e.g. what order to power the coils and in which direction. As far as I can tell it is a bi polar stepper motor and should be drive-able with: Winding 1a 1100110011001100110011001 Winding 1b 0011001100110011001100110 W...

How to using picaxe net web server to send emails

Hi, I want to use PICAXE NET WEB SERVER from here to use to it as sending emails to a known email address. Can anyone please let me know if it is possible to do that? Since it supports only HTML, I am wondering how exactly it is possible do what I want? ...

p89lpc936 keil programming help required.

Hello all, I am trying to program Blinky program from Keil complier to P89LPC936 microcontroller through a universal programmer(SuperPro). But the microcontroller is not running. But when i write a simple program in assambly and program the same hardware it works fine. Please I need help regarding it where i am doing wrong. Here is cod...

What is the best way of sending the data to serial port?

This is related with microcontrollers but thought to post it here because it is a problem with algorithms and data types and not with any hardware stuff. I'll explain the problem so that someone that doesn't have any hardware knowledge can still participate :) In Microcontroller there is an Analog to Digital converter with 10 bi...

LPC1768 usb host

I have a LPC1768 microcontroler that I am trying to use to read a joystick. I am using the usblite sample code provided with the microcontroller to get a head start. It is meant for a flash drive but from what I have read the enumeration is the same no matter what the device is. However when I connect any hid device, it fails to write to...

Pic to PIc and PC USB how to?

Hello all, I want to make an application where PIC18F4550 send its internal eeprom data to the pc through usb. Also i want to use the same usb connector to download the data to another PIC18F4550 over usb. How to use ex_usb_serial.c of ccs examples codes for this purpose . If anyone can give me the schematic and what to do on PC side. ...

how to start chip level programming

Hello Friend, I am a php programmer having 3 years of experience.. Now I want to learn chip level programming to switch a fan on and off. Please guide me how to start and how to develop such hardware.. I am new in chip level programming and also I do not have any idea about electronics.. so there may be problem with developing microp...

Best Practices? Wait until receive or raise an event on receive

Hi stackoverflow, First of all, I wanted to thank the community. You've been of great support lately ! Usually i don't even need to ask the questions because they're already there. Now i have an issue that's not directly related to code but programming itself. I'm working with a FTDI Chip and C# programming a communication protocol in ...

Interface a microcontroller and a printer .. code it in C programming.

Hi friends.. Guide me how to program in "C" to interface a microcontroller with a printer.?? Also explain me the procedure of how actually printing is related to a micro controller.?? ...