Questions tagged [raspberry-pi2]

RPI QUESTIONS MUST BE PROGRAMMING RELATED. The Raspberry Pi 2 is a quad-core, ARMv7 instruction set CPU with 1GB of RAM. See the related StackExchange site at https://raspberrypi.stackexchange.com. Also see the first edition's tag at https://stackoverflow.com/questions/tagged/raspberry-pi .

RPI QUESTIONS MUST BE PROGRAMMING RELATED. The Raspberry Pi model 2 is a budget computer that fits in your hand. It has 4 cores, 1GB of RAM, and runs ARMv7-based CPUs.

If the question is not programming related then it may be on-topic at Raspberry Pi Stack Exchange, Internet of Things Stack Exchange or Unix & Linux Stack Exchange.

1237 questions
-1
votes
1 answer

I dont know how to send and integer by serial port from raspberry to arduino

I am trying to connect my raspberry pi with an arduino mega via usb. I did the connection and I can send an integer but only if i put the number by keyboard here is the code: import serial import…
-1
votes
3 answers

Raspberry Pi Wifi dongle

I'm not quit sure if I'm on the right site for this, but I'll give it a try. I have a couple of usb devices plugged in my Raspberry Pi model B. But when I plug in a WiFi dongle, it just shuts down all the other usb devices, and the dongle itself…
userCe
  • 19
  • 6
-1
votes
1 answer

command line websocket client for Raspberry Pi2- no browser required implementation?

Send data read from GPiO to server, not only with WIFI, but also on mobile network outside anywhere. I dont have and dont want to deal with setting a public address for RPi2, so this is why I need RPi2 to be client, sending data thru websockets to…
Ifik
  • 13
  • 4
-1
votes
1 answer

Error: internal_relocation - Can't figure out the error

So i'm getting this error: program.s:62: Error: internal_relocation (type: OFFSET_IMM) not fixed up Here is my code: .global main .global printf .global fopen .global fclose .global fgetc main: @ Open File PUSH {R1} @ Push address of R1…
madcrazydrumma
  • 1,847
  • 3
  • 20
  • 38
-1
votes
1 answer

How can I call these variables in main?

I have this code that runs and sets the GPIOS 7,11,13,15 to my Raspberry Pi 2 HIGH or LOW so I can address the 16 multiplexer channel accordingly, then reads the analog voltage through and MCP3002 SPI, and returns if there was a keypress or a key…
-1
votes
1 answer

Raspberry pi connect itself to wifi by running bash script

We have turned our raspberry pi into an access point and put some php and html pages on it. Our goal is to make the raspberry pi to detect the WIFI and connect itself to the WIFI. The html page takes wifi name and password, then the php triggers…
Big_t boy
  • 299
  • 1
  • 5
  • 18
-1
votes
1 answer

Qt OpenGl context on raspberry pi

I'm writing a program that with Qt5 opengl context. It works well on my desktop (fedora 23). But i have to run it on the pi 2. So i download Qt5 every where source code and compiled it natively on the pi. When i tried to compile and run my program…
hamed1soleimani
  • 304
  • 1
  • 2
  • 13
-1
votes
1 answer

Sqlite3: InterfaceError: Error binding parameter 2 -probably unsupported type

c.execute("INSERT INTO sensors values(?,?,?)", ((format(datetime.now().strftime('%d-%m-%Y %H:%M:%S')), pydata['id'], pydata['data']))) The output: $ python filterUDPListen.py Time: 23-01-2016 12:59:13 Device: AA Data: TEMP017.9 Traceback (most…
GoempieK
  • 17
  • 6
-1
votes
1 answer

Raspberry PI 2 B, creating SD card for Archlinux, fails to start

I creating SD card by this guide: Archlinux Raspberry-pi-2 installation. Previously everything working fine. 2016-01-11 I Archlinux OS with command "pacman -Syu". And it started to fail. And throw errors. I think that it is becouse of SD card model…
Drasius
  • 825
  • 1
  • 11
  • 26
-1
votes
1 answer

QR Code Windows 10 UWP IOT (Raspberry pi 2)

I am pretty new to the IOT and UWP for windows 10. Is it possible to read QR Code using windows 10 IOT? Thank you very much.
-1
votes
1 answer

Have Raspberry Pi nginx webpage save checkbox state?

I have a Raspberry Pi running an nginx webpage that uses PHP to change the state of the GPIO pins and turn relays on and off. Currently I have a checkbox that switches the pin on and off no problem, the problem is that if the page is refreshed or…
Veitch
  • 27
  • 6
-1
votes
1 answer

Ubuntu Mate on raspberry Pi stuck on color test screen: first boot

I recently downloaded an image from the raspberry Pi website. I flashed that to my SD Card using All of the GUI interfaces shown here. As mentioned in the title, I plug the micro ad card into my Pi, and it pops up to a screen with many different…
-1
votes
1 answer

Grant access rights to one specific directory

Since I am not that experienced with Linux this might be an easy, if not too simple question for you. Recently I met an old friend of mine and I want to exchange some files with him. In fact I could send the files by E-Mail or share them by Dropbox…
verticoe
  • 103
  • 7
-1
votes
1 answer

Can not install Samba in raspbian(debian)

When I type in the command "sudo apt-get install samba",the answer is shown like "The following packages have unmet dependencies: samba : Depends: libwbclient0 (= 2:3.6.6-6+deb7u5) but 2:4.1.17+dfsg-2 is to be installed Recommends:…
Bryan YU
  • 77
  • 11
-1
votes
1 answer

Raspberry Pi can't send data to PC through serial communication

I am trying to send/receive data over the serial connection (GPIO UART pins) between a Raspberry Pi 2(raspian wheezy) and an STM32F4 board. I am using the sample code in the link:…
uv_utna
  • 21
  • 2