RASPBERRY PI HARDWARE
Introduction
Designing 'virtual hardware' for your project is greatly simplified in Visual Designer. The various options available to you are described in detail below.
Raspberry Pi Base Board
In hardware, Raspberry Pi projects start with the Pi computer board and then sometimes will have additional electronics attached via the header block. These can be either complete functional electronics blocks (known in the Pi world as 'hats' ) or loose electronics components such as LED's or buttons.
In Visual Designer for Raspberry Pi the creation of the project is the point at which you make your decision on the base board. You can choose between the Raspberry Pi 3 or the Raspberry Pi 3 with Grove. The latter can be thought of as the Pi3 with the Grove hat stacked on top of it

Equivalent Hardware: Raspberry Pi on the Left and Raspberry Pi with Grove Hat on the right
Your choice will be automatically placed on the schematic when the project is created.

Automatic placement of the Raspberry Pi 3 on the Schematic when the Project is created.
In theory, the Raspberry Pi Zero W should also work as the pinout is identical and it contains the wi-fi chip. If you are working with this device select Pi 3 in the configurator. Raspberry Pi 2 will not work with Visual Designer because the pinout is completely different.
Raspberry Pi Hats
Raspberry Pi Hats are modular circuit boards that sit on your Pi3 base-board to instill it with extra functionality. They are the simplest way to add hardware functionality to your project because the circuitry and connectivity on the schematic happens automatically.
Adding a Hat
When you then want to add a hat in Visual Designer you right click on the Project Tree and select 'Add Peripheral' from the resulting context menu. Select either the 'Adafruit' or the Pimoroni category on the peripheral browser and then select the hat you want to add. This will auto-place the electronics on the schematic and connect it to the Pi baseboard.

Adding a Peripheral will auto-place and auto-connect on the schematic.
The connections are made by terminal name. Two terminals with the same name can be thought of as being connected with an invisible wire.
Writing a Program to Control a Hat
The Raspberry Pi Hat will appear in the project tree in Visual Designer once picked from the Peripheral Gallery. They include high level methods that allow you to quickly control the connected electronics via flowchart blocks.

Drag and Drop methods make it simple to drive the hats.
Potential Pitfalls
Working with Viirtual Shields is the simplest method to quickly create projects in Visual Designer. You do however still have to take care with what hardware you choose to use. For example:
- You need to make sure that your use of hats is compatible with hardware. For example, some hats are incompatible because they make use of the same resource on the CPU (e.g. Timer1). Others are pin incompatible.
Grove Sensors and Modules
Grove is a modular electronic platform for quick prototyping. Every module has one function, such as touch sensing, creating audio effect and so on. You simply plug the modules you need into the base shield and then connect the base shield to the Raspberry Pi base board in the normal way.
The GrovePi+ is the Pi Hat which attaches to the Pi 3 baseboard and includes 15 Grove 4-pin interfaces that then let you directly connect Grove sensors to the Raspberry Pi.
In Visual Designer if you want to want to work with Grove and Raspberry Pi you should choose the Raspberry Pi 3 with Grove option during project creation.
Grove Pi+ Starter Kit is a great way for beginners and students to get started with Raspberry Pi. The Grove Base Shield drops onto your existing Pi and lets you connect up to 16 Grove modules without any fuss. The headers are still broken out on the top of the shield making it very easy to connect other breakout boards and sensors to your Pi.

Grove Pi+ Starter Kit Hardware.
Adding a Grove Module
You can add a Grove module in the same way as adding a shield, except that you select the Grove category in the Peripheral browser.

Adding Grove Starter Kit modules in Visual Designer.
You can then control the Grove peripherals via the high level methods available from the Project Tree. Multiple peripherals and sensors can easily be added to a single project which provides an extra level of flexibility over using standard Raspberry Pi shields.
Potential Pitfalls
When you are working with Grove modules in Visual Designer the process is identical to working with complete hats. However, since the modules themselves plug into a hat, you need to take care not to re-use a connector on the Grove board. The real Grove base-board shield will look something like the following:

Grove Shield - the sensor modules plug-in to the exposed header pins.
When you add a Grove peripheral it will be assigned an ID on the schematic corresponding to a connector on the real board. If you get a duplicate, you'll need to edit and rename one of the connectors to a free slot.

If two grove modules have the same connector, you need to edit one and assign to an unused header slot on the Grove Shield.
You need to make sure that your use of Grove modules is compatible with hardware. Since the pins used in each socket overlap it is quite easy to mistakenly use the same pin twice.
Breakout Boards and Peripherals
The third category of hardware that you will find in the Peripheral Gallery is breakout boards. These are useful and interesting pieces of electronics (often single components) for which we have provided control methods inside Visual Designer. So, when you add a breakout peripheral to your project, you can drive it from the methods it adds to the Project Tree.

Breakout boards provide even more flexibility on the schematic. Indeed, they often connect to other schematic components that you want to place and wire yourself.
Potential Pitfalls
CPU resources and pin assignments need careful consideration.
Schematic Design
With Visual Designer you have access to the full power of the Proteus VSM simulation environment. This means that you have a professional schematic capture tool with tens of thousands of embedded components that you can place, wire and simulate.
This is the most flexible design method of all but involves a significantly higher learning curve. The programming in Visual Designer will have to be done via the CPU methods rather than specific methods for peripherals.

Potential Pitfalls
Schematic design for simulation is a large and relatively complex topic. In addition to the basic of placement and connectivity there will also be power considerations and you will need to program for interconnect protocols where appropriate. It should also be noted that the Raspberry Pi simulation model in Proteus is a high level behavioural model. Since the real rPi runs a full operating system it is quite easy to run Python code that is not supported in simulation. You'll find a list of supported libraries here.