Show Posts
Pages: 1 [2] 3 4 ... 27
16  Using Arduino / Networking, Protocols, and Devices / Re: WiFlyHQ: A new library for the WiFly RN-XV on: May 08, 2012, 06:24:20 am
i did the same thing and work fine using your library, the board still working!
If you're using a 5V Arduino, then yes you will damage the WiFly over time and it will fail. It could take hours, days, or weeks for the failure to occur.

To fix the problem, add a voltage divider (two resistors) between the pin you're using for TX on the Arduino and the DIN pin on the WiFly module.  A nice write up on how to do this is available here: http://www.savagecircuits.com/forums/content.php?309-Mixed-Voltage-Systems-Interfacing-5V-and-3-3V-Devices.
17  Using Arduino / Networking, Protocols, and Devices / Re: WiFlyHQ: A new library for the WiFly RN-XV on: May 07, 2012, 03:18:40 pm
hi, I have the usb weather board from sparkfun and I am trying to get this http://www.sparkfun.com/products/11047 to get it work but after uploading the httpserver example all I get is this:

Code:
Starting
Free memory: 1337
setPrompt failed
Failed to enter command mode
Failed to start wifly
Terminal ready

what am I doing wrong ?smiley-sad

thanks

The XBee hardware interface looks ok, its directly connecting TX and RX to the WiFly at 3.3V.

Those errors indicate that the Library can't talk to the board. Why don't you post the sketch you are using. It might be a simple problem like you're still using software serial when the WiFly is actually connected to the hardware serial interface, or maybe the baud rate doesn't match the rate set in the WiFly module.
18  Using Arduino / Installation & Troubleshooting / Re: How to make the Arduino look like an HID mouse device? on: May 07, 2012, 02:19:09 am
You can turn the UNO and the Mega2560 into HID devices by reprogramming the atmega8u2 or atmega16u2 that provides the USB interface. The board you linked uses an FTDI chip for its USB interface, which cannot be reprogrammed.
19  Using Arduino / Networking, Protocols, and Devices / Re: Arduino Minecraft Server on: May 06, 2012, 02:52:47 pm
Awesome!  smiley

I find it a bit sad when posters here discourage people from exploring their ideas, which would provide a great learning experience and potentially amazing projects on an Arduino. Your project shows true hacking spirit.
20  Using Arduino / Programming Questions / Re: Problem in bit reading with pgm_read_byte() on: May 05, 2012, 06:08:36 am
You are missing the PROGMEM declaration:

Code:
const prog_uint8_t PROGMEM wcode[9] = {
21  Using Arduino / Microcontrollers / Re: 8U vs 16U on: May 05, 2012, 02:20:47 am
The 16u2 is the same as the 8u2 except it has 8KB more flash. So no real difference for normal use but it has the potential for better USB firmware supporting, for example, USB serial and HID keyboard/mouse/joystick at the same time.
22  Using Arduino / Networking, Protocols, and Devices / Re: Wi-Fi, where to start? on: May 04, 2012, 03:56:54 pm
For the adapter, make sure you get one with actual level converter (5v to 3.3v) chip, like this
https://www.adafruit.com/products/126

What's the adaptor for?  I thought it was: Duemilanove -> xBee Shield -> WiFly
Is there something else that needs to be in there?

Yes you are correct, you just need the shield and the WiFly RN-XV. Resistor voltage dividers for 5V to 3.3V are fine. The diode solution on the sparkfun XBee shield is an example of a broken solution that does not work.

The shield you ordered looks like the same one from DFRobot. I have one and it works, although it reboots the arduino whenever the WiFly reboots, and I cut off pins 0 and 1 and soldered a couple of jumper wires to them so I could connect them to other pins (8 and 9) to use software serial.
23  Using Arduino / Networking, Protocols, and Devices / Re: Wi-Fi, where to start? on: May 03, 2012, 04:20:36 pm
Hi

Ok so it's got an external antenna and I've found a uk based supplier but this isn't plug and play is it?  I need a shield, what do I need to connect it to a Duemilanove?

Yes you need an XBee shield for it.  Here's a few that would do: https://github.com/harlequin-tech/WiFlyHQ/wiki. Any XBee shield should work provided it has a correct solution for the 5V to 3.3V level translation on the DIN pin for the WiFly / XBee.

Quote
>All of the WiFly modules support WEP, WPA, and WPA2, including the more
>expensive RN-131 shield you posted.

Is this a comment about the note I had on unprotected networks?  I saw that on a forum - is it not true?

Yes that's a fabrication. The datasheet is probably a more reliable source of information.  Which forum gave you the misinformation?

Edit: Here's the RN-131 datasheet, same protected networks as the RN-XV: http://www.rovingnetworks.com/resources/download/11/RN_131
24  Using Arduino / Networking, Protocols, and Devices / Re: Wi-Fi, where to start? on: May 03, 2012, 02:52:08 pm
I'd add the WiFly RN-XV to that list: http://www.sparkfun.com/products/10822.

All of the WiFly modules support WEP, WPA, and WPA2, including the more expensive RN-131 shield you posted.
25  Using Arduino / Motors, Mechanics, and Power / Re: L298N board with Stepper Motor Wiring HELP!!!! on: May 02, 2012, 09:49:02 pm
Does the datasheet help?
26  Using Arduino / Microcontrollers / Re: Arduino to ARM. Where to start? on: May 02, 2012, 02:37:24 pm
Quote
What information did you find lacking in the datasheet  for the Rasberry Pi's ARM
Personally, I found a complete lack of any information about current source and sink capabilities of the GPIO pins. This is vital for use as an embedded controller.

Well I was responding to the OPs claim that there was no documentation for the board, but for details like sink and source you can visit the Pi wiki here http://elinux.org/RPi_Low-level_peripherals, or see the Addendum here http://www.scribd.com/doc/91353537/GPIO-Pads-Control. So the current handling is configurable from 2mA up to 16mA which is not bad for an ARM. The wiki looks like a great resource for low level hacking.

Still waiting for my Pi to arrive... maybe this month.
27  Using Arduino / Microcontrollers / Re: Arduino to ARM. Where to start? on: May 02, 2012, 07:04:15 am
Yes, the Raspberry Pi would be an option if someone could actually obtain one, let alone ten for a workshop. And as far as I know it is being marketed as a cheap computer, not an embedded platform. I also read that the main controller on it has no official documentation, so I will have to wait a few more months for people to hack it before that becomes an option.

What information did you find lacking in the datasheet  for the Rasberry Pi's ARM? It fully documents the peripherals, GPIOs, I2C bus, SPI bus, etc. Was it the GPU you wanted docs on?
28  Using Arduino / Programming Questions / Re: GSM/GPRS module and PPP protocol on: May 02, 2012, 06:40:07 am
The shield lets you establish TCP connections. If your target server supports PPP over TCP then you can just implement that or locate a library to do it for you.

Btw, the SM5100 uses PPP to establish a connection to your cellular provider to carry the TCP connection.

What does your target server support as its protocol?
29  Using Arduino / Programming Questions / Re: GSM/GPRS module and PPP protocol on: May 02, 2012, 04:03:49 am
Quote
Is there any developed library available to implement PPP protocol with Arduino and GPRS shield ?

How would that be different to PPP over a TCP connection?
30  Using Arduino / General Electronics / Re: Connecting Arduino Standalone Chip and XBee on: May 01, 2012, 05:27:48 am
There's no XBee in the picture, so I have no idea how to answer your question.  Do you have a schematic showing how you've connected everything including the XBee?  How are you handling the XBee's 3.3V supply?
Pages: 1 [2] 3 4 ... 27