Open goros1993 opened 8 years ago
Most components seem pretty easy to use and solder except the microcontroller. I found a breakout board for it, but I realized that the Arduino Uno uses the same controller, maybe we can use an arduino to make some tests. And we could get the ATmega328P for a lower power consumption if necessary.
Regarding the current sensor, we get an output that is proportional to the current that goes through the resistor we choose, but I don't know how that translates to the control of the dc motor. My guess would be that this can control the speed but I am not sure.
I found a breakout board for it, but I realized that the Arduino Uno uses the same controller, maybe we can use an arduino to make some tests. And we could get the ATmega328P for a lower power consumption if necessary.
I like the idea of fetching a microcontroller board for initial tests but note that it should be replaced by the microprocessor at a later stage.
It'll be useful to make a table like (feel free to change the fields):
Component name | Unit price | Breakout | URL |
---|---|---|---|
a | b | c | d |
About the MCU for version 4 of OpenServo i saw in the software forum that they were planning to use an ATxmega32A4.
In this MCU the clocks work differently.They give more control over time and it has 12 bit ADC which means that the sample can be done at much higher quality. Cons are that it is pretty heavy on the math.
For the future maybe we could have a look to the ARM MCU family.
Things to order/look for in addition:
Component name | Units needed | Unit price (€) | Breakout | URL |
---|---|---|---|---|
ATmega328 | 1 | 5.84 | spikenzielabs | DigiKey |
ATmega328 (Long pin package) | 1 | 3.19 | - | DigiKey |
LM3480 | 1 | 1.21 | - | DigiKey |
IRF7309 | 2 | 1.20 | - | DigiKey |
ZXCT1009 | 1 | 0.92 | - | DigiKey |
MCP9701A-E/TO | 1 | 0.29 | - | DigiKey |
DF11-10DP-2DS (connector) | 1 | 0.70 | - | DigiKey |
2N7002DW-7-F | 1 | 0.31 | - | DigiKey |
SN74CBT1G125 | 2 | 0.40 | - | DigiKey |
20 MHz crystal oscillator | 1 | 0.26 | - | DigiKey |
1uF ceramic capacitor | 1 | 0.30 | - | DigiKey |
10uF ceramic capacitor | 2 | 0.42 | - | DigiKey |
0.1uF ceramic capacitor | 7 | 0.17 | - | DigiKey |
0.001uF ceramic capacitor | 1 | 0.18 | - | DigiKey |
2k resistor | 2 | 0.09 | - | DigiKey |
0.05ohm resistor | 1 | 1.47 | - | DigiKey |
100k resistor | 2 | 0.09 | - | DigiKey |
10k resistor | 4 | 0.09 | - | DigiKey |
20k resistor | 3 | 0.09 | - | DigiKey |
4.99k resistor | 1 | 0.14 | - | DigiKey |
10 ohm resistor | 4 | 0.09 | - | DigiKey |
For the ATmega328 flasher, we could buy a flasher in Hobbyking for 19 € or follow this tutorial to program it with the arduino uno (another tutorial).
BreadBoard BreadBoard + cable kit
http://www.digikey.es/product-detail/en/LP2950-50LPRE3/296-20933-1-ND/1216905 http://www.digikey.es/product-detail/en/2N7008-G/2N7008-G-ND/4902351?WT.z_cid=ref_octopart_dkc_buynow&site=es http://www.digikey.es/product-detail/en/B82141A1103K/495-5609-1-ND/4245943
@goros1993 I'll also need the passive components for the order. Please compile a table including these as well (seems like Digikey is the proper way to go).
@vmayoral Table updated. Let me know if you see something that is not right.
Ordered. Should take about a week (some breakouts are coming from Canada). Will arrange a meeting once everything has arrived.
@goros1993, @jlamperez and @SaioaRomero, the components have arrived.
You can pick them up whenever you want. Let me know.
Summary of components ordered:
Component name | Units needed | Unit price (€) | Breakout | URL | Ordered | Delivered |
---|---|---|---|---|---|---|
ATmega328 | 1 | 5.84 | spikenzielabs | DigiKey | x | |
ATmega328 (Long pin package) | 1 | 3.19 | - | DigiKey | x | x |
LM3480 | 1 | 1.21 | - | DigiKey | x | x |
IRF7309 | 2 | 1.20 | - | DigiKey | x | x |
ZXCT1009 | 1 | 0.92 | - | DigiKey | x | x |
MCP9701A-E/TO | 1 | 0.29 | - | DigiKey | x | x |
DF11-10DP-2DS (connector) | 1 | 0.70 | - | DigiKey | ||
2N7002DW-7-F | 1 | 0.31 | - | DigiKey | x | x |
SN74CBT1G125 | 2 | 0.40 | - | DigiKey | x | x |
20 MHz crystal oscillator | 1 | 0.26 | - | DigiKey | x | x |
1uF ceramic capacitor | 1 | 0.30 | - | DigiKey | x | x |
10uF ceramic capacitor | 2 | 0.42 | - | DigiKey | x | x |
0.1uF ceramic capacitor | 7 | 0.17 | - | DigiKey | x | x |
0.001uF ceramic capacitor | 1 | 0.18 | - | DigiKey | x | x |
2k resistor | 2 | 0.09 | - | DigiKey | x | x |
0.05ohm resistor | 1 | 1.47 | - | DigiKey | x | x |
100k resistor | 2 | 0.09 | - | DigiKey | x | x |
10k resistor | 4 | 0.09 | - | DigiKey | x | x |
20k resistor | 3 | 0.09 | - | DigiKey | x | x |
4.99k resistor | 1 | 0.14 | - | DigiKey | x | x |
10 ohm resistor | 4 | 0.09 | - | DigiKey | x | x |
@jlamperez pointed out https://github.com/ginge/OpenServo/blob/master/OpenServo/V3-PCB/OS3v3_Bd_BOM.xls. Make sure you got what you need.
The last component http://www.spikenzielabs.com/Catalog/index.php?main_page=product_info&products_id=614 has arrived.
Since it is imposible to solder some small IC componentes to work around this problem we have found the next link where PCB's can be bought and put the components inside.
http://www.proto-advantage.com/store/product_info.php?products_id=2200088
This should have been noticed when selecting the components.
Can you find EU solutions and make sure to check if you need additional hardware?
2016-01-13 11:35 GMT+01:00 Jorge notifications@github.com:
Since it is imposible to solder some small IC componentes to work around this problem we have found the next link where PCB's can be bought and put the components inside.
http://www.proto-advantage.com/store/product_info.php?products_id=2200088
— Reply to this email directly or view it on GitHub https://github.com/erlerobot/smart_motor/issues/7#issuecomment-171249817 .
For the ZXCT1009 current monitor is imposible to find an EU solution. We are searching for a through hole component but there aren´t. Other solution could be to have an amplifier and a transistor and modelate it.
On the other hand we need to discuss about the potency of the motor, current, torque and the velocity, because it is related with the components we will need if we want to move bigger loads. Exactly what will be the application of this servo? Now we are building the prototype based in the openServo v3 but for the future if we want scalability and do our custom design I think it is important..
@jlamperez @goros1993 and @SaioaRomero. Can you provide a list of what components I need to order for you?
We figured a way to use the components that we ordered. The only one that we need is the one that measures the Back-EMF. We would like to get 2 proto-boards with the component directly soldered in it from this page:
http://www.proto-advantage.com/store/product_info.php?products_id=2200036
As I can´t share my shopping cart with you, you will need to choose the "Pins and IC assembled" option and enter the Digikey part number: 296-6478-1-ND
The cart should look something like this:
We also need a 10uH inductor, but we feel that it may be too expensive to get it from Digikey because of the shipping rates. We were wondering whether you had a special discount or something. If not, we may be able to get it in another way. Anyway, this is the component we are looking for:
@goros1993 that's not going to work out:
Apparently they can't ship outside of the US. Can we find an alternative in EU? If not, you probably are going to need to look for a replacement.
We also need a 10uH inductor, but we feel that it may be too expensive to get it from Digikey because of the shipping rates. We were wondering whether you had a special discount or something. If not, we may be able to get it in another way. Anyway, this is the component we are looking for:
We don't have an agreement with them. It'll be great if you can fetch it yourself. Let me know.
@vmayoral we need a micro sd card for the raspberry you give us to install the operating system. For now I'm using my old raspberry but this sd is bigger than the v2.
Hi @vmayoral I was going to do probes with my raspberry pi 1 but it has 26 pin header instead of 40 and and I only can get one pwm signal. Have you got one with 40 pin header for me?
@LanderU, @imuguruza, do we have an spare 40-pin RPi1?
2016-04-12 16:56 GMT+02:00 Jorge notifications@github.com:
Hi @vmayoral https://github.com/vmayoral I was going to do probes with my raspberry pi 1 but it has 26 pin header instead of 40 and and I only can get one pwm signal. Have you got one with 40 pin header for me?
— You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub https://github.com/erlerobot/smart_motor/issues/7#issuecomment-208948271
Yes, we do have a Rpi1 B+ model
OPENSERVO V2 COMPONENT LIST:
ACTIVE COMPONENTS
MCU COMPONENTS:
ATmega168 MCU (However, it is obsolete) -> Replaceable by the ATmega328
The Atmel ATmega328 is a low-power CMOS 8-bit microcontroller based on the AVR enhanced RISC architecture. By executing powerful instructions in a single clock cycle, the ATmega328 achieves throughputs approaching 1 MIPS per MHz allowing the system designer to optimize power consumption versus processing speed.
Breakout Board 6 € Datasheet
LM3480 Linear Voltage Regulator.
It’s a linear voltage regulator. It converts the input voltage to a constant value of 5V. Note that 2 capacitors between Vin and GND and Vout and GND are needed to achieve stability and an adequate transient performance. We can also add a Diode at the output to protect the circuit from reverse current during low voltage serial programming.
No breakout board but easily solderable pins 1.21 € Datasheet
H-BRIDGE COMPONENTS
IRF7309 Power Mosfet
This component is used when creating the H-bridge to power the dc motor. It consists of one n-channel and one p-channel mosfet. We will need two of these to build a full h-bridge. The motor goes between the two half h-bridges. If we activate the transistors in diagonal, we will have a current flowing in one direction or another, making the motor rotate in the same way.
Order 1.20 € x 2 Datasheet
ZXCT1009 current sensor
It’s a current sensor used to control de DC motor. It uses a shunt resistor to translate it into a proportional output current. However, I am not very sure how this is implemented later on in the circuit. Order here 0.92€ Datasheet
PASIVE COMPONENTS:
These components can be bought from these websites, however for the first version we can use components that are not SMD type for an easier first version layout.
0.1 Ohm resistor (x1) 2k resistor (x1) 4.75k resistor (x2) 1k resistor (x2) 100k resistor (x4)
0.1 uF 16V ceramic capacitor (x7) 33uF 16V tantalium capacitor (x1) 1uF 16V tantalium capacitor (x2)
More Datasheets
Resume table: