Davepheadrus Posted May 25, 2013 Share Posted May 25, 2013 Right so I went out and bought myself an Arduino, now I have no idea how to wire it.. I figured it would be marked tx rx & GND but there are a whole bunch of GND spots and also im not sure how to make it 3.3v because its 5v but it does have a place marked 3.3v. Is there a tut anywhere or can someone point me to where I can learn some more about what I need specifically? Really struggling to find much about it.. thanks Dave Quote Link to comment Share on other sites More sharing options...
Davepheadrus Posted May 25, 2013 Author Share Posted May 25, 2013 I'm assuming I have to connect the VCC to the 3.3v pin? Unlike most flashes? Could someone confirm I'm not going to brick it like this? Dave Quote Link to comment Share on other sites More sharing options...
say.what Posted May 25, 2013 Share Posted May 25, 2013 If you are powering your PIN with an external source (as u should do), then you can connect only TX & RX, avoiding the connection of gnd & vcc (tested my PIN with 5v and 3,3 as well --> no issues there!) ;)!respect Quote Link to comment Share on other sites More sharing options...
Davepheadrus Posted May 25, 2013 Author Share Posted May 25, 2013 Sorry I'm new to messing with hardware! What do you mean by PIN? Are your referring to the arduino board? I was under the impression that it powers from the USB only? or do I need to take part of the board off? Sorry about this I realise now I'm in deeper than I'm used to! Thanks for your help! Dave Quote Link to comment Share on other sites More sharing options...
Davepheadrus Posted May 25, 2013 Author Share Posted May 25, 2013 If someone can walk me through this successfully on Skype I would be happy to make a small donation for your time! Let me know, From googling about the PIN I'm reading that the arduino can be powered by the vin pin externally, is this what I need to do? How can I do this? Thanks again! Quote Link to comment Share on other sites More sharing options...
say.what Posted May 25, 2013 Share Posted May 25, 2013 excuuuse meee pleeease !!! :)for PIN I mean the sweet PINEAPPLE... sorry! :)you are welcome! Quote Link to comment Share on other sites More sharing options...
Davepheadrus Posted May 25, 2013 Author Share Posted May 25, 2013 Okay so I can power the arduino at 5v and the ap121u plugged in from the socket? I thought that the power going through the tx and rx would be 5v from the arduino and therefore would brick the ap121u? Or is it just usually okay to flash with 5v uart? Thank you! Quote Link to comment Share on other sites More sharing options...
say.what Posted May 25, 2013 Share Posted May 25, 2013 there is no "real" tension (voltage) passing through tx or rx... if you connect to your pineapple using only tx and rx, you should be able to dialog with the interface, whitout worring about vcc.. Don't panic, you are not going to brick anything (you can't de-brick!!) ;) Quote Link to comment Share on other sites More sharing options...
say.what Posted May 25, 2013 Share Posted May 25, 2013 forget to say.. connect arduino to Pineapple using only tx & rx and, when ready, power on the pineapple using her traditional power source.. Quote Link to comment Share on other sites More sharing options...
Davepheadrus Posted May 25, 2013 Author Share Posted May 25, 2013 Okay thanks for that I'll give it a go now, you set me at ease about the bricking at least! Have you done it with arduino? I've never used it before so I'm just gonna try and install it the way or supposed to and then I'm assuming it will just work but if not I'm sure I'll be back :p Dave Quote Link to comment Share on other sites More sharing options...
Davepheadrus Posted May 25, 2013 Author Share Posted May 25, 2013 Installed the arduino no probs but just realised, should I be grounding the devices to each other still? GND to GND? Quote Link to comment Share on other sites More sharing options...
say.what Posted May 25, 2013 Share Posted May 25, 2013 so, i hope i can't see you there anymore... :P Quote Link to comment Share on other sites More sharing options...
say.what Posted May 25, 2013 Share Posted May 25, 2013 if you want to ground .. then yes! any gnd to any gnd will work! ..but i'm unsure your ground will reach the floor in some way... it depends on your entiere ground line.. (cables-pc-cables...-...-..) :) Quote Link to comment Share on other sites More sharing options...
deathdealerxx Posted May 25, 2013 Share Posted May 25, 2013 Quote Link to comment Share on other sites More sharing options...
Davepheadrus Posted May 25, 2013 Author Share Posted May 25, 2013 Now its doing this in putty: http://i1365.photobucket.com/albums/r751/dbb233/627fb7ef152393c1d82cc67551a4ef5f_zpscf06c4a1.mp4 Just spewing jibberish, I noticed my LAN port doesn't have ipv4 it just says ip.. Any ideas? Quote Link to comment Share on other sites More sharing options...
deathdealerxx Posted May 25, 2013 Share Posted May 25, 2013 Now its doing this in putty: http://i1365.photobucket.com/albums/r751/dbb233/627fb7ef152393c1d82cc67551a4ef5f_zpscf06c4a1.mp4 Just spewing jibberish, I noticed my LAN port doesn't have ipv4 it just says ip.. Any ideas? flip your rx and tx Quote Link to comment Share on other sites More sharing options...
Davepheadrus Posted May 25, 2013 Author Share Posted May 25, 2013 Then nothing comes up? Does it have something to do with the reset button on the arduino? When I press that it stops the gibberish.. Quote Link to comment Share on other sites More sharing options...
Davepheadrus Posted May 25, 2013 Author Share Posted May 25, 2013 I read something about removing the atmega chip also? But not sure about that Quote Link to comment Share on other sites More sharing options...
deathdealerxx Posted May 25, 2013 Share Posted May 25, 2013 Make sure you have the alfa board or the hornet-ub board. Connect to your pineapple through serial. Serial Settings: 115200 baud, 8 data bits, no parity, 1 stop bit, no flow control If you have bricked your Pineapple or want to flash a new device with our firmware, simply follow the steps below. Download the kernel.bin and rootfs.bin from here Set up a tftp server and point it to the downloaded files. Connect to your pineapple through serial. Serial Settings: 115200 baud, 8 data bits, no parity, 1 stop bit, no flow control Connect via the pineapples PoE/LAN port (the one closest to the power plug) with your IP set to 192.168.2.11 Power on the pineapple. When asked what menu you want to select choose 1. Once you have a prompt issue these commands:setenv bootargs "board=ALFA console=ttyATH0,115200 rootfstype=squashfs,jffs2 noinitrd" saveenv tftp 0x80600000 kernel.bin erase 0x9f650000 +0x190000 cp.b 0x80600000 0x9f650000 d695a tftp 0x80600000 rootfs.bin erase 0x9f050000 +0x600000 cp.b 0x80600000 0x9f050000 23d004 bootm 0x9f650000 reset reboot Wait for the pineapple to boot and then hit enter to drop into a shell Issue the "passwd" command. Start dropbear: "/etc/init.d/dropbear start" scp over the firmware to /tmp/ (Make sure you are using the POE/LAN port now) execute "sysupgrade -n -v /tmp/upgrade.bin" There are some boards that you have to swap the tx and rx. But I would make sure that you have your serial settings correct: Serial Settings: 115200 baud, 8 data bits, no parity, 1 stop bit, no flow control Quote Link to comment Share on other sites More sharing options...
Davepheadrus Posted May 25, 2013 Author Share Posted May 25, 2013 I have the hornet u board but it will not communicate with it I've followed them instructions. Quote Link to comment Share on other sites More sharing options...
Davepheadrus Posted May 25, 2013 Author Share Posted May 25, 2013 Hit a wall at this point, how can I troubleshoot? Thx, Dave Quote Link to comment Share on other sites More sharing options...
deathdealerxx Posted May 25, 2013 Share Posted May 25, 2013 (edited) Well so do I. I used an arduino uno to flash it over serial. So I know it works. Maek sure you have all the drivers need for arduino, make sure you hooking up the wires correctly, since your using the hornet board you don't need to hook up the voltage wire. just ground tx and rx. If your using the arduino uno make sure you have the settings correct. It will work if there is NO user error. Unless your board just has a mind of its own> me personally I have yet to find one of those. Edited May 25, 2013 by deathdealerxx Quote Link to comment Share on other sites More sharing options...
Davepheadrus Posted May 25, 2013 Author Share Posted May 25, 2013 Do I need anything from the arduino environment driver wise? It's coming up amongst devices as COM3 so Im guessing the driver is installed? but I do have a USB unknown device showing up also.. Quote Link to comment Share on other sites More sharing options...
deathdealerxx Posted May 25, 2013 Share Posted May 25, 2013 Have you ever installed a sketch on your arduino? I would go to their website and download the newest drivers just in case. install those new arduino drivers restart your computer and retry. It will be something like COM1, COM2, COM3... so on and so forth. installing the driver is not difficult but not straight forward. But if your issue was driver related and you re install the driver correctly it should help. Quote Link to comment Share on other sites More sharing options...
Davepheadrus Posted May 25, 2013 Author Share Posted May 25, 2013 No I've never installed a sketch or used the environment, I bought it pretty much to flash the router and then was gna play with it at some point later, do I need to do anything in the environment? It's installed on com3.. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.