2

Is there a software to simulate Raspberry Pi hardware design such as proteus? I would like :

  • To use a raspberry pi as a virtual component,
  • Do all the wiring, simulate,
  • Simulate, test code,
  • Check for errors and,
  • Be able to the code implement on real hardware.

Is there such software?

1
  • 1
    Broadcom likely has some models for their chips, but they certainly won't give them to you for free. Aug 16 '19 at 12:57
2

Apart from the beta Microsoft emulator (https://azure-samples.github.io/raspberry-pi-web-simulator/), which only supports one built in circuit board, the only other emulator i could find is http://www.rpi-emulator.com/ provides an offline downloadable RPi-3 emulator for windows systems.

Raspberry Pi Emulator lets you emulate Raspberry Pi 3 hardware running a Raspbian system, inside your Windows system. It's ideal when you want to test your software and don't want to bother switching to actual Raspberry Pi hardware, or just want to take a quick look at what Raspbian looks like. This program is just a wrapper for qemu system, as qemu has no gui, and it's main purpose is to save you time typing all those pesky arguments into the command line to get qemu started. You can still see the whole command used to run qemu so you can change anything to your liking prior to running it. The emulator lets you chose the system image which will boot and ammount of RAM. Unfortunately current version of qemu doesn't support using more than 256MB RAM but that seems to be enough to run Raspbian anyway. Since the image file boots directly without creating a virtual hard drive, it will have no free space for you to store your data, so it is recommended to expand it. This wrapper also has an option to do that. Note: qemu doesn't work well with all Raspbian versions. Raspbian Stretch(2017-11-29) is tested and known to work, so I recommend you get it here: http://downloads.raspberrypi.org/raspbian/images/raspbian-2017-12-01/

4
  • 1
    I am gonna try both solutions. Thank you! Aug 16 '19 at 13:21
  • 1
    Sorry I cannot upvote as this is a new account :,) Aug 16 '19 at 13:22
  • No problem, however i have tested none of the solutions. also the up-vote is ok. Aug 16 '19 at 13:22
  • 1
    @TheCondorIV if the answer worked for you you should press the green tick to mark the question as answered. Aug 16 '19 at 14:04
2

I found an online simulator here, but you can't modify the hardware: https://create.withcode.uk/python/A3

https://fritzing.org/ has hardware and code, but I have not tried the coding yet. It costs about $9 but is worth it in my opinion. They also have the option to create and upload your schematics and will send you a PCB board (for a fee).

2
  • It looks like this simulator only runs python scripts and has no documentation. Am I missing something? Apr 13 '21 at 14:50
  • It has an option to add a file, but I am not sure how it would work with different types of code. I also recently discovered fritzing.org which is not free, but the price is nominal. You can add hardware, but I have not tried the programming option. It does have a raspberry pi available. Apr 15 '21 at 14:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.