Go to advanced search

by rudy0912
Sat May 20, 2017 2:35 pm
Forum: General discussion
Topic: Wifi still won't work on Raspberry Pi 3
Replies: 10
Views: 1526

Re: Wifi still won't work on Raspberry Pi 3

Yes I have tried the command line and updating everything. When I go to the two arrows and click on it. It says that there are no wireless interface devices found. my WiFi is not hidden and publicly broadcast with it's encryption. I have this same problem on the raspberry pi 2. It's been like this ...
by rudy0912
Sun May 24, 2015 2:27 pm
Forum: Networking and servers
Topic: Advice on securing pi
Replies: 2
Views: 745

Advice on securing pi

Right now I have my flask app deployed with tornado and everything is working correctly. I've had friends connect to my ip address and they are able to use my website. I need advice on what to do for making the pi more secure because I've heard people try to hack into pis once they are connected to ...
by rudy0912
Tue Jan 13, 2015 11:17 pm
Forum: Networking and servers
Topic: Raspberry Pi Web Server
Replies: 3
Views: 1503

Re: Raspberry Pi Web Server

The idea is a movie app that keeps track of movies I've seen and allows me to rate movies, directors, and writers. They should all have their own database tables and should be ratable on a scale of 1-5. I'm planning on having the app connect to some movie database api and then displaying all upcomin...
by rudy0912
Tue Jan 13, 2015 1:47 am
Forum: Networking and servers
Topic: Raspberry Pi Web Server
Replies: 3
Views: 1503

Raspberry Pi Web Server

I want to host a small website on the pi that would allow me to CRUD information from a database that is also on the pi. Is is best to learn django and just host the website with that framework? If so, does the pi have support for django with python 3? Are there any other lightweight frameworks that...
by rudy0912
Tue Jan 13, 2015 1:10 am
Forum: Automation, sensing and robotics
Topic: ADXL345 only returning -2.048
Replies: 29
Views: 4224

Re: ADXL345 only returning -2.048

I don't think I have the patience to try with this one anymore. I ordered a different adxl345 considering it was only $5. Hopefully it works out of the box. Thanks again for the help.
by rudy0912
Mon Jan 12, 2015 5:18 pm
Forum: Automation, sensing and robotics
Topic: ADXL345 only returning -2.048
Replies: 29
Views: 4224

Re: ADXL345 only returning -2.048

"pigs spix 0 0xf2 0 0 0 0 0 0" returns "7 240 0 240 0 240 0 240" every time I'm afraid it doesn't look good for your ADXL345. Could you try the following commands pigs spic 0 # close SPI channel pigs spio 1 40000 3 # re-open pigs spix 0 0xc0 0 0 # read device Id It should return 3 229 229 0 If that...
by rudy0912
Mon Jan 12, 2015 4:45 pm
Forum: Automation, sensing and robotics
Topic: ADXL345 only returning -2.048
Replies: 29
Views: 4224

Re: ADXL345 only returning -2.048

"pigs spix 0 0xf2 0 0 0 0 0 0" returns "7 240 0 240 0 240 0 240" every time
by rudy0912
Mon Jan 12, 2015 2:11 am
Forum: Automation, sensing and robotics
Topic: ADXL345 only returning -2.048
Replies: 29
Views: 4224

Re: ADXL345 only returning -2.048

Are there any guides for setting up the adxl345 and raspberry pi via SPI? Searching the internet is only returning guides for i2c and I'm not familiar enough with SPI to write my own code.

Thanks for all the help.
by rudy0912
Sun Jan 11, 2015 8:20 pm
Forum: Automation, sensing and robotics
Topic: ADXL345 only returning -2.048
Replies: 29
Views: 4224

Re: ADXL345 only returning -2.048

why do you have sdo (an output) shorted to GND? My understanding is that tying CS to 3V3 sets I2C mode, tying SDO to ground sets the I2C address as 0x53 rather than the alternative 0x1D. ADXL345 spec page 10. I looked through the spec sheet and that seems correct. They also had this picture in the ...
by rudy0912
Sun Jan 11, 2015 5:12 pm
Forum: Automation, sensing and robotics
Topic: ADXL345 only returning -2.048
Replies: 29
Views: 4224

Re: ADXL345 only returning -2.048

joan wrote:That should now work on I2C.

If you have a resistance meter it would be worth checking that adjacent pins aren't incorrectly connected.
Were you referring to this picture saying it should work? http://i.imgur.com/CVlVnzQ.jpg
Unfortunately it doesn't work and I don't have a resistance meter.
by rudy0912
Sun Jan 11, 2015 4:23 pm
Forum: Automation, sensing and robotics
Topic: ADXL345 only returning -2.048
Replies: 29
Views: 4224

Re: ADXL345 only returning -2.048

I'm not sure I understand you. Do you mean that I'm off by one row on my connections for GND and VCC? If so I think that's just the angle for the picture because they are definitely in the correct row. And to make the connection for CS to VCC, I should run a wire from CS to the VCC row and then anot...
by rudy0912
Sun Jan 11, 2015 3:05 pm
Forum: Automation, sensing and robotics
Topic: ADXL345 only returning -2.048
Replies: 29
Views: 4224

Re: ADXL345 only returning -2.048

It still isn't working. I've attached a picture of my breadboard in hopes that someone points out an amateur mistake since I'm new to making circuits. http://i.imgur.com/CVlVnzQ.jpg GND + SDO go to the right power strip which is connected to GND on the pi VCC + CS go to the left power strip which is...
by rudy0912
Sun Jan 11, 2015 1:11 pm
Forum: Automation, sensing and robotics
Topic: ADXL345 only returning -2.048
Replies: 29
Views: 4224

Re: ADXL345 only returning -2.048

http://i.imgur.com/TUCIQh8.jpg http://i.imgur.com/kXjuTHr.jpg Initially there wasn't this much solder on the pins but I added more (way too much...first time soldering) when rgrbic suggested to check the connections. I know it looks like VCC is touching GND and CS but the second picture should show ...
by rudy0912
Sun Jan 11, 2015 2:01 am
Forum: Automation, sensing and robotics
Topic: ADXL345 only returning -2.048
Replies: 29
Views: 4224

Re: ADXL345 only returning -2.048

Try this C code for the ADXL345 http://abyz.co.uk/rpi/pigpio/examples.html#Misc_code Compile with gcc -o adxl345 adxl345.c Run with ./adxl345 1 to use bus 1. I ran the above code and it does the same thing as before. One interesting difference is that the first 3 readings differ a little bit and th...
by rudy0912
Sat Jan 10, 2015 2:45 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: ADXL345 only returning maximum values.
Replies: 3
Views: 809

Re: ADXL345 only returning maximum values.

joan wrote:People get irritated if multiple posts are opened on exactly the same subject by the same person.
Sorry about that I wasn't sure if different people browsed the 2 forums. How can I delete this thread?
by rudy0912
Sat Jan 10, 2015 2:36 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: ADXL345 only returning maximum values.
Replies: 3
Views: 809

ADXL345 only returning maximum values.

I'm using i2c to connect to the ADXL345 and it only returns -2.048 for all axes. If I change it to +-16g it starts to only return -16g. This is the adxl345 I bought: http://www.amazon.com/RioRand-ADXL345-Digital-Acceleration-Gravity/dp/B00L9O7NRE/ref=sr_1_3?ie=UTF8&qid=1420900459&sr=8-3&keywords=adx...
by rudy0912
Sat Jan 10, 2015 2:31 pm
Forum: Automation, sensing and robotics
Topic: ADXL345 only returning -2.048
Replies: 29
Views: 4224

Re: ADXL345 only returning -2.048

I didn't check the examples. These accelerometers have +-2g by default which you get as 2048 or -2048 so you are getting constantly maximal value. Maybe the programs are written for different resolutions? The program has a way of changing it from detecting +-2g to +-16g. After i change it to +-16 i...
by rudy0912
Fri Jan 09, 2015 10:44 pm
Forum: Automation, sensing and robotics
Topic: ADXL345 only returning -2.048
Replies: 29
Views: 4224

ADXL345 only returning -2.048

I'm using i2c to connect to the ADXL345 and it only returns -2.048 for all axes. Any ideas?
Both the exmaple.py and adxl345.py return -2.048: https://github.com/pimoroni/adxl345-python
by rudy0912
Thu Dec 25, 2014 8:09 pm
Forum: General discussion
Topic: Wifi connection keeps dropping
Replies: 4
Views: 1925

Re: Wifi connection keeps dropping

Yes, very common problem. With a RT5370 adaptor, a watchdog script works well. There are dozens of takes on how to do it, this looks similar to what I've used : http://root42.blogspot.co.uk/2013/03/how-to-make-raspberry-pi-automatically.html Thanks for the suggestion. Before posting I had done some...
by rudy0912
Thu Dec 25, 2014 6:15 pm
Forum: General discussion
Topic: Wifi connection keeps dropping
Replies: 4
Views: 1925

Wifi connection keeps dropping

I recently got my first Raspberry PI(B+) and have been messing around with it. I followed some guides online and was able to set up a mumble server that my friends and I can use. However, I've noticed that the Raspberry Pi tends to drop wifi connection every so often. Sometimes it runs for 10+ hours...

Go to advanced search