Go to advanced search

by Onira
Tue May 19, 2015 11:14 am
Forum: Troubleshooting
Topic: Fresh raspbian on RPi2 mocp volume
Replies: 10
Views: 1151

Re: Fresh install on RPi2 mocp volume

I ment moc - music on console :D
by Onira
Tue May 19, 2015 11:02 am
Forum: Troubleshooting
Topic: Fresh raspbian on RPi2 mocp volume
Replies: 10
Views: 1151

Fresh raspbian on RPi2 mocp volume

I'm having troubles with mocp
I can't change volume
by Onira
Wed May 13, 2015 12:20 pm
Forum: Troubleshooting
Topic: Please help me to run Waveshare 2,2"LCD μPD161704A/BD663474
Replies: 4
Views: 769

Re: Please help me to run Waveshare 2,2"LCD μPD161704A/BD663

the link you gave me contains a file but readme there tells me it's for x86 and I'm lost :?
by Onira
Wed May 13, 2015 8:30 am
Forum: Polski
Topic: Jaki używacie wyświetlacz? (2,2"/2,4"/2,8"/3,2" itp)
Replies: 1
Views: 2530

Jaki używacie wyświetlacz? (2,2"/2,4"/2,8"/3,2" itp)

Witam

czy ktoś używa a jeśli tak to jaki wyświetlacz do maliny?
Chodzi mi o montaż i trudność instalacji softu do jego obsługi
by Onira
Tue May 12, 2015 6:31 am
Forum: Troubleshooting
Topic: Please help me to run Waveshare 2,2"LCD μPD161704A/BD663474
Replies: 4
Views: 769

Re: Please help me to run Waveshare 2,2"LCD μPD161704A/BD663

but will I boot to a small desktop on that LCD?
this LCD has a touchscreen
by Onira
Tue May 12, 2015 5:35 am
Forum: Troubleshooting
Topic: Please help me to run Waveshare 2,2"LCD μPD161704A/BD663474
Replies: 4
Views: 769

Please help me to run Waveshare 2,2"LCD μPD161704A/BD663474

Hello

as I mentioned in the topic
I would like to run the display (from DVK511 board) on my RPi rev. B

On resellers page (the one I bought it from) it is written that it is μPD161704A
but on WVshare website I find it as http://www.waveshare.com/2.2inch-320x24 ... -lcd-a.htm
by Onira
Wed Mar 04, 2015 6:37 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Using an Arduino as a slave I/O board
Replies: 147
Views: 135889

Re: Using an Arduino as a slave I/O board

Is that re lcd an answer for me?
by Onira
Tue Mar 03, 2015 2:29 pm
Forum: Beginners
Topic: How to connect a 4.3 Touch TFT LCD
Replies: 9
Views: 6270

Re: How to connect a 4.3 Touch TFT LCD

Can anyone help?
by Onira
Tue Feb 24, 2015 8:43 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Using an Arduino as a slave I/O board
Replies: 147
Views: 135889

Re: Using an Arduino as a slave I/O board

I use standard connecting Arduino via USB to my hub so it is on /dev/ttyUSB0 (I changed in the code to make it work) the previous code had select doing on/off and left/right were switching the stations there was nothing for up/down but even if there was no code for 'em they were switching stations s...
by Onira
Tue Feb 24, 2015 5:24 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Using an Arduino as a slave I/O board
Replies: 147
Views: 135889

Re: Using an Arduino as a slave I/O board

I'm stubborn ;)

I think that screen IS working because I have
  • station 1
I was so doing with previous code

Code: Select all

python radio.py & exit
and it WAS working all the time ('til it crashed)
by Onira
Tue Feb 24, 2015 3:28 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Using an Arduino as a slave I/O board
Replies: 147
Views: 135889

Re: Using an Arduino as a slave I/O board

When I click 'select' I get the radio reset to station 1 but LCD doesn't change Client: sent 'Select' volume: 50% repeat: off random: off single: off consume: off http://stream.kgnu.net:8000/KGNU_live_high.mp3 mms://wmlive.bbc.co.uk/wms/england/lrstoke http://stream2.hippynet.co.uk:8067/ http://wwoz...
by Onira
Thu Feb 19, 2015 9:50 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Using an Arduino as a slave I/O board
Replies: 147
Views: 135889

Re: Using an Arduino as a slave I/O board

Well I did that in X forwarding opening IDLE and pasting your code all spaces are same so I need to look and think ;) Thank you for you patience EDIT IDLE helped me to verify every line and when the code seemed to be fine, when running code I got $ python richradio.py Traceback (most recent call las...
by Onira
Thu Feb 19, 2015 8:46 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Using an Arduino as a slave I/O board
Replies: 147
Views: 135889

Re: Using an Arduino as a slave I/O board

okay... my mistake ;)
I made a file richradio.py and playlist.txt
now I have

Code: Select all

$ python richradio.py
  File "richradio.py", line 2
    import os, sys, threading, time, socket
    ^
IndentationError: unexpected indent
$
by Onira
Thu Feb 19, 2015 5:51 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Using an Arduino as a slave I/O board
Replies: 147
Views: 135889

Re: Using an Arduino as a slave I/O board

Yes I ran it in Arduino IDE from RPi
and when I click upload button I get this error.

So how should I upload it if not via IDE?
by Onira
Thu Feb 19, 2015 1:59 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Using an Arduino as a slave I/O board
Replies: 147
Views: 135889

Re: Using an Arduino as a slave I/O board

I see... so I need to create a file named playlist.txt with my favourite streams, right ? The code you shown is not working... try is try a code ? avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega328p -DF_CPU=16000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUI...
by Onira
Wed Feb 18, 2015 5:53 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Using an Arduino as a slave I/O board
Replies: 147
Views: 135889

Re: Using an Arduino as a slave I/O board

This is very scary. Using threaded classes and sockets to scan the keypad on the LCD panel. A background thread polls the hardware and sends messages via sockets (it is local but could be REMOTE to another system!!) to the listener (in this case it could be the radio app...) - the LCD keypad is now...
by Onira
Tue Feb 17, 2015 8:23 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Using an Arduino as a slave I/O board
Replies: 147
Views: 135889

Re: Using an Arduino as a slave I/O board

but if using RPi (GPIOs) only for LCD do we really need interrupts? ;)
by Onira
Tue Feb 17, 2015 5:31 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Using an Arduino as a slave I/O board
Replies: 147
Views: 135889

Re: Using an Arduino as a slave I/O board

Arduino keypad to RPi ? but there are connections direct to Arduino (it's a shield) Or am I not understanding? :roll: EDIT or maybe something like that http://www.dx.com/p/chuangzhuo-raspberry-pi-shield-rpi-gpio-shield-for-arduino-white-292375 ?? I can get it in my country and it's not expensive.
by Onira
Tue Feb 17, 2015 6:51 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Using an Arduino as a slave I/O board
Replies: 147
Views: 135889

Re: Using an Arduino as a slave I/O board

Yes
I want to use internet radio without using a PC
so that's why I'm interested in having LCD and buttons :)
by Onira
Sun Feb 15, 2015 3:02 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Using an Arduino as a slave I/O board
Replies: 147
Views: 135889

Re: Using an Arduino as a slave I/O board

Then please share your script if you have any ;)
I'm going to stay with the one that is working for me with nanpy-0.8
I am just too dumb to write anything myself :|
by Onira
Sun Feb 15, 2015 9:26 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Using an Arduino as a slave I/O board
Replies: 147
Views: 135889

Re: Using an Arduino as a slave I/O board

I followed the tutorial http://www.instructables.com/id/Arduino-Raspberry-Pi-Internet-Radio/ but nanpy-0.7 code described there was playing the radio script for about 15 - 50 minutes and then the script was crashing then when tried to update to nanpy-0.9 it didn't upload on an Arduino board but tony...
by Onira
Sat Feb 14, 2015 6:48 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Using an Arduino as a slave I/O board
Replies: 147
Views: 135889

Re: Using an Arduino as a slave I/O board

I would like to ask the same thing.
tonygo2 helped me to install nanpy-0.8
because version 0.9 was crashing

so HOW did you get 0.9.2 working?
by Onira
Sun Feb 01, 2015 6:13 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Using an Arduino as a slave I/O board
Replies: 147
Views: 135889

Re: Using an Arduino as a slave I/O board

am trying to insert nanpy-0.9 code into the Arduino and when opening /home/pi/nanpy-firmware/nanpy/nanpy.ino I click to verify or upload then it compiles and that error ocurs...
by Onira
Sat Jan 31, 2015 4:58 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Using an Arduino as a slave I/O board
Replies: 147
Views: 135889

Re: Using an Arduino as a slave I/O board

I get an error in Arduino IDE:

Code: Select all

LiquidCrystalClass.cpp:1.17:fatal error: cfg.h: No such file or directory
compilation terminated.

Go to advanced search