I am using an arduino board and I have connected a Zigbee shield to the board. A switch is connected to one of the gpios available with the arduino board.
The problem is when I press the switch at a very high frequency the arduino board is resetting itself. When any other zigbee is powered on then the board is not rebooting. Please suggest some solution for this problem.
Related
I have an arduino mega ADK, with usb port, and an arduino uno.
- On the arduino uno, I put a xBee shield with the wifly module for connect to the internet.
- On the arduino mega ADK, I put the TinkerKit! shield.
I need to use both : xBee shield and TinkerKit!. and the single way i found, is to connect the arduino uno to the arduino mega ADK by USB wire (the wire is the one I use to connect an arduino to my computer).
Do you think it could work ? If yes, How can I get what is writting on the outpu of the arduino uno ? If no, is there an other way to do what I need ?
yes, it can be done, but is is way more easier to use directly the Hardware/Software Serial. Even if you get iw work, it will be a serial simulation over usb..
So using USB is just a layer of complexity that can break, and nothing more.
I want to start a project using arduino microcontroller board. In this project I will use a Mini Thermal Receipt Printer, barcode scanner and the arduino ethernet shield to transfer data to my pc and from my pc. my question is, what arduino board should I buy for such project? is the arduino uno is enough?
The choice of a right Arduino depends on the sort of peripherals you need for example if your barcode reader is SPI enabled and you can't bit-bang SPI then this counts for Hardware SPI usage and as such will take the SPI pins on the UNO which has support for only 1 SPI hardware connection but if you want more SPI connections go for a MEGA ,similarly UART, two wire etc are communication protocols that may be needed by you based on the chipssets you use in your project, also GPIO's are there which just turn on and off.
I will suggest starting off with an Arduino UNO which DIP ATmega328P and get a spare Bootloader acquipped ATmega328P chip standalone in case as a newbie you magic-smoke the chip on the board.
I have been working around ADK and the ADK board (Arduino Mega2560). I am able to communicate over USB and talk to my board and vice-versa. Now I want to try out the same thing over Wi-Fi. I see that there are many Wi-Fi shields available. My questions are:
How do I know the shields I see online will work with ADK 2011 board?
How do I connect the shield to my board?
Do I need to flash/program my ADK board and Wi-Fi shield separately?
I am not in favor of a particular ADK board. Any suggestions for another Arduino board using which I can talk to my Android phone via USB, Wi-Fi, Bluetooth, Ble, etc. with or without shields.
I'm using the Official Wifi shield on a Uno R3.
Everything was working fine in the beginning.
But now, the Uno couldn't communicate with the WiFi shield whether it's plug in with USB or with a 9V battery. I could still control the L9 LED on the Wifi shield, but the WiFi function isn't working anymore. I'm returned a
WL_Connected = False, when I did WiFi.begin(ssid, pass);
I did notice, even when it was working, when I switched the the 9V battery from laptop power, it doesn't always power up immediately.
How do I even begin to trouble shoot this?
Swapping out boards/shields. It could be something simple like a bad pin.
The WiFi shield was based on a transceiver made by ZeroG. Now this company was bought from Microchip and of course they don't support Atmel processors anymore.
I had the same problem and I switched to another amazing product: Flyport Wi-Fi that has a processor onboard (PIC24) and this transceiver. It's also open source, look to www.openpicus.com
I started to experimenting with the Arduino Ethernet shield and got it working with not much effort. However, when I try to debug through the hardware serial port of the board, I get nothing, and though the program still runs, and I know it should be giving me something, it doesn't. Truth be told, I haven't got a clue of what's going on. How do I fix this problem?
P.S. I am using one of the example sketches included in the Arduino IDE.
The Ethernet shield does not use the RX and TX pins (0,1) and I have personally used Serial communication with the shield before.
So it definitely had to do with your code. Can you post your code?
Also have you connected anything to digital pins 0 and 1?
The Arduino Ethernet board is not equivalent to Arduino Uno + Etherent shield. In the Arduino Ethernet board the USB-to-serial chip is not present.
From the official Arduino Ethernet board page
The Ethernet differs from other boards in that it does not have an
onboard USB-to-serial driver chip, but has a Wiznet Ethernet
interface.
So I don't think you can print any values in the serial monitor.
Update:
You need an external FTDI adapter like http://arduino.cc/en/Main/USBSerial get the serial communication between Arduino and your computer to work.