Posts

Showing posts with the label Microcontroller Programming

Turn off Led using PIC16f877a with Assembler Code

Image
Start making a simple program in which we in assembly code using PIC 16F877A to turn on and off an LED by pressing a button as shown in the diagram. We will use two ports of the PIC 16F877A, port B and port D, declare the B port as input and the D port will be configured as an output. In the graph we can see that the pin RB0 is set button and a resistor in a pull-up configuration, when you are not pressing the button it gets a high (5V) to the RB0 input and when pressed he gets a level low (0V). In the output RD0 to turn on the led its output should be at a low level so when developing the program in assembler we test the pin B0 and if a high level put a high value on the output RD0 that will keep off LED, otherwise put a low value on the output RD0 which will cause the LED lights.

[Tutorial] WII NUNCHUK CONTROLLER AS A UNIVERSAL

Image
This pinch project was realized with the ATM-18 controller module.This controller module has an ATmega88 microcontroller as and is a collaboration between Elektor and CC2 (Computer Club 2) . The Wii Nunchuk is addressed via the I2C interface. Resourceful tinkerers like Chad Phillips have the protocol and encryption algorithm found.

PROGRAMMING MICROCONTROLLERS WITH .NET AND C#

Image
For some time now I have watched the market for microcontrollers that have .NET runs, more precisely .NET micro framework or NETMF short. To program these boards exclusively in C #. Now I have added to it and get me a FEZ Domino board. It costs € 75.-, but also has a quite generous feature set with USB host and microSD card. Let's see if this is good for a robot.