Why does HV programming of an Attiny85 not work?
I have purchased a batch of Attiny85s from Aliexpress. I normally use USBTiny device to program my Attiny85s. But these chips from Aliexpress could not be programmed in the usual way. I built a circuit...
View ArticleReciprocal of 3 bits in C?
For some reason I just can't figure out how to do this. Reciprocal of 3 bits in C? For example 0b001 becomes 0b100 ob011 becomes 0b110 0c100 becomes 0b001 and so on.
View ArticleSAMD21 OpenOCD Programming Error
Hello, Im working on a custom board with ATSAMD21E18 microcontroller and flashing it with RaspberryPi. It gives me that error when I want to flash it. What can be the problem and how can I solve this?...
View ArticleHow to get voltage on lcd (line 1) to be proportional to custom lcd user...
Hey guys, so I'm doing a project where I create a digital volt meter using C and a NUCLEO-F429ZI board. Now I've managed to get a voltage showing up on my LCD line 1 where a DAC generates an output of...
View ArticlePIC16F877A code not running on EASYPIC V7
Hello. Enclosed code is one simple example from Bate's book "Interfacing Pic microcontroller". The codes run properly in Proteus VMS, but not on EasyPic V7 board (to start and stop blinking I use RB1...
View ArticleHelp to interface MOSFET SSR
I am trying to interface mosfet SSR and solenoid with 8051 Here is detail of mosfet SSR https://www.indiamart.com/proddetail/5amp-model-704-dc-to-dc-mosfet-ssr-20061643930.html Specifications: DC...
View Articlepic16f88 sleep mode and wake on interrupt
hello everyone! I need your help, im using mikro c and trying to use sleep mode on a pic16f88 mcu and wake from a interrupt on RB0 pin (I use internal osc) what I want to do is a simple project so I...
View Article[pic12f1572] Disabled MCLR pin keeps pic from start
Hello, Well, as stated in the title, I'm using a PIC12F1572 in a 8pin package. So i disabled the MCLR pin in the CONFIG words. Now, the problem is if this pin is kept low on power up the PIC never...
View ArticleArduino Mega 2560+6H10D RFID
Hello everyone I can't figure out how to get tag from 6H10D RFID Reader. Plugging 6H10D RFID Reader to Computer using USB prints value in any word documents. But when i connect it to Arduino it stops...
View ArticleHelp with Addressable LED Protocol- Mystery Driver Chip GW6202B
I have a large number of addressable, 3-Wire RGB LED's. (Power, Data, GND) I don't have any information about them, so I autopsied one to see what's inside. The chip seems to be a GW6202B, which I find...
View ArticleDo I need a pull up resistor?
I need to tie an enable pin of a logic chip high. It will always stay high and never change. In general, is it safe and proper to pull a pin high by connecting it direct to VDD do I need a pull up...
View ArticleMAX 6373 Supervisor IC's
I have designed a controller for solar hot water systems. It uses a Wemos D1 mini (Arduino). I want to install a simple external watchdog timer. I purchased the Max6373 for a test. I can't get the...
View ArticleHow to define a microcontroller pin as open collector or open drain??
https://www.microcontrollertips.com/what-is-an-open-drain-faq/ I have understood the fundamental theory of open collector and open drain configuration. But the problem is How to define/make a micro...
View ArticleSIngle bit XOR in 8051
This is embarrassing... I consider myself an expert in the 8051 architecture, but I've never had to perform a single bit xor operation before. What I want to do is fairly simple, I want C =...
View ArticleSTM32L053R8T6 UART not working properly after waking up from Stopmode
I'm progamming a STM32L053R8T6 Nucleo board with Keil uVision 5 and im trying to print the RTC time after waking up from stopmode. However whenever i do that i print some symbols instead: €€€€€€€€€....
View ArticleRemote control by location (PIC in Oshonsoft)
I'm making a couple of PCBs BASE/TRANSMITTER and REMOTE/MODEL RECEIVER using surface mount components, and PICs, for use as remote control by location (3D). Remote control by location, is when a...
View ArticleBus Transceiver Question - Data Flow
I incorporated an SN74LVC245AN bus transceiver into a project I was doing. It's main usage is to isolate some connections I have on a BeagleBone Black during the boot process. From what I understand in...
View ArticleProgramming a Realtek RTL8762AJ
Hi All, I have recently bought a cheap fitness tracker with the aim of reprogramming it to do my bidding, the device I bought said it had a nRF5x based uC (that I would normally program via SWD port...
View ArticlePIC10F322 LED blinking using timer and interrupt
Hi All, This is my first time working on PIC chip, so I started by blinking an LED using timer and interrupt first. I wanted it to On for 1s and then Off for another 1s. I had tried coded the timer...
View Article