Go to advanced search

by dobra-dobra
Thu Mar 14, 2019 10:37 pm
Forum: Troubleshooting
Topic: [Solved] Pi 1 Model A not booting Raspbian Lite 2018-11-13
Replies: 2
Views: 168

Re: Pi 1 Model A not booting Raspbian Lite 2018-11-13

Thank you for your help. I just run a bunch of tests and solved this puzzle. First of all I was trying to find a version of Raspbian Lite which will boot. When I got back to the version from 2015 without luck I was sure that this is a dead end and the problem needs to be somewhere else. Where? It tu...
by dobra-dobra
Thu Mar 14, 2019 9:25 am
Forum: Troubleshooting
Topic: [Solved] Pi 1 Model A not booting Raspbian Lite 2018-11-13
Replies: 2
Views: 168

[Solved] Pi 1 Model A not booting Raspbian Lite 2018-11-13

I have two old (ancient?) Pi's Model A, which I use in air quality displays. Due to the issues with WiFi dongle I needed to flash new SD card with current version of Raspbian Lite. The problem is that version from 2018-11-13 does not boot on my Model A boards (ACT LED does not blink), while it does ...
by dobra-dobra
Sat Mar 26, 2016 9:29 pm
Forum: Troubleshooting
Topic: Time does not sync on Pi 3 and with official dongle [Solved]
Replies: 57
Views: 34455

Re: Time does not sync on Pi 3 or when official dongle is us

I confirm that workaround presented by @SR-71 worked for both RPi 3 connected with built-in WiFi and RPi A+ with official WiFi dongle. Yay!

Thank you all for help with this issue.
by dobra-dobra
Sat Mar 26, 2016 7:56 am
Forum: Troubleshooting
Topic: Time does not sync on Pi 3 and with official dongle [Solved]
Replies: 57
Views: 34455

Re: Time does not sync on Pi 3 or when official dongle is us

It's not a hardware issue. I have two official RPi dongles with Broadcom chips and RPi 3. All of them do not sync time (but there is internet connection, I can ssh to them, make update or ping Google), while when I switch to other dongle in the same setup time is set just after boot. Moreover, in ol...
by dobra-dobra
Fri Mar 25, 2016 10:45 pm
Forum: Troubleshooting
Topic: Time does not sync on Pi 3 and with official dongle [Solved]
Replies: 57
Views: 34455

Re: Time does not sync on Pi 3 or when official dongle is us

But how it is possible that it works for one dongle, and does not work for other? Setup is exactly the same.
by dobra-dobra
Fri Mar 25, 2016 10:24 pm
Forum: Troubleshooting
Topic: Time does not sync on Pi 3 and with official dongle [Solved]
Replies: 57
Views: 34455

Re: Time does not sync on Pi 3 or when official dongle is us

I left Pi 2 with official dongle (Broadcom chip) on for 5 hours and time is still incorrect. @DougieLawson I tried these commands already. I have a freeze after sudo ntpd -qg when using official dongle. Waited about 10 minutes to complete without any luck. When I switched to dongle with Realtek chip...
by dobra-dobra
Fri Mar 25, 2016 4:42 pm
Forum: Troubleshooting
Topic: Time does not sync on Pi 3 and with official dongle [Solved]
Replies: 57
Views: 34455

Re: Time does not sync on Pi 3 or when official dongle is us

Here are the outputs: http://pastebin.com/Ys1GWWrm , I can't see any differences. I tried new option in raspi-config to wait for network during boot but issue still occurs. I also tried to restart NTP server using /etc/init.d/ntp restart without any luck. Edit Here is output of /etc/init.d/ntp statu...
by dobra-dobra
Thu Mar 24, 2016 11:28 pm
Forum: Troubleshooting
Topic: Time does not sync on Pi 3 and with official dongle [Solved]
Replies: 57
Views: 34455

Re: Time does not sync on Pi 3 or when official dongle is us

Thank you for your response. My AP runs on channel 6. Output from ip route and cat /etc/resolv.conf is exactly the same no matter what dongle I use and I receive ping responses (except ping -c3 (ip route | awk '/default/ {print $3}') which does not work - syntax error near unexpected token `(', but ...
by dobra-dobra
Wed Mar 23, 2016 5:19 pm
Forum: Troubleshooting
Topic: Time does not sync on Pi 3 and with official dongle [Solved]
Replies: 57
Views: 34455

Time does not sync on Pi 3 and with official dongle [Solved]

I'm running Raspbian Jessie with all recent updates. When using Pi 2 or 3 time/date is not synchronizing at boot. When I placed the same SD card in Pi Zero time was updated correctly. What may be the problem? Edit Problem only occurs when using official WiFi dongle (no matter what Pi) or on Pi 3 whe...
by dobra-dobra
Tue Mar 01, 2016 1:30 pm
Forum: General discussion
Topic: Best WIFI Dongle
Replies: 15
Views: 20162

Re: Best WIFI Dongle

I can recommend the following two dongles: 1) http://www.ebay.com/itm/WiFi-300Mbps-USB-Adapter-802-11n-g-b-Wireless-Dongle-Antenna-LAN-Network-EDUP-/381550123168?hash=item58d628d8a0:g:InAAAOSweW5VY8tW 2) http://www.ebay.com/itm/Protronix-Mini-USB-WiFi-Network-Card-Wireless-LAN-Adapter-Dongle-802-11n...
by dobra-dobra
Wed Feb 24, 2016 6:01 pm
Forum: Troubleshooting
Topic: Official RPi Wifi Dongle not working
Replies: 15
Views: 2402

Re: Official RPi Wifi Dongle not working

Hi Rabus

Have you got any luck with this issue? I just started a similar topic on forum (viewtopic.php?f=28&t=137349) as I can't get Broadcom dongle to work on Jessie Lite, while other dongles work fine.
by dobra-dobra
Wed Feb 24, 2016 10:43 am
Forum: Troubleshooting
Topic: WiFi setup for official dongle in Jessie Lite
Replies: 0
Views: 610

WiFi setup for official dongle in Jessie Lite

I have a RPi model A running headless Raspbian Jessie Lite with recent actualizations. I configured WiFi by adding following lines to /etc/wpa_supplicant/wpa_supplicant.conf file: network={ ssid="testing" psk="testingPassword" } All my cheap, Chinese WiFi dongles can connect to my network, but that ...
by dobra-dobra
Wed Jan 27, 2016 8:50 am
Forum: General discussion
Topic: need basic info for image processing
Replies: 1
Views: 429

Re: need basic info for image processing

I just love to solve such problems. Here you are:

http://letmegooglethat.com/?q=raspberry ... processing
by dobra-dobra
Sun Jan 24, 2016 10:24 am
Forum: General discussion
Topic: Stuck Python to Arduino Serial
Replies: 11
Views: 2234

Re: Stuck Python to Arduino Serial

Glad you were able to sort it out. I thought that you are trying to use Rx/Tx pins on GPIO to connect, not USB port. But USB port is safer option due to the voltage difference (5 V Arduino vs. 3.3 V RPi).
by dobra-dobra
Sat Jan 23, 2016 11:51 pm
Forum: General discussion
Topic: Stuck Python to Arduino Serial
Replies: 11
Views: 2234

Re: Stuck Python to Arduino Serial

alexeames wrote:Shouldn't it be AMA0?
Yes, it should.

Code: Select all

test = serial.Serial()
test.baudrate = 9600
test.timeout = 0
test.port = "/dev/ttyAMA0"
Before sending message you should open the port:

Code: Select all

test.open()
Then if you are using Python 2:

Code: Select all

test.write("3")
But for Python 3 it will be:

Code: Select all

test.write("3".encode()
by dobra-dobra
Tue Jan 19, 2016 4:07 am
Forum: Astro Pi
Topic: Astro Pi Temperature Sensor Reading
Replies: 63
Views: 41085

Re: Astro Pi Temperature Sensor Reading

I'm not that an expert in heat transmission, but i think that in this case the only solution for reading right values of temperature is to keep the sensor (and so the sense hat) far from the pi cpu...not meters but some centimeter would be enough. You can still have some heat from LED matrix if in ...
by dobra-dobra
Tue Jan 19, 2016 3:54 am
Forum: General discussion
Topic: [SOLVED] Programming Pi
Replies: 19
Views: 2638

Re: Programming Pi

There actually is an early life project that allows one to use the Arduino IDE editor and run existing Arduino sketches on a Pi ... see: https://github.com/me-no-dev/RasPiArduino Wow! That is really cool! Thank your for the tip. It seems that it's quite active project, too. Good find. I need to try...
by dobra-dobra
Mon Jan 18, 2016 1:12 pm
Forum: General discussion
Topic: Is it better to start with Pi Zero or Pi 2
Replies: 14
Views: 1862

Re: Is it better to start with Pi Zero or Pi 2

It's a bit of oversimplification, but: - if you plan to connect your Pi to TV and use it as a regular computer pick a RPi 2 B; - if you plan to build a robot or similar device pick a RPi Zero. Overall if you just want to check what Pi is all about you can't go wrong with RPi 2 B, while Zero will hav...
by dobra-dobra
Sat Jan 16, 2016 9:51 pm
Forum: General discussion
Topic: Why is everything so difficult?
Replies: 78
Views: 9901

Re: Why is everything so difficult?

First of all you are doing quite ambitious project, so do not expect that everything will be easy. It's not all about combining Lego bricks after all. You spend few hours learning. You have improved your searching skills for sure. Next time you can make a post on forum about your problem and let peo...
by dobra-dobra
Sun Jul 13, 2014 3:01 pm
Forum: Python
Topic: Return a value from a function
Replies: 2
Views: 739

Re: Return a value from a function

Thanks, that solved my issue. But still I will need some more time to rethink why it doesn't work my way, thanks for the clue tho.
by dobra-dobra
Sun Jul 13, 2014 9:51 am
Forum: Python
Topic: Return a value from a function
Replies: 2
Views: 739

Return a value from a function

Hi I have a problem with returning temperature value from inside a function. I'm reading it from DS18B20 sensor and setup was done using this tutorial: http://www.cl.cam.ac.uk/projects/raspberrypi/tutorials/temperature/ Here is my code: #!/usr/bin/python3 # import libraries import time import subpro...
by dobra-dobra
Sun Dec 22, 2013 12:13 am
Forum: HATs and other add-ons
Topic: [SOLVED] ATmega48 - not reliable avrdude
Replies: 0
Views: 3230

[SOLVED] ATmega48 - not reliable avrdude

I'm spending my free time tinkering with GertDuino, which I have bought this week. I had an idea to use Ino (http://inotool.org/) to build .hex files for ATmega328 and 48 from command line, which I will then upload using avrdude (I have modified Gert's program_328 and program_48 scripts for this pur...
by dobra-dobra
Sun Jun 09, 2013 6:29 pm
Forum: Camera board
Topic: Python code to detect if camera is available
Replies: 13
Views: 15612

Re: Python code to detect if camera is available

I can confirm, that when camera is connected vcgencmd get_camera does not return what expected. I made updates of system lately (apt-get update, rpi-update), but I'm not sure if this is related. After some tinkering (disconnecting and connecting module, disabling and enabling camera in raspi-config)...
by dobra-dobra
Thu Jun 06, 2013 5:49 am
Forum: Camera board
Topic: Python code to detect if camera is available
Replies: 13
Views: 15612

Re: Python code to detect if camera is available

That is exactly what I needed, thanks a lot.
by dobra-dobra
Tue Jun 04, 2013 8:35 pm
Forum: Camera board
Topic: Python code to detect if camera is available
Replies: 13
Views: 15612

Re: Python code to detect if camera is available

Thanks for response. I use Python code to call raspistill in a loop, and so errors which I get (I don't remember them now) are from raspistill, not from Python. So if I understand correctly I can't use Python exceptions. But sometimes when you ask a question it is easier to find a solution by yourse...

Go to advanced search