Post Created date
Soundtracs CM4400
 Thanks Jims,   the board in question has a z80, some ram and a handful of TTL to manage the routing. Something the AVR would handle with ease. How fast do I need...
Monday, 8 November 2021 - 20:26
Code Style I DO NOT Like!
A modern editor with syntax highlighting makes things a bit easier methinks.
Friday, 22 October 2021 - 12:07
How to measure nanoseconds
Is this a single shot measurement or repeating? If it is a clock, then I assume it repeats. For a single shot measurement, you can use an integrator with a track and hold adc. The...
Tuesday, 19 October 2021 - 12:02
More than 16 external pin interrupts on Atsamc21n17a
I’d suggest that something is wrong with your design if you have this many external interrupts. You always want to minimise the number of interrupt sources and especially external...
Monday, 20 September 2021 - 09:57
faking a POT 500ohm with a filter pwm?
You’d want a voltage to current converter or maybe a digital pot.
Friday, 17 September 2021 - 04:55
What does "Code Coverage" refer to?
If we assume the rtc is connected via i2c. As Cliff described, you have to decide at what level you draw the line at simulating. Ideally you would have a complete hardware...
Friday, 17 September 2021 - 04:53
best way to remember use of preprocessor and macro 
The preprocessor is a program that interprets the macros and it runs before the compile phase. Best way to remember???? What is best to you is not necessarily best for me....
Friday, 17 September 2021 - 04:26
Moving from C to OOP. Thoughts on my design?
For the cli you could have a pub/sub mechanism. But it wouldn’t make much sense in an embedded context as the pubs and subs subs don’t change at runtime. The point is what is ‘...
Monday, 13 September 2021 - 06:04
Moving from C to OOP. Thoughts on my design?
You don't move from C to OOP - C is a computer language, OOP is a method of structuring code. You can do OOP in C if you so desire. What you're suggesting is to move to C++ and...
Sunday, 12 September 2021 - 11:48
Problem uploading sketches from Raspberry Pi to ATmega328 via USB
Apart from the dodgy breadboard setup (note that on the linked stack exchange page there’s also mention of bypass caps), what is the provenance of the ftdi chip? It’s no secret...
Sunday, 5 September 2021 - 07:43
AVR parser issues on multiprocessor communication over USART
What happens if the payload has the same bytes as your start or end token? And you loose a character? You need a better method of synchronisation and a frame check sequence would...
Wednesday, 1 September 2021 - 14:41
Bridge rectifiers
Whilst the ATX psu will do what is required, having many Amps worth of current available without protection is rather dangerous.  I'd suggest adding a fuse otherwise a small...
Saturday, 14 August 2021 - 04:01