Mise à jour de 'README.md'
This commit is contained in:
parent
893c6492c8
commit
10b8a69a7f
12
README.md
12
README.md
@ -41,11 +41,13 @@ Indeed, this relay board was meant to be controled by sending very poorly design
|
||||
To be honest, the best way to flash our own firmware on this board is to replace the ATMEGA328PU with one which has the Arduino bootloader burnt on it :-(.<br />
|
||||
Indeed after looking at the reverse engineered schematic, the SPI pins needed for an ISP are not exposed (they are not even used...).<br />
|
||||
Fortunately enough, the onboard FTDI seems to be connected with the DTR line which is connected through a capacitor to the ATMEGA's reset pin that is required by the Arduino bootloader.<br />
|
||||
I will test it this weekend and keep you informed.
|
||||
The test is done and IT WORKS !!!. I took an Arduino pro mini 3.3V 8MHz. I desoldered the ATMEGA328PU that was on it and soldered it back on the relay board.<br />
|
||||
I then connected the board to the PC with a USB cable and started the Arduino IDE.<br />
|
||||
In the tools menu of the IDE I chose the Arduino UNO board and I flashed the blink sketch.<br />
|
||||
The download process worked and the led L (which is pin 13 luckily) started blinking as expected.<br />
|
||||
I will test it this weekend and keep you informed.<br />
|
||||
**The test is done and IT WORKS !!!**.
|
||||
1. I took an Arduino pro mini 3.3V 8MHz. I desoldered the ATMEGA328PU that was on it and soldered it on the relay board.
|
||||
2. I then connected the relay board to the PC with an USB cable and started the Arduino IDE.
|
||||
3. In the tools menu of the IDE I chose the Arduino UNO board and I flashed the blink sketch.
|
||||
4. The download process worked and the led L (which is pin 13 luckily) started blinking as expected.
|
||||
5. We can now write our own firmware.
|
||||
|
||||
## Could the onboard ATMEGA be saved ?
|
||||
I will try to restore the chip to it's factory state by programming it with a HVPP (High Voltage Parallel Programmer) in order to reset the fuse bytes as well if they are set of course ...<br />
|
||||
|
Loading…
Reference in New Issue
Block a user