This shows you the differences between two versions of the page.
| 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 | + | ^Resolution|1024x600 (aspect ratio ~1.71 (128/ |
| + | ^Amazon|[[https:// | ||
| + | ^Version|v2.04| | ||
| + | ^Manufactuer|GeeekPi| | ||
| + | ^Size|SVGA Wide| | ||
| + | ^Purchased|1/ | ||
| + | |||
| + | Purchased | ||
| <code text> | <code text> | ||
| Line 259: | Line 266: | ||
| Which further manipulated ''/ | Which further manipulated ''/ | ||
| + | ===== 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:// | ||
| + | |||
| + | 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:// | ||
| + | |||
| + | ==== 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, | ||
| + | |||
| + | https:// | ||
| + | |||
| + | ===== To Code With C ===== | ||
| + | |||
| + | Using " | ||
| + | |||
| + | **On Raspberry Pi** | ||
| + | |||
| + | * Run '' | ||
| + | * '' | ||
| + | |||
| + | **On Windows** | ||
| + | |||
| + | * Run VNC Client. Connect to pi 192.168.0.8. Login with " | ||
| + | * 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:// | ||
| + | |||
| + | 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. | ||