Quantcast
Channel: Microcontrollers, Programming and IoT
Viewing all 1271 articles
Browse latest View live

Arduino UNO Serial Question

$
0
0
I'm unsure of a point regarding serial comms on an Arduino UNO. My Arduino hasn't arrived yet, so I can't do any experimenting to find out the hard way.

I need to receive serial raw data from one remote device, process it, then send the processed data on to another remote device, again using serial comms.

There's a built-in UART connected to pins 0 and 1, which I can use for one serial stream.
For the second, is it possible to use the Arduino Software Serial Library, utilising whichever...

Arduino UNO Serial Question

Uploading an Arduino UNO *.hex file to the chip/board

$
0
0
I learned today that the Arduino software can output a *.hex file, as well as the usual *.ino file.
>"Sketch" >"Export Compiled Binary"

Can the hex file be uploaded to a chip without buying a separate programmer, just using the Arduino software?
If so, under >"Tools", >"Programmer", do I select "ArduinoISP" or "Arduino as ISP"? (I'm a bit confused on the difference between these options.)

Will it run without pre-loading the bootloader? (I'm guessing the answer is "Yes", but have to ask.)...

Uploading an Arduino UNO *.hex file to the chip/board

C++ - Library help - Atmel Studio 6

$
0
0
Hi all,

Seem to be coming across the same problem over and over again which is putting me off my new found hobby of programming.

Quick brief: trying to create wireless communication using nrf24l01 using atmega328p with a USBtinyISP on atmel studio 6.

The problem I am currently facing is trying to build the program without it failing to build due to library errors. I.e, the project i am creating utilises the <SPI.h> library directory, however when I use this directory and build, it shows...

C++ - Library help - Atmel Studio 6

Sirf Atlas V ECC calculation algorythm

$
0
0
Hi,

Does anybody worked with SirfAtlasV processor? I'm wondering what ECC algorythm is using in this chip to work with NAND flash? I know (from datasheet) that this processor is using (in case of 2048 page size) BCH ECC 21 bit per 1024 sector. First of all I found only one implementation of BCH alg. in Linux mtd driver, and tried different settings of this alg but failed. I have a NAND dump (so I have an original data and ECC from OOB).

If somebody have any information please help.

P.S....

Sirf Atlas V ECC calculation algorythm

Active Directory integrated Hardware uC project

$
0
0
Hello Everyone,
I want to build a device that is plugged in to computer which is part of a Windows Domain via USB to get the status of the user currently logged-in in the unified communications status. The status which in Lync shows up as online, away, busy and do-not-disturb.

I wish to utilise a microcontroller (not chosen yet) to build my device are unsure as to the requirement of how to communicate with the Active Directory server in this context and therefore are unsure what...

Active Directory integrated Hardware uC project

8086, DAC project and schematic

$
0
0
The task is to choose all elements, which I need to make project with DAC0808 and draw my own schematic. CPU is 8086. In real life we are using 8086 board, all is connected, schematic will be just projection. I need 8086, clock generator, memory, dac0808 and keypad+lcd (for program input in memory).

I guess, there will be more questions, but now I don't understand few things:

1. 8284 clock generator's F/C and ASYNC pins are...

8086, DAC project and schematic

Driving a 12 pins LED display

$
0
0
Hi There,

First post on this forum, any idea would help.

I have an controller board with two 74HC595 shift registers serial connected and a 12 pins 8 segments cathode LED display. My board is complete now and the multiplexing segments work (4 positioning, 8 for segments).

But, something is wrong. If I set the position to high then it does not show the number, if I set it to low, it shows the number. That feels like a little glitch. Still okay.
But the pain is that I can show only one kind...

Driving a 12 pins LED display

how to record voice in mp3 format ?

$
0
0
hi
is there any IC Or code for Controlers to convert sounds to MP3 or MDI Streem Output?
how could record mp3 format by XMega?
which IC can Do this?
vs1003 can play mp3 but can not make mp3 output. it only make wave format for out put.
any one can help me please!?

Problem with picaxe 14m2

$
0
0
Hi, everyone.
Im very new to this but i read up a lot about mcu's. My problem is that i bought this picaxe and after i copied and pasted one or two simple programmes that actually worked my pc all of a sudden said my mcu device is not found or is disconnected. I checked but all was well since i did not remove anything. Now im stuck. Plse help.
Thnx in advance.

Software to program AT89s52

$
0
0
Hello
I need help to find suitable software to program AT89s52 (look development board )
AT89s52 support Keil compiler , my Laptop have serial port , window
which suitable software is used to program AT89s52 ?

PWM led without timer

$
0
0
Hi. How can i do smooth pwm using delay loops ? I tied like this:

int period;
int i=0;

while
{
i++;
Turn_LED_off();
_delay(i);
Turn_LED_on();
_delay(period-i);

if (i>=period)
{
i=0;

}
}
It works bad....

backing up SD card data from two partitions

$
0
0
I have currently installed the latest xillinux OS on a 7020 Microzed Board. I used the USB image kit version 1.61 in windows 8 to install the OS. Images were downloaded from here (http://xillybus.com/xillinux). So there are two partitions basically created by this image, one boot partition (FAT 32) and another ext4 root fs partition.

There was no issues burning the image into the SD card and booting the system on microzed. But, after working on the system, writing code,...

backing up SD card data from two partitions

CY7C68013A read an write

$
0
0
I am seeking a programmer or jtag and software to read and write a CY7C68013A. Someone will know how.[​IMG]

Linker files

$
0
0
Hi, all.
Can anyone help me on how to add linker files in mplab8. Ive tried everything. I bought a couple of 16f628 pics and there are no linker files to add.
Please help i dont know what to do.
Thnx in advance.

Emulator for Siemens/Infineon C505 controller ICE

$
0
0
Hi All,

I am using Siemens/Infineon SAF-C505 microcontroller for one of my project.
The controller has ROM which is one time programmable (OTP), so for development I am looking for a flash emulator which enable me to download the code in emulator so I don’t need to download the code in ROM.

I want to know if there is any ICE which emulates the ROM/Flash of the microcontroller, so development can be done without downloading code in to the ROM of microcontroller.

While googling i came...

Emulator for Siemens/Infineon C505 controller ICE

ET-Robot 877 PSPI cable diagram

$
0
0
Hello

I have an ET-Robot 877 board with a PIC 16F877, which uses a cable to connect the PC parallel port to the 10 pin on-board connector.

PC PARALLEL PORT <===============> 10 pin on-board connector <---- WinPic800 software

The documentation indicates that it uses a parallel SPI interface : PSPI .

I do not have the cable, so I would appreciate any help about this interface and how to build the cable (pin to pin diagram).

My best regards.
Roberto

RF Board Programming Help

$
0
0
Hello,
I am hoping that someone can help me with a problem I have been having for a while. I am trying to program an REB233SMAD-EK RF board (http://www.atmel.com/tools/REB233SMAD-EK.aspx?tab=documents) with an AVRISP mkII in Atmel Studio 6. But I don't think the board is communicating with the computer. To program the board, I go up to tools in Atmel Studio 6, Device Programming, and input the tool, device, and interface I am using. However when I go to program the fuses on my...

RF Board Programming Help

interfacing pic16f877A with motion sensor

$
0
0
I am working on a project that senses when a person enters a room, and then switch ON the light in the room and then switch it OFF when the person leaves.
I want to use two PIR motion sensors, one outside the room and the other inside such that when the outside sensor is triggered before the inside sensor, then the microcontroller will switch ON the light and if the inside sensor is triggered before the outside sensor then the light will be switched OFF.
I also want to count the number of...

interfacing pic16f877A with motion sensor

Help with using shift register to expand uC output

$
0
0
I am just practicing how to use shift registers to expand a microcontroller's output. So far I'm only practicing using assembler language, I haven't yet dabbled in using C or BASIC with microcontrollers.
Here is a schematic I made:
View attachment 22377
The shift registers im using is the 4094 and the microcontroller is PIC16F84A, with oscillator set to 4MHz.
I wrote a program that will count from 0 to 29, wherein the ones place is at the bottom, and then display 1 in all the segments...

Help with using shift register to expand uC output

Pic and JTAG Programmer

$
0
0
Hi everyone,

I'm new to this pic's world, so .. :D

I have bought this programmer (JTAG) :

[​IMG]

But no software's able to detect when i connect it to my computer :S i have tried picPGM, microC, ICPROG... but no result.

Any idea please ? Thanks :)
Viewing all 1271 articles
Browse latest View live