Go to advanced search

by JPB-HK
Tue Oct 30, 2018 2:09 am
Forum: General discussion
Topic: Multiple Frame buffer beta testers wanted
Replies: 346
Views: 33625

Re: Multiple Frame buffer beta testers wanted

I'm running on a 3B with the official RPF 7" display (second version because the backlight brighness stuff works). I've got your kernel7.img & start_x.elf I've got dtparam=audio=on start_x=1 lcd_rotate=2 gpu_mem=128 dtoverlay=rpi-tv dtparam=spi=on dtparam=i2c_arm=on disable_splash=1 disable_oversca...
by JPB-HK
Tue Oct 16, 2018 3:40 am
Forum: General discussion
Topic: Multiple Frame buffer beta testers wanted
Replies: 346
Views: 33625

Re: Multiple Frame buffer beta testers wanted

Thanks, would be a great help!

Trying to develop a program that will display a GUI for user on 7" touch screen that will display an image on HDMI. Getting real close.

John
by JPB-HK
Tue Jan 26, 2016 3:41 am
Forum: OpenMAX
Topic: hello_jpeg not working on Raspberry 2 B+
Replies: 6
Views: 2649

Re: hello_jpeg not working on Raspberry 2 B+

I am running into the same problem. * Running Raspberry Pi 2 with Raspberry Pi 7" display * Boot into command line mode to the 7" display (rotated with lcd_rotate=2) * gpu_mem=256 I get the errors: Did not receive executing stat -1 No EOS event on image decoder -1 No EOS event on image resizer -1 No...
by JPB-HK
Thu Jan 21, 2016 1:54 am
Forum: C/C++
Topic: Recommended C IDE
Replies: 27
Views: 6401

Re: Recommended C IDE

I use CodeBlocks with wxWidgets for GUI development. I first setup a program on Windows the way I want it to run. Then port the code to Raspberry Pi 2 with 7" touch display. I connect to Raspberry pi via network and then edit / run program via remote desktop. It can be a little difficult in setting ...
by JPB-HK
Tue Dec 29, 2015 2:13 pm
Forum: C/C++
Topic: newbie using C on PI for embedded applications
Replies: 5
Views: 1242

Re: newbie using C on PI for embedded applications

Been successfully using Code::Blocks on Raspberry Pi for years. And now with quad core processor, runs much faster. Also use wxWidgets for gui support in Code::Blocks. Remote connect in via a network cable so it can be used on a bigger display. You can download Code::Blocks from Raspberry PI. wxWidg...
by JPB-HK
Wed Dec 09, 2015 4:38 am
Forum: Official Foundation Display
Topic: Can I run the 7" touch raspberry monitor and this case?
Replies: 7
Views: 1229

Re: Can I run the 7" touch raspberry monitor and this case?

Used an off-the-shelf enclosure from Hammond Ritec RM2055M: http://www.hammondmfg.com/RM.htm At the bottom of the listing, there are some folding feet that would work nicely to incline the box for better display viewing. The display hangs over a few millimeters, but was better than carrying around w...
by JPB-HK
Mon Dec 29, 2014 2:46 am
Forum: Raspbian
Topic: Command line Image viewer?
Replies: 67
Views: 148129

Re: Command line Image viewer?

I understand. Forgot to mention that I did not want to maintain these systems, so created a simple text file in /boot that can be edited by a Windows system to change DOW, time on, time off, what image to display. Now just have a little instruction sheet, and can be maintained by someone else. :) John
by JPB-HK
Sat Dec 27, 2014 6:39 am
Forum: Raspbian
Topic: Command line Image viewer?
Replies: 67
Views: 148129

Re: Command line Image viewer?

That was my original approach. But there was also a requirement for different jpg files at different locations. And the added complexity of needing different jpg at different days of the week. so program reads a config file defining day of week / time / image combination. then an ini config file to ...
by JPB-HK
Fri Dec 26, 2014 11:14 pm
Forum: Raspbian
Topic: Command line Image viewer?
Replies: 67
Views: 148129

Re: Command line Image viewer?

Here is a snippet of code I wrote to display a JPG file with fbi, and then change to a new file. It is just a poor man's kiosk display only. I have it running in a couple of different places. They are connected to TVs and powered from TVs. They just display some images at certain times. This was wri...
by JPB-HK
Fri Dec 26, 2014 10:50 pm
Forum: Other projects
Topic: ABS Pi Case with OLED & camera
Replies: 11
Views: 7216

Re: ABS Pi Case with OLED & camera

Sorry for the late reply. I have posted my code for oled. The code is organized as follows:
source
|------common
|------oled

I use CodeBlocks to build C++ programs.

Hope this helps.
John
by JPB-HK
Tue Oct 08, 2013 5:15 am
Forum: Other projects
Topic: ABS Pi Case with OLED & camera
Replies: 11
Views: 7216

Re: ABS Pi Case with OLED & camera

I have also been working on the Raspberry Pi to automatically display the IP address when it boots up. This has been a real challenge to have it reliably and consistently do this. And to do it for either cable or wifi. I am new to BASH programming, so this has been an exicting experiment. so far her...
by JPB-HK
Tue Oct 08, 2013 1:21 am
Forum: Other projects
Topic: ABS Pi Case with OLED & camera
Replies: 11
Views: 7216

Re: ABS Pi Case with OLED & camera

** Update ** I added a 12 key keypad to the project. Actually I built another one, as I did a poor job in planning the first one. There was no room to add the keypad. With the new one, it is very similar to the original, except these changes: 1) I did not add the volt / amp / temp chip 2) Added the ...
by JPB-HK
Wed Sep 11, 2013 12:35 am
Forum: Other projects
Topic: ABS Pi Case with OLED & camera
Replies: 11
Views: 7216

Re: ABS Pi Case with OLED & camera

Terry: You could possibly use diodes instead of the transistor circuit. It is just important not to have the two GPIO pins connected, as they would interfere with each other. I used transistors because I was originally going to use 5V to the switch instead of 3.3V. That would give me a level of isol...
by JPB-HK
Tue Sep 10, 2013 12:28 am
Forum: Other projects
Topic: ABS Pi Case with OLED & camera
Replies: 11
Views: 7216

Re: ABS Pi Case with OLED & camera

Terry: Good question. In December last year, I ran across this little bit of wisdom in the forum: http://www.raspberrypi.org/phpBB3/viewtopic.php?p=227308#p227308 Stored this away for future use. When I started this project, I remembered this, and incorporated it in my project. So simply put, the co...
by JPB-HK
Fri Aug 30, 2013 1:54 am
Forum: Beginners
Topic: How to Get Text Files Off PI and Onto Laptop
Replies: 9
Views: 1491

Re: How to Get Text Files Off PI and Onto Laptop

Dear Whatevany:
You might want to check to see if you have a space between your file name and the '/' character:

Code: Select all

sudo cp myfile.txt /boot
John
by JPB-HK
Wed Aug 28, 2013 6:44 am
Forum: Advanced users
Topic: STICKY: HOWTO: Move the filesystem to a USB stick/Drive
Replies: 334
Views: 483353

Re: HOWTO: Move the filesystem to a USB stick

Thanks for the great instructions, worked perfectly the first time, and easy to put back if needed. I think this is going to be a great development setup as you can leave the SD card alone, and plug in whatever USB flash drive you are working on. That way you could have several projects going, one o...
by JPB-HK
Wed Aug 28, 2013 2:07 am
Forum: Beginners
Topic: How do you Find your the Raspberrypi's IP? (Complex)
Replies: 8
Views: 1431

Re: How do you Find your the Raspberrypi's IP? (Complex)

dear jar: I found with my particular router it only updates the connected devices once on power-up. Very frustrating, but I have found a way to set a fixed IP address. You can add a line to cmdline.txt file to force a particular ip address for your Raspberry Pi. The cmdline.txt file is located in th...
by JPB-HK
Wed Aug 21, 2013 5:37 am
Forum: Other projects
Topic: ABS Pi Case with OLED & camera
Replies: 11
Views: 7216

Re: ABS Pi Case with OLED & camera

Update: I have attached the schematic of the interface between the GPIO, button and LED. Simple circuit. 130819 PB Circuit.jpg Here is the code for monitoring the gpio pin. Just borrowed this from some other folks online. I created a file named switchmon, and put this in the ~ directory. #! /bin/bas...
by JPB-HK
Mon Aug 19, 2013 1:07 am
Forum: Other projects
Topic: ABS Pi Case with OLED & camera
Replies: 11
Views: 7216

Re: ABS Pi Case with OLED & camera

I have added a N/O push-button on the back of the case that is a sleep / wakeup button. It is connected via 2N4401s to GPIO3 PIN 5, and GPIO17 Pin 11. GPIO3 is used to wake the Raspberry Pi from sleep with a momentary transition from high to low. GPIO17 is monitored during operation for a transistio...
by JPB-HK
Tue Aug 13, 2013 5:15 am
Forum: Other projects
Topic: ABS Pi Case with OLED & camera
Replies: 11
Views: 7216

ABS Pi Case with OLED & camera

As all of us have been looking for a way to package our products, I came up with a case that I could modify at home. Being a hobbyist, I wanted something I could carry around, would have room for the special electronics I needed, and be sturdy. So I used the case from Multicomp, MCRH3165, which is 1...
by JPB-HK
Tue Jun 11, 2013 6:14 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: I2C with Adafruit 128x32 I2C OLED
Replies: 30
Views: 15590

Re: I2C with Adafruit 128x32 I2C OLED

i should be getting my 128x64 OLED display (from Adafruit) on monday and i wanted to hook it up to the raspberry pi. from the tutorials they have, it's only for arduino and in python, but i want to use c++. wondering if you have examples using this api/library on how to do so? looks like the OLED d...
by JPB-HK
Fri Mar 29, 2013 8:21 am
Forum: General discussion
Topic: Mounting hole clearances
Replies: 3
Views: 702

Re: Mounting hole clearances

Looks to be 6mm outside ring, which is copper, but doesn't seem to be connected to ground, the inside seems thru hole to be just a little less than 3mm. Sorry I don't have any better method of measurement. I am using stands for these to mount, I don't know the size.

John
by JPB-HK
Wed Mar 27, 2013 5:54 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: I2C with Adafruit 128x32 I2C OLED
Replies: 30
Views: 15590

Re: I2C with Adafruit 128x32 I2C OLED

Here is my latest I2c code in a class wrapper. In the cpp file I included simple instructions for use. It is a basic read /write package, an easy module to add to other projects. My file structure is simple to allow for projects to easily use previously created modules, such as i2c. [source] '- comm...
by JPB-HK
Wed Mar 27, 2013 5:08 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: I2C with Adafruit 128x32 I2C OLED
Replies: 30
Views: 15590

Re: I2C with Adafruit 128x32 I2C OLED

Karl34: I originally did not have RST connected, and this worked OK on the bench, but when I installed a display in a Raspberry Pi case, without a separate power supply for the display, I needed the RST to get the display to work. So I hooked RST up to Pin 7 (GPIO4) of the Raspberry Pi. I use Gertbo...
by JPB-HK
Mon Mar 18, 2013 1:42 am
Forum: General discussion
Topic: My RasPi running off AAA batteries
Replies: 31
Views: 7774

Re: My RasPi running off AAA batteries

Good to see that you have successfully run off batteries. This is my goal as well. I am using the LD1117 5V to deliver 5V to the Raspberry Pi. I also added the Dallas Maxim DS2745 as a low-cost i2c battery monitor. It works very well and supports a 'gas gauge' for the battery. It includes Voltage, C...

Go to advanced search