User Tools

Site Tools


raspberrypi:start

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
raspberrypi:start [2019/01/24 00:33]
dwheele [MCP4725 DAC]
raspberrypi:start [2020/06/25 16:27] (current)
dwheele [7-Inch 1024x600 Touch Screen]
Line 239: Line 239:
 ===== 7-Inch 1024x600 Touch Screen ===== ===== 7-Inch 1024x600 Touch Screen =====
  
-Also purchased a 7-Inch 1024x600 Capacitive Touch Screen, which serves as a small HDMI monitor. Had to use regular monitor temporarily to set up configuration at ''/boot/config.txt''. Added these entries to support 1024x600:+^Resolution|1024x600 (aspect ratio ~1.71 (128/75))| 
 +^Amazon|[[https://www.amazon.com/gp/product/B075QCXLPF/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&psc=1|Detail web page| 
 +^Version|v2.04| 
 +^Manufactuer|GeeekPi| 
 +^Size|SVGA Wide| 
 +^Purchased|1/14/2019| 
 + 
 +Purchased a 7-Inch 1024x600 Capacitive Touch Screen, which serves as a small HDMI monitor. Had to use regular monitor temporarily to set up configuration at ''/boot/config.txt''. Added these entries to support 1024x600:
  
 <code text> <code text>
Line 261: Line 268:
 ===== MCP4725 DAC ===== ===== MCP4725 DAC =====
  
-This is I2S compatible. Worked well the first time. The problem is that I need a lot of these, and normally you can only have two, selectable with an A0 address line.+This is I2S compatible. Worked well the first time. The problem is that I need a lot of these, and normally you can only have two, selectible with an A0 address line.
  
 It is rated at 25 ma of output. Connected to aviation simulator instrument, it only consumed about 0.5 ma, so connected directly to it.  It is rated at 25 ma of output. Connected to aviation simulator instrument, it only consumed about 0.5 ma, so connected directly to it. 
    
 +https://www.adafruit.com/product/935
 +
 +This could be multiplexed.
 +
 +It can also be connected to an external op amp, e.g., LM358
 +
 +This shows simple comparator, and simple gain amp: https://www.youtube.com/watch?v=g3TybiZHQ-A
  
 ==== Problem to use more than two ==== ==== Problem to use more than two ====
Line 271: Line 285:
  
 https://learn.adafruit.com/adafruit-tca9548a-1-to-8-i2c-multiplexer-breakout https://learn.adafruit.com/adafruit-tca9548a-1-to-8-i2c-multiplexer-breakout
 +
 +===== To Code With C =====
 +
 +Using "Geany" - an IDE which is installed and comes with Raspberry Pi. It is a GUI app, but can run it remotely from Windows via vnc server.
 +
 +**On Raspberry Pi**
 +
 +  * Run ''vncserver''
 +  * ''vncserver :1 -geometry 1920x1080''  to set up a larger window.
 +
 +**On Windows**
 +
 +  * Run VNC Client. Connect to pi 192.168.0.8. Login with "pi" credentials (regular ssh login).
 +  * You can see the GUI. Launch Geany
 +
 +===== Trying VisualGDB =====
 +
 +[9/21/2019] Because I'm doing more programming for the Raspberry Pi, decided to try VisualGDB. This is a go-between which lets you develop in Visual Studio C++, and then build/run on Raspberry Pi.
 +
 +  * https://visualgdb.com/download/
 +
 +After reviewing some of this, it is very complicated. Trying to use Geany instead on the Raspberry Pi. The code for this is not that involved.
 +
raspberrypi/start.1548290033.txt.gz · Last modified: 2019/01/24 00:33 by dwheele