Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Proteus iot builder for raspberryPi mcp3008 Problem

Status
Not open for further replies.

Poseider

Newbie
Joined
Aug 31, 2020
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
5
Hi everyone,

please I need some help wiring and configuration the mcp3008 ADC on Proteus IOT Builder with raspberryPI.
I connected :
the Pi CLK to the MCP CLK
the Pi MISO to the MCP DOUT
the Pi MOSI to the MCP DIN
and the Pi CS to the MCP CS/SHDN
but when I simulate this errors appear :

[VSMPY] File "C:\Users\Jawhar\AppData\Local\Temp\VSM Studio\be09b88a6d4042db9b27604dfc64139e\RPI3\Debug\main.py", line 28 [U1]
( line 28 pio.U2=Generic.MCP3008 (pio.CLK, pio.MISO, pio.MOSI, pio.$CS$) )
[VSMPY] pio.U2=Generic.MCP3008 (pio.CLK, pio.MISO, pio.MOSI, pio.$CS$) [U1]
[VSMPY] ^ [U1]
[VSMPY] SyntaxError: invalid syntax [U1]
[VSMPY] Python execution finished [U1]

Can someone help me running this and thanks in advance.
 

MISO = Master In Slave Out
MOSI = Master Out Slave In

There seems to be something wrong with the model or your main.py file. You have made a mistake in the programming in Python.

Please post circuits and codes when you ask questions, it helps us a lot.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top