raspberry pi 3 (raspbian on sd card ) doesn't boot using linux mint laptop - raspbian

i tried both noobs and raspbian on sd card to try to boot the raspberry pi 3 but none of them seem to do the job (if the sd card is the problem )
when i power it up , there are 2 lights , red and green
there is a sign that the keyboard and mouse are working , but still
NO DISPLAY on the laptop screen !!!
p.S : i'm using an hdmi cable that used to be working with our tv .

Did you verify the install before attempting to boot? I did the same from my Linux Mint box and it did not format it properly the first time. You have to verify the install per the Raspberry OS install instructions before attempting to boot with it.
Once verified, make sure you insert the card while the power is disconnected from your Pi. Also make sure you have your HDMI, keyboard, and mouse plugged in BEFORE connecting the power the first time you boot. Also, if you plug the power in before the HDMI the Pi 3 will boot to a headless state, plugging in a monitor after this will not work. You will have to unplug the power and plug it back in with the HDMI left plugged in.

Related

Run Raspberry Pi script from Windows PC using Ethernet

As the title says, I want to run a script on the Raspberry Pi from my Windows PC. The connection between PC and Raspberry Pi 4 (Raspbian OS) should be done using an Ethernet cable. The Rasperry Pi cannot be operated permanently in the network. Is it correct that then a SSH connection is out of the question?
For background: the Raspberry Pi is connected to a camera and a stepper motor. Depending on the position of the object to be photographed, the stepper motor is moved and then a photo is taken. This photo is then to be sent back to the PC via the network cable. The script on the Raspberry Pi (rotation stepper motor and image capture) is implemented with Python and fully functional. Is it generally possible to run the Pi script using the Ethernet cable and transfer the generated images back?
Using a Windows QT GUI I want to start this script and display the images later.
Is this possible or can someone suggest a simpler way? Maybe someone already had a similar problem and would help me.
Many thanks in advance.
If you have an extra Ethernet NIC on your computer, you can directly connect your PC and Raspberry PI (on relatively newer hardware) or if that doesn't work, you can use a crossover Ethernet cable to connect your PC to the PI. Then configure an ssh server on the PI and enable Avahi and dhcpd and execute your script via that using MSYS ssh or Putty (ssh pi#hostname.local). Don't forget to change your hostname.
Bonus tip: you can also send your data (images) back over the same connection.

Can a raspberry pi 3 without monitor,keyboard and mouse, send file via bluetooth to an Android device?

I wanted to send data between Android and Raspberry Pi 3 via Bluetooth.
I made a working Android program to send file from Android to Raspberry Pi 3, but I don't have any clue to make the program to receive (take data) from Raspberry Pi 3 without using any hardware on the Raspberry Pi 3 such as keyboard,mouse, and monitor.
Is it possible to make that kind of program? if yes, can you give me examples or references?

Android Things: ADB over USB on Raspberry Pi

I'm playing with Raspberry Pi 3 Model B and Android Things. I was able to configure everything (connect Pi over Ethernet, then reconnect over Wi-Fi with Android.local) and debug the app. However it's not convenient sometimes to debug over Wi-Fi when I travel and I have to change Wi-Fi networks or don't have Wi-Fi connection at all.
I know there is serial debug console, but it seems to be for getting logs and shell commands, not for debugging.
Any chance to have direct debugging over USB cable just like any other Android device like smartphone/tablet?
How to debug Android Things device over USB?
Briefly: you can't do it with Raspberry Pi.
Why not?
Let's look at the pin specification of Raspberry Pi micro USB (J1):
where
1: power
2: D- (data out), not connected
3: D+ (data in), not connected
4: NC, not connected
5: GND (ground)
So summing up the above said: no data pin connection - no adb. You can only power your RPi over micro USB.
Any chance to have direct debugging over USB cable just like any other Android device like smartphone/tablet?
Use another board. In fact, any board that has USB OTG and is supported by Android Things would allow debugging over USB, just as a "regular" smartphone/tablet.
And ironically, by the time of this writing, all the supported hardware platforms would fit except for Raspberry Pi :)
The NXP i.MX7D development board has the same pins as the Raspberry Pi for development, however it uses USB-C for power and ADB.
Highly recommend it over the Raspberry Pi
https://developer.android.com/things/hardware/imx7d.html
(source: android.com)
Another option is to setup Wi-Fi access point on your laptop and allow the Pi to connect to it. I have not tested it but it should work.

Probleme about rebooting the Raspberry PI after update and upgrade

As you can read in the title of the post, I have a problem about rebooting the Raspberry PI after doing :
sudo apt-get update && sudo apt-get upgrade.
When the updating and upgrading finished, I restart the Raspberry and I just have a black monitor and the POWER LED (Red) is ON and the Green Led is also ON.
This is the second time the problem appear on my Raspberry PI.
Today, I downloaded the Raspbian and did all the manipulation to boot the Raspberry. And now the problem re-appear. The First time that the problem appear, I just formated the SD Card and I wrote the Raspbian in the SD Card.
If some one had the same problem, please help me to solve it.
Thank you in advance.
PS : I am using a Raspberry PI model B+.
I had similar problem like You.
For me, I have 2 possible reasons :
1) Power Supply - I recommended 5V 2A Power Supply
2) Network ethernet patch cable unshielded (without shield or ground line)
This problems with cable I had also on R-Pi2. Buying shielded cable solve my problems with R-Pi hangs on boot after reboot.
Now my cable looks like this one :
http://www.cabling-supplies.com/media/catalog/product/cache/1/image/512x512/9df78eab33525d08d6e5fb8d27136e95/c/a/cat6a-shielded_1.jpg
The problem resides in the SD card. When the green LED isn't blinking, it means the Pi can't read the SD card. To fix this, get a new SD card.

Raspberry pi freezed on wifi adapter

I have a type B Raspberry Pi running perfectly with USB keyboard and USB mouse both plugged in.
However pi freeze in all the following combinations,
USB keyboard + USB wifi adapter (CUI)
USB mouse + USB wifi adapter (GUI)
In CUI, pi reboots every time I hot plugged in the adapter, and freezes on asking for login id.
If I boot pi with wifi preplugged in, pi also freeze on asking for login id.
In GUI, it does not reboot but freeze when I hot plugged in the adapter.
It is true when I boot pi with preplugged in.
Could someone please advise me how to fix this?
Your raspberry pi does not have beefy enough USB ports to power the wifi adaptor. Get a powered USB hub.