Questions tagged [emulation]
Emulation is the process of using software to "fake" how a piece of hardware will act in certain circuits with different firmware on the chips.
16 questions
2
votes
1
answer
318
views
Emulating Arduino Uno with QEMU: interrupts do not work
So I wrote this code for Arduino Uno:
// file qemu.ino
void setup() {
Serial.begin(9600);
}
void loop() {
Serial.println(millis());
}
And then compiled and uploaded it to the real ...
1
vote
0
answers
116
views
DigiKeyboard BIOS Compatibility
I am using a custom version of the DigiKeyboard library, to use a Digispark as a keyboard in the BIOS. It works on most computers, but HP 730 Thin clients dont recognize it as a keyboard.
Below is the ...
1
vote
1
answer
354
views
Can at least one Arduino emulate a USB hub?
What I'd like to do is have some kind of compact (and preferably inexpensive) Arduino-compatible device emulate a USB hub, and simulates plugging in a USB keyboard, pressing a key, then simulates ...
0
votes
0
answers
226
views
Arduino emulator to create virtual 3d printer farm
I'm building a system to monitor several 3d printers, but I just have 1 printer. I'm thinking if there is any opensource tool to launch several virtual Arduino based boards running with Marlin ...
3
votes
3
answers
3k
views
How compile an Arduino program for a desktop PC
I have an arduino program that only does serial communications with a little bit of math, and I am writing another one to communicate with it on a second arduino. For testing purposes I was hoping I ...
0
votes
2
answers
3k
views
is there any real arduino emulators (so I can upload and run machine code on it)
I play with Arduino Micro. I write my programs in directly in machine code, in binary editors (yes, I know that there are more easy ways to program an Arduino, I do it for fun and learning). Often my ...
4
votes
3
answers
3k
views
Is it possible to use extra AVR Flash memory as non-volatile EEPROM-like Flash memory storage?
In STM32 microcontrollers it is possible to use a technique that ST calls IAP, or In-Application Programming, in order to write to the Flash memory from your running application. They even have a nice ...
1
vote
0
answers
79
views
How to test Arduino behaviour on Windows? [duplicate]
Hello fellow Arduino enthusiasts,
I created an Arduino project for a Mega2560 board in Microsoft Visual Studio.
Before loading the code on the board I want to test it on my Windows desktop computer.
...
2
votes
1
answer
1k
views
Emulate RFID Tag [closed]
I just got my RFID-RC522 Reader and was wondering one thing. Can i Use an RFID Reader to emulate an RFID Tag, so that if i have another reader it will detect the other one as a card and transfer data. ...
0
votes
2
answers
175
views
Can I program the Arduino without having an actual board with the able to emulate a COM connection to the computer?
I have ordered my Arduino, but it is not going to arrive until 2 months, and I would like to be able to emulate a COM connection to the emulated Arduino. I am writing a program that listens on the com ...
2
votes
2
answers
2k
views
Arduino analog joystick
I'm planning to make a handbrake for my racing simulator (Assetto Corsa) and I wanted to know how can I transform arduino into a joystick so the game can read the analog input?
Thanks in advance, and ...
3
votes
2
answers
6k
views
Is there an Arduino Simulator or Emulator that runs on OS X?
Is there an Arduino Simulator or Emulator or cross-compiler to native Mac executable that runs directly under Mac OS X, and does NOT require a Windows or Linux VM or an active internet connection for ...
0
votes
2
answers
5k
views
Using an Arduino as an input device [duplicate]
I had an idea to create a control panel using an arduino and some buttons. How would I go about making the arduino emulate an input device so that when I press a button connected to the arduino, it ...
0
votes
1
answer
218
views
How do I activate emulation in the Coddeblocks Arduino IDE
I stumbled upon this question here, so I tried the Codeblocks alternative. After opening an Arduino Project, and leaving all options to default, I ran the Arduino version of the Hello World. A popup ...
5
votes
2
answers
6k
views
How do I debug on-chip with Arduino?
Though an emulator is quite useful for debugging code that has no side effects, most real-world applications include some circuitry besides the Arduino. If a microcontroller on an Arduino had a JTAG ...
244
votes
13
answers
470k
views
Can I program for Arduino without having a real board?
I would like to start the development of some basic Arduino projects but I don't own an Arduino board yet. Is there a way I can write my code and emulate/test it using a desktop computer so after my ...