Post Created date
how to write EEPROM with extreme safety?
You can create several copies of the data, and write a checksum or some check value in each copy. Write them in a round-robin fashion (so you always overwrite the oldest one) and...
Tuesday, 7 July 2020 - 13:05
ATTINY416 TEMPSENSE
I've enabled the temperature sensor on my devices, but it seems not very useful, it reads a little bit high and not totally consistent.   It does appear to vaguely increase...
Thursday, 16 April 2020 - 12:48
please help - brushed motor with speed and direction control
dabijja wrote: Hi everybody,   I'm not an experienced tech guy   Well, good job on reverse engineering it, even though it looks like the layout is very simple to reverse...
Wednesday, 1 April 2020 - 11:35
please help - brushed motor with speed and direction control
In my opinion, duplicating the firmware is not difficult. The hard part is maybe doing that without having a working unit to analyse. It's possible that there is some "magic" in...
Wednesday, 1 April 2020 - 10:58
please help - brushed motor with speed and direction control
Presumably putting too many volts on the pedal socket has blown up the microcontroller.   Looks like it is, at least in principle, possible to replace with attiny1614 (power...
Wednesday, 1 April 2020 - 10:28
[SOLVED] Question: AVR, interrupts and ISR
I don't see any problem with the code.   Calling subroutines inside a ISR is perfectly ok provided they don't do anything that wouldn't be permitted usually in an ISR....
Monday, 30 March 2020 - 16:03
ATtiny1614 OTA bootloader
If you can get the OTA updates working reliably, yes, it's ideal for development. Especially if your microcontroller is inaccessible inside a robot.   I've not done that, but...
Friday, 20 March 2020 - 11:32
ATtiny1614 OTA bootloader
Glad you are enjoying the attiny1614, I like that chip because it's easy to hand-solder but not too big.   Hmm, I have a xplained nano 416 and it worked fine with Atmel...
Friday, 20 March 2020 - 08:42
ATTINY404 - Howto program/Software tools
I also recommend the xplained 416 nano, it's a very well priced (< $10) development board and has everything you need to start. It can connect over USB so you don't need to...
Tuesday, 10 March 2020 - 21:32
Generating servo pulses using TCD peripheral
@kabsan, thanks, I didn't realise the "synchronisation prescaler" would scale the counter. I shall use this if it works for me.
Tuesday, 10 March 2020 - 12:03
Generating servo pulses using TCD peripheral
kabasan wrote: The TCD has a prescaler and can generate 50Hz.   The prescaler maximum is 32x, but I want to run the CPU at 10mhz (faster than the default, 3.3mhz), so I can'...
Tuesday, 10 March 2020 - 10:28
Generating servo pulses using TCD peripheral
Thanks, curt, I think working from the end is the best way to do it, if I can tolerate an extra 10ms of latency, it's really going to make more sense.    
Tuesday, 10 March 2020 - 10:27

Pages