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/23 15:38]
dwheele [PCA9685 Servo Card]
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 259: Line 266:
 Which further manipulated ''/boot/config.txt'' Which further manipulated ''/boot/config.txt''
  
 +===== 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, 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. 
 + 
 +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 ====
 +
 +To get more than two, get a TCA9548a multiplexer. This allows 8 devices to connect, you hit the multiplexer with the number of the device to hit. Perhaps this means that I can have 16 DACs per Raspberry Pi. You can also have multiple multiplexers, each can respond on a different address themselves. It is also possible to get Raspberry Pi zeros for about $5
 +
 +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.1548257913.txt.gz · Last modified: 2019/01/23 15:38 by dwheele