950 reputation
510
bio website
location
age
visits member for 4 years, 10 months
seen Dec 23 at 18:26

Dec
9
comment What is a pulse width modulation for DC motors really?
@newbie, A PWM signal is typically used as an output from a microcontroller to the input of a transistor. Power for the DC motor is provided through the transistor. The duty cycle of the PWM varies to control the voltage on the output side of the transistor and thus, the speed of the DC motor.
Jun
30
answered Is this Li-Ion safe?
Mar
21
comment UART0 on MCBSTR9 Board STR912FAW44?
I don't understand the line UART_SendData(UART0,'AS'); The second parameter should be a single byte (u8). Not really sure what your compiler is doing with this. This line is also in a tight while loop...the second (and subsequent) time(s) through the loop, data is loaded into the UART's shift register before it has been fully shifted out (~87us @ 115200,n,8,1). Consider some type of delay in this loop.
Feb
11
awarded  Yearling
Jan
16
comment Identify which face of a cube is up
I agree. A 3-axis accelerometer is the way to go. Just for reference, Atmel has some very affordable dev kit add-ons with accels, gyros, and magentometers (atmel.com/products/microcontrollers/avr/sensors_xplain.aspx). I have no affiliation with Atmel...just thought these were relatively affordable solutions relevant to the question.
Feb
11
awarded  Yearling
Jun
22
comment Use UART Tx as digital output?
+1 for suggesting DTR pin instead of TX.
Jun
18
comment Where are static variables stored?
The placement of a const variable is controlled by a non-standard keyword sometimes. Note that there is often a way to configure the linker to define where the const variables are stored. This, of course, varies with each tool chain.
Jun
8
awarded  Constituent
Jun
8
awarded  Caucus
Feb
11
awarded  Yearling
Oct
7
answered How to blink an LED on ARM STR9
Oct
7
comment How to blink an LED on ARM STR9
Another +1 for removing all of the stuff unrelated to flashing the LED.
Sep
9
comment Is it possible to use a Microchip PIC32 as a USB host and device at the same time?
@Russell - I may be wrong but I don't think your interpreting the question quite right. I think Federico is looking for something closer to Majenko's answer. First, you can't have two host devices on the same USB bus which implies he needs a PIC32 device with two USB ports. Second, I doubt someone asking this level of question would want to bit-bang a USB interface on some GPIO pins...I think they would be looking for a PIC with two USB peripherals. Again, this is just my take on the question.
Aug
24
awarded  Nice Answer
Aug
5
comment Is FCC certification required for something that is not sold?
+1 for digging up the excellent link.
Jun
13
comment Which family of ARM processors should I learn: ARM7TDMI or Cortex M3?
With regards to the Cortex-M3 design being newer, I have seen some manufacturers putting their ARM7 parts on the "not recommended for new design" lists.
May
11
comment Water and Electronics?
There are actually purpose-built circuit board washers used to clean excess flux. An example can be seen at this link
Apr
14
awarded  Self-Learner
Apr
13
comment How to calculate battery life
+1 for adding the point regarding the self-discharge of the batteries.